diff options
author | Robert P. J. Day <rpjday@crashcourse.ca> | 2021-08-26 05:42:06 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-09-07 21:54:11 +0100 |
commit | abeb2e95c6e5b286283dfe7198d5a222f7139458 (patch) | |
tree | 1a1f5526ee2b663abf27252c02bb33573f6205dc /meta/recipes-devtools | |
parent | 3a702623573a973ff9b4d3d5f934ef55497de167 (diff) | |
download | poky-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-devtools')
5 files changed, 11 insertions, 11 deletions
diff --git a/meta/recipes-devtools/bootchart2/bootchart2_0.14.9.bb b/meta/recipes-devtools/bootchart2/bootchart2_0.14.9.bb index b1d359ec38..974faa3b3f 100644 --- a/meta/recipes-devtools/bootchart2/bootchart2_0.14.9.bb +++ b/meta/recipes-devtools/bootchart2/bootchart2_0.14.9.bb | |||
@@ -129,7 +129,7 @@ do_install () { | |||
129 | export DESTDIR="${D}" | 129 | export DESTDIR="${D}" |
130 | export LIBDIR="${base_libdir}" | 130 | export LIBDIR="${base_libdir}" |
131 | export PKGLIBDIR="${base_libdir}/bootchart" | 131 | export PKGLIBDIR="${base_libdir}/bootchart" |
132 | export SYSTEMD_UNIT_DIR="${systemd_unitdir}/system" | 132 | export SYSTEMD_UNIT_DIR="${systemd_system_unitdir}" |
133 | 133 | ||
134 | oe_runmake install | 134 | oe_runmake install |
135 | install -d ${D}${sysconfdir}/init.d | 135 | install -d ${D}${sysconfdir}/init.d |
diff --git a/meta/recipes-devtools/distcc/distcc_3.4.bb b/meta/recipes-devtools/distcc/distcc_3.4.bb index d4fc0356e6..7adf8a8ff6 100644 --- a/meta/recipes-devtools/distcc/distcc_3.4.bb +++ b/meta/recipes-devtools/distcc/distcc_3.4.bb | |||
@@ -52,9 +52,9 @@ do_install() { | |||
52 | install -d ${D}${sysconfdir}/default | 52 | install -d ${D}${sysconfdir}/default |
53 | install -m 0755 ${WORKDIR}/distcc ${D}${sysconfdir}/init.d/ | 53 | install -m 0755 ${WORKDIR}/distcc ${D}${sysconfdir}/init.d/ |
54 | install -m 0755 ${WORKDIR}/default ${D}${sysconfdir}/default/distcc | 54 | install -m 0755 ${WORKDIR}/default ${D}${sysconfdir}/default/distcc |
55 | install -d ${D}${systemd_unitdir}/system/ | 55 | install -d ${D}${systemd_system_unitdir}/ |
56 | install -m 0644 ${WORKDIR}/distcc.service ${D}${systemd_unitdir}/system | 56 | install -m 0644 ${WORKDIR}/distcc.service ${D}${systemd_system_unitdir} |
57 | sed -i -e 's,@BINDIR@,${bindir},g' ${D}${systemd_unitdir}/system/distcc.service | 57 | sed -i -e 's,@BINDIR@,${bindir},g' ${D}${systemd_system_unitdir}/distcc.service |
58 | } | 58 | } |
59 | 59 | ||
60 | FILES:${PN}-server = "${sysconfdir} \ | 60 | FILES:${PN}-server = "${sysconfdir} \ |
diff --git a/meta/recipes-devtools/run-postinsts/run-postinsts_1.0.bb b/meta/recipes-devtools/run-postinsts/run-postinsts_1.0.bb index deddf11f4f..db353d607b 100644 --- a/meta/recipes-devtools/run-postinsts/run-postinsts_1.0.bb +++ b/meta/recipes-devtools/run-postinsts/run-postinsts_1.0.bb | |||
@@ -33,13 +33,13 @@ do_install() { | |||
33 | install -d ${D}${sysconfdir}/init.d/ | 33 | install -d ${D}${sysconfdir}/init.d/ |
34 | install -m 0755 ${WORKDIR}/run-postinsts.init ${D}${sysconfdir}/init.d/run-postinsts | 34 | install -m 0755 ${WORKDIR}/run-postinsts.init ${D}${sysconfdir}/init.d/run-postinsts |
35 | 35 | ||
36 | install -d ${D}${systemd_unitdir}/system/ | 36 | install -d ${D}${systemd_system_unitdir}/ |
37 | install -m 0644 ${WORKDIR}/run-postinsts.service ${D}${systemd_unitdir}/system/ | 37 | install -m 0644 ${WORKDIR}/run-postinsts.service ${D}${systemd_system_unitdir}/ |
38 | 38 | ||
39 | sed -i -e 's:#SYSCONFDIR#:${sysconfdir}:g' \ | 39 | sed -i -e 's:#SYSCONFDIR#:${sysconfdir}:g' \ |
40 | -e 's:#SBINDIR#:${sbindir}:g' \ | 40 | -e 's:#SBINDIR#:${sbindir}:g' \ |
41 | -e 's:#BASE_BINDIR#:${base_bindir}:g' \ | 41 | -e 's:#BASE_BINDIR#:${base_bindir}:g' \ |
42 | -e 's:#LOCALSTATEDIR#:${localstatedir}:g' \ | 42 | -e 's:#LOCALSTATEDIR#:${localstatedir}:g' \ |
43 | ${D}${sbindir}/run-postinsts \ | 43 | ${D}${sbindir}/run-postinsts \ |
44 | ${D}${systemd_unitdir}/system/run-postinsts.service | 44 | ${D}${systemd_system_unitdir}/run-postinsts.service |
45 | } | 45 | } |
diff --git a/meta/recipes-devtools/systemd-bootchart/systemd-bootchart_234.bb b/meta/recipes-devtools/systemd-bootchart/systemd-bootchart_234.bb index fd6f17b656..30dbbcc05c 100644 --- a/meta/recipes-devtools/systemd-bootchart/systemd-bootchart_234.bb +++ b/meta/recipes-devtools/systemd-bootchart/systemd-bootchart_234.bb | |||
@@ -38,7 +38,7 @@ do_configure:prepend() { | |||
38 | rm -f ${S}/m4/intltool.m4 | 38 | rm -f ${S}/m4/intltool.m4 |
39 | } | 39 | } |
40 | 40 | ||
41 | FILES:${PN} += "${systemd_unitdir}/systemd-bootchart" | 41 | FILES:${PN} += "${systemd_system_unitdir}d-bootchart" |
42 | 42 | ||
43 | EXTRA_OECONF = " --with-rootprefix=${root_prefix} \ | 43 | EXTRA_OECONF = " --with-rootprefix=${root_prefix} \ |
44 | --with-rootlibdir=${base_libdir}" | 44 | --with-rootlibdir=${base_libdir}" |
diff --git a/meta/recipes-devtools/tcf-agent/tcf-agent_git.bb b/meta/recipes-devtools/tcf-agent/tcf-agent_git.bb index c186db6814..4ff309dd80 100644 --- a/meta/recipes-devtools/tcf-agent/tcf-agent_git.bb +++ b/meta/recipes-devtools/tcf-agent/tcf-agent_git.bb | |||
@@ -56,8 +56,8 @@ do_install() { | |||
56 | oe_runmake install INSTALLROOT=${D} | 56 | oe_runmake install INSTALLROOT=${D} |
57 | install -d ${D}${sysconfdir}/init.d/ | 57 | install -d ${D}${sysconfdir}/init.d/ |
58 | install -m 0755 ${WORKDIR}/tcf-agent.init ${D}${sysconfdir}/init.d/tcf-agent | 58 | install -m 0755 ${WORKDIR}/tcf-agent.init ${D}${sysconfdir}/init.d/tcf-agent |
59 | install -d ${D}${systemd_unitdir}/system | 59 | install -d ${D}${systemd_system_unitdir} |
60 | install -m 0644 ${WORKDIR}/tcf-agent.service ${D}${systemd_unitdir}/system | 60 | install -m 0644 ${WORKDIR}/tcf-agent.service ${D}${systemd_system_unitdir} |
61 | sed -i -e 's,@SBINDIR@,${sbindir},g' ${D}${systemd_unitdir}/system/tcf-agent.service | 61 | sed -i -e 's,@SBINDIR@,${sbindir},g' ${D}${systemd_system_unitdir}/tcf-agent.service |
62 | } | 62 | } |
63 | 63 | ||