diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-06-19 13:05:17 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-06-20 13:10:46 +0100 |
commit | de1841d9c2a0ec1d7103335d450b5fbc2273804e (patch) | |
tree | f7d7b713aef596a0c81777f8947601f1894ee490 /meta/classes | |
parent | 827400fd0927eaa1280bac6368f4d1199849c3ed (diff) | |
download | poky-de1841d9c2a0ec1d7103335d450b5fbc2273804e.tar.gz |
utility-tasks/distrodata: Add recideptask flag for fetchall/checkuriall
See the bitbake commit adding the recideptask flag for details of the
problem but in summary, we weren't seeing the [depends] of tasks like
do_rootfs being taking into account for fetchall. This was leading
to not all sources being fetched and this is the OE-Core part of the
fix for this problem.
BB_DEFAULT_TASK is the default task used since this is the one that
most commands would end up targeting and is how users expect the command
to behave.
[YOCTO #4597]
(From OE-Core rev: abf468963a087244887384122fd5202909e7f118)
(From OE-Core rev: e385cc4ac06ac1e8d257563a700d19895105eade)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/distrodata.bbclass | 4 | ||||
-rw-r--r-- | meta/classes/prexport.bbclass | 2 | ||||
-rw-r--r-- | meta/classes/utility-tasks.bbclass | 2 |
3 files changed, 7 insertions, 1 deletions
diff --git a/meta/classes/distrodata.bbclass b/meta/classes/distrodata.bbclass index 907f78dc1c..be95b1ce38 100644 --- a/meta/classes/distrodata.bbclass +++ b/meta/classes/distrodata.bbclass | |||
@@ -190,6 +190,7 @@ python do_distrodata() { | |||
190 | 190 | ||
191 | addtask distrodataall after do_distrodata | 191 | addtask distrodataall after do_distrodata |
192 | do_distrodataall[recrdeptask] = "do_distrodataall do_distrodata" | 192 | do_distrodataall[recrdeptask] = "do_distrodataall do_distrodata" |
193 | do_distrodataall[recideptask] = "do_${BB_DEFAULT_TASK}" | ||
193 | do_distrodataall[nostamp] = "1" | 194 | do_distrodataall[nostamp] = "1" |
194 | do_distrodataall() { | 195 | do_distrodataall() { |
195 | : | 196 | : |
@@ -787,6 +788,7 @@ python do_checkpkg() { | |||
787 | 788 | ||
788 | addtask checkpkgall after do_checkpkg | 789 | addtask checkpkgall after do_checkpkg |
789 | do_checkpkgall[recrdeptask] = "do_checkpkgall do_checkpkg" | 790 | do_checkpkgall[recrdeptask] = "do_checkpkgall do_checkpkg" |
791 | do_checkpkgall[recideptask] = "do_${BB_DEFAULT_TASK}" | ||
790 | do_checkpkgall[nostamp] = "1" | 792 | do_checkpkgall[nostamp] = "1" |
791 | do_checkpkgall() { | 793 | do_checkpkgall() { |
792 | : | 794 | : |
@@ -829,6 +831,7 @@ python do_distro_check() { | |||
829 | 831 | ||
830 | addtask distro_checkall after do_distro_check | 832 | addtask distro_checkall after do_distro_check |
831 | do_distro_checkall[recrdeptask] = "do_distro_checkall do_distro_check" | 833 | do_distro_checkall[recrdeptask] = "do_distro_checkall do_distro_check" |
834 | do_distro_checkall[recideptask] = "do_${BB_DEFAULT_TASK}" | ||
832 | do_distro_checkall[nostamp] = "1" | 835 | do_distro_checkall[nostamp] = "1" |
833 | do_distro_checkall() { | 836 | do_distro_checkall() { |
834 | : | 837 | : |
@@ -877,6 +880,7 @@ python do_checklicense() { | |||
877 | 880 | ||
878 | addtask checklicenseall after do_checklicense | 881 | addtask checklicenseall after do_checklicense |
879 | do_checklicenseall[recrdeptask] = "do_checklicenseall do_checklicense" | 882 | do_checklicenseall[recrdeptask] = "do_checklicenseall do_checklicense" |
883 | do_checklicenseall[recideptask] = "do_${BB_DEFAULT_TASK}" | ||
880 | do_checklicenseall[nostamp] = "1" | 884 | do_checklicenseall[nostamp] = "1" |
881 | do_checklicenseall() { | 885 | do_checklicenseall() { |
882 | : | 886 | : |
diff --git a/meta/classes/prexport.bbclass b/meta/classes/prexport.bbclass index 16c4bf2f23..5a1cb33c6a 100644 --- a/meta/classes/prexport.bbclass +++ b/meta/classes/prexport.bbclass | |||
@@ -55,4 +55,4 @@ python prexport_handler () { | |||
55 | } | 55 | } |
56 | 56 | ||
57 | addhandler prexport_handler | 57 | addhandler prexport_handler |
58 | prexport_handler bb.event.RecipeParsed bb.event.ParseStarted bb.event.ParseCompleted" | 58 | prexport_handler[eventmask] = "bb.event.RecipeParsed bb.event.ParseStarted bb.event.ParseCompleted" |
diff --git a/meta/classes/utility-tasks.bbclass b/meta/classes/utility-tasks.bbclass index bb26eb7e7e..507e0f1c94 100644 --- a/meta/classes/utility-tasks.bbclass +++ b/meta/classes/utility-tasks.bbclass | |||
@@ -48,6 +48,7 @@ python do_checkuri() { | |||
48 | 48 | ||
49 | addtask checkuriall after do_checkuri | 49 | addtask checkuriall after do_checkuri |
50 | do_checkuriall[recrdeptask] = "do_checkuriall do_checkuri" | 50 | do_checkuriall[recrdeptask] = "do_checkuriall do_checkuri" |
51 | do_checkuriall[recideptask] = "do_${BB_DEFAULT_TASK}" | ||
51 | do_checkuriall[nostamp] = "1" | 52 | do_checkuriall[nostamp] = "1" |
52 | do_checkuriall() { | 53 | do_checkuriall() { |
53 | : | 54 | : |
@@ -55,6 +56,7 @@ do_checkuriall() { | |||
55 | 56 | ||
56 | addtask fetchall after do_fetch | 57 | addtask fetchall after do_fetch |
57 | do_fetchall[recrdeptask] = "do_fetchall do_fetch" | 58 | do_fetchall[recrdeptask] = "do_fetchall do_fetch" |
59 | do_fetchall[recideptask] = "do_${BB_DEFAULT_TASK}" | ||
58 | do_fetchall() { | 60 | do_fetchall() { |
59 | : | 61 | : |
60 | } | 62 | } |