add qemu workaround for 11.0 initrd not honoring root=
authorLudwig Nussel <ludwig.nussel@suse.de>
Mon, 23 Jun 2008 13:33:02 +0000 (13:33 +0000)
committerLudwig Nussel <ludwig.nussel@suse.de>
Mon, 23 Jun 2008 13:33:02 +0000 (13:33 +0000)
build

diff --git a/build b/build
index e3a9b97..9658bcf 100755 (executable)
--- 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