* [PATCH 0/1] poky-qemu fix for nfs pathnames
@ 2011-02-24 19:38 Scott Garman
2011-02-24 19:38 ` [PATCH 1/1] poky-qemu: handle cases where an nfs directory contains -image- Scott Garman
2011-02-24 19:54 ` [PATCH 0/1] poky-qemu fix for nfs pathnames Scott Garman
0 siblings, 2 replies; 3+ messages in thread
From: Scott Garman @ 2011-02-24 19:38 UTC (permalink / raw)
To: poky
From: Scott Garman <scott.a.garman@intel.com>
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 <scott.a.garman@intel.com>
---
Scott Garman (1):
poky-qemu: handle cases where an nfs directory contains -image-
scripts/poky-qemu | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
--
1.7.4
^ permalink raw reply [flat|nested] 3+ messages in thread* [PATCH 1/1] poky-qemu: handle cases where an nfs directory contains -image-
2011-02-24 19:38 [PATCH 0/1] poky-qemu fix for nfs pathnames Scott Garman
@ 2011-02-24 19:38 ` Scott Garman
2011-02-24 19:54 ` [PATCH 0/1] poky-qemu fix for nfs pathnames Scott Garman
1 sibling, 0 replies; 3+ messages in thread
From: Scott Garman @ 2011-02-24 19:38 UTC (permalink / raw)
To: poky
From: Scott Garman <scott.a.garman@intel.com>
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]
Signed-off-by: Scott Garman <scott.a.garman@intel.com>
---
scripts/poky-qemu | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/scripts/poky-qemu b/scripts/poky-qemu
index cb08f27..d8c93c3 100755
--- a/scripts/poky-qemu
+++ b/scripts/poky-qemu
@@ -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"
--
1.7.4
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH 0/1] poky-qemu fix for nfs pathnames
2011-02-24 19:38 [PATCH 0/1] poky-qemu fix for nfs pathnames Scott Garman
2011-02-24 19:38 ` [PATCH 1/1] poky-qemu: handle cases where an nfs directory contains -image- Scott Garman
@ 2011-02-24 19:54 ` Scott Garman
1 sibling, 0 replies; 3+ messages in thread
From: Scott Garman @ 2011-02-24 19:54 UTC (permalink / raw)
To: poky
On 02/24/2011 11:38 AM, Scott Garman wrote:
> From: Scott Garman<scott.a.garman@intel.com>
>
> 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
--
Scott Garman
Embedded Linux Engineer - Yocto Project
Intel Open Source Technology Center
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-02-24 19:54 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-24 19:38 [PATCH 0/1] poky-qemu fix for nfs pathnames Scott Garman
2011-02-24 19:38 ` [PATCH 1/1] poky-qemu: handle cases where an nfs directory contains -image- Scott Garman
2011-02-24 19:54 ` [PATCH 0/1] poky-qemu fix for nfs pathnames Scott Garman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox