]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
runqemu: try symlinks when kernel or rootfs can't be found
authorJoshua Lock <joshua.g.lock@intel.com>
Fri, 16 Sep 2016 09:24:27 +0000 (10:24 +0100)
committerRobert Yang <liezhi.yang@windriver.com>
Mon, 19 Sep 2016 10:46:30 +0000 (03:46 -0700)
commitdf68ec80738689727adae5b7fbb7015510f88f0b
tree42b7b81f05daacc0006f5ff41b75d7d02f6b44d3
parent3e7ee229d7a8286cbe9343da5502b76cffcfeaea
runqemu: try symlinks when kernel or rootfs can't be found

If the kernel or rootfs names written to the qemuboot.conf can't
be found, try and find the symlinked variant of the filename.

This will help usability of runqemu, for example where a user
downloads an image and associated files as the symlinked names
yet the qemuboot.conf variables point to the full, non-linked,
file names.

Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
scripts/runqemu