Bug 7676 - recipetool: add ability to update variable value in recipe
Summary: recipetool: add ability to update variable value in recipe
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: devtools / tool chain (show other bugs)
Version: 1.8
Hardware: All Multiple
: Low enhancement
Target Milestone: 2.1
Assignee: Paul Eggleton
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2015-04-29 13:01 UTC by Paul Eggleton
Modified: 2015-12-02 02:22 UTC (History)
2 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 Paul Eggleton 2015-04-29 13:01:13 UTC
For scripted updates it would be useful to have the ability to set variable values intelligently within a recipe. We already have code to do this in meta/lib/oe/recipeutils.py, we just need to add a subcommand in recipetool to provide access to it. There should be an option to select whether updates to included files are allowed or not.
Comment 1 Paul Eggleton 2015-12-02 02:22:47 UTC
Now implemented in master (also relies on a bunch of the other commits merged around the same time):

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=b381f804a541bb1d08e331c139a82e250f924c05