mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 13:09:50 +00:00
systemd: '${systemd_unitdir}/system' => '${systemd_system_unitdir}'
Repo-wide replacement to use newer variable to represent systemd system unitdir directory. (From OE-Core rev: 5ace3ada5c54500c71becc8e0c6eddeb8bc053e3) Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
3a70262357
commit
abeb2e95c6
@@ -33,13 +33,13 @@ do_install() {
|
||||
install -d ${D}${sysconfdir}/init.d/
|
||||
install -m 0755 ${WORKDIR}/run-postinsts.init ${D}${sysconfdir}/init.d/run-postinsts
|
||||
|
||||
install -d ${D}${systemd_unitdir}/system/
|
||||
install -m 0644 ${WORKDIR}/run-postinsts.service ${D}${systemd_unitdir}/system/
|
||||
install -d ${D}${systemd_system_unitdir}/
|
||||
install -m 0644 ${WORKDIR}/run-postinsts.service ${D}${systemd_system_unitdir}/
|
||||
|
||||
sed -i -e 's:#SYSCONFDIR#:${sysconfdir}:g' \
|
||||
-e 's:#SBINDIR#:${sbindir}:g' \
|
||||
-e 's:#BASE_BINDIR#:${base_bindir}:g' \
|
||||
-e 's:#LOCALSTATEDIR#:${localstatedir}:g' \
|
||||
${D}${sbindir}/run-postinsts \
|
||||
${D}${systemd_unitdir}/system/run-postinsts.service
|
||||
${D}${systemd_system_unitdir}/run-postinsts.service
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user