summaryrefslogtreecommitdiffstats
path: root/meta-agl-core
AgeCommit message (Collapse)AuthorFilesLines
2024-04-26Fixup ptest-runner patch for YP masterJan-Simon Moeller1-14/+18
Adapt the patch to more recent ptest-runner Change-Id: Ia51268ff25164d2ce92cf97435a9ddf4a89e0b2b Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2024-04-26meta-agl-core: updates for Weston 12.0Jan-Simon Moeller4-259/+2
Rename local bbappend and remove backported and unused patches. Bug-AGL: SPEC-4850 Change-Id: Ibc61b7905611eb2a124c7339e8a4d0b3981d276c Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> [patches updated] Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2024-04-26bblayers.conf: drop Rust Mixin layerDenys Dmytriyenko1-1/+0
Rust Mixin layer was added to Kirkstone-based branches to backport newer Rust version, which is not needed for Mickledore-based branch that already has newer Rust version. Bug-AGL: SPEC-4578 Change-Id: Ic8881adc92eb0e272b2afded3acb65ac2a037761 Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
2024-04-24Handle image-prelink removalScott Murray3-12/+2
Upstream oe-core has removed image-prelink.bbclass, which had already been disabled locally in the poky-agl distro configuration. Remove the dangling references to match upstream, and avoid errors in some configurations. Bug-AGL: SPEC-4578 Change-Id: I0a8114dacf29d76170676ccc37252eef80d77408 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2024-04-24linux-agl: enable CONFIG_KALLSYMS_ALLScott Murray2-0/+2
Fixes build errors in lttng-tools. Bug-AGL: SPEC-4578 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I52482329d18e7be8b74bfa8ef2d9d1d2f0e239f2
2024-04-24Handle upstream TEMPLATECONF changeScott Murray3-0/+449
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-04-24weston: handle upgrade to 11.0Scott Murray4-250/+2
Changes: - Renamed local bbappend for weston to handle upstream upgrade to 11.0.0. - The local PACKAGECONFIG definitions have been removed as they are now present upstream. - Removed backported patch. Bug-AGL: SPEC-4578 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I3dc3c7042bf2ce8058df30ccd691232bf1d2a442
2024-04-24Add Yocto Project scarthgap release compatibilityScott Murray1-1/+1
Switch to scarthgap in LAYERSERIES_COMPAT in layer.conf files. Bug-AGL: SPEC-4578 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I2c690c02a55bb0ddca9231bdf405a5f21486db3f
2024-04-16native-shell-client: update SRCREVScott Murray1-1/+1
Update SRCREV to pick up: 099e06f Update agl-shell protocol version 2c4b60f Add gitlab issue/merge request templates Bug-AGL: SPEC-5110 Change-Id: I1725475b08e4bbfd536356c3e39ea64184a3baf8 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29837 ci-image-boot-test: Jenkins Job builder account Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account
2024-03-08agl-shell-activator_git.bb: Bump SRCREVMarius Vlad1-1/+1
To keep in-sync with the agl compositor. Includes the split window functionality. Change-Id: I9df5c05bba08be580829810b93820f15ce84b999 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29711 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>
2024-03-08meta-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>
2024-03-07qtbase: 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>
2024-03-07agl-compositor_git.bb: Bump SRCREV for agl compositorMarius Vlad1-2/+2
This SRCREV bump includes the split window functionality with gRPC as well as the ability to load the RDP backend. In more detail the following have been added since the previous bump: - d5ecd12729734b788 meson.build: Do another version bump - 45b9e2fc90aec09d1 compositor: Avoid compiler warning and build failure - e9ee3fd914b73019c meson.build: Bump version to 0.22.3 - 54631603ff050cb01 compositor: Add support for loading width/height/transform - a2a302d8aadc1afda main-grpc: Fix iterator going invalid at destruction time - e7ccf51adc37748d3 compositor: Add the ability to load rdp-backend.so - 754636273ffc6b872 layout/shell: Keep track of previous role - 16d8d1af63ea1bbda layout: Added sticky implementation for split windows - 3d6199ee18b4807a8 shell/layout: Add implementation for the width param - 70a2d75e8e35d94bf src: Don't attempt to split background role window - 000b725db81ae79ff grpc-proxy/shell: Add sticky parameter when setting up split window - b87f46acc5b0b252e grpc-proxy/shell: Add width for split window - 083ee3d2b88f49612 layout/shell: Reset split type of windows - 1cbb6bdec4d1c0440 shell: Reset active view to allow further activation - 594b5d1c6e1bc7eb8 layout: Specify the reason for not activating windows - 3f2cdeae25429b846 grpc-proxy: Extend AglShellSetSplit from gRPC proxy - 09fa5536e759792c8 layout/shell: Add basic support for split window - 8a7f3fbbf0fd94bb1 Add gitlab issue/merge request templates Change-Id: I61a3f9b553ed1416849dc5a1dccdcf1be7de6ee3 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29710 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2024-02-16Start development cycle for Royal Ricefishricefish_17.90.0ricefish/17.90.017.90.0Jan-Simon Moeller1-2/+2
This is the start of the development cycle for 'Royal Ricefish'. Bug-AGL: SPEC-5075 Change-Id: I2c97edc2a9215b8c273822a4083e1423f5135e3e Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29681 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>