summaryrefslogtreecommitdiffstats
path: root/meta/classes/qemuboot.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/qemuboot.bbclass')
-rw-r--r--meta/classes/qemuboot.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/qemuboot.bbclass b/meta/classes/qemuboot.bbclass
index 97a235772d..ef9a128796 100644
--- a/meta/classes/qemuboot.bbclass
+++ b/meta/classes/qemuboot.bbclass
@@ -69,7 +69,7 @@ python write_qemuboot_conf() {
69 # to the kernel file, which hinders relocatability of the qb conf. 69 # to the kernel file, which hinders relocatability of the qb conf.
70 # Read the link and replace it with the full filename of the target. 70 # Read the link and replace it with the full filename of the target.
71 kernel_link = os.path.join(d.getVar('DEPLOY_DIR_IMAGE', True), d.getVar('QB_DEFAULT_KERNEL', True)) 71 kernel_link = os.path.join(d.getVar('DEPLOY_DIR_IMAGE', True), d.getVar('QB_DEFAULT_KERNEL', True))
72 kernel = os.readlink(kernel_link) 72 kernel = os.path.realpath(kernel_link)
73 cf.set('config_bsp', 'QB_DEFAULT_KERNEL', kernel) 73 cf.set('config_bsp', 'QB_DEFAULT_KERNEL', kernel)
74 74
75 bb.utils.mkdirhier(os.path.dirname(qemuboot)) 75 bb.utils.mkdirhier(os.path.dirname(qemuboot))