]> code.ossystems Code Review - openembedded-core.git/commit
qemuboot: write the full kernel filename, not the link name
authorJoshua Lock <joshua.g.lock@intel.com>
Sun, 18 Sep 2016 07:39:24 +0000 (00:39 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 19 Sep 2016 08:07:06 +0000 (09:07 +0100)
commitd57bdacab13605ada4cd9e9159c18fdcd6eeacbc
treee8d84f1556e55451321a8d1d4fe11184b2357940
parent87cfb5165490cd4e7a8c2570ef5a62898db8395e
qemuboot: write the full kernel filename, not the link name

KERNEL_IMAGETYPE gives the filename of a symlink to the kernel,
which may not be available i.e. if the user downloads some build
artefacts to run on a local machine. It's also possible that the
link will point to a newer kernel than was intended for use with
the rootfs in the qemuboot.conf.

It's much more reliable to read the name of the file
KERNEL_IMAGETYPE is linking to and assign the full filename to
QB_DEFAULT_KERNEL.

[YOCTO #10285]

Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/qemuboot.bbclass