[OE-core] [PATCH] runqemu: Use readlink instead of realpath

Khem Raj raj.khem at gmail.com
Tue Feb 25 18:41:42 UTC 2014


On Tue, Feb 25, 2014 at 10:30 AM, Saul Wold <sgw at linux.intel.com> wrote:
> Signed-off-by: Saul Wold <sgw at 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



More information about the Openembedded-core mailing list