Skip to contentSkip to conversation

rm_work: remove obsolete rm_work_all task

PATCH In review Ross Burton 2 participants 2 messages Jun 12, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 rm_work: remove obsolete rm_work_all task

*all tasks have been deprecated and replaced by bitbake --runall.

---
 meta/classes/rm_work.bbclass | 6 ------
 1 file changed, 6 deletions(-)
meta/classes/rm_work.bbclass +0 -6
index 318d121d2b5..ff74d232c97 100644
@@ -115,12 +115,6 @@ do_rm_work () {
         fi
     done
 }
-do_rm_work_all () {
-    :
-}
-do_rm_work_all[recrdeptask] = "do_rm_work"
-do_rm_work_all[noexec] = "1"
-addtask rm_work_all after before do_build
 
 do_populate_sdk[postfuncs] += "rm_work_populatesdk"
 rm_work_populatesdk () {
Signature · 1 line
2.11.0
#1 lore raw
Quoted 15 lines · Ross Burton

*all tasks have been deprecated and replaced by bitbake --runall.

---
 meta/classes/rm_work.bbclass | 6 ------
 1 file changed, 6 deletions(-)
meta/classes/rm_work.bbclass +0 -0
index 318d121d2b5..ff74d232c97 100644
@@ -115,12 +115,6 @@ do_rm_work () {
         fi
     done

meta/classes/rm_work.bbclass do_rm_work () { · line 120

Quoted 10 lines
meta/classes/rm_work.bbclass +0 -6
 }
-do_rm_work_all () {
-    :
-}
-do_rm_work_all[recrdeptask] = "do_rm_work"
-do_rm_work_all[noexec] = "1"
-addtask rm_work_all after before do_build
 
 do_populate_sdk[postfuncs] += "rm_work_populatesdk"
 rm_work_populatesdk () {

The idea was to remove the "all" tasks which could be done better/differently.

I think this one may be an integral part of how rm_work gets triggered and that without this, bits of the build won't get cleaned up. The key part is the "before do_build", i.e. its active in the taskgraph of standard builds.

Cheers,

Richard