summaryrefslogtreecommitdiffstats
path: root/scripts/.aglsetup_genconfig.bash
AgeCommit message (Collapse)AuthorFilesLines
2017-01-27scripts/aglsetup: remove duplicate features before generating configStephane Desneux1-2/+2
With features dependencies, it may happen that the final list of features to handle contains duplicates. With recent changes on configuration fragments, this produces some WARNINGS due to multiple inclusions of the same file in the generated local.conf . This commit cleans up the features list resolved internally by removing duplicates before generating local.conf Change-Id: I009c41108086e76b76272e62c8ba9101fcc45437 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2016-11-24Convert feature.inc to feature.depJan-Simon Möller1-21/+0
This converts the included features used for CI purposes to use the dependency format introduced. Change-Id: I405af9ffbd6954d0e78b5f738e762a80687337d7 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2016-11-16Add feature shortcuts matching ci systemJan-Simon Möller1-0/+21
These features (shortcuts) do activate the feature set for: - the changeset builds (agl-ci-change-features) - the snapshot builds (agl-ci-snapshot-features) Change-Id: I4972f61b070836fedef8e06d32deaf07b8978dfb Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2016-11-08allow dependency between agl featureRonan1-9/+40
* you can add included.inc file for each feature * if features is include into an other feature, they are print during the --help command #source meta-agl/scripts/aglsetup.sh -h ... Available features: [meta-agl] agl-all-features :( agl-demo agl-appfw-smack agl-devel agl-netboot agl-sota ) agl-archiver agl-devel agl-isafw agl-netboot [meta-agl-devel] agl-renesas-kernel [meta-agl-extra] agl-appfw-smack agl-demo :( agl-appfw-smack agl-devel) Change-Id: I4a72abd48f70a9262203acba84fac24d9dd4dce0 Signed-off-by: Ronan <ronan.lemartret@iot.bzh>
2016-10-19Add shortcut to enable all featuresJan-Simon Möller1-0/+9
This change introduces an agl-all-features flag. It is basically a feature that will enable a list of 'known-good' features from an included file. It is meant to serve two purposes: - simplify automation scripts - ease-of-use for users building the whole set of features Change-Id: Ia962d6ec8a6c6345fb27e303cabbf805e729a8ca Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2016-10-18Fix aglsetup always succeeded regardless of whether errors or notTadao Tanikawa1-11/+11
The aglsetup is always succeeded regardless of whether got errors while executing sub scripts or not. This is caused by following script. call_func 2>&1 | tee xxxx.log The result of this line always becomes 0 (succeeded) by result of command 'tee'. The '$PIPESTATUS[]' should be used for this case. Change-Id: I67bf0dbc86331ec7858bd8edb4739a5e7729275b Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2016-09-09aglsetup.sh: handle machines/features from any layerStephane Desneux1-12/+45
This patch allows the setup script called by scripts/aglsetup.sh to search for available machines and features in all repositories located in the meta directory (the directory where meta-agl has been cloned). In particular, this now allows to specify a machine or a feature located in meta-agl-devel. Important note: duplicate machines or features in different layers are detected and forbidden (script fails with error) to avoid any ambiguity. Change-Id: If55105a05889ca95da856d65986a86f4ef5f4b2c Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2016-07-08aglsetup script: fix interactive execution of the script generated from ↵Stephane Desneux1-1/+1
fragments This fixes the problem with Qualcomm boards where EULA approval is required. See: https://lists.linuxfoundation.org/pipermail/automotive-discussions/2016-July/002279.html Change-Id: Ifad216bf559a246d6883e7c2828dacd7bd225075 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2016-07-05new configuration templates based on fragmentsStephane Desneux1-0/+400
This is the application of the process proposed here: https://lists.linuxfoundation.org/pipermail/automotive-discussions/2016-June/002232.html Bug-AGL: SPEC-180 Change-Id: I5a7015fa810547a9ecf4fb096367323af3cdc670 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>