[gnome-continuous-yocto/gnomeostree-3.28-rocko: 6081/8267] kconfig-frontends: fix another build race



commit 9a983f0ef9016852182379b224e582cfb2808340
Author: Ross Burton <ross burton intel com>
Date:   Fri May 26 17:12:58 2017 +0100

    kconfig-frontends: fix another build race
    
    It is possible that frontends/kconfig is written to by sed before frontends/
    exists, so add a mkdir to ensure the directory always exits.
    
    [ YOCTO #11574 ]
    
    (From OE-Core rev: ad915e9baa04c73981c4795a97da95cea40b50c2)
    
    Signed-off-by: Ross Burton <ross burton intel com>
    Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>

 .../kconfig-frontends/files/missing-mkdir.patch    |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/meta/recipes-devtools/kconfig-frontends/files/missing-mkdir.patch 
b/meta/recipes-devtools/kconfig-frontends/files/missing-mkdir.patch
index a06a547..a11186e 100644
--- a/meta/recipes-devtools/kconfig-frontends/files/missing-mkdir.patch
+++ b/meta/recipes-devtools/kconfig-frontends/files/missing-mkdir.patch
@@ -21,6 +21,10 @@ diff --git a/Makefile.am b/Makefile.am
 index c8e96ef..1baa110 100644
 --- a/Makefile.am
 +++ b/Makefile.am
+@@ -173,2 +173,3 @@ bin_SCRIPTS += frontends/kconfig
+ frontends/kconfig: frontends/kconfig.in
++      $(MKDIR_P) $(@D)
+       $(AM_V_GEN)$(SED) -e 's/@KCFG_LIST@/$(kcfg_list)/g' \
 @@ -348,6 +348,7 @@ EXTRA_DIST += \
        utils/kconfig-tweak.in.patch
  


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