[gnome-continuous-yocto/gnomeostree-3.28-rocko: 4192/8267] wic: bootimg-pcbios: use wic-tools target



commit 7998501f472278b4ed93dd7b95b1776efde5cb6c
Author: Ed Bartosh <ed bartosh linux intel com>
Date:   Thu Jan 19 15:53:46 2017 +0200

    wic: bootimg-pcbios: use wic-tools target
    
    Used wic-tools target to get location of syslinux.
    
    (From OE-Core rev: 5afd7def3b101bb3d650db4d005cb8d36aaf074a)
    
    Signed-off-by: Ed Bartosh <ed bartosh linux intel com>
    Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>

 scripts/lib/wic/plugins/source/bootimg-pcbios.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/scripts/lib/wic/plugins/source/bootimg-pcbios.py 
b/scripts/lib/wic/plugins/source/bootimg-pcbios.py
index f204daa..cff8aec 100644
--- a/scripts/lib/wic/plugins/source/bootimg-pcbios.py
+++ b/scripts/lib/wic/plugins/source/bootimg-pcbios.py
@@ -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):


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]