summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/volatile-binds
diff options
context:
space:
mode:
authorRobert P. J. Day <rpjday@crashcourse.ca>2021-08-26 05:42:06 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-09-07 21:54:11 +0100
commitabeb2e95c6e5b286283dfe7198d5a222f7139458 (patch)
tree1a1f5526ee2b663abf27252c02bb33573f6205dc /meta/recipes-core/volatile-binds
parent3a702623573a973ff9b4d3d5f934ef55497de167 (diff)
downloadpoky-abeb2e95c6e5b286283dfe7198d5a222f7139458.tar.gz
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>
Diffstat (limited to 'meta/recipes-core/volatile-binds')
-rw-r--r--meta/recipes-core/volatile-binds/volatile-binds.bb6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-core/volatile-binds/volatile-binds.bb b/meta/recipes-core/volatile-binds/volatile-binds.bb
index b693c24c4c..d5c5538cd7 100644
--- a/meta/recipes-core/volatile-binds/volatile-binds.bb
+++ b/meta/recipes-core/volatile-binds/volatile-binds.bb
@@ -35,7 +35,7 @@ def volatile_systemd_services(d):
35 35
36SYSTEMD_SERVICE:${PN} = "${@volatile_systemd_services(d)}" 36SYSTEMD_SERVICE:${PN} = "${@volatile_systemd_services(d)}"
37 37
38FILES:${PN} += "${systemd_unitdir}/system/*.service ${servicedir}" 38FILES:${PN} += "${systemd_system_unitdir}/*.service ${servicedir}"
39 39
40do_compile () { 40do_compile () {
41 while read spec mountpoint; do 41 while read spec mountpoint; do
@@ -67,9 +67,9 @@ do_install () {
67 install -d ${D}${servicedir} 67 install -d ${D}${servicedir}
68 install -m 0755 mount-copybind ${D}${base_sbindir}/ 68 install -m 0755 mount-copybind ${D}${base_sbindir}/
69 69
70 install -d ${D}${systemd_unitdir}/system 70 install -d ${D}${systemd_system_unitdir}
71 for service in ${SYSTEMD_SERVICE:${PN}}; do 71 for service in ${SYSTEMD_SERVICE:${PN}}; do
72 install -m 0644 $service ${D}${systemd_unitdir}/system/ 72 install -m 0644 $service ${D}${systemd_system_unitdir}/
73 done 73 done
74 74
75 # Suppress attempts to process some tmpfiles that are not temporary. 75 # Suppress attempts to process some tmpfiles that are not temporary.