summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2017-02-03 15:49:56 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-02-05 09:20:23 +0000
commitbe8ebac3b055070f690d42836bb0fdad32d29204 (patch)
tree3dc91744172403f2c38e434117a47e4c205f741f
parentaf52d878940babb88bc8a2650e8c0115b6ccaf9f (diff)
downloadopenembedded-core-contrib-be8ebac3b055070f690d42836bb0fdad32d29204.tar.gz
openembedded-core-contrib-be8ebac3b055070f690d42836bb0fdad32d29204.tar.bz2
openembedded-core-contrib-be8ebac3b055070f690d42836bb0fdad32d29204.zip
wic: isoimage-isohybrid: use wic-tools to get syslinux path
wic-tools recipe specific sysroot contains syslinux as wic-tools depends on it. Used wic-tools target to get syslinux path should guarantee that syslinux is installed there and can be used. Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r--scripts/lib/wic/plugins/source/isoimage-isohybrid.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/wic/plugins/source/isoimage-isohybrid.py b/scripts/lib/wic/plugins/source/isoimage-isohybrid.py
index 56bb62d786..ca28bc0fa3 100644
--- a/scripts/lib/wic/plugins/source/isoimage-isohybrid.py
+++ b/scripts/lib/wic/plugins/source/isoimage-isohybrid.py
@@ -410,7 +410,7 @@ class IsoImagePlugin(SourcePlugin):
exec_cmd(chmod_cmd)
# Prepare files for legacy boot
- syslinux_dir = get_bitbake_var("STAGING_DATADIR")
+ syslinux_dir = get_bitbake_var("STAGING_DATADIR", "wic-tools")
if not syslinux_dir:
msger.error("Couldn't find STAGING_DATADIR, exiting.\n")