From 0b38e9d71947cf0e32cf91b70c3292a7242719bd Mon Sep 17 00:00:00 2001 From: Ludwig Nussel Date: Thu, 26 Jun 2008 13:59:08 +0000 Subject: [PATCH] use init= as last parameter for qemu so no arguments get passed to the build script --- build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build b/build index 9658bcf..3870765 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 rootdev=/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 "root=/dev/sda panic=1 quiet rw console=ttyS0,115200 init=/.build/build" -serial stdio -hda $VM_IMAGE ${VM_MEMORY:+-m $VM_MEMORY} echo "$@" "$@" fi -- 2.7.4