Bug 9535

Summary: Generated SDK environment files use 'source' to load additional environment files
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Mark Hatle <mark.hatle>
Component: coreAssignee: Stephano Cetola <stephano>
Status: RESOLVED FIXED QA Contact: Francisco Pedraza <francisco.j.pedraza.gonzalez>
Severity: normal    
Priority: Medium+ CC: jose.perez.carranza, meta.mr.watcher, meta.watcher
Version: 2.1   
Target Milestone: 2.2 M1   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Mark Hatle 2016-04-27 21:17:30 UTC
Generated SDK environment files use 'source' to load additional environment files.  On some dash shells, this will cause an immediate failure.  'source' is not supported, but '.' is.  ('source' is a csh-ism that bash picked up.. so it's not posix -- but '.' is.)

The problem is most likely in the 'toolchain-scripts.bbclass' where it generated the environment files.
Comment 1 Ross Burton 2016-04-27 21:19:41 UTC
Assigning to Stephano to let him explore various bits of the codebase :)