]> code.ossystems Code Review - openembedded-core.git/commit
runqemu: try symlinks when kernel or rootfs can't be found
authorJoshua Lock <joshua.g.lock@intel.com>
Sun, 18 Sep 2016 07:39:27 +0000 (00:39 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 19 Sep 2016 08:07:06 +0000 (09:07 +0100)
commitca5a686c6e165a51f95cb6a834cd53f6f66d42d4
tree7bf4a05d734d9b98ade1889ad303868812f62283
parent3ccbaaad75f0a53d8bcf6a5c748ec80c96a383bd
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/runqemu