[gnome-continuous-yocto/gnomeostree-3.28-rocko: 1984/8267] syslinux.bbclass: ensure creation of output directory



commit f019bb933f8016d33937d755887700f9a446408e
Author: Ed Bartosh <ed bartosh linux intel com>
Date:   Fri Aug 19 17:46:39 2016 +0300

    syslinux.bbclass: ensure creation of output directory
    
    build_syslinux_cfg function creates syslinux configuration file.
    The code assumes that the output directory exists, which is not
    always the case. For example rm_work task removes rootfs directory
    structure and causes build_syslinux_cfg to fail with this error:
    Unable to open ../<image>-<version>/syslinux_vm.cfg
    
    Made build_syslinux_cfg depend on output directory to ensure that
    directory is created before running the function.
    
    [YOCTO #10159]
    
    (From OE-Core rev: c39b072fa7e96f385da338a727c67e607308d637)
    
    Signed-off-by: Ed Bartosh <ed bartosh linux intel com>
    Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>

 meta/classes/syslinux.bbclass |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/meta/classes/syslinux.bbclass b/meta/classes/syslinux.bbclass
index fa3e3ec..35d9eed 100644
--- a/meta/classes/syslinux.bbclass
+++ b/meta/classes/syslinux.bbclass
@@ -196,3 +196,4 @@ python build_syslinux_cfg () {
 
     cfgfile.close()
 }
+build_syslinux_cfg[dirs] = "${S}"


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