summaryrefslogtreecommitdiffstats
path: root/templates/feature
AgeCommit message (Collapse)AuthorFilesLines
2021-12-08meta-app-framework: add new AGL feature and fix buildArnaud Ferraris1-1/+1
This layer uses a new `agl-app-fw` feature to guard bbappends, so this commit declares it in the conf include and makes sure it's used when the feature is enabled. Moreover, the `layer.conf` files referenced a non-existent `licenses` folder, causing build issues. This commit fixes this by not adding this folder to LICENSE_PATH. Bug-AGL: SPEC-4161 Change-Id: I3360b0f3b36413e741de2d2d3e4a98fff1e1e8db Signed-off-by: Arnaud Ferraris <arnaud.ferraris@collabora.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26973 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2021-12-02Add templates for new application framework componentsJan-Simon Moeller2-0/+6
Setup the templates. Bug-AGL: SPEC-4161 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I4ea66291413dac8ddfc98f0536afd8f823b38391 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26946
2021-11-20Follow-up removal of deprecated recipes after appfw removalJan-Simon Moeller6-56/+0
A follow-up cleanup to the previous changes. - the aws+azure binders are deprecated in master, thus remove meta-iot-cloud - meta-security is no longer a dependency - rm agl-sota (due to meta-updater deprecation) - rm agl-sign-wgts feature - cleanup poky-agl.conf Bug-AGL: SPEC-4121 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I274179ab1fb74b274e955bd9a3eeccccac615770 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26870 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Scott Murray <scott.murray@konsulko.com>
2021-11-04Remove agl-cloudproxy from feature templateJan-Simon Möller2-2/+2
The agl-cloudproxy feature was removed during the rework. Also remove it from the template. Bug-AGL: SPEC-4121 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: I6f681985338dfdba0f1af95dd7acec9695a99dc6 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26828
2021-11-04Prepare master for new framework integrationJan-Simon Moeller5-35/+0
During the last workshop the transition to the new framework was presented. This change essentially deprecates the SMACK-based application framework. To prepare the integration of it, we remove the deprecated components: - meta-agl-core: remove Smack kernel patches - meta-app-framework - meta-pipewire/dynamic-layers/meta-app-framework/ v2: rebased Bug-AGL: SPEC-4121 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: Icdaeadfb5d2193f3a4c535168c88da6073423e67 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26752
2021-08-23Convert to new override syntaxScott Murray8-13/+13
This is mostly the result of running a slightly customized version of the convert-overrides.py script from poky with additional overrides added. A few minor fixups were done by hand afterwards during a review of the changes. The intent of these changes is to minimize the effort to keep the "next" branch that builds against poky master up to date and tested in preparation for the switch to the next Yocto LTS release in early 2022. Bug-AGL: SPEC-4052 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ia3bf63b7cb1aa1d95ada373d1a3ab56def0a125d Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26564 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2021-07-21SPEC-4003: add curl to agl-ciCorentin Labbe1-0/+1
curl is necessary to upload LAVA CI artifacts. Bug-AGL: SPEC-4003 Signed-off-by: Corentin Labbe <clabbe@baylibre.com> Change-Id: I53ee4d24f4b3500c11c4189824cb35284ca104bf Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26505 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2021-07-13Hybrid configuration support for agl-lxc and agl-virtNaoto Yamaguchi1-3/+1
In previous implementation for agl-lxc, meta-virtualization is import using agl-virt feature. It' controlled by included.dep. The patch of https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-devel/+/26482 change import method from using agl-virt to directly. When that patch apply only, we can't use hybrid configuration for agl-lxc and agl-virt. This patch fix this issue. Bug-AGL: SPEC-4014 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> Change-Id: I9455c9eca44a01793bfc8d95ac1f8cdefd24de77 Signed-off-by: Naoto Yamaguchi <i33399_yamaguchi@aisin-aw.co.jp> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26486 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jenkins Job builder account
2021-06-16Remove Raspberry Pi 3 supportScott Murray1-1/+1
The raspberrypi3 machine template had only been retained to allow anyone interested in using one with a telematics or cluster demo image build to do so. At this point the Pi 4 has been out long enough that that seems no longer necessary, so removing the support to avoid confusion and reduce clutter seems warranted. Bug-AGL: SPEC-3985 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ib3770ba03771aff468f94d5bf6f2910fc01f7ee0 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26429 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2021-06-08Update agl-virt featureScott Murray1-0/+4
Changes: - Add AGL_META_FILESYSTEMS hook to bblayers.conf.sample to match the other common meta-openembedded layer dependencies. - Update agl-virt 50_bblayers.conf.inc to define the required AGL_META_* variables for the layers from meta-openembedded that it requires. Bug-AGL: SPEC-3970 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Iae55fa082bd25cf43bde6152abab40c836cf6279 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26394 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jenkins Job builder account
2021-06-08Add agl-package-management featureScott Murray3-0/+11
Changes: - Move addition of package-management to IMAGE_FEATURES and associated package feed variables to a new agl-package-management feature template. The feature is not included by default in the base set. - To somewhat maintain the previous developer experience the new feature has been made a dependency of the agl-devel feature. In practice, the only images affected by this change are agl-image-minimal and agl-image-weston from meta-agl-core, the demo platform images in meta-agl have package management enabled by default. Bug-AGL: SPEC-3971 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I56665e1cd82db19a697fdae2551a9276eab08961 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26393 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2021-01-22agl-weston-waltham-remoting: Add waltham-remoting AGL_FEATURESMarius Vlad3-0/+11
Like weston-remoting DISTRO FEATURES this allows us to control when to build the transmitter-plugin and to add a suitable weston.ini 'transmitter-section' which will be added following this patch. Bug-AGL: SPEC-3601 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I2b54fac62ad7bee3e647d0b6e0162c7ad1aff1bd Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25453 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>
2021-01-11Fix agl-appfw-smack and agl-netboot dependency issueJan-Simon Möller2-3/+11
Both layers need meta-python and meta-networking. But adding them to BBLAYERS twice will cause a duplicate inclusion error. Conditionals do not work out at this stage yet nicely, thus we use an empty variable as indirection to only include it once. (Kudos to Paul for the idea.) Adapt bblayers.conf.sample, agl-appfw-smack and agl-netboot features. This is the necessary follow-up to https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25844 and fixes the issue raised. Bug-AGL: SPEC-3723 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: I74e27b8a6e1f1a68ed370e01c2f2d406841873c8 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25881 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>
2021-01-07Disable packagefeed-stability in agl-ci featureJan-Simon Moeller1-1/+1
This is added in the release builds only. Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I42bd1ebf924ad3d41107588b8e8d2b27b500b2a7
2021-01-06Add SSTATE and PREMIRROR settings to aglci featureJan-Simon Möller1-0/+27
This adds the CI mirror settings to the template. Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: I5247ce27564072bf410240ccdb977724520cc44d
2020-12-17SPEC-3723: restructure meta-aglJan-Simon Moeller27-120/+28
Goal is to reach a minimal meta-agl-core as base for IVI and IC work at the same time. Trim dependencies and move most 'demo' related recipes to meta-agl-demo. v2: changed to bbapend + .inc , added description v3: testbuild of all images v4: restore -test packagegroup and -qa images, compare manifests and adapt packagegroups. v5: rebased v6: merged meta-agl-distro into meta-agl-core, due to dependency on meta-oe, moved -test packagegroup and -qa images to own layer meta-agl-core-test v7: Fixed comments from Paul Barker v8: Update the markdown files v9: restore wayland/weston/agl-compositor recipes/appends, reworked to move app f/w specific changes to bbappends in meta-app-framework and only demo specific weston-init changes to meta-agl-demo v10: fix s/agldemo/aglcore/ missed in weston-init.bbappend Description: This patch is part 1 out of 2 large patches that implement the layer rework discussed during the previous workshop. Essentially meta-agl-core is the small but versatile new core layer of AGL serving as basis for the work done by the IC and IVI EGs. All demo related work is moved to meta-agl-demo in the 2nd patchset. This should be applied together as atomic change. The resulting meta-agl/* follows these guidelines: - only bsp adaptations in meta-agl-bsp - remove the agl-profile-* layers for simplicity -- the packagegroup-agl(-profile)-graphical and so on have been kept in meta-agl-demo - meta-agl-profile-core is now meta-agl-core - meta-agl-core does pass yocto-check-layer -- therefore use the bbappend + conditional + .inc file construct found in meta-virtualization - meta-agl/meta-security has been merged into meta-agl/meta-app-framework - meta-netboot does pass yocto-check-layer - meta-pipewire does pass yocto-check-layer Migration: All packagegroups are preserved but they're now enabled by 'agl-demo'. Bug-AGL: SPEC-3723 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ia6c6e5e6ce2b4ffa69ea94959cdc57c310ba7c53 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25769
2020-11-25Add AGL reference hardware featureScott Murray3-0/+13
Add a feature template to enable AGL H3-based reference hardware support. A feature is used as opposed to a new machine in order to meet the requirements that: * the reference hardware be bootable with a h3ulcb machine image to avoid expanding the CI test matrix * the reference hardware support be optional to not hinder Renesas BSP maintenance for the h3ulcb / h3ulcb-kf base machines If the required kernel changes for the reference hardware get upstreamed and eventually become available via the Renesas BSP this can be revisited, as the reference hardware support could then likely be reduced to just building the extra devicetree file(s). Bug-AGL: SPEC-3658 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Idcf0b8cfe8eb3c5485663ee25519a9c445362829 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25619 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-08-31Remove deprecated agl-egvirt featureJan-Simon Möller2-18/+0
This is empty and replaced by the specific xen feature. Bug-AGL: SPEC-3555 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: Ide39a96b3ac5dc9f3b01212d16e6a6f75aab3e1f Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25160 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>
2020-08-18Add cloudproxy feature to CI-cycle.Andrey Shamanin2-2/+2
Bug-AGL: SPEC-3514 Signed-off-by: Andrey Shamanin <andrei.shamanin@orioninc.com> Change-Id: If7991e5bb96e847371140fb11fb4ea4e46c75edc Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25054 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-07-24Remove duplicate layer inclusionJan-Simon Möller1-3/+0
meta-filesystem and meta-python are already part of the base system dependencies (default bblayers included). A duplicate inclusion will fail the build, thus remove. Bug-AGL: SPEC-3511 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: I09fe5d6691792e88f29cfa3c75e3eb014a78d244 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25052 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>
2020-06-26Import BBMASK of pipewireJan-Simon Möller1-0/+2
This is an import of https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-devel/+/24867 Bug-AGL: SPEC-3450 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: Iaf37bb60d3b11dada758370557b7c454a79faf0c Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24888 Reviewed-by: Scott Murray <scott.murray@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>
2020-06-26Move meta-agl-profile-graphical-html5 and meta-pipewire into the main layerJan-Simon Möller7-0/+34
Reasoning: - the profile-graphical-html5 belongs in the main layer - meta-pipewire is enabled by default For reference - the original location is: https://gerrit.automotivelinux.org/gerrit/gitweb?p=AGL%2Fmeta-agl-devel.git;a=commit;h=8479cd0c37e5e5e207a16f21c864610103e4f20f Bug-AGL: SPEC-3453 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: Ib475331bb6f84437020728fbb3f17b4acaab0106 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24875 Reviewed-by: Scott Murray <scott.murray@konsulko.com>
2020-06-24Make the agl-compositor the default compositorJan-Simon Möller2-61/+0
This makes the agl-compositor the default starting with Jumping Jellyfish For development purposes, you have these variables at hand to influence the setup: AGL_DEFAULT_WESTONSTART AGL_DEFAULT_WM_SHELL Check your conf/local.conf for details. Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: Iceb35375e04f947009800b80511f6360026403fe
2020-06-24templates/feature/agl-compositor: Replace SRCREVs with AUTOREVMarius Vlad1-16/+16
As the applications are still in flux and require often modifcations use AUTOREV to point to HEAD. Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Suggested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: Icdd2b5e0aa7a59fb32c65ce67c7d5bd2a3542b71 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24539 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2020-06-03agl-virt-guest-xen feature for qemuarm64Leonid Lazarev1-0/+3
Add feature agl-virt-guest-xen to allow to prepare Xen DomU images for arm64 targets. Bug-AGL: SPEC-3384 Signed-off-by: Leonid Lazarev <leonid.lazarev@mera.com> Change-Id: I9e5a4b768ab8ea8629e56075550f9d5fdd64e562 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24560 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
2020-05-28Ensure the ptests used in CI are part of the filesystemJan-Simon Möller1-0/+1
Explicitely call of the ptests used in CI to be part of the filesystem. This will fix h3ulcb-nogfx not having the lua ptest deployed. Bug-AGL: SPEC-3398 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: I058a5a0d0a3a39710316b3d366a3d94215d1cedc Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24577 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>
2020-05-26Cluster demo support updatesScott Murray3-0/+11
Changes include: - Add agl-weston-remoting feature that sets "weston-remoting" distro feature. The intent is to replace agl-gstrecorder in meta-agl-devel with something more generic. - Add weston remoting initialization timing patch to weston bbappend in meta-agl-profile-graphical, conditional on "weston-remoting" distro feature. - The 0004-unconditionally-include-mman.h.patch weston patch is no longer required after the SMACK labeling changes, remove it as cleanup. - Enable the weston "remoting" PACKAGECONFIG in weston bbappend, also conditional on "weston-remoting". A redefinition of the "remoting" PACKAGECONFIG option is required to fix a recipe bug that will have a fix sent upstream. - Rename virtualoutput.cfg weston.ini fragment to remote-output.cfg to better reflect its current contents. Bug-AGL: SPEC-3395 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I9c0579670d81296492b3b8bed93aafb3f7ffc15c Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24567 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-19templates/feature/agl-compositor: Update homescreen SRCREVMarius Vlad1-1/+1
Missed removal of agl-service-winndowmager so this SRCREV update handles that. Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: Ib18d2d0d7231c8274cb3b09497d568f1eecc4ed7 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24528 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-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>