Improvement to psplash recipe using service override
[AGL/meta-agl-demo.git] / recipes-core / psplash / psplash_agldemo.inc
1 FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
2
3 SRC_URI:append = " \
4     file://psplash-colors.h \
5     file://psplash-args.conf \
6 "
7
8 SPLASH_IMAGES = "file://psplash-poky-img.h;outsuffix=default"
9
10 do_configure:append () {
11         cp -f ${WORKDIR}/psplash-colors.h ${S}
12 }
13
14 do_install:append () {
15     # Install override
16     install -d ${D}${systemd_system_unitdir}/psplash-start.service.d
17     install -m 0644 ${WORKDIR}/psplash-args.conf ${D}${systemd_system_unitdir}/psplash-start.service.d/
18 }
19
20 FILES:${PN} += "${systemd_system_unitdir}"