[gnome-continuous-yocto/gnomeostree-3.28-rocko: 3184/8267] bitbake: build: Ensure we preserve sigbasedata files as well as sigdata ones



commit 157947efc7e505e01baafb33ec93fe2f485308fe
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: 8b879fd81fdcf86645cfabad0f54454ba573df52)
    
    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 c4c8aeb..e807a09 100644
--- a/bitbake/lib/bb/build.py
+++ b/bitbake/lib/bb/build.py
@@ -723,7 +723,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]