summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
diff options
context:
space:
mode:
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>2021-11-11 02:36:31 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-11-11 17:09:16 +0000
commit7377f7cdfbbbfe8d71e588327e7847cb1f48e745 (patch)
tree6956918095ec5c400f43d4005160ea622d4cb074 /meta/recipes-core
parent04c99437a3e4e33e459b03986a2673363fe78f2b (diff)
downloadpoky-7377f7cdfbbbfe8d71e588327e7847cb1f48e745.tar.gz
systemd-conf: Revert inappropriate use of ${systemd_system_unitdir}
This is a partial revert of commit 5ace3ada (systemd: '${systemd_unitdir}/system' => '${systemd_system_unitdir}') where the string '${systemd_unitdir}/system' matched something other than the intended directory. (From OE-Core rev: c436124eb9a98400cc6872b252971477bb451551) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r--meta/recipes-core/systemd/systemd-conf_1.0.bb6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-core/systemd/systemd-conf_1.0.bb b/meta/recipes-core/systemd/systemd-conf_1.0.bb
index 53af7c616a..61ce7939d3 100644
--- a/meta/recipes-core/systemd/systemd-conf_1.0.bb
+++ b/meta/recipes-core/systemd/systemd-conf_1.0.bb
@@ -21,7 +21,7 @@ SRC_URI = "\
21do_install() { 21do_install() {
22 install -D -m0644 ${WORKDIR}/journald.conf ${D}${systemd_unitdir}/journald.conf.d/00-${PN}.conf 22 install -D -m0644 ${WORKDIR}/journald.conf ${D}${systemd_unitdir}/journald.conf.d/00-${PN}.conf
23 install -D -m0644 ${WORKDIR}/logind.conf ${D}${systemd_unitdir}/logind.conf.d/00-${PN}.conf 23 install -D -m0644 ${WORKDIR}/logind.conf ${D}${systemd_unitdir}/logind.conf.d/00-${PN}.conf
24 install -D -m0644 ${WORKDIR}/system.conf ${D}${systemd_system_unitdir}.conf.d/00-${PN}.conf 24 install -D -m0644 ${WORKDIR}/system.conf ${D}${systemd_unitdir}/system.conf.d/00-${PN}.conf
25 25
26 if ${@bb.utils.contains('PACKAGECONFIG', 'dhcp-ethernet', 'true', 'false', d)}; then 26 if ${@bb.utils.contains('PACKAGECONFIG', 'dhcp-ethernet', 'true', 'false', d)}; then
27 install -D -m0644 ${WORKDIR}/wired.network ${D}${systemd_unitdir}/network/80-wired.network 27 install -D -m0644 ${WORKDIR}/wired.network ${D}${systemd_unitdir}/network/80-wired.network
@@ -30,7 +30,7 @@ do_install() {
30 30
31# Based on change from YP bug 8141, OE commit 5196d7bacaef1076c361adaa2867be31759c1b52 31# Based on change from YP bug 8141, OE commit 5196d7bacaef1076c361adaa2867be31759c1b52
32do_install:append:qemuall() { 32do_install:append:qemuall() {
33 install -D -m0644 ${WORKDIR}/system.conf-qemuall ${D}${systemd_system_unitdir}.conf.d/01-${PN}.conf 33 install -D -m0644 ${WORKDIR}/system.conf-qemuall ${D}${systemd_unitdir}/system.conf.d/01-${PN}.conf
34} 34}
35 35
36PACKAGE_ARCH = "${MACHINE_ARCH}" 36PACKAGE_ARCH = "${MACHINE_ARCH}"
@@ -38,6 +38,6 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
38FILES:${PN} = "\ 38FILES:${PN} = "\
39 ${systemd_unitdir}/journald.conf.d/ \ 39 ${systemd_unitdir}/journald.conf.d/ \
40 ${systemd_unitdir}/logind.conf.d/ \ 40 ${systemd_unitdir}/logind.conf.d/ \
41 ${systemd_system_unitdir}.conf.d/ \ 41 ${systemd_unitdir}/system.conf.d/ \
42 ${systemd_unitdir}/network/ \ 42 ${systemd_unitdir}/network/ \
43" 43"