runqemu: improve auto-detection of rootfs filenames
authorScott Garman <scott.a.garman@intel.com>
Fri, 9 Sep 2011 09:59:27 +0000 (02:59 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 9 Sep 2011 17:42:05 +0000 (18:42 +0100)
commitb0d0fcccffc61e84a4a0d82e4baab12649148fa7
treed2971e5d16d1e348d9fc27021f669140e7df5792
parentb453a8d871afcbe37309d1fa747f7a93fd0a197c
runqemu: improve auto-detection of rootfs filenames

This refactors the way rootfs filenames are auto-detected when you
run the runqemu script without an explicit rootfs filename argument.
It allows the script to use rootfs files generated by hob, and when
there are mutliple rootfs files to choose from, it will pick the
most recently created one.

Fixes [YOCTO #1437].

(From OE-Core rev: 094453f443ed592d814dfb4182a0a02f0a2552e4)

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/runqemu