summaryrefslogtreecommitdiffstats
path: root/scripts/oe-find-native-sysroot
diff options
context:
space:
mode:
authorPatrick Ohly <patrick.ohly@intel.com>2017-01-10 12:11:21 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-03-01 11:17:44 +0000
commit63f61a1afff677aaf24525fb7a4fdee8b5c15dea (patch)
treee5a88b6d8980fb6c4614957fbff658dca738c9a4 /scripts/oe-find-native-sysroot
parent29618da02dee90b8303aaab42153796ebe6db518 (diff)
downloadpoky-63f61a1afff677aaf24525fb7a4fdee8b5c15dea.tar.gz
runqemu: also accept -image suffix for rootfs parameter
The magic detection of the rootfs parameter only worked for image recipes which embedd the "image" string in the middle, as in "core-image-minimal". Sometimes it is more natural to call an image "something-image". To get such an image detected by runqemu, "-image" at the end of a parameter must also cause that parameter to be treated as the rootfs parameter. Inside the image directory, "something-image" has an -<arch> suffix and thus no change is needed for those usages of re.search('-image-'). However, while at it also enhance those string searches a bit (no need for re; any()+map() a bit closer to the intended logic). (From OE-Core rev: ca0fad3ad9d75d4198388b2a3133326267fc58db) Signed-off-by: Patrick Ohly <patrick.ohly@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/oe-find-native-sysroot')
0 files changed, 0 insertions, 0 deletions