X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=build-supernested.sh.in;h=e5e2a49045d0de5be3473687951d1b25115e8ed7;hb=HEAD;hp=7f7f71d5ccfa0f88fcbf7c0aca5530504b198df0;hpb=5f2fd216420e0c169f5a15428945c0f7d4f5488e;p=supernested.git diff --git a/build-supernested.sh.in b/build-supernested.sh.in index 7f7f71d..e5e2a49 100644 --- a/build-supernested.sh.in +++ b/build-supernested.sh.in @@ -40,7 +40,7 @@ if [[ "$distro" =~ ^fedora- ]]; then grep qemu qemu-kvm-rhev - systemd + systemd-udev util-linux " elif [[ "$distro" =~ ^debian- ]]; then @@ -70,8 +70,6 @@ cp excludefiles tmp-supermin.d/ # Run the build step. echo "Building the full appliance ..." -echo "If you see 'Permission denied' errors here, you can probably ignore" -echo "them, but encourage your distro to stop using security-through-obscurity." "$supermin" --build --format ext2 tmp-supermin.d -o tmp-appliance.d # Add the kernel and initrd to the image. @@ -90,6 +88,6 @@ EOF # Copy out the kernel, initrd and disk image. mv tmp-appliance.d/kernel . mv tmp-appliance.d/initrd . -qemu-img convert -f raw tmp-appliance.d/root -O qcow2 "$output" +qemu-img convert -f raw tmp-appliance.d/root -O qcow2 -c "$output" #rm -rf tmp-supermin.d tmp-appliance.d