From 50040b41ac5513f4f1d59f27864d500884358720 Mon Sep 17 00:00:00 2001 From: Ludwig Nussel Date: Mon, 23 Jun 2008 13:33:02 +0000 Subject: [PATCH] add qemu workaround for 11.0 initrd not honoring root= --- build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build b/build index e3a9b97..9658bcf 100755 --- a/build +++ b/build @@ -925,7 +925,7 @@ for SPECFILE in "${SPECFILES[@]}" ; do "$@" elif [ -n "$USE_QEMU" ]; then echo "booting QEMU ..." - set -- $qemu_bin -no-reboot -nographic -net none -kernel $qemu_kernel -initrd $qemu_initrd -append "init=/.build/build panic=1 quiet root=/dev/sda rw console=ttyS0,115200" -serial stdio -hda $VM_IMAGE ${VM_MEMORY:+-m $VM_MEMORY} + set -- $qemu_bin -no-reboot -nographic -net none -kernel $qemu_kernel -initrd $qemu_initrd -append "init=/.build/build panic=1 quiet root=/dev/sda rootdev=/dev/sda rw console=ttyS0,115200" -serial stdio -hda $VM_IMAGE ${VM_MEMORY:+-m $VM_MEMORY} echo "$@" "$@" fi -- 2.7.4