aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoshua Lock <joshua.g.lock@intel.com>2016-09-18 00:39:26 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-09-19 09:07:06 +0100
commit3ccbaaad75f0a53d8bcf6a5c748ec80c96a383bd (patch)
tree6d6c30c94291ce30c702013ae3491abdb3575605
parent2579e05269a14b53a54232a8bf4414ac2dfe6472 (diff)
downloadopenembedded-core-contrib-3ccbaaad75f0a53d8bcf6a5c748ec80c96a383bd.tar.gz
openembedded-core-contrib-3ccbaaad75f0a53d8bcf6a5c748ec80c96a383bd.tar.bz2
openembedded-core-contrib-3ccbaaad75f0a53d8bcf6a5c748ec80c96a383bd.zip
qemuboot: also write the kernel link name to the conf file
This will allow runqemu to fall back to trying the link name when a file matching the full name can't be found. Signed-off-by: Joshua Lock <joshua.g.lock@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/qemuboot.bbclass5
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/classes/qemuboot.bbclass b/meta/classes/qemuboot.bbclass
index 0892db3f3ab..802eb59f71d 100644
--- a/meta/classes/qemuboot.bbclass
+++ b/meta/classes/qemuboot.bbclass
@@ -48,8 +48,9 @@ python write_qemuboot_conf() {
import configparser
build_vars = ['MACHINE', 'TUNE_ARCH', 'DEPLOY_DIR_IMAGE', \
- 'IMAGE_NAME', 'IMAGE_LINK_NAME', 'STAGING_DIR_NATIVE', \
- 'STAGING_BINDIR_NATIVE', 'STAGING_DIR_HOST']
+ 'KERNEL_IMAGETYPE', 'IMAGE_NAME', 'IMAGE_LINK_NAME', \
+ 'STAGING_DIR_NATIVE', 'STAGING_BINDIR_NATIVE', \
+ 'STAGING_DIR_HOST']
# Vars from bsp
qb_vars = []