scripts/envsetup.sh and TEMPLATECONF locations refactoring

Description

Current situation:
scripts/envsetup.sh
looks up

  • meta-agl
    and

  • meta-agl-demo
    for TEMPLATE files (per board).

So we have 2 places to take care of (based on minimal or graphical build).

Refactor it to simplify the script and keep data in just one location.

Environment

None

Activity

Show:

Jan-Simon Moeller 
July 10, 2016 at 11:49 AM

Closing.

Jan-Simon Moeller 
July 10, 2016 at 11:48 AM

Resolved. We're good to go.
Kudos to Stephane!

Stephane Desneux 
July 6, 2016 at 6:44 PM

Migration done.

: if CI jobs work correctly, I believe we can close this one ! Well done !

Stephane Desneux 
July 5, 2016 at 10:29 AM

Stephane Desneux 
June 30, 2016 at 10:42 AM

Actions taken:

  • proposed a first refactoring which uses conditional inclusion of layers and fragments of configuration in templates

  • that proposal was discussed during dev meeting: see Meeting notes for June 28: and pointed that having code in configuration files may lead to unexpected results. Also the ordering of the layers was pointed as one potential issue.

  • made a second proposal on the mailing list see this thread This proposal is also based on fragments, but there's no more conditionals in config files: everything is assembled before with a new script named 'aglsetup' which replaces the current 'envsetup' script.

  • this second proposal gets positive reviews and there are a few minor issues to solve

  • the current state is available here (WIP):

    • meta-agl: branch sandbox/sdesneux/aglextra2

    • meta-agl-extra: branch sandbox/sdesneux/aglextra2

Fixed

Details

Assignee

Reporter

Priority

Created May 3, 2016 at 2:02 PM
Updated July 10, 2016 at 11:49 AM
Resolved July 10, 2016 at 11:48 AM

Flag notifications