From e385cc4ac06ac1e8d257563a700d19895105eade Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Wed, 19 Jun 2013 13:05:17 +0000 Subject: 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) Signed-off-by: Richard Purdie --- meta/classes/utility-tasks.bbclass | 2 ++ 1 file changed, 2 insertions(+) (limited to 'meta/classes/utility-tasks.bbclass') 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() { addtask checkuriall after do_checkuri do_checkuriall[recrdeptask] = "do_checkuriall do_checkuri" +do_checkuriall[recideptask] = "do_${BB_DEFAULT_TASK}" do_checkuriall[nostamp] = "1" do_checkuriall() { : @@ -55,6 +56,7 @@ do_checkuriall() { addtask fetchall after do_fetch do_fetchall[recrdeptask] = "do_fetchall do_fetch" +do_fetchall[recideptask] = "do_${BB_DEFAULT_TASK}" do_fetchall() { : } -- cgit 1.2.3-korg