summaryrefslogtreecommitdiff
path: root/bitbake/lib/bb/siggen.py
AgeCommit message (Collapse)AuthorFiles
2011-01-07bitbake/siggen.py: Add a signature generator which adds the hash to the ↵Richard Purdie1
stamp files Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-01-06bitbake build/siggen/runqueue: Fix stampfile parametersRichard Purdie1
The current parameters are not useful to the stampfile generator function as they can't uniquely define a task. This updated things so the parameters can identify unique tasks. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-01-04bitbake: Sync a load of whitespace and other non-functionality changes with ↵Richard Purdie1
bitbake uptream Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-12-20siggen.py: print taskname when seeing mismatched hash in cacheKevin Tian1
Signed-off-by: Kevin Tian <kevin.tian@intel.com>
2010-12-17bitbake Revert bitbake exec() and go back to fork() for performace wins ↵Richard Purdie1
(first draft) Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-12-16siggen.py: make sure stamp directory existingKevin Tian1
or else "bitbake -S" from scratch may report "No such file or directory" error. Signed-off-by: Kevin Tian <kevin.tian@intel.com>
2010-12-07siggen.py: fix the wrong usage on BB_TASKHASH_WHITELISTKevin Tian1
BB_TASKHASH_WHITELIST is expected to filter out native tasks from the dependency list for target recipe's checksum. However current code actually implements the opposite. All native sstate packages end up to have empty task dependency while target sstate packages still have native tasks counted into the checksum. Signed-off-by: Kevin Tian <kevin.tian@intel.com>
2010-12-06siggen.py: set 'runtaskdeps' correctlyKevin Tian1
Now 'runtaskdeps' is assigned before taskhash whitelist is filtered out, and thus always contains original task dependencies. This causes problem to diagnose sstate related problem. So fix it by appending filtered dep to 'runtaskdeps' in the fly. Signed-off-by: Kevin Tian <kevin.tian@intel.com>
2010-11-15siggen.py: fix comparison around runtaskdepsKevin Tian1
two dep lists should be sorted before the comparison, or else it just causes false-positive confusion. Also fix 'taskdeps' to 'runtaskdeps' when printing out the difference. Signed-off-by: Kevin Tian <kevin.tian@intel.com>
2010-11-06bitbake/siggen: Allow siggen code to control final stampfile formatRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-11-02bitbake/siggen: Provide better warnings about empty tasksRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-11-01bitbake/siggen: Fix finalise call argumentsRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-09-30bitbake/bitbake-sigdiff: Extend to handle dumping single state siginfo filesRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-09-30bitbake/siggen: Fix issue where excluded dependencies caused exceptionsRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-09-29bitbake/siggen: Ensure full signature data is not held unless needed, ↵Richard Purdie1
reducing memory consumption Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-09-28bitbake: Pass task hash information to subprocessesRichard Purdie1
Pass task has informaiton to work processes, allowing full manipulation of the hash data in the task context allowing checksums to be usable. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-09-13bitbake/siggen: Allow generation of siggen data from task contextRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-09-13bitbake/siggen.py: Improve debugging of checksumsRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-09-03bitbake: Add missing signature filesRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>