Bug 9535 - Generated SDK environment files use 'source' to load additional environment files
Summary: Generated SDK environment files use 'source' to load additional environment f...
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 2.1
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 2.2 M1
Assignee: Stephano Cetola
QA Contact: Francisco Pedraza
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2016-04-27 21:17 UTC by Mark Hatle
Modified: 2016-06-20 14:20 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 :)