summaryrefslogtreecommitdiffstats
path: root/meta/classes/distrodata.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2013-06-19 13:05:17 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-06-20 13:10:46 +0100
commitde1841d9c2a0ec1d7103335d450b5fbc2273804e (patch)
treef7d7b713aef596a0c81777f8947601f1894ee490 /meta/classes/distrodata.bbclass
parent827400fd0927eaa1280bac6368f4d1199849c3ed (diff)
downloadpoky-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/distrodata.bbclass')
-rw-r--r--meta/classes/distrodata.bbclass4
1 files changed, 4 insertions, 0 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
191addtask distrodataall after do_distrodata 191addtask distrodataall after do_distrodata
192do_distrodataall[recrdeptask] = "do_distrodataall do_distrodata" 192do_distrodataall[recrdeptask] = "do_distrodataall do_distrodata"
193do_distrodataall[recideptask] = "do_${BB_DEFAULT_TASK}"
193do_distrodataall[nostamp] = "1" 194do_distrodataall[nostamp] = "1"
194do_distrodataall() { 195do_distrodataall() {
195 : 196 :
@@ -787,6 +788,7 @@ python do_checkpkg() {
787 788
788addtask checkpkgall after do_checkpkg 789addtask checkpkgall after do_checkpkg
789do_checkpkgall[recrdeptask] = "do_checkpkgall do_checkpkg" 790do_checkpkgall[recrdeptask] = "do_checkpkgall do_checkpkg"
791do_checkpkgall[recideptask] = "do_${BB_DEFAULT_TASK}"
790do_checkpkgall[nostamp] = "1" 792do_checkpkgall[nostamp] = "1"
791do_checkpkgall() { 793do_checkpkgall() {
792 : 794 :
@@ -829,6 +831,7 @@ python do_distro_check() {
829 831
830addtask distro_checkall after do_distro_check 832addtask distro_checkall after do_distro_check
831do_distro_checkall[recrdeptask] = "do_distro_checkall do_distro_check" 833do_distro_checkall[recrdeptask] = "do_distro_checkall do_distro_check"
834do_distro_checkall[recideptask] = "do_${BB_DEFAULT_TASK}"
832do_distro_checkall[nostamp] = "1" 835do_distro_checkall[nostamp] = "1"
833do_distro_checkall() { 836do_distro_checkall() {
834 : 837 :
@@ -877,6 +880,7 @@ python do_checklicense() {
877 880
878addtask checklicenseall after do_checklicense 881addtask checklicenseall after do_checklicense
879do_checklicenseall[recrdeptask] = "do_checklicenseall do_checklicense" 882do_checklicenseall[recrdeptask] = "do_checklicenseall do_checklicense"
883do_checklicenseall[recideptask] = "do_${BB_DEFAULT_TASK}"
880do_checklicenseall[nostamp] = "1" 884do_checklicenseall[nostamp] = "1"
881do_checklicenseall() { 885do_checklicenseall() {
882 : 886 :