Bug 12821

Summary: Make Toaster conf changes compatible with command line usage
Product: [Build System, Metadata & Runtime] Toaster Reporter: David Reyna <david.reyna>
Component: toasterAssignee: David Reyna <david.reyna>
Status: RESOLVED FIXED QA Contact: Toaster default assignee <toaster>
Severity: enhancement    
Priority: Medium+ CC: jessica.zhang, stanciux.mihail
Version: unspecified   
Target Milestone: 2.6 M3   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Yes (doc changes required)

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