]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
qemuboot: also write the kernel link name to the conf file
authorJoshua Lock <joshua.g.lock@intel.com>
Fri, 16 Sep 2016 09:23:39 +0000 (10:23 +0100)
committerRobert Yang <liezhi.yang@windriver.com>
Mon, 19 Sep 2016 10:46:30 +0000 (03:46 -0700)
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>
meta/classes/qemuboot.bbclass

index 0892db3f3abf38b1d9eb02de1b0dc4942573664f..802eb59f71dc3d123d365dc19382bde13786b4b3 100644 (file)
@@ -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 = []