[Aboriginal] [PATCH] Get rid of of two old and now unused variables
Alessio Igor Bogani
alessioigorbogani at gmail.com
Mon Sep 5 05:08:49 PDT 2011
# HG changeset patch
# User Alessio Igor Bogani <alessioigorbogani at gmail.com>
# Date 1315205348 -7200
# Node ID bafbd91ffbae38309cc14f0f1e486a030af53def
# Parent b499abdbcdfade1e166859fc4049171322b44b5c
Get rid of of two old and now unused variables
diff -r b499abdbcdfa -r bafbd91ffbae sources/targets/i686-virtio/settings
--- a/sources/targets/i686-virtio/settings Fri Sep 02 16:36: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 b499abdbcdfa -r bafbd91ffbae sources/targets/powerpc-virtio/settings
--- a/sources/targets/powerpc-virtio/settings Fri Sep 02 16:36: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 b499abdbcdfa -r bafbd91ffbae system-image.sh
--- a/system-image.sh Fri Sep 02 16:36: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"
}
More information about the Aboriginal
mailing list