summaryrefslogtreecommitdiffstats
path: root/lib/bb/siggen.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-11-28 13:34:33 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-11-28 13:50:52 +0000
commitc14d831ea3f625e9a47266a0c4e6deefc924ca5a (patch)
treeaac5ce2dd87dcf79337f76b9dbc06fe1945a5925 /lib/bb/siggen.py
parenta40ceda3b349c4461f4b7bc0e18cd966fff5e3cf (diff)
downloadopenembedded-core-contrib-c14d831ea3f625e9a47266a0c4e6deefc924ca5a.tar.gz
build/siggen.py: Avoid removing too many stamps when cleaning
The "*" part of the mask is to ensure we clean both any stamp, and any setscene varient. It turns out we would also trample other tasks, e.g. do_package_write could trample do_package_write_rpm. do_package also tramples do_package_write_* but this is less of an issue since the other tasks depend on it. Rather than use the wildcard, we can just use a list instead. [YOCTO #3484] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/siggen.py')
-rw-r--r--lib/bb/siggen.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/bb/siggen.py b/lib/bb/siggen.py
index ff70d4ff4f..ba149402bf 100644
--- a/lib/bb/siggen.py
+++ b/lib/bb/siggen.py
@@ -49,7 +49,7 @@ class SignatureGenerator(object):
return ("%s.%s.%s" % (stampbase, taskname, extrainfo)).rstrip('.')
def stampcleanmask(self, stampbase, file_name, taskname, extrainfo):
- return ("%s.%s*.%s" % (stampbase, taskname, extrainfo)).rstrip('.')
+ return ("%s.%s.%s" % (stampbase, taskname, extrainfo)).rstrip('.')
def dump_sigtask(self, fn, task, stampbase, runtime):
return
@@ -276,7 +276,6 @@ class SignatureGeneratorBasicHash(SignatureGeneratorBasic):
k = fn + "." + taskname
if clean:
h = "*"
- taskname = taskname + "*"
elif k in self.taskhash:
h = self.taskhash[k]
else: