* [PATCH] runqemu: Use readlink instead of realpath
@ 2014-02-25 18:30 Saul Wold
2014-02-25 18:41 ` Khem Raj
0 siblings, 1 reply; 2+ messages in thread
From: Saul Wold @ 2014-02-25 18:30 UTC (permalink / raw)
To: openembedded-core
Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
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:"
--
1.8.3.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] runqemu: Use readlink instead of realpath
2014-02-25 18:30 [PATCH] runqemu: Use readlink instead of realpath Saul Wold
@ 2014-02-25 18:41 ` Khem Raj
0 siblings, 0 replies; 2+ messages in thread
From: Khem Raj @ 2014-02-25 18:41 UTC (permalink / raw)
To: Saul Wold; +Cc: Patches and discussions about the oe-core layer
On Tue, Feb 25, 2014 at 10:30 AM, Saul Wold <sgw@linux.intel.com> wrote:
> Signed-off-by: Saul Wold <sgw@linux.intel.com>
> ---
> 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`
this is much better
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-02-25 18:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-25 18:30 [PATCH] runqemu: Use readlink instead of realpath Saul Wold
2014-02-25 18:41 ` Khem Raj
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox