X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=meta-agl%2Frecipes-core%2Fpsplash%2Fpsplash_git.bbappend;h=bdc196b6f0a4d9f16ed7cc65a81ea12fa19c9813;hb=1a58f241a046859fca5002b5ca8e7d369eb293ef;hp=3b4f85102f26cf599977f5430efa3dbb7e994c9f;hpb=e0cb14ae3f8eac1fb4c9c48b90e60115a0468985;p=AGL%2Fmeta-agl.git diff --git a/meta-agl/recipes-core/psplash/psplash_git.bbappend b/meta-agl/recipes-core/psplash/psplash_git.bbappend index 3b4f85102..bdc196b6f 100644 --- a/meta-agl/recipes-core/psplash/psplash_git.bbappend +++ b/meta-agl/recipes-core/psplash/psplash_git.bbappend @@ -3,14 +3,15 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/files:" SRC_URI += "file://psplash-colors.h \ file://psplash-start.service \ file://psplash-quit.service \ + file://psplash-anim \ " SPLASH_IMAGES="file://psplash-poky-img.h;outsuffix=default" inherit systemd -SYSTEMD_PACKAGES = "${@base_contains('DISTRO_FEATURES', 'systemd', '${PN}', '', d)}" -SYSTEMD_SERVICE_${PN} = "${@base_contains('DISTRO_FEATURES', 'systemd', 'psplash-start.service psplash-quit.service', '', d)}" +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} @@ -18,8 +19,9 @@ do_configure_append () { } do_install_append () { - if ${@base_contains('DISTRO_FEATURES','systemd','true','false',d)}; then + 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 + install -m 755 ${WORKDIR}/psplash-anim ${D}/${bindir} }