mirror of
https://git.yoctoproject.org/poky
synced 2026-05-09 05:29:32 +00:00
runqemu: look for *-image* to be more flexible for image names
We can't just look for *image* since it will catch up bzimage (From OE-Core rev: c2f88c658b73da67d93312591b3e67b42f629fe3) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
20291f3d08
commit
3d7d510701
+2
-2
@@ -114,7 +114,7 @@ while [ $i -le $# ]; do
|
||||
usage
|
||||
fi
|
||||
;;
|
||||
*-image-*)
|
||||
*-image*)
|
||||
if [ -z "$ROOTFS" ]; then
|
||||
if [ -f "$arg" ]; then
|
||||
process_filename $arg
|
||||
@@ -307,7 +307,7 @@ findimage() {
|
||||
|
||||
# Sort rootfs candidates by modification time - the most
|
||||
# recently created one is the one we most likely want to boot.
|
||||
filenames=`ls -t $where/*core-image*$machine.$extension 2>/dev/null | xargs`
|
||||
filenames=`ls -t $where/*-image*$machine.$extension 2>/dev/null | xargs`
|
||||
for name in $filenames; do
|
||||
if [[ "$name" =~ core-image-sato-sdk ||
|
||||
"$name" =~ core-image-sato ||
|
||||
|
||||
Reference in New Issue
Block a user