summaryrefslogtreecommitdiffstats
path: root/templates/feature
AgeCommit message (Collapse)AuthorFilesLines
2018-02-12move GPLv2 logic into agl-gplv2 featureMartin Kelly2-0/+3
Currently, we hardcode GPLv2/GPLv3 logic directly into the poky-agl distro config, and in agl-demo. However, the recipes in meta-gplv2 are very old, poorly supported, and receive no security updates. So, they can easily cause issues. To allow the choice of both GPLv2 and GPLv3, refactor the meta-gplv2 logic into its own "agl-gplv2" feature. The default is GPLv3, which points to well-supported layers with security updates. However, by adding the "agl-gplv2" feature in aglsetup.h, the meta-gplv2 layer gets added to bblayers.conf and recipe versions get set to those in meta-gplv2. Change-Id: I62d7f2daa58b0690b5b27740257bd15097fcee5c Signed-off-by: Martin Kelly <mkelly@xevo.com>
2017-10-14Add feature for enabling the YP ptest capabilitiesJan-Simon Möller3-2/+9
This change adds a feature 'agl-ptest' that can be used to enable the addition of the 'ptest' packages to the final image. See the YP documentation about ptest: - https://wiki.yoctoproject.org/wiki/Ptest - http://www.yoctoproject.org/docs/latest/dev-manual/dev-manual.html#testing-packages-with-ptest TLDR: enable feature + build image + boot image + login + call 'ptest-runner' + go get some coffee, go for a walk or run it just overnight Bug-AGL: SPEC-911 Change-Id: Ifbe7b4144a9e1071295da58e26e8a8bd2260cd88 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11327 Reviewed-by: Thomas Rini <trini@konsulko.com> Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
2017-08-21meta-agl: Init SDL featurePhong Tran3-3/+3
Add new meta layer meta-agl-sdl for SmartDeviceLink feature. Tested build ok with: source meta-agl/scripts/aglsetup.sh -m raspberrypi3 agl-demo agl-netboot agl-appfw-smack agl-sdl The SmartDeviceLink packages are selected by "agl-sdl" in DISTRO_FEATURES. Bug-AGL: SPEC-805 Change-Id: I416d8418c0ef4fe4de5e5ce084e7b9075e64f85f Signed-off-by: Phong Tran <tranmanphong@gmail.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10625 Reviewed-by: Jeremiah Foster <jeremiah.foster@pelagicore.com> Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Martin Kelly <mkelly@xevo.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-07-26Just inherit "sota.bbclass", let machine template snippets append toAnton Gerasimov1-1/+1
DISTRO_FEATURES Bug-AGL: SPEC-780 Change-Id: Ibe3de0d5d85ece467517dff0d4e5585cd1f38e79 Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10361 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-07-26Fix runqemu by generating an ext4 image by defaultJan-Simon Möller1-0/+1
runqemu does not detect an ext4.xz , thus default to ext4. Call it with: runqemu qemux86-64 kvm audio Also due to the optimization levels for x86-64, adapt QB_CPU and QB_CPU_KVM. For audiomanager to start up, sound needs to be enabled. QB_AUDIO_DRV and QB_AUDIO_OPT enable this. Finally bump memory in runqemu to 2G. For CI purposes, introduce a DISTRO_FEATURES flag 'AGLCI'. v2: fix missing space in append v3: qemuboot options fix v4: QB_AUDIO_DRV defaults to alsa Bug-AGL: SPEC-784 Change-Id: Ie9c9c2b7d8838b512f3f19b1e29952079039e0ab Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10387 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
2017-06-29Enable OTA updates using inc from meta-updaterPhil Wise1-1/+1
The latest meta-updater provides an include file to enable OTA updates--use that to bring in the relevant configuration. rvi-sota-client is not pulled in by default, so delete the IMAGE_INSTALL_remove line. Change-Id: I148dc1b0156f6ea12a456bd093a32945215852e7 Signed-off-by: Phil Wise <phil@advancedtelematic.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9801 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh> Reviewed-by: Leon Anavi <leon.anavi@konsulko.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-05-19Allows specific features for agl-develJosé Bollo1-0/+40
Having features allowed only during developement of AGL is a plus. This commit allows to add tests within recipes to check if the current build is AGL developement. If not the build is for production. By default, extra feature must be off. This commits doesn't add CPPFLAGS += "-DAGL_DEVEL" to improve build time and cache space of yocto. However, it is a good practice, when needed, to use the tag AGL_DEVEL in C/C++ codes specific to AGL and thus to include the line CPPFLAGS_append_agl-devel = " -DAGL_DEVEL" in recipes specific to AGL. AGL-Bug: SPEC-594 Change-Id: Ie967a4317886ee78304999f36de5db9de22568a7 Signed-off-by: José Bollo <jose.bollo@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9393 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh> Reviewed-by: Changhyeok Bae <changhyeok.bae@lge.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-04-28Remove sota-related includes from meta-agl-bspAnton Gerasimov1-1/+1
Bug-AGL: SPEC-557 Change-Id: Id126559e4114b191c923477e7dd04147cb1ec770 Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9257 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-04-28Remove sota from agl-ci-change-featuresJan-Simon Möller4-2/+4
This will temporarily remove sota from the CI builds. It remains in agl-all-features. Change-Id: I73219bc7dd782abac503858e4eb450f0e532c1c9 Bug-AGL: SPEC-557 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9277 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
2017-04-24Switch to meta-updaterAnton Gerasimov2-0/+10
Replace SOTA-related sections with includes, moved u-boot-ota common to minnowboard and qemu to meta-agl-bsp Change-Id: I0629a63154ff90bd712f621297b886505a2f462c Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9189 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-04-23Revert "Switch to meta-updater" - waiting for main commit to be updated.Jan-Simon Moeller2-10/+0
This reverts commit 521815fa95dba3d47704b62b4b6911fc994ad4c8. Change-Id: I06e2ed97e2ea7897ccdee09aeec277c8a75ccfa0 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9187
2017-04-23Switch to meta-updaterAnton Gerasimov2-0/+10
Replace SOTA-related sections with includes, moved u-boot-ota common to minnowboard and qemu to meta-agl-bsp Change-Id: I531f0eec07bab01610a225afc6d32a2f3a8156ad Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9095 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-03-27Migrate meta-app-framework to meta-aglStephane Desneux2-2/+2
Application Framework is now part of core AGL components and has been moved from meta-agl-extra to meta-agl. Bug-AGL: SPEC-448 The commit history has been kept and the following commits have been moved from meta-agl-extra to meta-agl: e08fc10 2017-03-14 13:07:12 +0100 jose.bollo@iot.bzh Move to AGL framework on top of systemd 8bdc96f 2017-03-24 16:15:04 +0100 ronan.lemartret@iot.bzh Rename webruntime DISTRO_FEATURES 02faef6 2017-03-14 12:50:03 +0100 jose.bollo@iot.bzh Upgrade application framework 9731d66 2017-03-08 14:19:42 +0100 jose.bollo@iot.bzh base-files for the framework ed214a2 2017-03-06 17:19:16 +0100 jose.bollo@iot.bzh Ensure that eXtended Attributes are managed 2969a9f 2017-03-07 17:30:18 +0100 jose.bollo@iot.bzh shadow: 'useradd' copies root's extended attributes e159294 2017-03-08 13:15:58 +0100 jose.bollo@iot.bzh Removes systemd warnings d19db32 2017-03-06 17:11:33 +0100 ronan.lemartret@iot.bzh Add service dependency on run-agl-postinsts d3a02ef 2017-02-23 23:41:45 +0700 tranmanphong@gmail.com Fix the error of homescreen for QEMU x86-64 913a263 2017-02-23 11:03:08 +0100 ronan.lemartret@iot.bzh Update af-main d36e635 2017-02-17 14:35:31 +0100 stephane.desneux@iot.bzh aglwgt.bbclass: fix bashism 72265ee 2017-02-16 18:03:32 +0100 ronan.lemartret@iot.bzh Add dependency to images f3292e8 2017-02-15 17:02:52 +0100 ronan.lemartret@iot.bzh Allowed wgt app to auto-install at the first boot 347aa4d 2017-02-15 16:54:11 +0100 ronan.lemartret@iot.bzh Add afm-install used to install wgt at first boot 9153078 2017-01-20 16:30:39 +0100 ronan.lemartret@iot.bzh Move feature code into the meta recipes b5ce617 2017-01-16 19:43:03 +0100 jsmoeller@linuxfoundation.org Add missing DEPENDS to af-binder ba2ad47 2016-10-25 16:11:27 +0200 ronan.lemartret@iot.bzh fix for gcc6 build 8f15654 2016-10-14 14:21:15 +0200 ronan.lemartret@iot.bzh fix libcap patch 24b96c4 2017-01-03 11:46:04 +0100 jose.bollo@iot.bzh Activates threading and hook features f518d36 2017-01-02 17:10:24 +0100 ronan.lemartret@iot.bzh add fakeroot to aglwgt_deploy task 4c81238 2016-12-28 20:45:11 +0100 jsmoeller@linuxfoundation.org Be more precise in addtask a930811 2016-12-28 19:15:54 +0100 jsmoeller@linuxfoundation.org Fix whitespace in aglwgt bbclass de41ad3 2016-12-28 14:54:42 +0100 jsmoeller@linuxfoundation.org Add aglwgt class 5999238 2016-12-20 15:45:34 +0100 jose.bollo@iot.bzh Authorize the requested permissions a79a010 2016-12-16 12:37:44 +0100 anton@advancedtelematic.com Don't override SYSTEMD_SERVICE of original recipe. b6960b3 2016-12-14 16:34:29 +0100 stephane.desneux@iot.bzh af-main: remove --roothttp option from afm-launch.conf 524e557 2016-12-14 14:08:16 +0100 anton@advancedtelematic.com Move all writable data used by security-manager and appfw to /var d32c40a 2016-12-14 11:26:23 +0100 jose.bollo@iot.bzh af-main: fix exec flag and case sensitive ids 9e930f5 2016-12-07 19:58:18 +0100 ronan.lemartret@iot.bzh add native build for af-main 5b8d3a4 2016-12-05 10:16:12 +0100 stephane.desneux@iot.bzh agl-appfw-smack: remove dependency on meta-agl-security f45014a 2016-11-21 15:37:32 +0100 jose.bollo@iot.bzh Improves places for QT_WAYLAND_SHELL_INTEGRATION d1c5151 2016-11-17 16:26:32 +0100 jose.bollo@iot.bzh smack: removed already applied patch f0d8be8 2016-11-16 13:27:36 +0100 jose.bollo@iot.bzh appfwk: improvements 1d8243b 2016-11-10 12:46:59 +0100 stephane.desneux@iot.bzh meta-app-framework: fix unpackaged files in nativesdk-af-main 4da956c 2016-11-03 11:30:25 +0100 jose.bollo@iot.bzh Smack: add audit when smack is active c6b0317 2016-11-08 11:38:51 +0100 jose.bollo@iot.bzh web-runtime: provide IVI tuning for porter c294b3a 2016-11-08 17:27:51 +0100 jose.bollo@iot.bzh af-main: update c50805d 2016-11-03 11:26:17 +0100 jose.bollo@iot.bzh Smack: fixup of bluetooth socket labelling ce583cd 2016-11-01 15:52:09 +0100 ronan.lemartret@iot.bzh Allow build without meta-agl-demo eadecc1 2016-10-14 13:25:07 +0200 jose.bollo@iot.bzh FWK: Adaptations for jethro 111007a 2016-09-20 14:40:51 +0200 jose.bollo@iot.bzh app-framework: Improvements 53ae34d 2016-09-05 17:13:10 +0200 jose.bollo@iot.bzh app-framework: improvements 8303ea3 2016-08-29 23:25:25 +0200 jose.bollo@iot.bzh Improves the handling of upgrade for websockets 2b33f74 2016-08-10 18:44:15 +0200 jose.bollo@iot.bzh app-framework: fix minor bugs 73771f1 2016-07-18 15:48:59 +0000 mbc@iot.bzh meta-app-framework: install missing libafbwsc library edf0c91 2016-07-15 11:56:18 +0000 stephane.desneux@iot.bzh meta-app-framework: sync with latest af-main sources f848612 2016-07-12 14:17:37 +0000 stephane.desneux@iot.bzh meta-app-framework: sync with latest af-binder sources d277fb2 2016-07-11 21:05:55 +0000 stephane.desneux@iot.bzh meta-app-framework: add missing dependency between af-binder-dev and libafbwsc-dev 17fd881 2016-07-10 17:53:06 +0000 stephane.desneux@iot.bzh meta-app-framework: af-binder must create ${libdir}/afb at postinst time c664012 2016-07-08 15:08:25 +0000 stephane.desneux@iot.bzh meta-app-framework: add af-main-tools and dependencies in nativesdk-packagegroup-sdk-host d7a5a54 2016-07-08 14:24:51 +0000 stephane.desneux@iot.bzh meta-app-framework: af-binder source code update 68dde03 2016-07-05 16:04:51 +0000 stephane.desneux@iot.bzh meta-app-framework: build master branch f3b34f5 2016-06-28 22:13:58 +0000 stephane.desneux@iot.bzh add features agl-demo, agl-appfw-smack and agl-localdev f4b76be 2016-06-28 21:34:29 +0000 stephane.desneux@iot.bzh add feature agl-appfw-smack e80d00c 2016-06-24 11:01:25 +0200 jose.bollo@iot.bzh upgrade to new namings and bug fixes 7cd29bd 2016-06-23 16:00:59 +0000 stephane.desneux@iot.bzh add layer meta-app-framework Change-Id: I8c9dd3ec37099969d5a0984ba7e55710815663c8 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2017-03-27Move feature code into the meta recipesRonan1-12/+2
* Having a minimlal local.conf serving the only purpose of user customization is the "Yocto" way of doing things * After a source synchronization (repo sync), feature code must be update without regenerate local.conf * move feature/agl-demo to meta-agl-demo Change-Id: I6db3956da8091bf583b20fce7dc184bfe622a85a Signed-off-by: Ronan <ronan.lemartret@iot.bzh> Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2017-03-27agl-appfw-smack: remove dependency on meta-agl-securityStephane Desneux1-1/+0
After removal of meta-agl/meta-agl-security, there's no more dependency to this layer. Change-Id: Ib8ed6eb1f5fdd098feb9590586ecdaea5b9308dd Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2017-03-27add features agl-demo, agl-appfw-smack and agl-localdevStephane Desneux4-0/+19
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: I0063db7ac2803d4ac9540b70be8024b40e97dab3 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2017-03-27add feature agl-appfw-smackStephane Desneux2-0/+0
Change-Id: Iea370d3b58aad61bad3304e923fc3e11639525e2 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2017-01-26Move feature code into the meta recipesRonan2-28/+4
* Having a minimlal local.conf serving the only purpose of user customization is the "Yocto" way of doing things * After a source synchronization (repo sync), feature code must be update without regenerate local.conf Change-Id: I0bb0861f4c07a8b57cb59a03f6ffe9d2d693cbbe Signed-off-by: Ronan <ronan.lemartret@iot.bzh>
2017-01-18Revert "Remove agl-sota from ci builds until fixed for morty"Jan-Simon Moeller3-3/+3
This reverts commit 580518e556f73649fb516a350f0906bafb51e6d1. Change-Id: I1514b0619cb85eea5cb101dfe229ab454238cfb5 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-01-11Remove agl-sota from ci builds until fixed for mortyJan-Simon Möller3-3/+3
Change-Id: I041d13aa77802708beeea92bd25df59a1c56cc4a Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2016-11-24Convert feature.inc to feature.depJan-Simon Möller2-0/+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öller2-0/+2
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 featureRonan2-1/+1
* 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-31Use kernel_configure_variable in append for rpiJan-Simon Möller1-0/+1
This changeset simplifies the configuration of the rpi kernel by using kernel_configure_variable in do_configure_append. Due to an upstream bug, we need to repeat the final configuration call. We also enable BLK_DEV_RAM, BLK_DEV_NBD and SMACK. For this we also define an OVERRIDE for netboot. v2: add conditional appends for netboot, sota, smack by using overrides. Change-Id: I2a4a8fae6989246d715fc2fc71bb4c251f423bdb Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2016-10-25Add archiver and isafw as featuresJan-Simon Möller3-0/+4
This commit adds two new features agl-archiver which includes and configures the source archiver (snapshot builds) and agl-isafw which includes and enables the isafw. Proposed by Stéphane. Change-Id: I1b38f08ce6f2e936f284d44510c512bee105751f Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2016-10-19Add shortcut to enable all featuresJan-Simon Möller1-0/+1
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-09-21agl-devel: add less and lsofYannick Gicquel1-0/+2
Those tools can be useful while debugging on target. Change-Id: I6015985356c4c3d70866316ef3f9d4a70af717ab Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
2016-09-01meta-netboot: add 256MB of extra space in generated rootfsStephane Desneux1-0/+3
By default, only 16MB are added but this is not sufficient for most test cases: for example, installing an application with its data bigger than 16MB is impossible. Change-Id: Ife6d7f09ea5acaadff5b54aaad15a31e26a35d31 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2016-09-01meta-agl: the feature 'agl-devel' depends on rsyncStephane Desneux1-0/+1
The rsync tool is required on the target for deploying applications or services easily through rsync and ssh from a host running the SDK. Change-Id: I042918ce1c14137519a878bc5bfa63e4e7f49fe6 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2016-07-05new configuration templates based on fragmentsStephane Desneux3-0/+22
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>