runqemu fix for yocto-bsp kernels
cover runqemu fix for yocto-bsp kernels
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(-)
Signature · 1 line
1.7.9.5
PATCH 1/1 runqemu: work with yocto-bsp created kernel filenames
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].
--- scripts/runqemu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/runqemu +1 -1
@@ -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
Signature · 1 line
1.7.9.5
Saul Wold
AppliedQuoted 14 lines · Scott Garman
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:
Quoted 9 lines
git://git.yoctoproject.org/poky-contribsgarman/runqemu-yocto-bsp-oe
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=runqemu-yocto-bspScott Garman (1):
runqemu: work with yocto-bsp created kernel filenamesscripts/runqemu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Merged into OE-Core
Thanks
Sau!