Bug 12891 - Allow flexible value for TOASTERDIR plus custom fixture support
Summary: Allow flexible value for TOASTERDIR plus custom fixture support
Status: RESOLVED FIXED
Alias: None
Product: Toaster
Classification: Build System, Metadata & Runtime
Component: toaster (show other bugs)
Version: 2.6
Hardware: x86 Multiple
: Medium+ enhancement
Target Milestone: 2.6 M3
Assignee: Awais
QA Contact: Toaster default assignee
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2018-08-16 05:00 UTC by David Reyna
Modified: 2018-10-16 18:56 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-08-16 05:00:17 UTC
Toaster depends on pokydirname for identifying the location of the oe-init-build-env script and there might be other purposes in the future. 

The problem with current approach is that it only checks/sets the variable with git based repos whereas toaster provides mechanism to allow having layers that are all locally available the evaluation of the variable fails. In such scenarios so we use a more flexible discovery mechanism.

Additionally, we need to add the ability to set a custom-only fixture installation with an environment variable, not just with patching "settings.xml".

Proposal:
  * Allow a toaster command line option to set the location of "TOASTERDIR"

  * Try to also locate poky in the local layers if its path is not already discovered or set. 

  * Allow "CUSTOM_XML_ONLY" to be passed as an environment variable.
Comment 1 David Reyna 2018-08-16 05:01:51 UTC
I am about to submit this patch set from Awais upstream.
Comment 2 David Reyna 2018-09-13 17:10:30 UTC
commit 1035d9decb8e9cfed44e70795d54c1aa6241c070. et. al.
Comment 3 David Reyna 2018-10-16 18:56:51 UTC
(Bitbake rev: 59f3e04122fca43835603779ac2d201464fbaebf)