* [PATCH 0/1] poky-qemu fix for nfs pathnames, v2
@ 2011-02-24 19:58 Scott Garman
2011-02-24 19:58 ` [PATCH 1/1] poky-qemu: handle cases where an nfs directory contains -image- Scott Garman
2011-02-25 18:06 ` [PATCH 0/1] poky-qemu fix for nfs pathnames, v2 Saul Wold
0 siblings, 2 replies; 3+ messages in thread
From: Scott Garman @ 2011-02-24 19:58 UTC (permalink / raw)
To: poky
From: Scott Garman <scott.a.garman@intel.com>
[Patch respun for whitespace issues]
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:58 [PATCH 0/1] poky-qemu fix for nfs pathnames, v2 Scott Garman
@ 2011-02-24 19:58 ` Scott Garman
2011-02-25 18:06 ` [PATCH 0/1] poky-qemu fix for nfs pathnames, v2 Saul Wold
1 sibling, 0 replies; 3+ messages in thread
From: Scott Garman @ 2011-02-24 19:58 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..7a5e8a7 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, v2
2011-02-24 19:58 [PATCH 0/1] poky-qemu fix for nfs pathnames, v2 Scott Garman
2011-02-24 19:58 ` [PATCH 1/1] poky-qemu: handle cases where an nfs directory contains -image- Scott Garman
@ 2011-02-25 18:06 ` Saul Wold
1 sibling, 0 replies; 3+ messages in thread
From: Saul Wold @ 2011-02-25 18:06 UTC (permalink / raw)
To: Scott Garman; +Cc: poky
On 02/24/2011 11:58 AM, Scott Garman wrote:
> From: Scott Garman<scott.a.garman@intel.com>
>
> [Patch respun for whitespace issues]
>
> 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(-)
>
Merged into Master
Thanks
Sau!
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-02-25 18:06 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:58 [PATCH 0/1] poky-qemu fix for nfs pathnames, v2 Scott Garman
2011-02-24 19:58 ` [PATCH 1/1] poky-qemu: handle cases where an nfs directory contains -image- Scott Garman
2011-02-25 18:06 ` [PATCH 0/1] poky-qemu fix for nfs pathnames, v2 Saul Wold
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).