[oe-commits] Saul Wold : runqemu: Use readlink instead of realpath

git at git.openembedded.org git at git.openembedded.org
Tue Feb 25 21:23:36 UTC 2014


Module: openembedded-core.git
Branch: master
Commit: 5a4b5c6b8ebd5f8d29888aafcd9608e03717bcd5
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=5a4b5c6b8ebd5f8d29888aafcd9608e03717bcd5

Author: Saul Wold <sgw at linux.intel.com>
Date:   Tue Feb 25 20:30:47 2014 +0200

runqemu: Use readlink instead of realpath

Signed-off-by: Saul Wold <sgw at linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 scripts/runqemu | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/runqemu b/scripts/runqemu
index 57c5de4..573def1 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -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:"



More information about the Openembedded-commits mailing list