mirror of
https://git.yoctoproject.org/poky
synced 2026-06-03 01:40:07 +00:00
recipes: Start WORKDIR -> UNPACKDIR transition
Replace references of WORKDIR with UNPACKDIR where it makes sense to do so in preparation for changing the default value of UNPACKDIR. (From OE-Core rev: 1f18b9a512800860d5153d89eb82b56388efad6f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -103,7 +103,7 @@ python do_compile () {
|
||||
do_install:append() {
|
||||
if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then
|
||||
install -d ${D}${sysconfdir}/init.d/
|
||||
install -m 0755 ${WORKDIR}/psplash-init ${D}${sysconfdir}/init.d/psplash.sh
|
||||
install -m 0755 ${UNPACKDIR}/psplash-init ${D}${sysconfdir}/init.d/psplash.sh
|
||||
|
||||
# make fifo for psplash
|
||||
install -d ${D}/mnt
|
||||
@@ -112,8 +112,8 @@ do_install:append() {
|
||||
|
||||
if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then
|
||||
install -d ${D}${systemd_system_unitdir}
|
||||
install -m 644 ${WORKDIR}/psplash-start.service ${D}/${systemd_system_unitdir}
|
||||
install -m 644 ${WORKDIR}/psplash-systemd.service ${D}/${systemd_system_unitdir}
|
||||
install -m 644 ${UNPACKDIR}/psplash-start.service ${D}/${systemd_system_unitdir}
|
||||
install -m 644 ${UNPACKDIR}/psplash-systemd.service ${D}/${systemd_system_unitdir}
|
||||
fi
|
||||
|
||||
install -d ${D}${bindir}
|
||||
|
||||
Reference in New Issue
Block a user