From abf37f753defbf11f954176cdec3bce26c98efaa Mon Sep 17 00:00:00 2001 From: Naoto Yamaguchi Date: Sun, 23 Apr 2023 20:31:49 +0900 Subject: Enable psplash in guest container using drm-lease 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: Ib9529b4e404be7d8520e6dc405c60e39b59d6796 Signed-off-by: Naoto Yamaguchi --- recipes-core/psplash/psplash_agl-container-guest-demo.inc | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 recipes-core/psplash/psplash_agl-container-guest-demo.inc (limited to 'recipes-core/psplash/psplash_agl-container-guest-demo.inc') diff --git a/recipes-core/psplash/psplash_agl-container-guest-demo.inc b/recipes-core/psplash/psplash_agl-container-guest-demo.inc new file mode 100644 index 00000000..9c7fb37e --- /dev/null +++ b/recipes-core/psplash/psplash_agl-container-guest-demo.inc @@ -0,0 +1,11 @@ +FILESEXTRAPATHS:prepend := "${THISDIR}/agl-container-guest:" +SRC_URI:append = " file://psplash.env" + +PACKAGECONFIG:append = " drm drm-lease" + +PSPLASH_DRM_LEASE_ARGS = "--drm-lease lease" + +do_install:append () { + sed -i -e '/^\[Service\]/a EnvironmentFile=/etc/default/psplash' ${D}${systemd_system_unitdir}/psplash-start.service + install -Dm644 ${WORKDIR}/psplash.env ${D}${sysconfdir}/default/psplash +} -- cgit 1.2.3-korg