changeset 1437:5a0ca606858b

Get rid of of two old and now unused variables
author Alessio Igor Bogani <alessioigorbogani@gmail.com>
date Mon, 05 Sep 2011 08:49:08 +0200
parents 5a6a991c9b3d
children ba04b2ff8730
files sources/targets/i686-virtio/settings sources/targets/powerpc-virtio/settings system-image.sh
diffstat 3 files changed, 3 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- 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"
 }
--- 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"
 }
--- 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"
 }