# HG changeset patch # User Alessio Igor Bogani # Date 1315205348 -7200 # Node ID 5a0ca606858b437b7ee3402e7c220e754c2ddb7d # Parent 5a6a991c9b3d11fbe4436b0237ae3a25104400b0 Get rid of of two old and now unused variables diff -r 5a6a991c9b3d -r 5a0ca606858b sources/targets/i686-virtio/settings --- a/sources/targets/i686-virtio/settings Thu Sep 08 08:41:40 2011 -0500 +++ b/sources/targets/i686-virtio/settings Mon Sep 05 08:49:08 2011 +0200 @@ -27,9 +27,7 @@ emulator_command() { - echo "if [ \"\$WITH_HDC\"X\"\" != \"X\" ]; then WITH_HDC=\"-drive file=\$HDC,if=virtio\"; fi" - echo "if [ \"\$WITH_HDB\"X\"\" != \"X\" ]; then WITH_HDB=\"-drive file=\$HDB,if=virtio\"; fi" - echo -n "qemu -nographic -no-reboot -kernel $KERNEL \$WITH_HDC \$WITH_HDB" + echo -n "qemu -nographic -no-reboot -kernel $KERNEL" [ "$SYSIMAGE_TYPE" != "initramfs" ] && echo -n " -drive file=$IMAGE,if=virtio" echo -n " -append \"$(kernel_cmdline)\" \$QEMU_EXTRA -net nic,model=virtio -net user" } diff -r 5a6a991c9b3d -r 5a0ca606858b sources/targets/powerpc-virtio/settings --- a/sources/targets/powerpc-virtio/settings Thu Sep 08 08:41:40 2011 -0500 +++ b/sources/targets/powerpc-virtio/settings Mon Sep 05 08:49:08 2011 +0200 @@ -31,9 +31,7 @@ emulator_command() { - echo "if [ \"\$WITH_HDC\"X\"\" != \"X\" ]; then WITH_HDC=\"-drive file=\$HDC,if=virtio\"; fi" - echo "if [ \"\$WITH_HDB\"X\"\" != \"X\" ]; then WITH_HDB=\"-drive file=\$HDB,if=virtio\"; fi" - echo -n "qemu-system-ppc -M g3beige -nographic -no-reboot -kernel $KERNEL \$WITH_HDC \$WITH_HDB" + echo -n "qemu-system-ppc -M g3beige -nographic -no-reboot -kernel $KERNEL" [ "$SYSIMAGE_TYPE" != "initramfs" ] && echo -n " -drive file=$IMAGE,if=virtio" echo -n " -append \"$(kernel_cmdline)\" \$QEMU_EXTRA -net nic,model=virtio -net user" } diff -r 5a6a991c9b3d -r 5a0ca606858b system-image.sh --- a/system-image.sh Thu Sep 08 08:41:40 2011 -0500 +++ b/system-image.sh Mon Sep 05 08:49:08 2011 +0200 @@ -28,7 +28,7 @@ qemu_defaults() { - echo -n "-nographic -no-reboot -kernel $KERNEL \$WITH_HDC \$WITH_HDB" + echo -n "-nographic -no-reboot -kernel $KERNEL" [ "$SYSIMAGE_TYPE" != "initramfs" ] && echo -n " -hda $IMAGE" echo -n " -append \"$(kernel_cmdline)\" \$QEMU_EXTRA" }