[gnome-continuous-yocto/gnomeostree-3.22-krogoth: 160/246] bitbake: build: Ensure we preserve sigbasedata files as well as sigdata ones



commit c60a0a51d778bf25d926aa5c74325a3fe9d73a05
Author: Richard Purdie <richard purdie linuxfoundation org>
Date:   Wed Nov 2 15:06:00 2016 +0000

    bitbake: build: Ensure we preserve sigbasedata files as well as sigdata ones
    
    We don't remove sigdata files, we also shouldn't remove sigbasedata files
    as this hinders debugging.
    
    (Bitbake rev: 24611df046f798276e7aa3f5d65976249ee117d4)
    
    Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>

 bitbake/lib/bb/build.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/bitbake/lib/bb/build.py b/bitbake/lib/bb/build.py
index db5072c..ebb9a3e 100644
--- a/bitbake/lib/bb/build.py
+++ b/bitbake/lib/bb/build.py
@@ -646,7 +646,7 @@ def make_stamp(task, d, file_name = None):
     for mask in cleanmask:
         for name in glob.glob(mask):
             # Preserve sigdata files in the stamps directory
-            if "sigdata" in name:
+            if "sigdata" in name or "sigbasedata" in name:
                 continue
             # Preserve taint files in the stamps directory
             if name.endswith('.taint'):


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