summaryrefslogtreecommitdiffstats
path: root/templates
AgeCommit message (Collapse)AuthorFilesLines
2024-06-28Enable cve-check in CI jobs for additional cve log filesJan-Simon Moeller1-1/+1
This enables the cve-check class that creates cve reports during the build. Bug-AGL: SPEC-5191 Change-Id: I50cc479c97b44440afb6cb770074b29aa6f23c46 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/30041 ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Tested-by: Jenkins Job builder account
2024-06-27Add templates for jetson-agx-orin-devkitJan-Simon Moeller2-0/+3
These are first templates for the jetson-agx-orin-devkit board. Community support only. Bug-AGL: SPEC-5176 Change-Id: I6c6762f5e3b08c17037fb377eeccdee9e2b5451f Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/30044
2024-06-26Add meta-agl-flutterScott Murray3-0/+13
Add meta-agl-flutter layer as it is being moved from meta-agl-devel. The files are copies of the state in meta-agl-devel as of commit 97310e35, with only a minor change to the feature template to adjust the location of the layer for bblayers.conf. Bug-AGL: SPEC-5184 Change-Id: I9a14e4ab3a1b1726b0ccc1dbc112d76864dd106c Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/30016 Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2024-06-13Re-enable PRserv and HASHserv after api migrationJan-Simon Moeller2-5/+18
The new services were deployed and can be enabled. Add a feature agl-prhash-public to enable use. Bug-AGL: SPEC-5173 Change-Id: I178fd2ff67847136045f5f6a684389fd0fd2f21a Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29987 Tested-by: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account ci-image-build: Jenkins Job builder account
2024-05-28Document r/o and r/w PRserv and HASHserv in the templatesJan-Simon Moeller1-2/+4
This adds sections for the PRserv and HASHserv in the local.conf templates (for r/o upstream). Also we add comments to the r/w part that is reserved for CI. Change-Id: Id39b11bc9664b441f5dcae3646259401b5d9a6aa Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29945 Tested-by: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account ci-image-build: Jenkins Job builder account
2024-05-22weston-ini-conf: (re)move Weston remoting supportScott Murray1-1/+0
Remove the support for generating configuration for the Weston remoting feature based on the weston-remoting DISTRO_FEATURE from our weston-ini-conf recipe and bbappend. Handling this has been moved from meta-agl-core to meta-agl-demo. As well, the agl-weston-remoting setup feature dependency on agl-demo has been removed as it is no longer required. Bug-AGL: SPEC-5138 Change-Id: I5a5e58dd9097e940d3925bf60ce4e1283d6529b9 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29902 ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Tested-by: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> (cherry picked from commit 6919021006da1d42af9d588afded43ad35df8fcf) Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29865
2024-05-22meta-agl-bsp: fix up raspberrypi5 buildScott Murray1-1/+4
Changes: - Add meta-lts-mixins_u-boot layer to BBLAYERS for raspberrypi5 to get U-Boot v2024.04. - Add required configuration to make the newer U-Boot buildable to the raspberrypi5 machine configuration. The tweaks to re-enable U-Boot were sourced from the commits in this meta-raspberrypi PR: https://github.com/agherzan/meta-raspberrypi/pull/1304 If those get merged our configuration can be simplified. - Add required LICENSE_FLAGS_ACCEPTED tweak to raspberrypi5 machine configuration (copied from raspberrypi4). - Remove obsolete Xen tweaks from the raspberrypi4 and raspberrypi5 machine configurations. Bug-AGL: SPEC-5144 Change-Id: If02e0cc7baada46f4a9db305d3babe5b4a6784ff Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29908 ci-image-boot-test: Jenkins Job builder account Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2024-05-22meta-agl-bsp: fix up unmatched buildScott Murray1-4/+0
Changes: - Remove U-Boot patch and associated bbappend that were required to build with kirkstone, they are no longer required. - Remove LAYERSERIES_COMPAT tweak that was being done to the meta-sifive layer as it is no longer required. Bug-AGL: SPEC-5145 Change-Id: Id729fe08d8b5e962636bbfa2db9538c40afabda5 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29907 ci-image-build: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2024-05-10agl-selinux: pull in meta-clangScott Murray1-0/+3
Make pulling in meta-clang for the agl-selinx feature explicit, to avoid dependency issues from the uutils-coreutils recipe in meta-oe. This fixes building when configured with just the "agl-ic-container" feature without "agl-demo". Bug-AGL: SPEC-5123 Change-Id: Ie775b2e3ceb081448fc8b772f9686ad4dfbb45dc Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29899 ci-image-boot-test: Jenkins Job builder account ci-image-build: Jenkins Job builder account Tested-by: Jenkins Job builder account
2024-04-28Handle suffix difference between kirkstone and scarthgapJan-Simon Moeller1-0/+3
This unifies the filesnames of the output image. Bug-AGL: SPEC-4578 Change-Id: I4b4431b2b672cb2147bdf1bc87e975be583889cd Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29852
2024-04-26next: disable PRSERV and HASHSERVJan-Simon Moeller1-5/+5
We need to deploy new versions and adapt. Until these are in place, disable. Change-Id: I64734b6ee828be8e90dc395eefda8d4061ace79f Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2024-04-24Handle upstream TEMPLATECONF changeScott Murray4-450/+1
oe-core now requires that TEMPLATECONF point at conf/templates/* inside a layer, tweak things to move the base template files into meta-agl-core to match its expectations. Bug-AGL: SPEC-4578 Change-Id: Idb0af9b4bd6bc55b9fb2cb50a675e928e7c2b025 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2024-03-26Initial support for TI AM62XX EVMSaalim Quadri2-0/+8
This adds templates to build for the TI AM62XX platform. Bug-AGL: SPEC-5103 Change-Id: Ica467a7ca464da87c5a50a54b6cd1f1f86c50d98 Signed-off-by: Saalim Quadri <danascape@gmail.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29782 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jenkins Job builder account
2024-03-25Fix template for s4 and adapt kernel recipeJan-Simon Moeller1-0/+3
The template needs meta-python present and the kernel recipe does try to install a firmware file that is not packaged. Remove that. Bug-AGL: SPEC-5101 Change-Id: I3fdb860df04ee90e3e3b30875ea4f9494b15dbf0 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29744 Tested-by: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account ci-image-build: Jenkins Job builder account
2024-03-11Add RaspberryPi 5 platform templateDenys Dmytriyenko2-0/+5
This adds templates to build for the RaspberryPi 5 platform. Note that meta-raspberrypi doesn't yet have U-boot updates for the platform, will be added later. Bug-AGL: SPEC-5094 Change-Id: Idede92ca5d9b678ee2f9ea0869e64da04dd719ea Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29735 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
2024-02-02Update Rust mixin layer directoryquillback_16.93.0quillback/16.93.016.93.0Scott Murray1-1/+1
Drop the version number from the Rust mixin layer target directory in the bblayers.conf template to match the repo manifest change. Without the version number, we can hopefully avoid any future changes here if we do end up needing another Rust bump during Quillback LTS. Bug-AGL: SPEC-5060 Change-Id: Iddda8a0e76ab4e202b93295dc985b3135c020be1 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29638 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2024-01-06Fix OVERRIDES additions after recent DEFAULTTUNE changeDenys Dmytriyenko1-1/+1
Add :agl-devel and :agl-ptest overrides using :append instead of .= operator to defer its action after the distro config is parsed. The distro config now resets OVERRIDES list since the recent DEFAULTTUNES change. Bug-AGL: SPEC-5037 Reported-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I82e7832cab421726f783cec80556f59f6f4de312 Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29587 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
2023-12-19Revert "Do not include agl-create-spdx in agl-ci"Jan-Simon Moeller1-0/+1
This reverts commit 7e9efbe2d607886748a786e5e9818dd6b541ad94. Reason for revert: we do want to produce the SPDX artifacts for QQ. Change-Id: Ic8b9d2c9a5fdae34ec0598fcbb2a55411997551a Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29371 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> ci-image-boot-test: Jenkins Job builder account Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account
2023-12-15Add BeaglePlay templateDenys Dmytriyenko3-0/+17
This adds templates to build for the BeagleBoard.org BeaglePlay platform, which is based on Texas Instruments AM625x SoC. https://www.beagleboard.org/boards/beagleplay https://www.ti.com/product/AM625 Bug-AGL: SPEC-4941 Change-Id: I21130e2b8f719f227f5c33045b7e5a3728247bfc Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29522 ci-image-boot-test: Jenkins Job builder account Tested-by: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> ci-image-build: Jenkins Job builder account
2023-12-11Add initial templates for ec2-arm64 and ec2-x86-64 MACHINESJan-Simon Moeller4-0/+58
Support building images for ec2. v2: Add meta-virt into the templates. v3: workaround bug in cloud-init recipe leading to empty cloud-init-systemd package Bug-AGL: SPEC-5006 Change-Id: I65563c19eec60a53693a17b316f965100e2339e5 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29511 ci-image-boot-test: Jenkins Job builder account Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account
2023-11-03Add BeagleBone AI-64 templateDenys Dmytriyenko3-0/+17
This adds templates to build for the BeagleBoard.org BeagleBone AI-64 platform, which is based on Texas Instruments J721e (TDA4VM) SoC. https://www.beagleboard.org/boards/beaglebone-ai-64 https://www.ti.com/document-viewer/TDA4VM/datasheet/ Bug-AGL: SPEC-4941 Change-Id: Ie32a93178697907b6a71272af0bd3b1f453e1640 Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29351 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> ci-image-build: Jenkins Job builder account Tested-by: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2023-11-03Do not include agl-create-spdx in agl-ciJan-Simon Moeller1-1/+0
Currently the sdpx generation is buggy and upstream has patches in master (but not in kirkstone). To allow builds to continue and being able to investigate more, disable the features. Bug-AGL: SPEC-4956 Change-Id: Ie01b7aa4b01bec95d057e1034b4783627981df53 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29356
2023-10-25CL: drop pinning/overriding of UNINATIVE_VERSIONDenys Dmytriyenko1-10/+0
Version 4.0 of Uninative tarball had a bug in patchelf that would break CI builds, so we had to pin the version down to 3.9 first, then explicitly update to 4.1 that would be used in YP 4.0.12 Now YP 4.0.13 comes with Uninative 4.3 tarball which resolves this issue, so we no longer need to pin down or explicitly override Uninative vars. This reverts commit 18f817e16daefe3bd7479cd66a9103974ff2a9be. This reverts commit 45b1b63c35c52b8283e1893dfa099607baa0cdcc. Bug-AGL: SPEC-4875 Change-Id: Iec5ffa77c0e9778f40bedd9092c25bcc593ac39c Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29178 Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-09-27Add templates for Sifive unmatched boardJan-Simon Moeller2-0/+10
This adds the templates to build for the sifive-unmatched board. Currently we have to tweak the layer.conf to enable kirkstone to build. v2: Simplify addition and add patch to agl-compositor for -latomic v2: rename template to just the boardname to match all other boards v3: Drop patch and use LDFLAGS:append:riscv64 = " -Wl,--no-as-needed -latomic -Wl,--as-needed" Bug-AGL: SPEC-4909 Change-Id: I6b6fd9e7f316c66c5a9160318c64028faf8f5dea Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29234 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2023-09-25Adding s4sk supportLoc Nguyen3-0/+19
supporting agl-image-minimal and agl-telematics-demo-platform Bug-AGL: SPEC-4907 Change-Id: Ibc0ae906de5ceb6bb2f945b1c505bd37ff3bfb1d Signed-off-by: Loc Nguyen <loc.nguyen.wt@renesas.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29219 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> Reviewed-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-08-16CI: upgrade UNINATIVE_VERSION on YP 4.0.11 to fixed versionJan-Simon Moeller1-4/+6
UNINATIVE_VERSION 4.1 does have the fix for patchelf. Uprev to the new version as it will become the standard soon. Bug-AGL: SPEC-4875 Change-Id: I20d3ea5322e185b630a451368a8d1602eb40106b Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29124 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2023-08-08CI: downgrade UNINATIVE_VERSION on YP 4.0.11Jan-Simon Möller1-0/+8
The update to YP 4.0.11 came with a new UNINATIVE tarball. This led to problems in CI. Downgrade the tarball till we either fix the tarball or uprev the builders. Bug-AGL: SPEC-4875 Change-Id: Icd31c16f91af526454dede09a0620df9a374c534 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29103
2023-05-30Fix up i.MX8MQ EVK configurationScott Murray4-0/+19
Changes: - Since linux-fslc-lts does not boot on the EVK at the moment, and both it and linux-fslc still do not have support for the HDMI output, switch back to using linux-fslc-imx with tweaks to use etnaviv as we did pre-kirkstone. - A bbappend has been added for linux-fslc-lts since that was missed in a previous upgrade, and even though we are not using it now, it is possibly useful for other i.MX variants. - A machine template for using the NXP BSP with the Vivante GPU driver, imx8mq-evk-viv, has been restored, as testing shows it now works with the current panel-less homescreens. As before, the intent of this configuration is for testing or as an example of potential production use of meta-freescale where NXP support is available. - Start up of Bluetooth support has been disabled, as it currently causes kernel oopses or panics (both have been seen in testing). This happens with both machine templates. SPEC-4807 has been opened to track this issue. Bug-AGL: SPEC-4799 Change-Id: I38e4e720643714541efb0fed08d5ab64545bb02d Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28925 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>
2023-05-18Use backported Rust 1.68 toolchain by defaultScott Murray1-0/+1
Add the kirkstone/rust-1.68 mixin layer from meta-lts-mixins into the AGL default base so that the newer Rust toolchain is available by default to all builds. This seems the most straightforward way to integrate it and have it available for use in builds that may or may not include meta-agl-demo. It also ensures that build shared state and any binary packagefeed work do not get impacted by having a mix of different versions across builds. Bug-AGL: SPEC-4762 Change-Id: I7d01f4a015de6b342b47ef6e78f62da9bb34ec5f Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28902 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2023-05-08waltham: Drop waltham supportMarius Vlad3-11/+0
Given than we don't really have any users and more importantly no maintainers it would be best to remove Waltham support entirely from the tree. The AGL compositor will shortly follow-up to remove supporting code. Bug-AGL: SPEC-4669 Change-Id: I4df495bb873d70f380dcc09cb083686f11f0b2e2 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28805 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-04-25Convert AGLCI into AGL_FEATUREJan-Simon Moeller1-1/+1
Use AGL_FEATURES instead of DISTRO_FEATURES. Change-Id: I9a866a4b921e2816613784768c60b874da28a16c Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28681 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2023-02-15bblayers.conf.sample: Add AGL_META_QT5 hookScott Murray1-0/+2
Add AGL_META_QT5 to allow features to add meta-qt5 without duplicate layer collisions. This is needed for combining the agl-ic-container and agl-demo features. Bug-AGL: SPEC-4703 Change-Id: I8a7b0f35d4a59ffe1ba25c20d36887d3f4f1fc7e Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28471 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>
2022-10-24meta-agl-core-test: delete the layer of meta-agl-core-testduerpei1-1/+0
'meta-agl-core-test' is no longer maintained. Some useful test sets will be moved to 'meta-agl-devel/meta-agl-test' later. Bug-AGL: SPEC-4345 Signed-off-by: duerpei <duep.fnst@fujitsu.com> Change-Id: I5939157618f9817a06ef5e023b6e8e3ad5fc59af Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28058 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>
2022-10-07Update bbe machine template for kirkstonePaul Barker1-1/+1
The meta-ti layer has now been split into two sub-layers so we need to update BBLAYERS. Signed-off-by: Paul Barker <paul.barker@sancloud.com> Change-Id: Iacb6940d55cb4c8dc60b3caae124cd2cd3295abe Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28042 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>
2022-07-27Add SELinux featureScott Murray3-0/+16
Add agl-selinux feature to enable SELinux support. Notes: - SELinux is in permissive mode by default for now, and using the targeted policy by default. - The linux-yocto specific bbappend in meta-selinux is masked out in favor of adding a more universal kernel configuration fragment with AGL's own scheme. - SELinux specific recipes and bbappends are added via a meta-selinux dynamic-layers addition in meta-agl-core to keep using meta-selinux optional. This will avoid issues with the Yocto autobuilder testing of meta-agl-core. - To avoid the effectively hard-coded autorelabel on first boot, a bbappend is added to the selinux-autorelabel recipe to remove the flag creation. In the off chance that a build happens on a filesystem without xattr support, the logic in the selinux-image bbclass will still touch the /.autorelabel flag and trigger relabeling. - A systemd unit and script are added with a new systemd-selinux-relabel recipe to handle relabeling of some systemd generated files that do not get handled during root filesystem construction. Some of these can be addressed by some upstream tweaks, but /etc/machine-id will always need special handling unless there is a shift to using read-only or stateless root by default. With this workaround we still avoid doing a full relabel and reboot on first boot, which helps simplify CI. Bug-AGL: SPEC-4332 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ibf469e11eb3a67709074cc6794b3d12cd5071a90 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27790 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>
2022-07-14Add feature for SPDX SBOM generationJan-Simon Moeller3-0/+10
We enable the built-in features of YP in kirkstone to create an spdx file that can serve as SBOM. Bug-AGL: SPEC-4384 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I98907fc07aee8c6eefbb6f0e12d30583268832d7 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27694 Tested-by: Jenkins Job builder account
2022-07-11Machine cleanup for Nifty NeedlefishScott Murray13-60/+0
Remove machine templates and associated files for: - hsdk - dragonboard-410c - dragonboard-820c - nitrogen6x Bug-AGL: SPEC-4402 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I7ff2665fe5ceef55454905d57e7793d5fcf0ef8a Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27701 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>
2022-07-05Re-enable PRServ and HashservJan-Simon Moeller1-5/+5
With the new improved PRServ and HashServ we can run this. Also we can expose the readonly ports to the public. Bug-AGL: SPEC-4381 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I2c52cd80fa387457fd95b853519d8768fafacb10 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27699 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2022-06-15Feature cleanup for Nifty NeedlefishJan-Simon Moeller3-12/+0
Remove features with upstream deprecated or unmaintained: - meta-gplv2 Bug-AGL: SPEC-4407 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I39a08b3ebd26a0187a8fd31e6f154dd53471bb9c Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27658 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>
2022-05-13Add template for generic-arm64 machineScott Murray3-0/+16
This is a standard aarch64 (ARM 64bit) machine for use with 'SystemReady' (aka UEFI) systems. It had been added to the next branch in meta-agl-devel for some testing on AWS Graviton instances, but now that the upgrade to kirkstone has landed, it seems sensible to move it to meta-agl to ease maintenance. Bug-AGL: SPEC-4353 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I51e223ee80ea62bce99b725c4daef1a010cb0835 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27456 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2022-04-26Disable hashserv and prserv settings until new servers are actually upJan-Simon Moeller1-5/+5
The new server revisions for kirkstone need to be deployed before we can use them. Bug-AGL: SPEC-4343 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I351d7e2a7f434bf194b03ed5cb982a1a3d93f282
2022-04-11meta-agl-bsp: Update J7 EVM support for KirkstoneScott Murray5-13/+13
Changes: - Rename machine template and related files to use j721e-evm instead of j7-evm to match meta-ti change. - Update machine template to point into new meta-ti-bsp layer in the meta-ti repository. - Drop local multiconfig TMPDIR tweak as it seems unrequired now, and is triggering a build failure around sysroot population that needs further investigation. It may be added back in the future if the single TMPDIR again proves to have issues. Bug-AGL: SPEC-3819 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I8c2717bb749735cfe36d86b48e3c61b1cca990e4
2022-04-11meta-agl-bsp: Update Beaglebone support for KirkstoneScott Murray1-1/+1
Changes: - Update machine template to point into new meta-ti-bsp layer in the meta-ti repository, and update the dynamic layer directory name to match. - meta-ti currently does not have Weston 10.0.0 support, and testing confirms it will not build against the currently provided version of the SGX GPU driver, so disable using it for now. - Even though the GPU driver is not being used ATM, the local patch for ti-sgx-ddk-km to handle AGL toolchain naming has been updated to ease testing meta-ti updates down the road. - The Weston bbappend that had been based on meta-arago's has been removed for now. A re-evaluation of what is needed locally will need to be done when TI have their Weston 10.0.0 support settled. Bug-AGL: SPEC-3819 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ie61cef722a643791970214710835423a21696694
2022-04-03meta-agl-bsp: Update i.MX8MQ EVK support for kirkstoneScott Murray9-24/+5
Changes: - Rename machine template and related files to use imx8mq-evk instead of imx8mqevk to match meta-freescale change. - Switch to purely using the default "mainline" BSP configuration in meta-freescale for imx8mq-evk as opposed to the tweaking of the "nxp" configuration previously used. The mainline configuration now builds a working image, and this lowers maintenance on our part. - Remove imx8mqevk-viv configuration to build with Vivante GPU driver. NXP have not yet released Weston 10 support, and at this point the etnaviv driver is stable. If a demonstration of support of Vivante is requested in the future (e.g. for other i.MX8 variants that still require it), this can be revisited. Bug-AGL: SPEC-3819 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I7e279268463f68978ecd2990927aab6d64e3cbd2
2022-03-30Add AGL_META_MULTIMEDIA layer hookScott Murray1-0/+2
Add AGL_META_MULTIMEDIA hook to bblayers.conf.sample to match the other common meta-openembedded layer dependencies. This will be used to pull in the MPD recipes in meta-agl-demo. Bug-AGL: SPEC-3819 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I15bbabd8b14b6fa37185d3b514b576137e88ca8a
2022-03-30Update for kirkstone variable renamesScott Murray2-7/+7
Apply updates from running the new convert-variable-renames script from upstream, plus a few manual tweaks to the sample BB_DISKMON_DIRS configuration in the sample local.conf files to match the changes made in upstream. There are a few things outside of BitBake variables that the script still complains about that will need to be addressed in follow up changes. Bug-AGL: SPEC-3819 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I65e483043c1f2e48827e735cf8fdaec8d04e5fee
2022-03-30Update configuration versionsScott Murray1-1/+1
Update the configuration versions to "2" in the local.conf templates. This is now required to work work with Yocto honister or newer. Bug-AGL: SPEC-3819 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ie02e1b56656da563d2a9f4b16602b9ebe970042a
2022-03-30meta-agl-core: remove image-mklibs usageScott Murray1-4/+1
image-mklibs.bbclass has been removed from upstream poky in honister, remove usage in the poky-agl distro configuration and the base local.conf.sample file. Bug-AGL: SPEC-3819 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I25f5edb7afd28f874f10062af56d3282ae910346
2021-12-09Add placeholder variable for meta-clang additionJan-Simon Moeller1-0/+3
meta-clang is a dependency of multiple layers. Thus to avoid double inclusions, add this placeholder and indirection. To add the clang layer, you have to define AGL_META_CLANG instead of changing BBLAYERS directly. Bug-AGL: SPEC-3852 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I32ae8b5027531c3fc7a38c15ff3c0269c85ed9b8 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26984 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
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