diff options
Diffstat (limited to 'recipes-core/psplash')
-rw-r--r-- | recipes-core/psplash/files/psplash-inverted.conf | 2 | ||||
-rw-r--r-- | recipes-core/psplash/psplash-inverted-config.bb | 20 |
2 files changed, 22 insertions, 0 deletions
diff --git a/recipes-core/psplash/files/psplash-inverted.conf b/recipes-core/psplash/files/psplash-inverted.conf new file mode 100644 index 000000000..440db891e --- /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 000000000..f11b255da --- /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" |