Bug 7818

Summary: cmd unconditionally prepends do_ to given task
Product: [Build System, Metadata & Runtime] BitBake Reporter: Bernhard Reutner-Fischer <rep.dot.nop>
Component: bitbakeAssignee: Alex Franco <alejandro.franco>
Status: VERIFIED FIXED QA Contact: Bogdan Alexandru Voiculescu <bogdanx.a.voiculescu>
Severity: normal    
Priority: Medium CC: bogdanx.a.voiculescu, poky.bs.watcher, poky.watcher
Version: unspecified   
Target Milestone: 1.9 M3   
Hardware: All   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know

Description Bernhard Reutner-Fischer 2015-05-28 19:12:13 UTC
bitbake -c listtasks pkg lists tasks with their "real" names:
do_build, do_cleanall, ...

but then -c do_cleanall complains about:
Task do_do_cleanall does not exist for target pkg

There are way too many hardcoded do_%s in there, prepending do_ should only be attempted when the task given by the user does not exist.
Comment 1 Alex Franco 2015-08-31 17:42:04 UTC
Sent patch to bitbake-devel mailing list
Comment 2 Alex Franco 2015-08-31 17:52:16 UTC
The code changes introduced by the patch I sent remove do_ from tasks when the runqueue is being generated
Comment 3 Alex Franco 2015-09-22 19:59:28 UTC
Resolving as this is merged already
Comment 4 Bogdan Alexandru Voiculescu 2015-10-28 16:31:57 UTC
Verified on master 8a0d8eee432924433c3e70198aaeab3161476c5f