From be8ebac3b055070f690d42836bb0fdad32d29204 Mon Sep 17 00:00:00 2001 From: Ed Bartosh Date: Fri, 3 Feb 2017 15:49:56 +0200 Subject: 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 Signed-off-by: Ross Burton --- scripts/lib/wic/plugins/source/isoimage-isohybrid.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/lib/wic') 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") -- cgit v1.2.3