summaryrefslogtreecommitdiffstats
path: root/meta-agl-core
AgeCommit message (Collapse)AuthorFilesLines
2024-06-10Prepare Quirky Quillback 17.0.3Jan-Simon Möller1-3/+3
Update the distro configuration. Bug-AGL: SPEC-5169 Change-Id: I89e786b7703b46dc5a1489ed02178c150027e23f Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29978 ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2024-05-21weston-ini-conf: (re)move Weston remoting supportScott Murray3-35/+10
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>
2024-05-04Prepare Quirky Quillback 17.0.2quillback_17.0.2quillback/17.0.217.0.2Jan-Simon Moeller1-3/+3
Update the distro configuration. Bug-AGL: SPEC-5124 Change-Id: I296d0385bed6c3978856b4455bb57bae6c3926b7 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29854 ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Tested-by: Jenkins Job builder account
2024-05-02Disable LTTNGMODULES on qemuarm due to do_create_runtime_spdxJan-Simon Möller1-0/+6
There is a race in the function do_create_runtime_spdx that shows in qemuarm builds in particular. Disable this in CI. Bug-AGL: SPEC-4956 Change-Id: I152dbbbffc48b510260e45be3a1e84f2e9772ae5 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29883 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2024-03-25Prepare Quirky Quillback 17.0.1quillback_17.0.1quillback/17.0.117.0.1Jan-Simon Moeller1-3/+3
Update the distro configuration. Bug-AGL: SPEC-5102 Change-Id: I450cabf98399f52c8bd65e54eb285244c00b263c Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29780 ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Tested-by: Jenkins Job builder account
2024-03-18meta-agl-core: Improve connman-wait-online usabilityScott Murray3-9/+18
Changes: - Ship connman-wait-online in packagegroup-agl-core-connectivity. - Add installation of a systemd drop-in configuration file for systemd-networkd-wait-online when VIRTUAL_RUNIME_net_manager is set to connman that will disable it. This is required to avoid boot hangs if a unit does add a dependency on the network-online target. The approach is not ideal, but it is not clear how to avoid systemd-networkd-wait-online getting enabled without actually modifying the systemd-networkd unit. Bug-AGL: SPEC-5082 Change-Id: Id0a1276e35c68ecb6087f89a880fc069594caca4 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29697 ci-image-build: Jenkins Job builder account Tested-by: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> (cherry picked from commit 4f764134d2f307c1eb63cea7cc0950a7873a2e43) Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29635
2024-03-18qtbase: drop local backported patchesDenys Dmytriyenko3-175/+0
Those patches were backported and the changes are now part of the latest Qt version. Bug-AGL: SPEC-5069 Change-Id: Id82254c5f5ba01efe565b40c2f096d252f4c2c69 Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29718 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> (cherry picked from commit 73886d069648abe492769325c81aea43335a972c) Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29633 Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2024-02-19Prepare Quirky Quillback 17.0.0quillback_17.0.0quillback/17.0.017.0.0Jan-Simon Moeller1-3/+3
Update the distro configuration for Quirky Quillback 17.0.0. Bug-AGL: SPEC-5080 Change-Id: I19f7a0605f75ef046fe928b09cc9e9fb6348827f Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29687 ci-image-boot-test: Jenkins Job builder account Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account
2024-02-19Quillback: use quillback branchJan-Simon Moeller1-1/+1
Use the release branch for Quillback final. Bug-AGL: SPEC-5080 Change-Id: Iece4249585da4f3202c3cf48a96f78ee996cb384 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29686 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2024-01-30Prepare Quirky Quillback Milestone 3Jan-Simon Moeller1-3/+3
Update the distro configuration. Bug-AGL: SPEC-5059 Change-Id: If547484a571b15a7e6f78df5c54ad6f0c27455b4 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29610 Tested-by: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account ci-image-build: Jenkins Job builder account
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
2024-01-04agl-compositor_git.bb: Bump SRCREV for fixesMarius Vlad1-1/+1
This SRCREV bump includes a couple of fixes for avoid a hard-to-catch race between the gPRC proxy client the shell client. The update simplifies the whole "conversation" between gRPC client and the compositor. In more details the following changes have been added since the previous update: - e3f8379e48433d grpc-proxy: Add a prefix tag for debugging messages - ae3ef78cb1a01b grpc-proxy: Re-work bound_ok/bound_fail events handling - 071440ef54444c shell: Provide a better explanation for terminating the connection Bug-AGL: SPEC-4977 Change-Id: I6420441e7379f42c0455ffb78e3ea2867b5e332e Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29576 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Tested-by: Jenkins Job builder account
2023-12-19Prepare Quirky Quillback Milestone 2quillback_16.92.0quillback/16.92.016.92.0Jan-Simon Moeller1-3/+3
Update the distro manifest. Bug-AGL: SPEC-5021 Change-Id: I243e0fe1a6fec2264a64a249b3ceb5a3e7d53c77 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29543 ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Tested-by: Jenkins Job builder account
2023-12-18Enhance DEFAULTTUNE mechanismJan-Simon Moeller5-9/+14
This commit enhances the way we select the DEFAULTTUNE. DEFAULTTUNE in AGL is meant to be set to either corei7-64 for x86-64 aarch64 for 64bit ARM armv7vethf-neon-vfpv4 for 32bit ARM (where applicable) The reason is that we do want to work towards a binary distro and also maximize sstate reuse between platforms. Each and every board having different settings is counter-productive here. The original setting was done in SPEC-491. See this presentation: https://docs.google.com/presentation/d/1_VSGfheItufCCP_rbGBDg3-2miCyh02-yZva6m8cyUE The enhancement is that we introduce a variable 'AGL_DEFAULTTUNE' that a user could override if he really needs to change the defaults. Also we introduce OVERRIDES to help support this mechanism (agldefaulttune, forcedefaulttune). Bug-AGL: SPEC-491 Bug-AGL: SPEC-5014 Bug-AGL: SPEC-5016 Change-Id: Ia8270b6195116151c27d8da427f0456f38ac95b6 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29541 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2023-12-17agl-compositor_git: SRCREV bumpMarius Vlad1-1/+1
To pick up the latest fix for agl-compositor. It's a simple fix for setting up applications on different outputs. Change-Id: I63118c793faf0e7a4e68bfd15719c6939cca964d Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29538 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>
2023-12-17weston-ini-conf: Rename from TRANSMITTER to REMOTINGMarius Vlad1-6/+6
Just a rename as transmitter no longer exists. Change-Id: I719993864888aba54875227718549c3cb5b125e0 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29537 ci-image-build: Jenkins Job builder account Tested-by: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-12-17transmitter-output.cfg.in: Remove the fileMarius Vlad2-10/+0
We no longer have the transmitter plug-in so remove the config file and the references from weston-ini-conf.bb Change-Id: I982dd2cda36166852f36c7edd9371d80a4d8c2bf Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29536 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-12-15Enforce DEFAULTTUNE even if overrides are usedJan-Simon Moeller4-3/+6
Some BSPs do use a series of overrides. This can take over DEFAULTTUNE which we try to set for all boards in the same way. Bug-AGL: SPEC-5014 Change-Id: Iffd9c9cc4bf3352eea1c8b1a030202ac76ee1179 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29530 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2023-12-11Add initial templates for ec2-arm64 and ec2-x86-64 MACHINESJan-Simon Moeller1-0/+1
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-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-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-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-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-09-27Add templates for Sifive unmatched boardJan-Simon Moeller1-0/+2
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-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-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-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-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-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-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-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-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 Murray32-187/+273
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 Moeller5-0/+30
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-05-30Ensure all layers do pass yocto-check-layer and run-yocto-check-layer.sh scriptsJan-Simon Moeller2-56/+8
Ensure the layers do pass again and that the scripts are up-to-date. Bug-AGL: SPEC-4680 Bug-AGL: SPEC-4681 Bug-AGL: SPEC-4682 Bug-AGL: SPEC-4683 Bug-AGL: SPEC-4684 Change-Id: I5ab1bc49dc361a7fc30a62c5c82d286e66bad72e Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28875 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2023-05-30recipes-graphics/wayland/weston_10.0_aglcore.inc: Backport libweston11 ↵Marius Vlad2-1/+70
buffer release patch This is a backport from libweston 11 to would perform a synchronous commit that disables the output. Further more this removes our global state hammer regarding the such that we don't disable a CRTC that has a pending flip. Bug-AGL: SPEC-4772 Change-Id: I2631c818fd3a3192e293436fc4898f4a3de8b85d Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28906 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-08recipes-graphics/wayland/agl-shell-activator_git: Bump SRCREVMarius Vlad1-1/+1
To include the lastest agl-compositor changes, related to set_app_output request. Bug-AGL: SPEC-4673 Change-Id: I4c057182d5d39904a2b1b3a464fa29c927776cab Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28809 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-08recipes-graphics/wayland/agl-compositor_git: Bump agl-compositor SRCREVMarius Vlad1-1/+1
This update includes further gRPC API support, adding the ability to now move windows dynamically between different outputs. Further more this includes also the ability to susbcribe to the drm-backend debug scope (which is being created by the drm-backend module) and to also list other possible debug scopes the AGL compositor can subscribe. In more detail the following changes have been added since the previous update: - 01171e9abf8a13 compositor: Let the user know about the debug scopes available - cea026b06a9073 compositor: Add support for subscribing to libweston scopes - 0fef26d32431e7 shell: Add the ability to dynamically move application window - 998097db427c6a layout: Fix no-op check due to invalid checks - d5d2af73456fba desktop: Look for app_ids after the initial commit - b80044887e9750 src: Send out the output name for the remote role - 456f3fed4ff45b layout: Split remote from desktop role - 4a1684308bd6a1 grpc-proxy: Added set_app_output request Change-Id: I99f96aa983495b1eee2034de39526893085c7c0f Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28806 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-05-08waltham: Drop waltham supportMarius Vlad11-334/+1
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>