Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/1] runqemu fix for yocto-bsp kernels
@ 2012-08-17 17:54 Scott Garman
  2012-08-17 17:54 ` [PATCH 1/1] runqemu: work with yocto-bsp created kernel filenames Scott Garman
  2012-08-20 16:52 ` [PATCH 0/1] runqemu fix for yocto-bsp kernels Saul Wold
  0 siblings, 2 replies; 3+ messages in thread
From: Scott Garman @ 2012-08-17 17:54 UTC (permalink / raw)
  To: openembedded-core

The yocto-bsp tool generates kernels with additional strings within
the filename, e.g. zImage-myqemuarm.bin. Loosen the MACHINE detection
regex to work with these filenames.

Fixes [YOCTO #2890].

Scott

The following changes since commit bb74035190c7794fcebaa7f6ba247672a4c34cde:

  libsamplerate: depends on libsdnfile (2012-08-17 18:04:12 +0100)

are available in the git repository at:

  git://git.yoctoproject.org/poky-contrib sgarman/runqemu-yocto-bsp-oe
  http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=runqemu-yocto-bsp

Scott Garman (1):
  runqemu: work with yocto-bsp created kernel filenames

 scripts/runqemu |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
1.7.9.5




^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 1/1] runqemu: work with yocto-bsp created kernel filenames
  2012-08-17 17:54 [PATCH 0/1] runqemu fix for yocto-bsp kernels Scott Garman
@ 2012-08-17 17:54 ` Scott Garman
  2012-08-20 16:52 ` [PATCH 0/1] runqemu fix for yocto-bsp kernels Saul Wold
  1 sibling, 0 replies; 3+ messages in thread
From: Scott Garman @ 2012-08-17 17:54 UTC (permalink / raw)
  To: openembedded-core

The yocto-bsp tool generates kernels with additional strings within
the filename, e.g. zImage-myqemuarm.bin. Loosen the MACHINE detection
regex to work with these filenames.

Fixes [YOCTO #2890].

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
---
 scripts/runqemu |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/runqemu b/scripts/runqemu
index 7e4bcc4..90998ae 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -229,7 +229,7 @@ if [ "$FSTYPE" = "nfs" -a -z "$ROOTFS" ]; then
 fi
 
 if [ -z "$MACHINE" ]; then
-    MACHINE=`basename $KERNEL | sed 's/.*-\(qemux86-64\|qemux86\|qemuarm\|qemumips64\|qemumips\|qemuppc\|qemush4\).*/\1/'`
+    MACHINE=`basename $KERNEL | sed 's/.*\(qemux86-64\|qemux86\|qemuarm\|qemumips64\|qemumips\|qemuppc\|qemush4\).*/\1/'`
     if [ -z "$MACHINE" ]; then
         error "Unable to set MACHINE from kernel filename [$KERNEL]"
     fi
-- 
1.7.9.5




^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 0/1] runqemu fix for yocto-bsp kernels
  2012-08-17 17:54 [PATCH 0/1] runqemu fix for yocto-bsp kernels Scott Garman
  2012-08-17 17:54 ` [PATCH 1/1] runqemu: work with yocto-bsp created kernel filenames Scott Garman
@ 2012-08-20 16:52 ` Saul Wold
  1 sibling, 0 replies; 3+ messages in thread
From: Saul Wold @ 2012-08-20 16:52 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer; +Cc: Scott Garman

On 08/17/2012 10:54 AM, Scott Garman wrote:
> The yocto-bsp tool generates kernels with additional strings within
> the filename, e.g. zImage-myqemuarm.bin. Loosen the MACHINE detection
> regex to work with these filenames.
>
> Fixes [YOCTO #2890].
>
> Scott
>
> The following changes since commit bb74035190c7794fcebaa7f6ba247672a4c34cde:
>
>    libsamplerate: depends on libsdnfile (2012-08-17 18:04:12 +0100)
>
> are available in the git repository at:
>
>    git://git.yoctoproject.org/poky-contrib sgarman/runqemu-yocto-bsp-oe
>    http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=runqemu-yocto-bsp
>
> Scott Garman (1):
>    runqemu: work with yocto-bsp created kernel filenames
>
>   scripts/runqemu |    2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
Merged into OE-Core

Thanks
	Sau!




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-08-20 17:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-17 17:54 [PATCH 0/1] runqemu fix for yocto-bsp kernels Scott Garman
2012-08-17 17:54 ` [PATCH 1/1] runqemu: work with yocto-bsp created kernel filenames Scott Garman
2012-08-20 16:52 ` [PATCH 0/1] runqemu fix for yocto-bsp kernels Saul Wold

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox