summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2023-06-07Remove systemd user session and clean up packagegroups and imagespike_15.91.0pike/15.91.015.91.0Scott Murray69-531/+224
Remove the use of 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: - Rework systemd units and recipes of affected applications. - Rework images to pull in image .bb files instead of .inc files. - Pull in the new agl-image-compositor as a base image where appropriate. - Update weston-terminal-conf recipe to use new split out weston-terminal package. - Use new agl-crosssdk bbclass where appropriate. - Pull some local common cross-SDK additions into a new agl-ivi-crosssdk.inc include file and use as appropriate. Note that this does have a side effect of likely correcting the contents of agl-image-ivi-crosssdk for some recent additions. - Remove flutter-gallery bbappend that turned it into an app, as we are not using it in images, have other examples now, and it seems better to not affect the contents of agl-image-flutter. - Remove unused agl-image-graphical-html5. If a downstream user does desire an image with Chromium+WAM without applications, restoring it can be considered. - Remove unused agl-image-graphical-qt5-crosssdk. - Remove all packagegroup-agl-profile-* packagegroups, as they were either empty or not providing value at this point. Any future plans for defining profiles can start from a clean sheet. - Added new packagegroup-agl-ivi-multimedia-hardware to hold some rcar3 specific additions (via override) that were previously being appended onto packagegroup-agl-graphical-multimedia even though they are machine-specific and that packagegroup is not. This may be a stopgap solution if the agl-ivi-* packagegroups are reworked further. - Replace some :append usage with += to avoid creating problems for downstream users. Bug-AGL: SPEC-4714, SPEC-4813 Change-Id: I544b1495bed1e2e2412a8e46b7d20d7622ec28c9 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-06-02Do not hard-code Flutter version and runtime typeScott Murray6-24/+27
Rework the flutter-homescreen and flutter-cluster-dashboard systemd units to get the Flutter version and runtime type from the environment file installed by the new agl-flutter-env recipe, and update their JSON configuration files to remove the hardcoding of their bundle paths. Bug-AGL: SPEC-4819 Change-Id: I841db2cbb3acfe4aad173e9b8aa25ff2e201c2e2 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-06-01Flutter bbclass refactorJoel Winarske10-79/+12
-Removes use of flutter bbclass runtime modes Installed modes are determined by flutter-engine package config flags. Default modes are debug, profile, and release. -Single json file based on runtime=release. If additional parameters are needed this happens as part of workspace automation. Scott Murray: - update packagegroup-agl-demo-platform-flutter Bug-AGL: SPEC-4819 Change-Id: I58fc1b30ea3367ec5f47f52b60951cf0be31dcbc Signed-off-by: Joel Winarske <joel.winarske@gmail.com> Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-05-31launcher: bump SRCREV for D-Bus removalDenys Dmytriyenko1-1/+1
Update to the latest version of launcher that has D-Bus references removed. Bug-AGL: SPEC-4801 Change-Id: Ic3f8e2b705f028390102f1b89dd7cafe38ca25d0 Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
2023-05-31Add KUKSA.val databrokerScott Murray10-1/+669
Add a recipe for the KUKSA.val databroker, a Rust implementation of a VSS server with gRPC APIs, and add it to the images that currently have the C++ kuksa-val server to ease further integration development. Since the databroker listens for gRPC API requests on a different port than the C++ server, there is no conflict during this period. Users wanting to drive CAN data into the databroker for testing will have to manually update the kuksa-dbc-feeder configuration during this interim period. Changes: - Bump common KUKSA.val SRCREV to pick up some improvements. - Add kuksa-databroker recipe to build the databroker. - Add kuksa-databroker-agl recipe to install AGL-specific configuration for the databroker, similar to what has previously been done with kuksa-val-agl for the C++ server. - Add missing branch node declarations in the AGL VSS overlay, as the databroker VSS parser is stricter and treats their absence as an error. - Add the kuksa-databroker, kuksa-databroker-agl, and the kuksa-databroker-cli packages to the appropriate packagegroups and images. Some follow up work will factor out a packagegroup for the KUKSA.val packages to make future changes easier. Bug-AGL: SPEC-4762 Change-Id: Ie7837b7e42a2283914adc913b75639fcb83029a6 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-05-31agl-cluster-demo-platform-flutter: always install receiver configurationScott Murray1-1/+1
Always install cluster-demo-config-flutter instead of tying it to the agl-demo-preload feature, so that the receiver gets the desired display geometry all the time. Bug-AGL: SPEC-4815 Change-Id: I9bcdaced479781a018c0d7155aef6a06ac26b9dd Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-05-31kuksa-val: fix vss-agl dependency for cluster imagesScott Murray2-2/+1
Make vss-agl a runtime dependency of the kuksa-val-agl package as the configuration in that package is what actually requires it, and remove the previous addition to packagegroup-agl-ivi-services as it will no longer be necessary. This fixes the desired KUKSA.val configuration for e.g. the Flutter cluster image. Bug-AGL: SPEC-4761 Change-Id: I9ec93acf8e7a542acdb3e50a9cbace50e4928344 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-05-31Ensure all layers do pass yocto-check-layer and run-yocto-check-layer.sh scriptsJan-Simon Moeller5-73/+41
Ensure the layers do pass again and that the scripts are up-to-date. Bug-AGL: SPEC-4680 Bug-AGL: SPEC-4685 Change-Id: I65cc70f657c9c56e396764699930cfa74d893364 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-05-30window-management-client-grpc_git.bb: Don't inherit agl-appMarius Vlad1-1/+1
Turns out using the agl-app would make this testing client show up in our launcher which we don't really want as that might confuse users. Change-Id: I5631e56a5e3045583233ce579900cb3ab7bccbb7 Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
2023-05-29Improvement to psplash recipe using service overrideNaoto Yamaguchi8-35/+16
Last psplash patch has some HACK implementation for drl lease support. It cause complex change to psplash service file. This patch fix this issue reusing sandbox/ishii.hiroyuki/psplash-drm, that is worked by ishii hiroyuki. Bug-AGL: SPEC-4804 Change-Id: I4ae514293fbf1bc5a6cde4bcf96ff59ea8ba9b08 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2023-05-29A fstab replacement method change to build container guestNaoto Yamaguchi8-4/+48
In https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/28690 review, I got a request for method change request. Existing method use bbappend for base files. New method use ROOTFS_POSTPROCESS_COMMAND. Bug-AGL: SPEC-4803 Change-Id: Ie058ef55f7dfeae5d651b46d5ff731d1a2bebc19 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2023-05-17Update applications for VSS 3.1.1Scott Murray4-4/+4
Update SRCREVs in flutter-cluster-dashboard, libqtappfw, ondemandnavi, and tbtnavi recipes to pick up vehicle signal changes for VSS 3.1.1. This is required for working with KUKSA.val 0.3.1 and the upcoming switch to the databroker. Bug-AGL: SPEC-4761 Change-Id: Ic13cf7ef702bb88bfa5ca2fef496b06e135133ba Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-05-16kuksa-val: Update to 0.3.1Scott Murray17-555/+334
Changes: - Update kuksa-val to a commit that includes the 0.3.1 release and some other fixes past that. Our local patches have been updated. - Rework and rename the kuksa-viss-client recipe for the upstream switch to kuksa-client as the name. Our local patches have been updated. - Update kuksa-dbc-feeder to a commit that supports the kuksa-client library changes that come with 0.3.1. Our local patches have been updated, and a new local patch has been added to fix the token file configuration option behavior, this will be worked with upstream. Upstream changed the configuration file format, so our local one has also been updated to match. - Update the parsing of the DBC feeder configuration file in the can-dev-helper.sh script to work with the new format. - Update kuksa-val-agl recipe to not install AGL signals overlay for VSS, as that has been replaced with the use of the vss-agl package. - Add installation of vss-agl to packagegroup-agl-ivi-services so the AGL specific signals and DBC configuration will be available. Bug-AGL: SPEC-4761 Change-Id: I5933017a30f040a746f0a6a6eb2a3b68d1fc4bc1 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-05-16Add vss and vss-agl recipesScott Murray4-0/+371
Add recipes that use the VSS tools to generate the stock VSS 3.1.1 JSON as well as a version with the extra AGL signals and DBC configuration for the KUKSA.val CAN feeder. The latter has the additional benefit of serving as a working example of using VSS vspec overlays at build time. Bug-AGL: SPEC-4761 Change-Id: I6358a8f0a8b64a857dc22cfbd91190ae05546cc0 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-05-15Add vss-tools and required dependenciesScott Murray4-0/+68
Add a vss-tools recipe to build the VSS specification tools, and recipes for the python3-anytree, python3-deprecation, and python3-graphql-core modules it requires. The latter will be submitted for meta-python. Bug-AGL: SPEC-4761 Change-Id: Iffe665c0c6f168f3c37b35ce0346cad210d880c5 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-05-09libqtappfw: update SRCREVScott Murray1-2/+2
Update libqtappfw SRCREV to pick up: d2b9c43 Bump version number 2cbbf91 mediaplayer: Improve MPD failure handling and bump PV to 2.0.1 to match. Bug-AGL: SPEC-4661 Change-Id: I6fd4070b7bd20bf631b7c6deb92e2955086b09e5 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-05-09mpd: Fix patch fuzz warningScott Murray2-43/+1
The one remaining patch after the kirkstone 4.0.9 upgrade is actually also no longer required, but git was somehow managing to apply it with fuzz. From code inspection the result was some duplicated lines of code that would still work. Remove the patch to clean up the fuzz warning and get us back to using a clean upstream. Bug-AGL: SPEC-4768 Change-Id: Icb8b8b2fdd847c4fb81a1a7181589b5c8ccaebc0 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-05-09Enable ext4 image and disable wic in case of agl-container-guest-demoNaoto Yamaguchi1-0/+2
In case of AGL IC container integration, this method use ext4 file system image to create guest rootfs. It's reusing wic tools. In this case, the root filesystem for container guest must be create ext4 image. On the other hand, the wic image build cause long build time. It does not need in guest image build. This patch fource enable ext4 image and fource remove wic at rootfs image build time. It's aim to avoid hand operation by each developer and reduce build time in guest image build. Bug-AGL: SPEC-4766 Change-Id: I8ede8aecb489567a375f2842ed0942ebfa8cacd3 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2023-05-09Disable rngd in container guestNaoto Yamaguchi1-0/+1
The rngd initialize to kernel's random number entropy pool. Current integration run rngd in host and all guest. This patch disable rngd in guest to avoid unnecessary initializition. Afther this patch, rngd run in host only. Bug-AGL: SPEC-4766 Change-Id: Ic104870d4ee0e350c552c0b6a113e14bca1f8cbe Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2023-05-09Override group setting for agl-driverNaoto Yamaguchi1-0/+14
In container integration case, a common group between host and guest shall use static groups. AGL Demo IVI run agl-compositor using agl-driver user and group. The agl-driver doesn't have input group. This patch add agl-driver to input group. Bug-AGL: SPEC-4766 Change-Id: Ibe5cec7127f967890ddded4e45e2097d920fbfdd Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2023-05-09Enable psplash in guest container using drm-leaseNaoto Yamaguchi5-0/+32
The upstream version of psplash is supporting fb based splash screen. On the other hand, drm lease infrastructure is not support fb. This patch enable drm-lease support at psplash. This work contributed by Hiroyuki Ishii at CES2023 demo development. Bug-AGL: SPEC-4766 Change-Id: I2c58b0db489b1573ef3b7f7396203550c1fb89d6 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2023-05-09Overwrite agl-compositor-init setting to become adopt guest containerNaoto Yamaguchi4-0/+22
When existing agl demo integrate to container guest, need to overwrite agl-compositor-init setting. - Remove real tty device dependency. - Adjust drm lease setting from default. This patch realize this overwrite method in case of container guest. Bug-AGL: SPEC-4766 Change-Id: I3e7030f48fdd720c09898303a0e430654386f71c Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2023-05-09Overwrite fstab to become adapted guest container environmentNaoto Yamaguchi3-0/+6
When existing agl demo integrate to container guest, need to disable many mount operations. Existing agl demo image use loose setting by fstab. This patch remove unnecessary mount operations from fstab in case of container guest. Bug-AGL: SPEC-4766 Change-Id: I9f94e36606eeccf681417ced052a974e88f1be77 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2023-05-09Remove tty dependency from agl-session in guest containerNaoto Yamaguchi3-0/+26
When existing agl demo integrate to container guest, need to remove real tty device dependency. This patch remove tty device dependency from agl-session in case of container guest. Bug-AGL: SPEC-4766 Change-Id: I5fc88d19554b659271a74858fb588a9aaa9b13f6 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2023-05-09Create new agl feature to use container guest integrationNaoto Yamaguchi4-0/+21
When existing agl demo integrate to container guest, it require to some small patches. This patch add new agl feature "agl-container-guest-demo" to enable container guest integration. Those patch will enable/disable using this agl feature. Bug-AGL: SPEC-4766 Change-Id: I001f20385aaf7e53b0b1e79db25b83fcf46e9876 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2023-05-09window-management-client-grpc/window-management: Bump SRCREVMarius Vlad1-1/+1
Update window-management-client-grpc to include support for setting application on different outputs. Change-Id: Ibf21121c40758648a45ff5c82ed73828bfaaf7e3 Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
2023-05-09recipes-demo/homescreen/homescreen_git: Bump homescreen SRCREVMarius Vlad1-1/+1
In order to catch up the compositor changes, specifically, to get support for placing window's application on different outputs. In more detail the following changes have been added: - c9ae3bc5a1 homescreenhandler: Handle dynamic movement of windows - 74b01c7210 homescreenhandler: Add support for starting apps on different outputs Bug-AGL: SPEC-4529, SPEC-4673 Change-Id: I09e488ce42bdb3550a03e80c1666075c97634585 Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
2023-05-08recipes-graphics/wayland/weston-ini-conf: Remove grcp-server.cfgMarius Vlad2-7/+0
And add it meta-agl/mega-agl-core, like all our other ini configuration. Reason being we group all our ini config files there, and this is harmless, it won't depend on anything. We already build grpc-proxy PACKAGECONFIG for agl-demo, starting with octopus. This is basically a revert of 1b347d8823, '[weston-ini-conf] Fix dependency issue with grpc in meta-agl-core' Bug-AGL: SPEC-4776 Change-Id: I2502a3828d7c3a71707fac7cc535df6c312eabc5 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Suggested-by: Scott Murray <scott.murray@konsulko.com>
2023-05-08recipes-platform/images/agl-ivi-demo-platform-crosssdk: Remove waltham-devMarius Vlad1-2/+0
We'd need this as meta-agl has dropped Waltham support. Bug-AGL: SPEC-4669 Change-Id: I09762ca5b60295b19c71d91ffa1375af7d9f6513 Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
2023-05-05Add templates for gitlab issues and merge requestsJan-Simon Möller2-0/+4
Notify users to use jira.automotivelinux.org and gerrit.automotivelinux.org in the default messages. Bug-AGL: SPEC-4774 Change-Id: I224e8a09895994405aa587a8ce2c519a91b38edf Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2023-04-28qtwayland: disable local patch that breaks version 5.15.7Denys Dmytriyenko1-2/+3
Latest meta-qt5 brings qtwayland version 5.15.7 and this causes our local patch for client/qwaylandintegration to break the build, as the method it uses no longer exists, it appears: | .../tmp/work/aarch64-agl-linux/qtwayland/5.15.7+gitAUTOINC+533fff12f7-r0/git/src/client/qwaylandintegration.cpp: In member function 'void QtWaylandClient::QWaylandIntegration::reconfigureInputContext()': | .../tmp/work/aarch64-agl-linux/qtwayland/5.15.7+gitAUTOINC+533fff12f7-r0/git/src/client/qwaylandintegration.cpp:482:19: error: 'class QtWaylandClient::QWaylandDisplay' has no member named 'mUsingInputContextFromCompositor' | 482 | if (mDisplay->mUsingInputContextFromCompositor) | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Disable local patch for now with the plan to re-evaluate it per SPEC-4770 Bug-AGL: SPEC-4768 Change-Id: I27894536d49392589c58a3c46e4b1e015c7324fb Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
2023-04-28mpd: remove patches that were upstreamedDenys Dmytriyenko4-103/+0
Latest meta-openembedded/meta-multimedia updates mpd to newer version which has these 3 patches already included, remove them locally. Bug-AGL: SPEC-4768 Change-Id: Ifbb07c01f8f5cbc75935b005da473bdce3139ff0 Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
2023-04-27kuksa-certificates-agl: Update certificatesScott Murray4-94/+94
Update the server and client certificates with ones with a 2 year validity period, per the discussion on last week's developer call. Bug-AGL: SPEC-4763 Change-Id: Ib326631243cd267cc6542fdfc769cc5a3d6b67fe Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-04-27kuksa-val: Rework to support updated SSL certificatesScott Murray17-155/+350
Changes: - Tweak the kuksa-val recipe to remove installing a newer server certificate (since it will be done elsewhere), and to split the certificates up into finer grained packages to ease installing them piecemeal and replacing them with other packages. - Remove the unused genCerts.sh certificate script patch form the kuksa-val recipe, an updated patch will be added in the near future. - Added a patch in the kuksa-viss-client recipe that enables the library to use certificates installed in /etc/kuksa-certificates or /etc/kuksa-val instead of the default ones that are shipped. - Add kuksa-certificates-agl recipe that installs AGL specific CA, server, and client certificates plus the required server and client keys to act as a replacement for the default ones shipped with KUKSA.val. The kuksa-certificates-agl name is used to avoid needing a rename with a future switch to kuksa-databroker. Note that the RPROVIDES variable is used for the various certificate packages to make them installable alternatives to the kuksa-val-certificates-* ones. The certificates installed are valid for 1 year and have AGL as the providing organization, longer validity ones will be added in follow up commits for Octopus and Pike. - Update the existing users of kuksa-val-*-certificates with the new kuksa-val-certificates-* package names. - Add PREFERRED_RPROVIDER definitions for the kuksa-val-certificates-* packages to quiet the BitBake warnings coming from having multiple providers. Bug-AGL: SPEC-4763 Change-Id: Ic6f1ca8b54f637674cd5ae42df0bed6ca4e729aa Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-04-27Add cluster-receiver to Flutter cluster demoScott Murray1-0/+1
Add cluster receiver to Flutter cluster demo image to match the CES demo. This change was missed in the forward port from Needlefish branch after CES. Bug-AGL: SPEC-4769 Change-Id: Id22a5d3e761ac0169942a04fdcac7148f3789d42 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-04-26html-homescreen: bump SRVREVRoger Zanoni1-1/+1
Includes a fix to application listing/starting after the change to gRPC API. Bug-AGL: SPEC-4764 Signed-off-by: Roger Zanoni <rzanoni@igalia.com> Change-Id: I76b9074e12c662bda4b87c2869ceb8a51188c064
2023-04-26html5-launcher: Bump SRCREVRoger Zanoni1-1/+1
Includes a fix to application listing/starting after the change to gRPC API. Bug-AGL: SPEC-4764 Signed-off-by: Roger Zanoni <rzanoni@igalia.com> Change-Id: I6062afa817d6b2435e03a1b1ede756a6cd7554b4
2023-04-26chromium: Bump SRCREVRoger Zanoni1-1/+2
This includes changes for restoring gRPC third_party code and replacing the dbus API for gRPC to communicate with applaunchd. Bug-AGL:⋅SPEC-4764 Signed-off-by:⋅Roger⋅Zanoni⋅<rzanoni@igalia.com> Change-Id: I1a5354a3faa4cec567dd06361dc089de3249128f
2023-04-20Add helper to enable both displays in qemuJan-Simon Moeller3-0/+67
This supports testing the drm-leasemanager in qemu. We can bring up two outputs, but the 2nd output is disabled until it is connected. See https://jira.automotivelinux.org/browse/SPEC-4464 and https://gitlab.com/qemu-project/qemu/-/issues/1107 This adds a helper tool that will bring up the 2nd screen. Bug-AGL: SPEC-4464 Change-Id: I145a1b947916337daa9c8e7aed38e64919b35df8 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-04-20Cleanup of packagegroup-hmi-frameworkJan-Simon Moeller1-8/+0
Remove unused parts. Change-Id: Ibb89fd650d8c395208a15a52e1a1e62bf79fed0f Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-04-18Fix building agl-kvm-demo-platform for h3ulcb-kfScott Murray2-5/+2
Changes: - Add masking the meta-rcar-gen3-adas layer to the KVM guest multiconfig to avoid picking up the dangling bbappends in meta-agl-bsp when building the guests. - Remove the MACHINE_SUFFIX logic from the guest image copying in the agl-kvm-demo-platform recipe; it is a leftover from the original logic used in the IC EG container host images, and is unneeded here since the host and guests will be different MACHINEs (and the guest realistically cannot use the -kf machines). Bug-AGL: SPEC-4760 Change-Id: If3237ca4d9fc86fc9d289a95bda24a4afcc7a991 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-04-13cluster-receiver: Bump SRCREVMarius Vlad1-1/+1
As to include the cluster-receiver protocol update to allowing building agl-cluster-demo-platform. Change-Id: I88403976ec1a40d3b01049343fd4cfdf36876415 Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
2023-04-03agl-service-audiomixer: Update SRCREVJan-Simon Moeller1-1/+1
Update to include the compilation fix. Bug-AGL: SPEC-4732 Change-Id: I283a7a495c5356418f006932bbd1f0e1b3bdc5d4 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-03-31Rework nss-agl-driver-db to be a systemd unit at runtimeJan-Simon Moeller5-15/+55
This avoids the issues seen with access rights changes on /home/agl-driver and will replace https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/28587 Bug-AGL: SPEC-4599 Change-Id: If01ffc9623208edd7a7705739465fa8fca764b74 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-03-29Fix for user and group of /home/agl-driverJan-Simon Moeller2-2/+3
The private nssdb introduced wrong access rights for /home/agl-driver through the package. Fix it till we have it reworked. Bug-AGL: SPEC-4599 Change-Id: I665b51f8473f64785c64c55359b5e0e702050e9a Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-03-23html5 demos: Bump SRCREV for hvac and mixer appsRoger Zanoni2-2/+2
Adapted the demos to use kuksa.val Bug-AGL: SPEC-4599 Signed-off-by: Roger Zanoni <rzanoni@igalia.com> Change-Id: I32a9cca7b6289d468c14ee501574358ecc8d6680
2023-03-23kuksa-val: Add root CA certificate to agl-driver nssdbRoger Zanoni1-2/+7
This change is needed by chromium to fix the ERR_CERT_AUTHORITY_INVALID issued when trying to connect to kuksa.val server using a secure connection. chromium is shipped with a read-only database containing trusted CA certs and also uses a local nss database (stored on the user home directory) that can be managed by the nss command line tools. This change adds the kuksa root CA to agl-driver's nssdb that can be loaded by chromium and used to perform validation. v2 (jsmoeller): Use separate package for pki db in agl-driver home. Bug-AGL: SPEC-4599 Signed-off-by: Roger Zanoni <rzanoni@igalia.com> Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I074d48fedfadaddd9a894b478839e16fa4757b5e
2023-03-23nss: Create a nss database for agl-driver userRoger Zanoni1-0/+21
The change creates an empty db and allows other recipes to add their own certificates when needed. It will be needed by kuksa-val recipe for adding its root CA certificate that will fix CA validation issues that are happening on chromium. v2 (jsmoeller): convert to own recipe to avoid modifying nss itself Bug-AGL: SPEC-4599 Signed-off-by: Roger Zanoni <rzanoni@igalia.com> Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I5a5e4ff24cb640580cff4c609ee6293acae64487
2023-03-21homescreen_git: Bump SRCREV to support 0.0.21 AGL compositor versionMarius Vlad1-1/+1
This SRCREV bump update is required to add support for the 0.0.21 AGL compositor version. With it, we change the default homescreen with multiple surfaces to just using a single background surface and explicitly set an activation area. In more detail the following changes have been added: - 444b2a68a homescreen: Only keep the multiple surfaces approach in CI - 4c7852e6f homescreenhandler: Avoid using a stale wl_output - 7ff53ae1b meson.build: Bump to the latest agl-compositor version - bb4c83e29 homescreen: Add support for defining an activation area Change-Id: I23dfa8c8304b0493f29f38c2afb4a4837980a357 Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
2023-03-20Add window-management-client-grpcMarius Vlad2-0/+29
This adds a recipe for window-management-client-grpc for testing out the gRPC interface. This client will talk with the compositor indirectly, using the gRPC interface exposed by the grpc-proxy helper client. Bug-AGL: SPEC-4673 Change-Id: Ib1a9d14a3bd41ea64180494962f97f0d5b557c09 Signed-off-by: Marius Vlad <marius.vlad@collabora.com>