diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2017-02-03 15:49:56 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-02-05 09:22:18 +0000 |
commit | f9b58d0d11bd678863dcd3e6787e662f0443986d (patch) | |
tree | 1891eaee179bb0204a2eca627e9e25483f318442 /scripts | |
parent | 791391e25706cbd0f52a9de809d396f98f702c9e (diff) | |
download | poky-f9b58d0d11bd678863dcd3e6787e662f0443986d.tar.gz |
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.
(From OE-Core rev: be8ebac3b055070f690d42836bb0fdad32d29204)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/lib/wic/plugins/source/isoimage-isohybrid.py | 2 |
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): | |||
410 | exec_cmd(chmod_cmd) | 410 | exec_cmd(chmod_cmd) |
411 | 411 | ||
412 | # Prepare files for legacy boot | 412 | # Prepare files for legacy boot |
413 | syslinux_dir = get_bitbake_var("STAGING_DATADIR") | 413 | syslinux_dir = get_bitbake_var("STAGING_DATADIR", "wic-tools") |
414 | if not syslinux_dir: | 414 | if not syslinux_dir: |
415 | msger.error("Couldn't find STAGING_DATADIR, exiting.\n") | 415 | msger.error("Couldn't find STAGING_DATADIR, exiting.\n") |
416 | 416 | ||