summaryrefslogtreecommitdiffstats
path: root/templates/feature
AgeCommit message (Collapse)AuthorFilesLines
2020-05-19templates/feature/agl-compositor: Add proper dependecies forMarius Vlad1-1/+2
alexa-viewer Noticed that alexa-viewer is missing wayland* dependencies, needed to generate client headers for agl-shell-desktop protocol and wayland-client related libraries. Updates SRCREV to lastest version, which avoids AFM websocket dependency. Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: If52e063a58e5bc274315ae01fceb8d0243fd7662 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24531 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>
2020-05-18Rework test/debug image features and crosssdk image definitionsScott Murray1-2/+0
Changes include: - The agl-test-wgt/agl-devel-wgt image features and the scheme of appending to their FEATURE_PACKAGES definitions turned out to be problematic with respect to resulting in unexpected extra packages ending up in agl-image-{minimal,ivi}, etc., when building with agl-demo configured (which is typical usage). To avoid this, the FEATURE_PACKAGE definitions for the image features have been replaced with tweaks to define COMPLEMENTARY_GLOBS for the features to bring in the test/debug/coverage packages via that mechanism. - The above removes the need to define the extra test/devel packagegroups, and requires some minor tweaks to aglwgt.bbclass to use a -debug package for the debug widget instead of -dbg, to avoid collisions with the dbg-pkgs image feature. As well, the afb-test package has been added as to RDEPENDS of all test widget packages, since that seems sensible and avoids needing to explicitly adding it elsewhere. - Attempt to rework the various crosssdk image definitions to use a layered set of .inc files to remove duplication and ensure that additions to the SDK are declared once in the appropriate profile. It is likely that a clean sheet implementation would have some things coming from meta-agl-profile-graphical, so further rework may be required/desired to continue cleaning things up. Bug-AGL: SPEC-3300, SPEC-3375 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I942b61501beb41d037001b70a501f90b9a59c45d
2020-05-17templates/feature/agl-compositor: Use sha1 and topic branchesMarius Vlad1-0/+20
for other apps as well While at it, use topic branch for agl-service-homescreen, as it has is requires agl-service-windowmanager to be running. Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: Ie19058e19c9355d0d256aeb5e68b7e236b1934c1
2020-05-17templates/feature/agl-compositor: Add alexa-viewer, settings and onscreenapp toMarius Vlad1-0/+6
the local conf template Examples and real uses-cases converted to using agl-shell-desktop, for now as local sandbox branches. Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: Iaab99d71057099c862bba6a43c599e1b99664f18
2020-05-17templates/feature/agl-compositor: Use the correct nav appMarius Vlad1-5/+5
Turns out, I had converted the wrong nav application. No wonder it didn't work correctly. Use ondemandnavi which seems to be the correct navigation app used now in the demo. On the same chapter, update to the latest SHAs the other apps as well. Bug-AGL: SPEC-3124, SPEC-3123 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: Ib4c3ff698859ecfe21a3f294d692aca4ff749342
2020-05-12Widget packaging reworkScott Murray2-1/+2
aglwgt.bbclass changes: - Made the autobuild/agl/autobuild script a hard requirement, as all upstream widgets have it, and this is the first step to actually using it in the class to drive building the widgets after a subsequent round of autobuild script updates. - Reworked wgt packaging to simplify the logic and split the test, debug, and coverage widgets into separate packages to allow installing them separately. - The on target install directories for the widgets have been changed to release, test, debug, and coverage under /usr/AGL/apps, with the previous logic with respect to the AGLWGT_AUTOINSTALL variable being retained for the few widgets that need to go into the manualinstall directory. An "autoinstall" symlink has been added to point at the release directory to maintain previous behavior. This should allow a simple path to configuring installation of the debug or coverage widgets on first boot with future changes. - Added logic to only assume test widgets exist for recipes with names starting with "agl-service-". This can be over-ridden by defining AGLWGT_HAVE_TESTS as "true" in a recipe. - Added AGLWGT_EXTRA_BUILD_ARGS variable for passing extra arguments to widget builds. Currently its default value includes the previous VERBOSE=true that was passed to every autobuild invocation, and "${PARALLEL_MAKE}" which has been added to improve build speed. - Added AGLWGT_PACKAGE_WARN variable to control extra warnings around the existence of test/debug/coverage widgets when packaging. Once further build rework is done, the default for this will likely be changed to "true", currently the output is too verbose to do so. - Removed over-rides to force building of test widget when building with the agl-ptest feature set, as it is now unnecessary and will result in an undesired extra copy of the test widget in the release folder. Other changes: - Created new devel and test packagegroup variants for several of the existing packagegroups to contain the associated widgets. - Added agl-devel-wgt and agl-test-wgt IMAGE_FEATURES to control the addition of dbg/coverage and test widgets to images. Additions to the FEATURE_PACKAGES variables have been added in several places to add the corresponding widget packagegroups. - Added the agl-devel-wgt image feature to the agl-devel feature template definition to match current behavior. Bug-AGL: SPEC-3300 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I3a28615db94bbc04e30e98ac3dce8cae942a499f
2020-04-23Fix a parallel make bug of opencv in CI envJan-Simon Moeller1-0/+3
I cannot reproduce it outside of the CI env, thus limited to CI for now. https://build.automotivelinux.org/job/ci-platform-meta-agl-verify-CIB-aglcompositor-qemux86-64/65/consoleFull Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I7168136045766006d62c691d10f7148bc299d0d0
2020-04-22templates/feature/agl-compositor: Include SRCREVsMarius Vlad1-0/+6
It seems that in CI, yocto fails to retrieve the correct branch, presumably due to the SRCREV pointing to HEAD of the agl/master branch instead of the one by directly specified. This patch uses the SRCREV from sandbox/mvlad/agl-compositor to make it resolves correctly the branch and implicitly the fetch succeeds. With it, this adds further dependency of wayland-scanner for launcher application, as to able to activate applications with the agl-desktop-shell protocol. Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: Ie6a559be56702843abdb580ec66998b6b4c3f978
2020-04-10af-main: Sign widgets when agl-develJosé Bollo2-0/+10
This change introduce signature of widgets with sample keys and certificates of app-framework-main when the feature agl-devel is selected. It also shows how to sign widgets in yocto build environment, using WGTPKG_AUTOSIGN_X environment variables. v2: Use an own agl feature for the signing and not agl-devel This allows us to switch it on selectively. Bug-AGL: SPEC-2840 Change-Id: I8f66c25a2ae62ad2365c7cdb995049c00b7c780a Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2020-03-31agl-sota: Add netboot to CONFLICT_DISTRO_FEATURESLeon Anavi1-1/+4
Netboot is not obeying usrmerge distro feature therefore it is not compatible with agl-sota. Bug-AGL: SPEC-3097, SPEC-3130 Change-Id: I8beda358df90b5fc052b68964f4c27379622f2d3 Suggested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2020-03-30agl-sota: Extend 50_setup.sh for Raspberry Pi.Patrick Vacek1-0/+2
Signed-off-by: Patrick Vacek <patrickvacek@gmail.com> Change-Id: Ifdb2281a9740f9c362aef9ab585959679050826d
2020-02-18Update archiver feature regexpJan-Simon Moeller2-0/+2
The archiver feature will need extra parameters set to catch all recipes. We exclude any proprietary code on purpose so rewrite COPYLEFT_LICENSE_EXCLUDE in your conf/local.conf if necessary. Bug-AGL: SPEC-3186 . Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: Iaa3387a2647f8bb6d49c7d4a0e1e72e8e3b08fd8
2020-02-17agl-sota: Set initramfs fstype to cpio.gzLeon Anavi1-0/+1
Set initramfs fstype to cpio.gz in 50_local.conf.inc (included in local.conf) when agl-sota is enabled. Bug-AGL: SPEC-3097, SPEC-3130 Change-Id: Iaa92d127aa6dddd6c6bc843cf3ee40e816d9e191 Suggested-by: Patrick Vacek <patrickvacek@gmail.com> Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2020-02-12Fix SOTA build for build other than qemuRonan Le Martret2-1/+24
- The meta-updater-qemux86-64 must be add only for qemu build. Change-Id: Iebdeddd869b2fca88467acd6983826b4f7e49de1 Bug-AGL: SPEC-3097 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2020-01-29templates/feature/agl-compositor: Allow to test experimental agl-compositorMarius Vlad1-0/+14
Facilitates testing the client shell (homescreen) with the newer agl-compositor, but only enabled when DISTRO_FEATURES has 'agl-compositor'. Uses a WIP branch for it. Regular clients, like hvac, mediaplayer, launcher and navigation-demo also use the WIP branch. This modifies the conf/local file so it either needs a clean build directory or it requires an override of the conf/local when sourcing the aglsetup script. Bug-AGL: SPEC-3123, SPEC-3124 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Suggested-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: Ice650b5b61ebd1e1a35f045301c14e0bedda3a05
2019-12-17Add agl-virt-xen featureJérémy Fanguède2-0/+4
"agl-virt-xen" feature set the desired hypervisor to Xen with the AGL_XEN_WANTED flag, boards that support it will then compile all the needed Xen binaries and libraries. Depends on "agl-virt" feature (because of meta-virtualization). Bug-AGL: SPEC-2912 Change-Id: I4123f208bebfd5d768bb4391b21308d1db962366 Signed-off-by: Jérémy Fanguède <j.fanguede@virtualopensystems.com>
2019-12-17Add agl-virt featureJérémy Fanguède2-0/+6
New feature "agl-virt" adds meta-virtualization layer Bug-AGL: SPEC-2912 Change-Id: I4b708eb86694a657f05f3a43a3e813e241ec3d7b Signed-off-by: Jérémy Fanguède <j.fanguede@virtualopensystems.com>
2019-12-06meta-agl-profile-graphical-html5: remove layer and AGL featureJacobo Aragunde Pérez3-19/+0
Remove old layer, based on OpenIVI and using deprecated QtWebKit, to free up the name to be used by the Chromium-based web runtime. Bug-AGL: SPEC-2322 Change-Id: I41730d629be846c2b0a624f5ab881ada31a8e0dc Signed-off-by: Jacobo Aragunde Pérez <jaragunde@igalia.com>
2019-12-05Follow move of agl-image-ivi-crosssdk to meta-agl-demoJan-Simon Moeller2-2/+2
The latest changes require a follow-up. Bug-AGL: SPEC-2500 . Change-Id: Ibfbdb1c01be3a3548860313854ab45bd58748597 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2019-11-26agl-compositor: Add DISTRO_FEATURE to enable compositorDaniel Stone2-0/+14
When the 'agl-compositor' distro feature is enabled, the AGL compositor will be enabled and start at boot instead of Weston. Change-Id: Idcd0c401c3d2c332637ddde1cd83d1fe85c4ae2a Signed-off-by: Daniel Stone <daniels@collabora.com>
2019-09-17Remove pulseaudio feature, not relevant any moreRonan Le Martret2-11/+0
Bug-AGL: SPEC-2817 Change-Id: I0323e97ed9aca036685e946752aa7bade8fc5057 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2019-08-2750_local.conf.inc: Extend DISTRO_FEATURES for sotaLeon Anavi1-0/+2
Extend DISTRO_FEATURES with sota and usrmerge to successfully build AGL image with feature agl-sota. Bug-AGL: SPEC-2736, SPEC-2729 Change-Id: Ie056d233f1c528719361a8c958233a2ba58f7345 Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2019-07-24add markdown documentation for all machines and featuresStéphane Desneux27-8/+303
THIS IS STILL WIP - not all features/machines are described Bug-AGL: SPEC-1902 Change-Id: I9bd5a3f57946199e1da90cfbed020742710218a1 Signed-off-by: Stéphane Desneux <stephane.desneux@iot.bzh>
2019-06-26agl-hmi-framework: remove virtual/navigation over-rideScott Murray1-1/+0
Remove dangling PREFERRED_PROVIDER over-ride of virtual/navigation that was forcing the use of the older navigation application instead of the setting of the newer ondemandnavi application done in the distro configuration. Bug-AGL: SPEC-2576 Change-Id: Id6f7d6636bef5cf40dc5085b02030acd0e7d494d Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2019-06-11Merge "feature/agl-ci-*: include agl-pipewire instead of agl-audio-4a-framework"Jan-Simon Moeller4-4/+4
2019-06-10Changes to support the repo clone reworkJan-Simon Möller4-7/+7
To be merged together with: https://gerrit.automotivelinux.org/gerrit/#/c/AGL/AGL-repo/+/21389/ v2: fix the aglsetup script v3: fix scripts to extract m3ulcb v4: use single folder for BSPs Bug-AGL: SPEC-2450 Change-Id: I3227896c68ec1413f55cf67ad8f15a7adfe87a52 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-06-10feature/agl-ci-*: include agl-pipewire instead of agl-audio-4a-frameworkGeorge Kiagiadakis4-4/+4
Bug-AGL: SPEC-2473 Change-Id: I2ff9ec3f5a55b32737c858c5eb2e835b582af0e4 Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
2019-05-23Move hmi-framework and eg-virt from meta-agl-devel to meta-aglJan-Simon Möller2-0/+14
Part of the layer cleanup. Bug-AGL: SPEC-2450 Change-Id: I0e0517c6f5aeaa1378715acde8adda6200119aba Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-03-11Add initial feature for license scanning integrationJan-Simon Möller3-0/+7
This adds a feature to enable license scanning within the AGL build. Change-Id: I478defd90f6f135b5f1f0ecd0b970ab33f25c794 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-03-07Remove unused isafw featureJan-Simon Möller2-2/+0
Remove old feature during uprev cycle. Change-Id: I995513464f03db2dcab0ae692ee66037291295a5 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-12-20Add instrument cluster profile definitionsScott Murray4-0/+8
Add definitions for instrument cluster profiles for plain Wayland/Weston based images and images that also include Qt5 support. Due to the current requirement that profiles only be a superset of one parent profile, the Qt5 profile inherits from agl-profile-graphical-qt5 and not agl-profile-cluster as one might expect. This is due to some of the required recipes and bbappends for Qt5 usage only being available in the meta-agl-profile-graphical-qt5 layer. Change-Id: I863b35bdc009775ac204a720bbc2cc85e71c268a Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2018-11-22Add ptest to ci and snapshot buildsJan-Simon Möller4-4/+4
Now we are able to run the ptest's , thus add them to the build Change-Id: I9779625065a893a03b87b913569ed0699d85ed5e Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-10-02Create a feature to activate pulseaudio in AGLRonan Le Martret1-0/+2
If pulseaudio is wanted you can use the feature agl-pulseaudio, to add pulseaudio to DISTRO_FEATURES, and so, add pulseaudio to AGL distribution. Bug-AGL: SPEC-1601 Change-Id: Ic6fcad968428c9f337f318369eef822e5e9ff84d Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2018-08-24Add the afb-test binding in the devel AGL imageRomain Forlot1-1/+3
This will build afb-test binding and tests it using PTest. Bug-AGL: SPEC-1439 Change-Id: I75d1bbb0a780ca036ab0d653fdcbacda883122f9 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-08-01Remove porter reference from meta-aglRonan Le Martret1-18/+15
* Remove, from recipes, reference to porter, gen2, krogoth. * cleanup mardown from reference to porter. * cleanup markdown (markdownlint score 0). Change-Id: I70b9880fc52ef3c848da588d3a256fa8eee48606 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2018-07-28Introduce buildstat summary for CI buildsJan-Simon Möller5-4/+6
To check the sstate-reuse, print out the buildstat summary at the end. Change-Id: I64fa1591ade5f61dd3c7a2b51ebdb7afd9326de0 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-07-12Enable agl-audio-4a-framework in CIJan-Simon Möller4-4/+4
Use the 4a feature in gerrit (ci-change) and snapshot builds. Change-Id: I1d0550a2f1759388dc658f0951a51c3183ca7662 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-05-313rd part of the layer/profile rework [1/2]Jan-Simon Möller7-0/+23
This is the last larger commit in this series and deals with the graphical part. We introduce the graphical profiles: - meta-agl-profile-graphical -- meta-agl-profile-graphical-html5 -- meta-agl-profile-graphical-qt5 Notable changes: - weston-ini-conf moved to the meta-agl-bsp layer. Most BSPs have bbappends, so we need to have the recipes present (but unused) even in the console images. - new image: agl-image-boot = terminal-only + network + package-manaager. Ready for using package-feeds - new image/sdk: agl-image-minimal-crosssdk - agl-service-mediaplayer has a dependency on weston, thus it cannot be in the 'core'. Moved it to profile-graphical. - The wayland-ivi-extension moved to the agl-demo-platform. - The app-framework layer included and pulled 'web-runtime' as dependency. This broke console-only images. This has been moved to be in meta-agl-demo only for now. - added and massaged the agl-features. - found and added a useful script 'oe-depends-dot' that helps to work with the dot files (produced with bitbake -g) Todo: - we'll need another pass through the packagegroups. The dependencies for the layers/profiles are now sorted-out but we might have to add/shuffle a few packages. For further details, see meta-agl/docs/profiles.md. v2: fix meta-agl/meta-security/conf/layer.conf - the immediate expansion previously used in there caused some recipes not being added to BBFILES. v3: fix packagegroup renaming (packagegroup-agl-devel -> packagegroup-agl-core-devel) v4: fix missing packagegroup inclusion (tnx Jose, Scott, Stephane) v5: fix missing packagegroup inclusion v6: explicitely put profile-graphical-qt5 on-top of profile-graphical v7: re-add 'procps' when agl-devel feature is on Bug-AGL: SPEC-145 Change-Id: I24cdcd1118932758d0c55d333338238f2a770877 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-04-20Introduce meta-agl-profile-core and meta-agl-profile-graphicsJan-Simon Möller6-13/+4
Rework towards agl profiles. This change is part of a series of changes to create the AGL profiles. This set will mainly introduce the 'core' profile. It is setup to be a drop-in change, thus some files were kept in (dummy) locations for now. However, they'll be taken care of in the next changes in this series. The main target of the meta-agl-profile-core layer is to host: - a minimal, bootable image with network and package management enabled -- agl-image-boot - a minimal image with network and packagemanagement and the AGL APIs -- agl-image-minimal The layer meta-agl-profile-graphical is used as superset of these and includes support for egl+wayland+weston. All recipes concerning graphics were moved there. This is not a full profile as we still have to migrate some parts of meta-agl-demo in a follow-up changeset. The roadmap as discussed during the F2F session in Karlsruhe is: - week 16 : core profile and profiles w/o graphics - week 17 : graphical profiles - week 18 : final conversion of the demo image v2: moved agl-login-manager from -graphics to -core (see Jose's comment) v3: moved back after discussion - follow-up in separate changeset Change-Id: Idacb0d1274baac1f63f8d1b850d4b1104ac33918 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-03-2050_bblayers.conf.inc: Add meta-updater-qemux86-64Leon Anavi1-0/+1
Add Yocto/OE layer meta-updater-qemux86-64 to BBLAYERS as it brings fixes for machine qemux86-64 when feature agl-sota is enabled. Bug-AGL: SPEC-1289 Change-Id: Ibe21338f2535f62a07221495c467bcf200ae7834 Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2018-03-07Disable agl-ptest in snapshot build until dependency loop is fixedJan-Simon Möller2-2/+2
There is a dependency loop when ptest is enabled in the build. Deactivate the feature in CI until https://jira.automotivelinux.org/browse/SPEC-1334 is fixed Bug-AGL: SPEC-1334 Change-Id: I18e86879813fde34bb280d9f1fcfd73d2abe1232 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-03-06Remove sota and sdl from default feature listJan-Simon Möller4-4/+4
sota and sdl need some more fixes for rocko. Remove them from the default feature list. Change-Id: Ia1d98d0f288e683a9c570659805fb613fe09684c Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-02-20Merge "move GPLv2 logic into agl-gplv2 feature"Jan-Simon Moeller2-0/+3
2018-02-20Remove meta-rust from bblayersrepo syncRonan Le Martret1-1/+0
- since since commit manifest 808fff50abccf34e81186d635cba574e218fadc9 meta-rust is now remove from AGL Change-Id: I6150c43aa5e30ed2792e948c3761bd2e9e733e3c Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2018-02-13Rename smack OVERRIDE to with-lsm-smackJosé Bollo1-2/+3
Using the OVERRIDE "smack" came with the use of the layer meta-intel-iot-security. When switching to meta-security, it conflicts with the package name 'smack' that provide the smack user library. Yocto was reporting the following error: ERROR: .../meta-security/recipes-security/smack/smack_1.3.0.bb: QA Issue: Recipe .../meta-security/recipes-security/smack/smack_1.3.0.bb has PN of "smack" which is in OVERRIDES, this can result in unexpected behaviour. [pn-overrides] Change-Id: Id71b283bf1ce5682bd94bf96595eb32506acb1d5 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-02-13bblayers.conf: Remove meta-ruby and meta-efl layerChanghyeok Bae1-1/+0
meta-ruby and meta-efl layers are removed in meta-openembedded. Bug-AGL: SPEC-1181 Change-Id: I6ac787e540b4d007e6e88d204338f17a2a29abb7 Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
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>