summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/lighttpd
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-extended/lighttpd
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-extended/lighttpd')
-rw-r--r--meta/recipes-extended/lighttpd/lighttpd_1.4.59.bb6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-extended/lighttpd/lighttpd_1.4.59.bb b/meta/recipes-extended/lighttpd/lighttpd_1.4.59.bb
index f74016f834..8cb3a9a18c 100644
--- a/meta/recipes-extended/lighttpd/lighttpd_1.4.59.bb
+++ b/meta/recipes-extended/lighttpd/lighttpd_1.4.59.bb
@@ -58,12 +58,12 @@ do_install:append() {
58 install -m 0644 ${WORKDIR}/lighttpd.conf ${D}${sysconfdir}/lighttpd 58 install -m 0644 ${WORKDIR}/lighttpd.conf ${D}${sysconfdir}/lighttpd
59 install -m 0644 ${WORKDIR}/index.html.lighttpd ${D}/www/pages/index.html 59 install -m 0644 ${WORKDIR}/index.html.lighttpd ${D}/www/pages/index.html
60 60
61 install -d ${D}${systemd_unitdir}/system 61 install -d ${D}${systemd_system_unitdir}
62 install -m 0644 ${S}/doc/systemd/lighttpd.service ${D}${systemd_unitdir}/system 62 install -m 0644 ${S}/doc/systemd/lighttpd.service ${D}${systemd_system_unitdir}
63 sed -i -e 's,@SBINDIR@,${sbindir},g' \ 63 sed -i -e 's,@SBINDIR@,${sbindir},g' \
64 -e 's,@SYSCONFDIR@,${sysconfdir},g' \ 64 -e 's,@SYSCONFDIR@,${sysconfdir},g' \
65 -e 's,@BASE_BINDIR@,${base_bindir},g' \ 65 -e 's,@BASE_BINDIR@,${base_bindir},g' \
66 ${D}${systemd_unitdir}/system/lighttpd.service 66 ${D}${systemd_system_unitdir}/lighttpd.service
67 #For FHS compliance, create symbolic links to /var/log and /var/tmp for logs and temporary data 67 #For FHS compliance, create symbolic links to /var/log and /var/tmp for logs and temporary data
68 ln -sf ${localstatedir}/log ${D}/www/logs 68 ln -sf ${localstatedir}/log ${D}/www/logs
69 ln -sf ${localstatedir}/tmp ${D}/www/var 69 ln -sf ${localstatedir}/tmp ${D}/www/var