mirror of
https://git.yoctoproject.org/poky
synced 2026-06-02 13:29:49 +00:00
bitbake/runqueue.py: Fix del_stamp calls and -f option to bitbake with the BasicHash siggen code
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -573,11 +573,6 @@ class RunQueueData:
|
|||||||
fn = taskData.fn_index[fnid]
|
fn = taskData.fn_index[fnid]
|
||||||
self.target_pairs.append((fn, target[1]))
|
self.target_pairs.append((fn, target[1]))
|
||||||
|
|
||||||
# Remove stamps for targets if force mode active
|
|
||||||
if self.cooker.configuration.force:
|
|
||||||
logger.verbose("Remove stamp %s, %s", target[1], fn)
|
|
||||||
bb.build.del_stamp(target[1], self.dataCache, fn)
|
|
||||||
|
|
||||||
if fnid in taskData.failed_fnids:
|
if fnid in taskData.failed_fnids:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
@@ -724,6 +719,12 @@ class RunQueueData:
|
|||||||
|
|
||||||
self.hashdata = hashdata
|
self.hashdata = hashdata
|
||||||
|
|
||||||
|
# Remove stamps for targets if force mode active
|
||||||
|
if self.cooker.configuration.force:
|
||||||
|
for (fn, target) in self.target_pairs:
|
||||||
|
logger.verbose("Remove stamp %s, %s", target, fn)
|
||||||
|
bb.build.del_stamp(target, self.dataCache, fn)
|
||||||
|
|
||||||
return len(self.runq_fnid)
|
return len(self.runq_fnid)
|
||||||
|
|
||||||
def dump_data(self, taskQueue):
|
def dump_data(self, taskQueue):
|
||||||
|
|||||||
Reference in New Issue
Block a user