From 2f41470fd6927f75aab7741852bcaad2ae9cc9f2 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Fri, 22 May 2015 09:42:34 -0600 Subject: bitbake: bitbake-user-manual: Updated "Delete a Task" section for broken deps Fixes [YOCTO #7803] I added information for the scenario where deleting a task using the deltask command could "break" implicit dependencies. (Bitbake rev: 5ea3a206bb5beef4c12d56d9e42e29d324a08e16) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- .../bitbake-user-manual-metadata.xml | 32 ++++++++++++++++++++-- 1 file changed, 30 insertions(+), 2 deletions(-) (limited to 'bitbake/doc') diff --git a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml index d7d6c92ee8..fbffade348 100644 --- a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml +++ b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml @@ -1065,13 +1065,41 @@ Deleting a Task - As well as being able to add tasks, tasks can also be deleted. - This is done simply with deltask command. + As well as being able to add tasks, you can delete them. + Simply use the deltask command to + delete a task. For example, to delete the example task used in the previous sections, you would use: deltask printdate + If you delete a task using the deltask + command and the task has dependencies, the dependencies are + not reconnected. + For example, suppose you have three tasks named + do_a, do_b, and + do_c. + Furthermore, do_c is dependent on + do_b, which in turn is dependent on + do_a. + Given this scenario, if you use deltask + to delete do_b, the implicit dependency + relationship between do_c and + do_a through do_b + no longer exists, and do_c dependencies + are not updated to include do_a. + Thus, do_c is free to run before + do_a. + + + + If you want dependencies such as these to remain intact, use + the noexec varflag to disable the task + instead of using the deltask command to + delete it: + + do_b[noexec] = "1" + -- cgit v1.2.3-54-g00ecf