rm_work: sort the value of do_build dependencies
PATCH 1/1 rm_work: sort the value of do_build dependencies
From: Ming Liu <[email protected]>
This fixes some 'basehash changed' errors when rm_work is being inherited.
Signed-off-by Ming Liu <[email protected]>
--- meta/classes/rm_work.bbclass | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
meta/classes/rm_work.bbclass +1 -2
@@ -164,8 +164,7 @@ python inject_rm_work() { # Determine what do_build depends upon, without including do_build # itself or our own special do_rm_work_all. - deps = set(bb.build.preceedtask('do_build', True, d)) - deps.difference_update(('do_build', 'do_rm_work_all')) + deps = sorted((set(bb.build.preceedtask('do_build', True, d))).difference(('do_build', 'do_rm_work_all')) or "") # deps can be empty if do_build doesn't exist, e.g. *-inital recipes if not deps:
Signature · 1 line
2.7.4