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/run-postinsts/run-postinsts_1.0.bb | |
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/run-postinsts/run-postinsts_1.0.bb')
-rw-r--r-- | meta/recipes-devtools/run-postinsts/run-postinsts_1.0.bb | 6 |
1 files changed, 3 insertions, 3 deletions
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 | } |