summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2023-12-11Add initial templates for ec2-arm64 and ec2-x86-64 MACHINESJan-Simon Moeller5-0/+59
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-28wireplumber: Add Equalizer filter chain nodeAshok Sidipotu3-0/+89
- The filter has two bands one for bass and another one for treble. - The filter node attaches itself to multimedia endpoint, this setting is configurable. - Also add a patch to fix the dangling logs issue in the endpoints policy. Bug-AGL: SPEC-4931 Change-Id: Ibb3f56ac40eedc8c30445186624e50cbb3049afa Signed-off-by: Ashok Sidipotu <ashok.sidipotu@collabora.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29466 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jenkins Job builder account
2023-11-23wireplumber: Upgrade to v0.4.16quillback_16.91.0quillback/16.91.016.91.0Ashok Sidipotu1-3/+3
- The endpoints policy now marks the endpoint nodes as "passive" instead of marking their links, adjusting for the behavior change in PipeWire 0.3.68, this fixes the pipewire busy loop issue. - Introduced the filter node in between the endpoints and sink devices. This mechanism is intended to add equalizer node with multimedia endpoint. Bug-AGL: SPEC-4972 Change-Id: Ib624ac89ddff66b161025235a30fdaa6372e597b Signed-off-by: Ashok Sidipotu <ashok.sidipotu@collabora.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29465 Reviewed-by: Georgios Kiagiadakis <george.kiagiadakis@collabora.com> ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> ci-image-build: Jenkins Job builder account Tested-by: Jenkins Job builder account
2023-11-22native-shell-client: update SRCREVScott Murray1-1/+1
Update SRCREV to pick up: 43c9077 Bump agl-shell protocol version Bug-AGL: SPEC-4973 Change-Id: I31f65e33a623b7ea6885d23e41d5c1bf4e583d93 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29457 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-by: Marius Vlad <marius.vlad@collabora.com> ci-image-boot-test: Jenkins Job builder account
2023-11-22Remove remaining "display" group usageScott Murray3-8/+4
Update the meta-rcar-gen3 driver specific bbappends to use the "video" group instead of "display", and remove the weston-init bbappend that was adding the "display" group when using it with weston. The group is no longer used in meta-rcar-gen3 or in any of the AGL layers since the rework done for SPEC-4714; these uses were missed at that time, and were causing permission issues with the PVR driver initialization scripts. Bug-AGL: SPEC-4979 Change-Id: I2efc8ea6e83b86e59def8a8333c8cc3064f8a7dd Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29456 ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account
2023-11-21Prepare Quirky Quillback Milestone 1quillback_16.91.1quillback/16.91.116.91.1Jan-Simon Moeller1-3/+3
Update the distro configuration. Bug-AGL: SPEC-4978 Change-Id: I39e5d85db98805d5a5287ea8eac870a921e686de Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29452 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2023-11-16recipes-graphics/wayland/agl-compositor_git.bb: Bump SRCREVMarius Vlad1-3/+5
This SRC_REV bump updates the gRPC proxy API to address some start-up issues we're seeing when switching the qt homescreen shell client to using the start-up + activation procedure rather than relying on the wayland protocol to do that. A smaller fix for restarting the compositor, as well as functionality to dynamically move windows with it and scale windows was added in this update. The recipe changes does include a version bump for the compositor as well, making it easier to track down the compositor version. In more detail, the following changes have been added since the previous update: - bdc551314dc5 meson.build: Bump version to 0.0.22 - be197db866b8 grpc-proxy: Use smaller waiting time - 73e82a6f346d grpc-proxy: Start the gRPC server and waiting thread much sooner - 53b470c60986 grpc-proxy: Fix missing args LOG() - 0d2e33ded529 grpc-proxy/main-grpc: Don't fall trough assuming we have a wl_display - 994d8a30b27f grpc-proxy: Don't attempt to connect if there's no compositor running - d8e72099ecbc grpc-proxy: Terminate thread when we're exiting - ca537df2c529 grpc-proxy: Add dynamic scale of floating windows - 2edba91d3eab grpc-proxy: Add dynamic floating window movement Change-Id: Ic07b11e6334f14f60a1d71e48347a3d66f07b823 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29405 Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-11-13pipewire: Fix GST hang for unavailable camerasAshok Sidipotu3-0/+102
- GST pipeline or camera-gstreamer app hangs for a unavailable target. - To fix the issue gstpipewiresrc element in pipewire is enhanced to handle the pw_stream error in a better manner. Bug-AGL: SPEC-4881 Change-Id: Id67095b1ecf5e59d00f9c79e15c7464f27a43eb4 Signed-off-by: Ashok Sidipotu <ashok.sidipotu@collabora.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29397 Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-by: Marius Vlad <marius.vlad@collabora.com>
2023-11-09gstreamer1.0-plugins-bad: fix build failure with NXP BSPScott Murray1-1/+8
Our local patch does not apply against NXP's forked version, so disable applying it when building for machines that are using the NXP BSP (currently only imx8mq-evk-viv). Bug-AGL: SPEC-4962 Change-Id: I8b716c658dbe92e543f3899ea15539ed59dce96b Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29392 ci-image-boot-test: Jenkins Job builder account ci-image-build: Jenkins Job builder account Tested-by: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-11-07pipewire: Update PipeWire to v0.3.83 and WirePlumber to v0.4.15Ashok Sidipotu3-5/+10
Highlights of Pipewire. - Add BAP broadcast source and sink support. - Vulkan DMA buf support was merged. - Fix a leak in the SBC codecs for SCO. - More bugfixes and improvements. - IRQ based scheduling in ALSA was improved and enabled by default for Pro-Audio profile. It will also link the pcms together to get lower latency. This now matches what JACK does and results in equal latency for Pro-Audio profiles. - A new L permission was added to make it possible to force a link between nodes even when the nodes can't see each other. - Libcamera and v4l2 devices now have properties so that duplicates can be filtered out by the session manager. - Improve RAOP compatibility. - ALSA hires timestamps are now disabled by default. Highlights of Wireplumber. - A new "DSP policy" module has been added; its purpose is to automatically load a filter-chain when a certain hardware device is present, so that audio always goes through this software DSP before reaching the device. This is mainly to support Apple M1/M2 devices, which require a software DSP to be always present - WpImplModule now supports loading module arguments directly from a SPA-JSON config file; this is mainly to support DSP configuration for Apple M1/M2 and will likely be reworked for 0.5 Bug-AGL: SPEC-4940 Change-Id: I7caa7b08686704cc94be896bcd0c2269ab3c8133 Signed-off-by: Ashok Sidipotu <ashok.sidipotu@collabora.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29388 Tested-by: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> ci-image-boot-test: Jenkins Job builder account ci-image-build: Jenkins Job builder account
2023-11-05weston-ini-conf: disable locking and idle timeoutScott Murray2-1/+2
Disable screen locking and the idle timeout in our weston.ini shell.cfg and core.cfg fragments, respectively. This makes the default configurations more useful for applications like the agl-ivi-demo-control-panel image, where there is only one fullscreen application running. These changes should only affect Weston based images using the desktop or potentially kiosk shells, and will have no effect with agl-compositor. Bug-AGL: SPEC-4952 Change-Id: I947e6f691f0acd4e9d4e3f8583210ec79edcfdb5 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29341 Tested-by: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2023-11-05agl-users: factor out reusable include fileScott Murray2-13/+16
Refactor the recipe to put the actual useradd configuration into an include file. This will allow other recipes that need to use the agl-driver user for file ownership to pull that in as opposed to duplicating the configuration and risking mismatches. Bug-AGL: SPEC-4952 Change-Id: Ica16a13a3750722c6d22b14944898f7b289e4bbe Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29340 Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-11-03Add BeagleBone AI-64 templateDenys Dmytriyenko4-0/+24
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-03Fixup folder change in meta-ti-bspJan-Simon Moeller3-0/+12
Meta-ti-bsp breaks expectations of the output folder in its layer.conf Enforce the usual folder structure. Bug-AGL: SPEC-4957 Change-Id: Ie887e83015dcb9be609289442840b131cbad1b32 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29379
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-10-03meta-agl: sifive unmatched: add radeon drivers for gfxJan-Simon Moeller2-0/+25
Add the amd / radeon drivers for pci-e gfx support. Bug-AGL: SPEC-4909 Change-Id: I91e17f378a84dd7ab767495352c289e4e6ba3fa6 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29252 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2023-09-27Add templates for Sifive unmatched boardJan-Simon Moeller6-0/+61
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-26Remove dependencies not working on riscv.Jan-Simon Moeller1-2/+1
These can be added by the developer as needed in local.conf . Bug-AGL: SPEC-4909 Change-Id: I57f90a58ab676e90b044ed26b2399e2d27d46219 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29233 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 Nguyen4-0/+28
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-09-11meta-agl-core: fix check-layer for gstreamer1.0-plugins-bad bbappendJan-Simon Moeller2-2/+3
The bbapend is not conditional. Add it. Bug-AGL: SPEC-4901 Change-Id: Ie8433183ece479bd7b63ef87d9a8d92ed603ed43 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29185 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2023-09-05Restructure Salvator-x .inc filesHau Vo6-41/+27
This commit restructure the .inc files relate to H3/M3 Salvator-x boards. Bug-AGL: SPEC-4808 Signed-off-by: Hau Vo <hau.vo.ra@renesas.com> Change-Id: I9e01f61f75010c1cbf54feec30422855b43cf051 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29175 Reviewed-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com> 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-09-04Add attention description for service file changeNaoto Yamaguchi1-0/+4
When integrate some service in guest container, that need to drop tty dependency. AGL compositor has tty dependency at default. This dependency drop using drop-in config in meta-agl-demo layer. This patch add attention description for service file change to avoid break. Bug-AGL: SPEC-4888 Change-Id: Iaeae73b6d81c87f4d61d5829f49e8ab01f84a3f6 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29174 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-08-28wireplumber: Enable v4l2 monitorAshok Sidipotu1-1/+1
The monitor scans for the V4L2 camera devices and registers pipewire device nodes for them. This effectively enables AGL to talk to cameras. Bug-AGL: SPEC-4881 Change-Id: Ia1d989da229304b1b514d6b25ebbc2530503d370 Signed-off-by: Ashok Sidipotu <ashok.sidipotu@collabora.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29117 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-08-17gstreamer1.0-plugins-bad_%.bbappend: Added a title/appidsandbox/nguyentanloc27/spec4808Marius Vlad3-0/+334
This is necessary to display gst-launch application which uses its own xdg-shell toplevel window. Any other application that creates its own toplevel window would *not* have this problem. There's a patch specific for rcar-gen3, as they have their own gstreamer fork. Bug-AGL: SPEC-4870 Change-Id: Ic899d9c5518a50bb426237775f54c8bf34474cc9 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29115 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> ci-image-boot-test: Jenkins Job builder account
2023-08-17agl-compositor_git.bb: Bump agl-compositor SRCREVMarius Vlad1-1/+1
This SRCREV bump update is necessary to avoid a circular dependency between libweston and the AGL compositor. This update includes Xwayland support (and a few fixes related to that) and an update for using logging scopes to match with that we have in upstream. Note that Xwayland requires to build with Xwayland enabled and have a working Xwayland image (which requires a bit of tweaks to make it work). In more detail, the following changes have been added since previous bump: - a68408367cf desktop: Fix Xwayland build - 5ec94158612 compositor: Use the logging context when iterating over scopes - f3ae1a25e24 layout: Check against app_id being valid - 26700fa20ab layout: Determine xwayland surface in a generic fashion - 8033c46081b compositor: Add XWayland basic support Change-Id: Ib4aa552eec776a5badafb56bbdd2f780eb0ff331 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29101 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-08-17weston_10.0_aglcore.inc: Update logger scopes iteratorMarius Vlad3-92/+228
With the actual patch that made in upstream. Bug-AGL: SPEC-4861 Change-Id: Ifbee85ce7ae2b38c56613694b5c9934c93341566 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29064 Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> 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-08-04Update distro configuration for Quirky QuillbackJan-Simon Moeller1-4/+4
Change for the upcoming AGL release 'Quirky Quillback'. Bug-AGL: SPEC-4873 Change-Id: I5c000ce0020a3b5efafbf2258258545c81a03839 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29098 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2023-07-19Prepare Prickly Pike Milestone 2pike_15.92.0pike/15.92.015.92.0Jan-Simon Moeller1-2/+2
Change config to release mode. Bug-AGL: SPEC-4852 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: Ic129b58d9063727cd3450d33de3af620400738e9 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29055 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2023-07-18Prepare Prickly Pike Milestone 2Jan-Simon Moeller1-3/+3
Update the distro manifest. Bug-AGL: SPEC-4852 Change-Id: Idfccb3f4ff7d9b075148193a0633ba59ee82f6f2 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29042 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2023-07-18[agl][cef][applaunchd] Make it possible to switch between chromium and cef ↵Roger Zanoni1-1/+2
backends Bug-AGL: SPEC-3872 Signed-off-by: Roger Zanoni <rzanoni@igalia.com> Change-Id: I574c8c19b977f29a9d73b7d7e5261494d9d2676f Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29048 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-07-18meta-agl-bsp: remove now unnecessary workaroundsScott Murray8-129/+0
Remove our usrmerge workarounds since meta-rcar-gen3 now has been fixed. Also remove now unnecessary workarounds for the "display" user and weston systemd unit naming. Bug-AGL: SPEC-4854 Change-Id: Ieaebb24385f9d75eaad012043993dcfc733aa01a Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29043 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-06-29meta-agl-core: add Upstream-Status tag to patchesJan-Simon Moeller7-0/+17
This fixes the build in the YP autobuilder. Bug-AGL: SPEC-4850 Change-Id: Ic9840c399fc8158ddc17eba0e293d8ca0894beb7 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29039 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2023-06-22weston-ini-conf: Add activate-by-default=false by defaultMarius Vlad2-2/+1
As all our platforms (flutter, qt, html5) are now capable of starting and activating windows on their own, we can turn off the implicit activation by default from the compositor. We would remove it entirely from the configuration file once we won't have any code in the compositor. Make it default for now. Change-Id: I43df54cd2bba5f05612989b02ce99c63f93a5c2d Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29018 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-06-22weston-ini-config: Fix gRPC missing in other imagesMarius Vlad1-3/+1
Flutter images in particular were affected because we only added the gRPC proxy in just the no-activate case. Change-Id: I32ee2ef739147e6cee3063004b98611ea7fd8198 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Suggested-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29017 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-06-21meta-app-framework: update applaunchdScott Murray2-1/+2
Update the applaunchd SRCREV to pick up: c32fe42 Add sd_notify call Also change the applaunchd systemd unit to use Type=notify so that the calling of sd_notify in applaunchd will work as intended. Bug-AGL: SPEC-4843 Change-Id: Iee326fa24de0a1a33f92dcff3bf29d2be13252a1 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29034 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-06-16Prepare Prickly Pike Milestone 1.1pike_15.91.1pike/15.91.115.91.1Jan-Simon Moeller1-1/+1
Respin of Prickly Pike Milestone 1 to include - polkit-rule-agl-app: try to prevent transaction error - meta-agl-core: fix polkit dependencies - polkit-rule-agl-app: add useradd class and USERADD_PARAM - Add explicit applaunchd systemd dependencies - meta-app-framework: make applaunchd polkit dependency explicit - recipes-graphics/wayland/agl-compositor_git: Bump SRCREV This fixes the flutter images and a build issue seen in CI around packaging of polkit-rule-agl-app due to the polkit group requirement. Bug-AGL: SPEC-4824 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I1f154d0cd650648b116211a632c81dfa6f749d27 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29025
2023-06-16recipes-graphics/wayland/agl-compositor_git: Bump SRCREVMarius Vlad1-1/+1
The SRCREV bumps fixes for handling the activation area. In more detail the following changes have been integrated: - ffdbb335ee72a5b layout: Give ini config precedence over agl_shell - e089e3ba1b7581a shell: Don't reset the activation area always - 07c332f0b8c3297 layout: Add a fallback for reading activation-area Change-Id: Ib6a0bf15330290a464bf61b948f7ca7f69c8968f Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29013 ci-image-build: Jenkins Job builder account Tested-by: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Scott Murray <scott.murray@konsulko.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-06-16meta-app-framework: make applaunchd polkit dependency explicitScott Murray2-3/+5
Since there seems to be no inherent dependency in the shipped systemd default or polkit unit files with respect to polkit availability with respect to network.target, we do seem to need to make applaunchd's dependency on polkit explicit to guarantee systemd DBus API access works. As well, it seems worthwhile to enforce the systemd and polkit DISTRO_FEATURES being present if someone attempts to build applaunchd, so update the recipe to do so. Bug-AGL: SPEC-4840 Change-Id: I1cc998ac7c6234de0bb857d4c4fda00d847e00bf Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29020 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-06-16polkit-rule-agl-app: add useradd class and USERADD_PARAMpike_15.91.0pike/15.91.015.91.0Jan-Simon Moeller1-1/+4
The only diff left to e.g. polkit and systemd is the USERADD_PARAM. Add it into the recipe. Bug-AGL: SPEC-4824 Change-Id: I7eb2862dc5c40577a1c3311ac9b7a7cc43c5be2a Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29023
2023-06-16meta-agl-core: fix polkit dependenciesScott Murray13-19/+22
As part of the systemd user session removal, some changes were made to attempt to fix pulling in polkit for core-image-weston, agl-image-weston, and agl-image-compositor so that the compositors would correctly start up in the resulting images. Unfortunately, just gating the dependency on polkit being in DISTRO_FEATURES breaks the usecase of using poky and meta-agl-core with our poky-agl distro configuration without also pulling in the meta-oe layer. This combination is used for testing meta-agl-core on the Yocto Project autobuilder, so that broke and was reported by upstream. To fix this usecase, the polkit dependency logic has been shifted to weston-init and agl-compositor-init via bbappends that are only used when meta-oe is present via our existing BBFILES_DYNAMIC set up. Since the dependency on polkit stems from a combination of the compositor PAM configuration from the -init packages and having systemd, pam, and polkit in DISTRO_FEATURES, this seems more correct, anyways. Other changes: - The explicit pam DISTRO_FEATURES checking that was added in the previous cleanup has been removed; it is actually redundant due to weston and weston-init having checks. Using the .inc file for that from upstream has been added to the agl-compositor and agl-compositor-init recipes to match the weston recipes and make the dependency visible in our tree. - There is no further need for our bbappend to core-image-weston, so it has been removed. Bug-AGL: SPEC-4836 Change-Id: Ia3052023dfb06d1c2190a03c72606ab4b27bbdd2 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29014 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-06-14polkit-rule-agl-app: try to prevent transaction errorJan-Simon Moeller1-3/+5
While creating the final filesystem we see this error in CI: Running transaction test Error: Transaction test error: file /etc/polkit-1/rules.d conflicts between attempted installs of polkit-rule-agl-app-1.0-r0.11.corei7_64 and polkit-0.119-r0.11.corei7_64 ERROR: Logfile of failure stored in: /w/workspace/release-jjb-pike-snapshot/MACHINE/qemux86-64/label/agl-test-slave/repoclone/output/tmp/work/qemux86_64-agl-linux/agl-demo-platform-crosssdk/1.0-r0/temp/log.do_rootfs.44779 NOTE: recipe agl-demo-platform-crosssdk-1.0-r0: task do_rootfs: Failed Try to work this around. Bug-AGL: SPEC-4837 Change-Id: I855bfe88651cc5e738630936639e599523eb811c Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29016 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2023-06-12Prepare Prickly Pike Milestone 1Jan-Simon Moeller1-3/+3
Update the distro manifest. Bug-AGL: SPEC-4824 Change-Id: Iac55421a7a45ead25f021a8cece1813bf88e6015 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28986 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2023-06-12Remove systemd user session and clean up packagegroups and imagesScott Murray45-374/+278
Remove the use of a systemd user session to align with how upstream runs Weston, and to allow using all systemd sandboxing features with the compositor and homescreen, launcher, etc. applications. The changes for this touched enough packagegroups and images that further rework was done to address some of the cleanup described in SPEC-4813, see below for details. Changes: - Remove agl-session and update various recipes that were manually adding dependencies to the user session it created. The compositor (be it weston or agl-compositor) and Wayland clients now run in the system session as non-root users. - Revive agl-users recipe, this time living in meta-agl-core, with the purpose of creating the agl-driver user. For simplicity, agl-compositor is always run as the agl-driver user, as opposed to trying to wrangle running it as different users depending on build configuration. This can potentially be made more configurable if a downstream user has a usecase to be able to specify another user. - Fully split agl-compositor's systemd unit with a tweaked fork of the weston-init recipe and unit which lives in meta-agl-core. This will be easier to maintain than the attempt to reuse weston-init for builds without meta-app-framework that was done previously. - Create packagegroup-agl-graphical-compositor, distinct from the weston packagegroup. This should make it more straightforward for downstreams that want agl-compositor or weston. - Rename agl-image-agl-compositor to agl-image-compositor to remove redundancy. - Tweak the logic for the inclusion of a few debug packages (e.g. agl-shell-activator) to ensure they only show up in images when agl-devel is enabled. - Split weston-terminal and the required icon resources into separate packages in our weston bbappend to avoid pulling in weston just to get the terminal for testing. - Add a agl-core-image.bbclass to use as a base for images. - Move our cross-SDK configuration to a agl-crosssdk.bbclass to ease reuse. - Remove various empty packagegroups. - Unify image .inc files with their .bb files as a simplification, and to move towards more how upstream Yocto Project does things. - Split pipewire tools into their own -devel packagegroup. - Remove rcar3 additions to packagegroup-agl-graphical-multimedia, as that packagegroup is not machine-specific. They will be added back in via a change in meta-agl-demo. If a downstream user desires a platform-specific packagegroup for such packages in meta-agl-core, this can be revisited, though a different implementation should be used. - Replace some :append usage with += to avoid creating problems for downstream users. Bug-AGL: SPEC-4714, SPEC-4813 Change-Id: I55b29bf749f0d5d50993a362c665bce62b785f67 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28996 Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-06-05Use new weston-ini-conf scheme and remove old per-machine filesJan-Simon Moeller9-21/+33
The previous commit used an old file. Use the new generated version. Bug-AGL: SPEC-4822 Change-Id: Ic1b7018ce2840332c0e051101ce854b90f96ecae Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28985 Tested-by: Jenkins Job builder account
2023-06-05wayland/agl-compositor_git.bb: Bump SRCREVMarius Vlad1-1/+1
This SRCREV bump update formally removes SMACK and Waltham and modifies the client screenshooter client to generate a PNG screenshot for each output -- rather than creating an image for all outputs. In more detail to following changes have been added since the previous SRCREV bump: - 69bd3ddac4b23 policy-deny: Remove SMACK support - 0ed8064b0de23 compositor: Remove Waltham support - e0a1dcc548087 clients/screenshooter: Add the output name to screenshot name Change-Id: Ic951fdeddc3abff8b1f80be45896f1fdfb67bced Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28980 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-06-05Fix orientation for dual-hdmi setup on pi4Jan-Simon Moeller2-1/+14
The weston-ini-conf was not ready for dual-screen setup. Fix it. Bug-AGL: SPEC-4822 Change-Id: I75d8810fb9e58aadeceabeadf44ceedff4749d6e Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28984 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2023-06-02applaunchd: update Flutter app systemd template unitScott Murray1-1/+5
Applications built with newer meta-flutter package their bundles in a directory hierarchy containing the Flutter SDK version and multiple runtime flavors (release, debug, profile). Rework our applaunchd systemd template unit to work with that. FLUTTER_VERSION and FLUTTER_RUNTIME environment variables are used in the ExecStart command line, with working defaults defined in the unit. The unit also includes sourcing a global /etc/default/flutter environment file as well as a per-application one to give us hooki for setting the version based on the value of FLUTTER_SDK_TAG in meta-agl-flutter. Bug-AGL: SPEC-4819 Change-Id: I4879760bfd9c01f29daf25d6cd4a3c70d07429fd Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28979 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>