]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
bitbake: build: Ensure we preserve sigbasedata files as well as sigdata ones
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 2 Nov 2016 15:06:00 +0000 (15:06 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 16 Nov 2016 10:37:58 +0000 (10:37 +0000)
We don't remove sigdata files, we also shouldn't remove sigbasedata files
as this hinders debugging.

(Bitbake rev: 06e7c00f2e1ddda6a2632ec2354a3c8f5c34562d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/build.py

index c4c8aeb645ae141ae79f84c7865ec83a8143cf69..e807a0948c1416d871af3fdfbfcff0cb182883a2 100644 (file)
@@ -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'):