summaryrefslogtreecommitdiffstats
path: root/meta/classes/utility-tasks.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2013-06-19 13:05:17 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-06-20 12:10:46 (GMT)
commitde1841d9c2a0ec1d7103335d450b5fbc2273804e (patch)
treef7d7b713aef596a0c81777f8947601f1894ee490 /meta/classes/utility-tasks.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/utility-tasks.bbclass')
-rw-r--r--meta/classes/utility-tasks.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/utility-tasks.bbclass b/meta/classes/utility-tasks.bbclass
index bb26eb7..507e0f1 100644
--- a/meta/classes/utility-tasks.bbclass
+++ b/meta/classes/utility-tasks.bbclass
@@ -48,6 +48,7 @@ python do_checkuri() {
48 48
49addtask checkuriall after do_checkuri 49addtask checkuriall after do_checkuri
50do_checkuriall[recrdeptask] = "do_checkuriall do_checkuri" 50do_checkuriall[recrdeptask] = "do_checkuriall do_checkuri"
51do_checkuriall[recideptask] = "do_${BB_DEFAULT_TASK}"
51do_checkuriall[nostamp] = "1" 52do_checkuriall[nostamp] = "1"
52do_checkuriall() { 53do_checkuriall() {
53 : 54 :
@@ -55,6 +56,7 @@ do_checkuriall() {
55 56
56addtask fetchall after do_fetch 57addtask fetchall after do_fetch
57do_fetchall[recrdeptask] = "do_fetchall do_fetch" 58do_fetchall[recrdeptask] = "do_fetchall do_fetch"
59do_fetchall[recideptask] = "do_${BB_DEFAULT_TASK}"
58do_fetchall() { 60do_fetchall() {
59 : 61 :
60} 62}