summaryrefslogtreecommitdiff
path: root/scripts/lib/wic/plugins/source
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2017-01-19 15:53:46 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-01-23 12:03:52 +0000
commit5afd7def3b101bb3d650db4d005cb8d36aaf074a (patch)
treeaedbdb49314705ffd37bf6629850cd8672cab6c7 /scripts/lib/wic/plugins/source
parent0d005d099a2b8ee1303b98710cdc78e06e14ab39 (diff)
downloadopenembedded-core-5afd7def3b101bb3d650db4d005cb8d36aaf074a.tar.gz
openembedded-core-5afd7def3b101bb3d650db4d005cb8d36aaf074a.tar.bz2
openembedded-core-5afd7def3b101bb3d650db4d005cb8d36aaf074a.zip
wic: bootimg-pcbios: use wic-tools target
Used wic-tools target to get location of syslinux. Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Diffstat (limited to 'scripts/lib/wic/plugins/source')
-rw-r--r--scripts/lib/wic/plugins/source/bootimg-pcbios.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/wic/plugins/source/bootimg-pcbios.py b/scripts/lib/wic/plugins/source/bootimg-pcbios.py
index f204daa323..cff8aec059 100644
--- a/scripts/lib/wic/plugins/source/bootimg-pcbios.py
+++ b/scripts/lib/wic/plugins/source/bootimg-pcbios.py
@@ -145,7 +145,7 @@ class BootimgPcbiosPlugin(SourcePlugin):
return False
if not _has_syslinux(bootimg_dir):
- bootimg_dir = get_bitbake_var("STAGING_DATADIR")
+ bootimg_dir = get_bitbake_var("STAGING_DATADIR", "wic-tools")
if not bootimg_dir:
msger.error("Couldn't find STAGING_DATADIR, exiting\n")
if not _has_syslinux(bootimg_dir):