diff options
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/build.py | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/bitbake/lib/bb/build.py b/bitbake/lib/bb/build.py index 8ff7fb2931..43790a658a 100644 --- a/bitbake/lib/bb/build.py +++ b/bitbake/lib/bb/build.py | |||
@@ -29,6 +29,7 @@ import os | |||
29 | import sys | 29 | import sys |
30 | import logging | 30 | import logging |
31 | import shlex | 31 | import shlex |
32 | import glob | ||
32 | import bb | 33 | import bb |
33 | import bb.msg | 34 | import bb.msg |
34 | import bb.process | 35 | import bb.process |
@@ -504,8 +505,12 @@ def make_stamp(task, d, file_name = None): | |||
504 | """ | 505 | """ |
505 | cleanmask = stamp_cleanmask_internal(task, d, file_name) | 506 | cleanmask = stamp_cleanmask_internal(task, d, file_name) |
506 | for mask in cleanmask: | 507 | for mask in cleanmask: |
507 | bb.utils.remove(mask) | 508 | # Preserve sigdata files in the stamps directory |
508 | 509 | for name in glob.glob(mask): | |
510 | if "sigdata" in name: | ||
511 | continue | ||
512 | os.unlink(name) | ||
513 | |||
509 | stamp = stamp_internal(task, d, file_name) | 514 | stamp = stamp_internal(task, d, file_name) |
510 | # Remove the file and recreate to force timestamp | 515 | # Remove the file and recreate to force timestamp |
511 | # change on broken NFS filesystems | 516 | # change on broken NFS filesystems |