]> code.ossystems Code Review - openembedded-core.git/commitdiff
poky-qemu-internal: fix the echo of KERNCMDLINE
authorDexuan Cui <dexuan.cui@intel.com>
Thu, 19 Aug 2010 07:01:29 +0000 (15:01 +0800)
committerRichard Purdie <rpurdie@linux.intel.com>
Fri, 20 Aug 2010 15:20:13 +0000 (16:20 +0100)
Without the fix, when the commandline is printed with the "echo" command,
it loses the quotes and this confuses people.

Thanks Richard for pointing this out.

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
scripts/poky-qemu-internal

index aac51b588809a550d18879d86d987942d5af8fd5..a9029dc63f053467d8b6d22c68eae4e88702a447 100755 (executable)
@@ -352,7 +352,7 @@ else
 fi
 
 echo "Running $QEMU..."
-echo $QEMUBIN -kernel $ZIMAGE $QEMUOPTIONS $SERIALOPTS $* --append "$KERNCMDLINE"
+echo $QEMUBIN -kernel $ZIMAGE $QEMUOPTIONS $SERIALOPTS $* --append '"'$KERNCMDLINE'"'
 $QEMUBIN -kernel $ZIMAGE $QEMUOPTIONS $SERIALOPTS $* --append "$KERNCMDLINE" || /bin/true
 
 release_lock