Bug 7803

Summary: Deleting a Task section should note dependency handling
Product: [Documentation] BitBake User Manual Reporter: Paul Eggleton <bluelightning>
Component: bitbake-manualAssignee: Scott Rifenbark <srifenbark>
Status: VERIFIED FIXED QA Contact: Bogdan Alexandru Voiculescu <bogdanx.a.voiculescu>
Severity: enhancement    
Priority: Medium CC: bogdanx.a.voiculescu, srifenbark
Version: unspecified   
Target Milestone: 1.9 M1   
Hardware: All   
OS: Multiple   
Whiteboard: 01 June 2015: RESOLOVED
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Done (doc changes complete)

Description Paul Eggleton 2015-05-22 08:59:52 UTC
Scott, could you please add a note to the "Deleting a Task" section of the BitBake manual that points out that deleting a task with deltask doesn't reconnect dependencies? For example, if you have task do_c depending on task do_b which in turn depends on task do_a, and you do deltask do_b, then task do_c's dependencies will not be updated to include task do_a, the result being that do_c may be free to run before do_a. If you wish such dependencies to stay intact you should use the noexec varflag to disable the task instead of deleting it with deltask e.g.:

do_b[noexec] = "1"
Comment 1 Scott Rifenbark 2015-05-22 15:27:15 UTC
Paul, 

I have completed the change iterations.  I will set this to IN PROGRESS REVIEW for now.  If I don't hear back in a week then it will move to RESOLVED.

http://www.yoctoproject.org/docs/1.9/bitbake-user-manual/bitbake-user-manual.html#deleting-a-task

Thanks, 
Scott
Comment 2 Scott Rifenbark 2015-06-01 18:54:39 UTC
Hi,

Received no feedback so I am moving this bug to RESOLVED and setting the documentation flag to "done."

Scott
Comment 3 Bogdan Alexandru Voiculescu 2015-09-03 09:01:16 UTC
verified in documentation