Bug 12821 - Make Toaster conf changes compatible with command line usage
Summary: Make Toaster conf changes compatible with command line usage
Status: RESOLVED FIXED
Alias: None
Product: Toaster
Classification: Build System, Metadata & Runtime
Component: toaster (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium+ enhancement
Target Milestone: 2.6 M3
Assignee: David Reyna
QA Contact: Toaster default assignee
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2018-06-28 00:52 UTC by David Reyna
Modified: 2018-08-26 05:52 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Yes (doc changes required)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Reyna 2018-06-28 00:52:27 UTC
Currently Toaster places its layer and variable changes in separate files ('toaster.conf' and 'toaster_bblayers.conf'), and when it builds the project it passes these files to bitbake.

However, while the separation is clean it breaks compatibility with command-line usage, limiting its portability and accessibility because of the special and non-obvious bitbake commands required.

Proposed solution:

Place the Toaster changes in special sections at the end of the normal conf files, and only perform updates within those sections.

This not only preserves the normal command line usage, it keeps the changes in the relevant files plus preserves the original settings that Toaster might override.
Comment 1 David Reyna 2018-08-26 05:52:54 UTC
commit 08fbdc02e32d715ae94e3b9603fb3ec8351c8fd3