X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=build-supernested.sh.in;h=1d984164a0fd339d758e005e21b95487156fd512;hb=b53be68e8847a449858b901b2ce0064b0b21829c;hp=bd006ae8bc28620062a9106085a8351629425468;hpb=2f639f7646798e035e2f04b361f311e462bb28d6;p=supernested.git diff --git a/build-supernested.sh.in b/build-supernested.sh.in index bd006ae..1d98416 100644 --- a/build-supernested.sh.in +++ b/build-supernested.sh.in @@ -42,6 +42,16 @@ if [[ "$distro" =~ ^fedora- ]]; then systemd util-linux " +elif [[ "$distro" =~ ^debian- ]]; then + packages=" + bash + coreutils + grep + qemu-system-x86 + sgabios + sysvinit-core + util-linux + " else echo "$0: $distro not known. You need to edit this script to add support for this distro." exit 1 @@ -66,10 +76,14 @@ echo "them, but encourage your distro to stop using security-through-obscurity." # Add the kernel and initrd to the image. # We have to do this here, AFTER the build step, because we don't # have the kernel & initrd before this. -echo "Adding kernel and initrd to the disk image ..." -"$guestfish" --format=raw -a tmp-appliance.d/root -m /dev/sda <