summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2011-11-03 17:37:30 -0700
committerSaul Wold <sgw@linux.intel.com>2011-11-29 00:20:07 -0800
commitc2f88c658b73da67d93312591b3e67b42f629fe3 (patch)
tree06031600cda234d06e2090197aaff977de69d865 /scripts
parentf5546a175384de338edc23a248b19a23fb7d7017 (diff)
downloadopenembedded-core-c2f88c658b73da67d93312591b3e67b42f629fe3.tar.gz
openembedded-core-c2f88c658b73da67d93312591b3e67b42f629fe3.tar.bz2
openembedded-core-c2f88c658b73da67d93312591b3e67b42f629fe3.tar.xz
openembedded-core-c2f88c658b73da67d93312591b3e67b42f629fe3.zip
runqemu: look for *-image* to be more flexible for image names
We can't just look for *image* since it will catch up bzimage Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/runqemu4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/runqemu b/scripts/runqemu
index 31e982269..4adeacece 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -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 ||