Code Review
/
AGL
/
meta-agl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
[rcar-gen3] Remove fix on arm-trusted-firmware recipes
[AGL/meta-agl.git]
/
meta-agl
/
recipes-core
/
psplash
/
psplash_git.bbappend
diff --git
a/meta-agl/recipes-core/psplash/psplash_git.bbappend
b/meta-agl/recipes-core/psplash/psplash_git.bbappend
index
193ecfb
..
c2c58c5
100644
(file)
--- a/
meta-agl/recipes-core/psplash/psplash_git.bbappend
+++ b/
meta-agl/recipes-core/psplash/psplash_git.bbappend
@@
-1,10
+1,25
@@
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
-SRC_URI += "file://psplash-colors.h"
+SRC_URI += "file://psplash-colors.h \
+ file://psplash-start.service \
+ file://psplash-quit.service \
+ "
SPLASH_IMAGES="file://psplash-poky-img.h;outsuffix=default"
SPLASH_IMAGES="file://psplash-poky-img.h;outsuffix=default"
+inherit systemd
+
+SYSTEMD_PACKAGES = "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '${PN}', '', d)}"
+SYSTEMD_SERVICE_${PN} = "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'psplash-start.service psplash-quit.service', '', d)}"
+
do_configure_append () {
cd ${S}
cp ../psplash-colors.h ./
}
do_configure_append () {
cd ${S}
cp ../psplash-colors.h ./
}
+
+do_install_append () {
+ if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then
+ install -d ${D}${systemd_unitdir}/system
+ install -m 644 ${WORKDIR}/*.service ${D}/${systemd_unitdir}/system
+ fi
+}