From 6dc0e32fbda2c122a2b59630d774dc4ef1a49619 Mon Sep 17 00:00:00 2001 From: Scott Murray Date: Tue, 21 Nov 2023 18:32:35 -0500 Subject: KVM demo updates Changes: - Fix native-shell-client systemd unit to work with the changes made for SPEC-4714 (separate agl-compositor systemd unit, running as agl-driver). - Update agl-qemu-runner.sh for the SPEC-4714 changes. - Tweak cluster guest configuration to use just 2 cores and 1 GB of memory to free up resources for the host. - Add inverted psplash configuration that is pulled in for the KVM demo image when building with agl-demo-preload. This matches the inverted screen in the demo hardware. Bug-AGL: SPEC-4974 Change-Id: Ie57a3550c8c8b12fd64ee14a9f1fbf4a4c40da32 Signed-off-by: Scott Murray Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/29460 ci-image-boot-test: Jenkins Job builder account ci-image-build: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller Tested-by: Jenkins Job builder account --- recipes-core/psplash/files/psplash-inverted.conf | 2 ++ recipes-core/psplash/psplash-inverted-config.bb | 20 ++++++++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 recipes-core/psplash/files/psplash-inverted.conf create mode 100644 recipes-core/psplash/psplash-inverted-config.bb (limited to 'recipes-core/psplash') diff --git a/recipes-core/psplash/files/psplash-inverted.conf b/recipes-core/psplash/files/psplash-inverted.conf new file mode 100644 index 00000000..440db891 --- /dev/null +++ b/recipes-core/psplash/files/psplash-inverted.conf @@ -0,0 +1,2 @@ +[Service] +Environment=PSPLASH_ANGLE_ARGS='--angle 180' diff --git a/recipes-core/psplash/psplash-inverted-config.bb b/recipes-core/psplash/psplash-inverted-config.bb new file mode 100644 index 00000000..f11b255d --- /dev/null +++ b/recipes-core/psplash/psplash-inverted-config.bb @@ -0,0 +1,20 @@ +SUMMARY = "Systemd unit override for psplash inverted mode for the AGL Demonstrator" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" + +inherit systemd allarch + +SRC_URI = "file://psplash-inverted.conf" + +do_configure[noexec] = "1" +do_compile[noexec] = "1" + +do_install() { + # Install override + install -d ${D}${systemd_system_unitdir}/psplash-start.service.d + install -m 0644 ${WORKDIR}/psplash-inverted.conf ${D}${systemd_system_unitdir}/psplash-start.service.d/ +} + +FILES:${PN} += "${systemd_system_unitdir}" + +RDEPENDS:${PN} += "psplash" -- cgit 1.2.3-korg