Skip to contentSkip to conversation

build: Ensure we preserve sigbasedata files as well as sigdata ones

PATCH New Richard Purdie 1 participant 1 message Nov 2, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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/lib/bb/build.py +0 -0
index b5e80bc..574c64f 100644
@@ -715,7 +715,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'):