Skip to contentSkip to conversation

wic: isoimage-isohybrid: use wic-tools to get syslinux path

PATCH New Ed Bartosh 1 participant 1 message Feb 3, 2017

lore
Share & tools
lore

Ed Bartosh

author
#0 lore raw

PATCH 1/1 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.

---
 scripts/lib/wic/plugins/source/isoimage-isohybrid.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/lib/wic/plugins/source/isoimage-isohybrid.py +1 -1
index 56bb62d..ca28bc0 100644
@@ -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")
 
Signature · 1 line
2.1.4