Bug 7818 - cmd unconditionally prepends do_ to given task
Summary: cmd unconditionally prepends do_ to given task
Status: VERIFIED FIXED
Alias: None
Product: BitBake
Classification: Build System, Metadata & Runtime
Component: bitbake (show other bugs)
Version: unspecified
Hardware: All Multiple
: Medium normal
Target Milestone: 1.9 M3
Assignee: Alex Franco
QA Contact: Bogdan Alexandru Voiculescu
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2015-05-28 19:12 UTC by Bernhard Reutner-Fischer
Modified: 2015-10-28 16:31 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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