]> code.ossystems Code Review - openembedded-core.git/commitdiff
runqemu: Use readlink instead of realpath
authorSaul Wold <sgw@linux.intel.com>
Tue, 25 Feb 2014 18:30:47 +0000 (20:30 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 25 Feb 2014 21:29:51 +0000 (21:29 +0000)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/runqemu

index 57c5de4ca048c9c6cc8cde14f28716348ebb0e0a..573def151fcb62315b11c2efe6c5f884011d34cd 100755 (executable)
@@ -464,7 +464,7 @@ if [ -z "$ROOTFS" -a "x$FSTYPE" != "xvmdk" ]; then
 fi
 # ROOTFS is now set for all cases, now expand it to be an absolute path, it should exist at this point
 
-ROOTFS=`realpath $ROOTFS`
+ROOTFS=`readlink -f $ROOTFS`
 
 echo ""
 echo "Continuing with the following parameters:"