]> code.ossystems Code Review - openembedded-core.git/commitdiff
wic: bootimg-pcbios: use wic-tools target
authorEd Bartosh <ed.bartosh@linux.intel.com>
Thu, 19 Jan 2017 13:53:46 +0000 (15:53 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 23 Jan 2017 12:03:52 +0000 (12:03 +0000)
Used wic-tools target to get location of syslinux.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
scripts/lib/wic/plugins/source/bootimg-pcbios.py

index f204daa3232e0b2e50bf7b1369be01fe912b7824..cff8aec059213a61cd68687a93ff1fe0ecf0e477 100644 (file)
@@ -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):