[oe-commits] [openembedded-core] branch master-next updated: utility-tasks: Drop fetchall and checkuriall tasks

git at git.openembedded.org git at git.openembedded.org
Fri Feb 9 09:54:05 UTC 2018


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

The following commit(s) were added to refs/heads/master-next by this push:
     new 8bbb43e  utility-tasks: Drop fetchall and checkuriall tasks
8bbb43e is described below

commit 8bbb43e948af45d0fa5ab31b456147f691fa2ec3
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Fri Feb 9 09:48:48 2018 +0000

    utility-tasks: Drop fetchall and checkuriall tasks
    
    The same thing can now be done with "bitbake <target> --runall=fetch"
    or "bitbake <target> --runall=checkuri".
    
    Dropping the tasks takes "bitbake core-image-sato -g" from 22s to 8s
    since it no longer has to resolve the recursive dependencies (it
    doesn't know if any given target will touch them or not until it
    computes them). That is a significant enough win that its worth any
    impact this may have on the small number of users using the tasks.
    
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/classes/utility-tasks.bbclass | 13 -------------
 1 file changed, 13 deletions(-)

diff --git a/meta/classes/utility-tasks.bbclass b/meta/classes/utility-tasks.bbclass
index 587bfd4..b1f27d3 100644
--- a/meta/classes/utility-tasks.bbclass
+++ b/meta/classes/utility-tasks.bbclass
@@ -50,17 +50,4 @@ python do_checkuri() {
         bb.fatal(str(e))
 }
 
-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() {
-	:
-}
 
-addtask fetchall after do_fetch
-do_fetchall[recrdeptask] = "do_fetchall do_fetch"
-do_fetchall[recideptask] = "do_${BB_DEFAULT_TASK}"
-do_fetchall() {
-	:
-}

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list