diff options
author | Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> | 2023-04-23 20:31:49 +0900 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2023-05-09 15:29:36 +0000 |
commit | 8431b953287f1fa849def345025f1aa1fa3f42cc (patch) | |
tree | c24b35340e826953146a11ae73e28b5e1021a878 /recipes-core/psplash/psplash_agl-container-guest-demo.inc | |
parent | bf0670906f4c011ccbab46c2b36433418c0c02b9 (diff) |
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: I2c58b0db489b1573ef3b7f7396203550c1fb89d6
Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
Diffstat (limited to 'recipes-core/psplash/psplash_agl-container-guest-demo.inc')
-rw-r--r-- | recipes-core/psplash/psplash_agl-container-guest-demo.inc | 11 |
1 files changed, 11 insertions, 0 deletions
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 000000000..9c7fb37e2 --- /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 +} |