poky-qemu fix for nfs pathnames
cover poky-qemu fix for nfs pathnames
From: Scott Garman <[email protected]>
Hi Saul,
This pull request includes a fix for bug #743, which allows nfs directories to be specified which contain an -image- substring in them.
Pull URL: git://git.pokylinux.org/poky-contrib.git
Branch: sgarman/poky-qemu-dirname-fix
Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=sgarman/poky-qemu-dirname-fix
Thanks,
Scott Garman <[email protected]>
---
Scott Garman (1):
poky-qemu: handle cases where an nfs directory contains -image-
scripts/poky-qemu | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-)
Signature · 1 line
1.7.4
PATCH 1/1 poky-qemu: handle cases where an nfs directory contains -image-
From: Scott Garman <[email protected]>
Previously we mistakenly assumed that any argument which contained *-image-* was the name of a rootfs image file. This allows nfs directory paths to work correctly when they contain this substring.
This fixes [BUGID #743]
--- scripts/poky-qemu | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-)
scripts/poky-qemu +6 -0
@@ -113,6 +113,12 @@ while [ $i -le $# ]; do if [ -z "$ROOTFS" ]; then if [ -f "$arg" ]; then process_filename $arg + elif [ -d "$arg" ]; then + # Handle the case where the nfsroot dir has -image- + # in the pathname + echo "Assuming $arg is an nfs rootfs" + FSTYPE=nfs + ROOTFS=$arg else ROOTFS=$arg LAZY_ROOTFS="true"
Signature · 1 line
1.7.4
Quoted 6 lines · Scott Garman
From: Scott Garman<[email protected]>
Hi Saul,
This pull request includes a fix for bug #743, which allows nfs directories to be specified which contain an -image- substring in them.
Sorry, this commit has whitespace issues. I will respin.
Scott
Signature · 3 lines
Scott Garman Embedded Linux Engineer - Yocto Project Intel Open Source Technology Center