diff options
author | Ming Liu <liu.ming50@gmail.com> | 2019-03-07 17:56:46 +0100 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2019-03-22 14:40:46 -0700 |
commit | 8aed35802270345844239406266be37d66ba86c7 (patch) | |
tree | b3b25617e338ca03776f4a14e9e667845298ee32 /meta | |
parent | f9dac6e62623b0ac1a2b2f40b54337721afab7a5 (diff) | |
download | openembedded-core-8aed35802270345844239406266be37d66ba86c7.tar.gz openembedded-core-8aed35802270345844239406266be37d66ba86c7.tar.bz2 openembedded-core-8aed35802270345844239406266be37d66ba86c7.zip |
rm_work: sort the value of do_build dependencies
This fixes some 'basehash changed' errors when rm_work is being
inherited.
(From OE-Core rev: e74158b6cc1d683ab14ef5d47ec531f986fc2259)
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/rm_work.bbclass | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/meta/classes/rm_work.bbclass b/meta/classes/rm_work.bbclass index 10e134b958..c478f4a187 100644 --- a/meta/classes/rm_work.bbclass +++ b/meta/classes/rm_work.bbclass @@ -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: |