diff --git a/make_mirror.sh b/make_mirror.sh index 28024f8..9831afb 100755 --- a/make_mirror.sh +++ b/make_mirror.sh @@ -399,15 +399,12 @@ done if [ "$HAVE_QEMU" = "yes" ]; then # now replace the minihttpd config with one that serves the new repository - # create a temporary directory because "copy-in" cannot rename the file - tmpdir="$(mktemp -d)" - cat << END > "$tmpdir/mini-httpd" + guestfish -a "$newcachedir/debian-$DEFAULT_DIST.qcow" -i <