summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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>
2023-03-19conf/layer.conf: explicitly depend on networking-layerDenys Dmytriyenko1-1/+1
As meta-agl-demo now explicitly depends on meta-flutter layer, it appears it uses networkmanager package in some of its plugins w/o marking the correct dependency in its own layer.conf. Also, cannelloni is no longer a standalone recipe, but a bbappend against the upstream recipe in meta-networking layer of meta-openembedded repository. To resolve both of the above issues and make yocto-check-layer happy, let's add an explicit dependency on networking-layer. Bug-AGL: SPEC-4685 Change-Id: Ib6781f63bd1f76ccbf2fcd649473bf59407bb7ef Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
2023-03-15agl-ivi-demo-platform-crosssdk: Add grpc-dev for crossdkMarius Vlad1-1/+2
This enables the SDK to build off applications, or services that make use of gRPC. Bug-AGL: SPEC-4721 Change-Id: I8f770580efd09dc1a50de839a8cc5126887303c3 Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
2023-03-01kuksa-val: Add patch to fix intermittent build failuresScott Murray2-1/+35
Add a patch to KUKSA.val to add a missing dependency in its CMake files to hopefully fix a build race that is seen on the AGL CI builders. Bug-AGL: SPEC-4717 Change-Id: I74f71236729e60ad0601fb1244b50279b2fc43e7 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-02-28conf/layer.conf: explicitly depend on meta-flutter layerDenys Dmytriyenko1-2/+1
As meta-agl-demo contains multiple recipes for flutter apps that inherit flutter-app.bbclass, as well as packagegroups and images, that do not check for "agl-flutter" condition in AGL_FEATURES. Hence mark the layer as explicitly depending on meta-flutter. Bug-AGL: SPEC-4716 Change-Id: I4d64ae47ab437d7f191ba5689b569fab8c7d3724 Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
2023-02-28README: add generic maintenance section copied from meta-agl-coreDenys Dmytriyenko1-0/+10
Yocto Project compatibility requires README to specify who is the layer maintainer and how to contribute to the layer. Otherwise yocto-check-layer fails: INFO: test_readme (common.CommonCheckLayer) INFO: ... FAIL AssertionError: 'maintainer' not found in 'README' AssertionError: 'patch' not found in 'README' Bug-AGL: SPEC-4685 Change-Id: I0ca1feba1b2d56e1780c6e05c92a2b27792f6cb0 Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
2023-02-28cannelloni: convert to bbappend and make it conditionalDenys Dmytriyenko4-39/+3
cannelloni_git.bb was added to meta-agl-demo in 2020. And meta-networking later added cannelloni_1.0.0.bb in 2021. Comparing the 2, it seems they are mostly identical, but point to different SRCREVs, resulting in the following error from yocto-check-layer: INFO: test_signatures (common.CommonCheckLayer) INFO: ... FAIL AssertionError: Adding layer meta-agl-demo changed signatures, basehash changed Convert the recipe to bbappend and adjust SRCREV and PV conditionaly based on "agldemo" AGL_FEATURES flag. Bug-AGL: SPEC-4685 Change-Id: Ic7e53c9093d0936599f6205ef95a3a824c721bcc Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
2023-02-28packagegroup-qt5-toolchain-target: make bbappend changes conditionalDenys Dmytriyenko2-18/+19
Make bbappend changing RDEPENDS variables conditional on "agldemo" AGL_FEATURES flag. This resolved yocto-check-layer errors: INFO: test_signatures (common.CommonCheckLayer) INFO: ... FAIL AssertionError: Adding layer meta-agl-demo changed signatures, basehash changed Bug-AGL: SPEC-4685 Change-Id: If4953d684455b6f2ab5edbb3a33b5cf7775d1587 Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
2023-02-28python3-cantools: make bbappend changes conditionalDenys Dmytriyenko2-3/+4
Make bbappend changing RDEPENDS variable conditional on "agldemo" AGL_FEATURES flag. This resolved yocto-check-layer errors: INFO: test_signatures (common.CommonCheckLayer) INFO: ... FAIL AssertionError: Adding layer meta-agl-demo changed signatures, basehash changed Bug-AGL: SPEC-4685 Change-Id: I617a09bfaccdd0e69e064bec4ea749e08f2e1d74 Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
2023-02-19mpd: Backport PipeWire output fixesScott Murray5-1/+140
Backport four PipeWire output plugin fixes related to handling very short audio files. They fix MPD hanging in the Drain call of the plugin when playing very short files like truncated ones attached to SPEC-4661. These patches can be removed when MPD is upgraded to 0.23.8 or newer. Bug-AGL: SPEC-4661 Change-Id: I42b5dd4c08863c7209a75f6ede777402a11cfc87 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-02-16[weston-ini-conf] Fix dependency issue with grpc in meta-agl-coreJan-Simon Moeller2-0/+7
grpc is not in the core layer but in meta-oe . Guard the dependency and only enable when prerequisites are met. This also affects weston-ini-conf. We move this into meta-agl-demo. Bug-AGL: SPEC-4707 Change-Id: Id7c1d88e94fa03b7933678789aef7ed4e5751148 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-02-16Fix dependency issue with grpc in meta-agl-coreJan-Simon Moeller2-0/+3
grpc is not in the core layer but in meta-oe . Guard the dependency and only enable when prerequisites are met like in here. Bug-AGL: SPEC-4707 Change-Id: I9b28588562487681b227032967855f96dc0c9193 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-02-13Add example IC EG container demo imageScott Murray9-0/+92
Changes: - Add a meta-agl-ic-container dynamic layer hierarchy to hold metadata dependent on the agl-ic-container feature. - Add configuration to allow building the agl-demo-platform image as a guest container with agl-ic-container. - Add a agl-lxc-demo-platform image that uses agl-demo-platform as the IVI guest container. NOTE: While this image boots, further integration of IC EG work is required to actually successfully boot the agl-demo-platform guest. Bug-AGL: SPEC-4703 Change-Id: I60a46b6ae3c950c4aa25554639d7828462745bfa Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-02-13agl-demo: Use new AGL_META_QT5 hookScott Murray1-6/+1
Update agl-demo template to use new AGL_META_QT5 variable instead of explicitly adding meta-qt5 to BBLAYERS. This should avoid duplicate layer issues when combining with agl-ic-container. Bug-AGL: SPEC-4703 Change-Id: I813ff1e0c43372d3fc5bdc54973ee34e57f48fba Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-02-13packagegroup-agl-demo: remove sllin driverScott Murray1-4/+0
Remove the sllin driver from the default demo packagegroup as we no longer use it, and it fails to compile against linux-dummy when building for IC EG guest containers. A separate follow up change will finally remove the sllin driver and lin-config recipes. Bug-AGL: SPEC-4703 Change-Id: I77b4508975993e32f3dd245b1c133aa703e0b349 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-02-13qtlocation: remove bbappendScott Murray3-62/+0
The qtlocation bbappend has been moved to meta-agl-core to avoid collisions when combining with meta-agl-ic-container. Bug-AGL: SPEC-4703 Change-Id: I3999ed49707de909e424ab7ecc93bda605d7e5ef Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-01-29Update radio support in demo applicationoctopus_14.94.0octopus/14.94.014.94.0Scott Murray2-2/+2
Update libqtappfw SRCREV to pick up: 9a7e2c5 Rework radio support for new gRPC API 888eca5 vehicle-signals: Increase double value precision and radio SRCREV to pick up: aef392d Update radio wrapper name Bug-AGL: SPEC-4665, SPEC-4662 Change-Id: I8478ec61d35b9ef0d45a6dff2bc9e7a3e7f8fe1b Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-01-29Restore agl-service-radio recipeScott Murray2-0/+31
Add an update recipe for agl-service-radio to build the reworked gRPC service daemon, and add it back as a dependency in packagegroup-agl-ivi-services so it will be installed into the demo IVI images. Bug-AGL: SPEC-4665 Change-Id: I9239a1e1476687e4c41367dbdfc6051c56b88c48 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-01-29agl-kvm-demo-platform: update guestsScott Murray2-4/+5
Switch default guest images to Flutter based demo platform images. As well, the simple-can-simulator is added to the host to allow testing or demos. Bug-AGL: SPEC-4618 Change-Id: I2c57ca0ade168c2c3dfae8718e891f9af40e4d88 Signed-off-by: Scott Murray <scott.murray@konsulko.com> (cherry picked from commit 8b0fed47d196a938b44784d1fc8eaa25c36f84ca)
2023-01-29Run agl-compositor in system scope for QEMU+KVM demo imageScott Murray9-15/+38
To allow usefully depending on the native-shell-client "homescreen" application from the systemd units running QEMU, tweak things to drop the use of agl-session from the agl-kvm-demo-platform host image. The motivation for this is to have the VM guest start up ordering work as expected, avoiding unnecessary delays from race failures on boot. Changes: - Rework agl-kvm template to use conf/include/agl-kvm.inc include file to match other featurs and simplify development. - Add include files for the host ("default" in BitBake) and guest (so agl-kvm-guest) multiconfigs to allow disabling the agl-demo feature in the host build, which disables agl-session. - Update native-shell-client systemd unit to run at system scope and depend upon agl-compositor directly. - Update agl-qemu-runner systemd template unit to depend directly on native-shell-client. Note that a consequence of these changes is that building images other than agl-kvm-demo-platform when the "agl-kvm" feature is used will likely not yield the desired results. Future work will investigate avoiding this problem, or forcing explicit compatibility errors to avoid user confusion. Bug-AGL: SPEC-4618 Change-Id: I295caf2969c5f4179c93f1b57afa703f1a866457 Signed-off-by: Scott Murray <scott.murray@konsulko.com> (cherry picked from commit 94ee287730b16820003aece648e790923a9a5b79)
2023-01-29Make cluster dashboard KUKSA.val server configurableScott Murray2-0/+6
Add CLUSTER_DEMO_VISS_HOSTNAME variables to the cluster-dashboard and flutter-cluster-dashboard recipes and tweak the installed configuration files to use the address it specifies. This provides a hook for tweaking the configuration for e.g. running in the guest VMs in the QEMU+KVM demo. This may need to be tweaked down the road to use something like multiple packages + the alternatives mechanism instead. Bug-AGL: SPEC-4618 Change-Id: I3798987566d681eac59e8c4b9c1f2423d950b2ba Signed-off-by: Scott Murray <scott.murray@konsulko.com> (cherry picked from commit 5109016c566a4a46e4a85f2c7b9dfcd6b8540233)
2023-01-29Update guest input and CAN configuration for QEMU+KVM demoScott Murray3-2/+13
Changes: - Tweak agl-qemu-runner to make CAN options configurable. - Update the IVI guest image agl-qemu-runner configurations to enable an emulated PCI CAN device mapped to the host can0. - Update the IVI guest image agl-qemu-runner configurations to change the input device to a USB passthrough corresponding to the bottom USB 2.0 connector of the 2x stack on the reference hardware, so that a USB touchscreen can be used for demos. Bug-AGL: SPEC-4618 Change-Id: I6b690377f5fe0a481e283d7370cbb165478ee8eb Signed-off-by: Scott Murray <scott.murray@konsulko.com> (cherry picked from commit 0eb0e7ad872bc03cbc8af5c95bfe0219ebf06bfd)