summaryrefslogtreecommitdiffstats
path: root/meta-webserver
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2024-05-13 14:16:55 -0700
committerKhem Raj <raj.khem@gmail.com>2024-05-23 08:44:44 -0700
commitffc64e9c6fee0af7eea3466135416d011172a5e6 (patch)
treeb9effa069d9af3c63d6f3a41caff6b887450522c /meta-webserver
parenta90f89dbc7eff2ae83bab6a6676f4737c0b48a8d (diff)
downloadmeta-openembedded-ffc64e9c6fee0af7eea3466135416d011172a5e6.tar.gz
recipes: Start WORKDIR -> UNPACKDIR transition
Replace references of WORKDIR with UNPACKDIR where it makes sense to do so in preparation for changing the default value of UNPACKDIR. Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-webserver')
-rw-r--r--meta-webserver/recipes-httpd/apache2/apache2_2.4.59.bb8
-rw-r--r--meta-webserver/recipes-httpd/cherokee/cherokee_git.bb4
-rw-r--r--meta-webserver/recipes-httpd/hiawatha/hiawatha_10.12.bb6
-rw-r--r--meta-webserver/recipes-httpd/monkey/monkey_1.6.9.bb4
-rw-r--r--meta-webserver/recipes-httpd/nginx/nginx.inc12
-rw-r--r--meta-webserver/recipes-httpd/sthttpd/sthttpd_2.27.1.bb6
-rw-r--r--meta-webserver/recipes-php/phpmyadmin/phpmyadmin_5.2.1.bb2
-rw-r--r--meta-webserver/recipes-webadmin/cockpit/cockpit_304.bb2
-rw-r--r--meta-webserver/recipes-webadmin/netdata/netdata_1.44.3.bb4
-rw-r--r--meta-webserver/recipes-webadmin/webmin/webmin_1.850.bb4
10 files changed, 26 insertions, 26 deletions
diff --git a/meta-webserver/recipes-httpd/apache2/apache2_2.4.59.bb b/meta-webserver/recipes-httpd/apache2/apache2_2.4.59.bb
index b96e8b4e17..14891ea89b 100644
--- a/meta-webserver/recipes-httpd/apache2/apache2_2.4.59.bb
+++ b/meta-webserver/recipes-httpd/apache2/apache2_2.4.59.bb
@@ -86,7 +86,7 @@ do_configure:prepend() {
86do_install:append:class-target() { 86do_install:append:class-target() {
87 install -d ${D}/${sysconfdir}/init.d 87 install -d ${D}/${sysconfdir}/init.d
88 88
89 cat ${WORKDIR}/init | \ 89 cat ${UNPACKDIR}/init | \
90 sed -e 's,/usr/sbin/,${sbindir}/,g' \ 90 sed -e 's,/usr/sbin/,${sbindir}/,g' \
91 -e 's,/usr/bin/,${bindir}/,g' \ 91 -e 's,/usr/bin/,${bindir}/,g' \
92 -e 's,/usr/lib/,${libdir}/,g' \ 92 -e 's,/usr/lib/,${libdir}/,g' \
@@ -130,15 +130,15 @@ do_install:append:class-target() {
130 130
131 if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then 131 if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then
132 install -d ${D}${sysconfdir}/tmpfiles.d/ 132 install -d ${D}${sysconfdir}/tmpfiles.d/
133 install -m 0644 ${WORKDIR}/apache2-volatile.conf ${D}${sysconfdir}/tmpfiles.d/ 133 install -m 0644 ${UNPACKDIR}/apache2-volatile.conf ${D}${sysconfdir}/tmpfiles.d/
134 134
135 install -d ${D}${systemd_unitdir}/system 135 install -d ${D}${systemd_unitdir}/system
136 install -m 0644 ${WORKDIR}/apache2.service ${D}${systemd_unitdir}/system 136 install -m 0644 ${UNPACKDIR}/apache2.service ${D}${systemd_unitdir}/system
137 sed -i -e 's,@SBINDIR@,${sbindir},g' ${D}${systemd_unitdir}/system/apache2.service 137 sed -i -e 's,@SBINDIR@,${sbindir},g' ${D}${systemd_unitdir}/system/apache2.service
138 sed -i -e 's,@BASE_BINDIR@,${base_bindir},g' ${D}${systemd_unitdir}/system/apache2.service 138 sed -i -e 's,@BASE_BINDIR@,${base_bindir},g' ${D}${systemd_unitdir}/system/apache2.service
139 elif ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then 139 elif ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then
140 install -d ${D}${sysconfdir}/default/volatiles 140 install -d ${D}${sysconfdir}/default/volatiles
141 install -m 0644 ${WORKDIR}/volatiles.04_apache2 ${D}${sysconfdir}/default/volatiles/04_apache2 141 install -m 0644 ${UNPACKDIR}/volatiles.04_apache2 ${D}${sysconfdir}/default/volatiles/04_apache2
142 fi 142 fi
143 143
144 rm -rf ${D}${localstatedir} ${D}${sbindir}/envvars* 144 rm -rf ${D}${localstatedir} ${D}${sbindir}/envvars*
diff --git a/meta-webserver/recipes-httpd/cherokee/cherokee_git.bb b/meta-webserver/recipes-httpd/cherokee/cherokee_git.bb
index 7763a31881..53d6a85ae7 100644
--- a/meta-webserver/recipes-httpd/cherokee/cherokee_git.bb
+++ b/meta-webserver/recipes-httpd/cherokee/cherokee_git.bb
@@ -36,13 +36,13 @@ EXTRA_OECONF = "--disable-static \
36 36
37do_install:append () { 37do_install:append () {
38 install -m 0755 -d ${D}${sysconfdir}/init.d 38 install -m 0755 -d ${D}${sysconfdir}/init.d
39 install -m 755 ${WORKDIR}/cherokee.init ${D}${sysconfdir}/init.d/cherokee 39 install -m 755 ${UNPACKDIR}/cherokee.init ${D}${sysconfdir}/init.d/cherokee
40 40
41 # clean up .la files for plugins 41 # clean up .la files for plugins
42 rm -f ${D}${libdir}/cherokee/*.la 42 rm -f ${D}${libdir}/cherokee/*.la
43 43
44 install -d ${D}${systemd_unitdir}/system 44 install -d ${D}${systemd_unitdir}/system
45 install -m 0644 ${WORKDIR}/cherokee.service ${D}${systemd_unitdir}/system 45 install -m 0644 ${UNPACKDIR}/cherokee.service ${D}${systemd_unitdir}/system
46 rmdir "${D}${localstatedir}/run" 46 rmdir "${D}${localstatedir}/run"
47 rmdir --ignore-fail-on-non-empty "${D}${localstatedir}" 47 rmdir --ignore-fail-on-non-empty "${D}${localstatedir}"
48} 48}
diff --git a/meta-webserver/recipes-httpd/hiawatha/hiawatha_10.12.bb b/meta-webserver/recipes-httpd/hiawatha/hiawatha_10.12.bb
index 2e848eaf56..1111ef6f56 100644
--- a/meta-webserver/recipes-httpd/hiawatha/hiawatha_10.12.bb
+++ b/meta-webserver/recipes-httpd/hiawatha/hiawatha_10.12.bb
@@ -37,9 +37,9 @@ EXTRA_OECMAKE = " -DENABLE_IPV6=OFF \
37 37
38do_install:append() { 38do_install:append() {
39 # Copy over init script and sed in the correct sbin path 39 # Copy over init script and sed in the correct sbin path
40 sed -i 's,sed_sbin_path,${sbindir},' ${WORKDIR}/hiawatha-init 40 sed -i 's,sed_sbin_path,${sbindir},' ${UNPACKDIR}/hiawatha-init
41 mkdir -p ${D}${sysconfdir}/init.d 41 mkdir -p ${D}${sysconfdir}/init.d
42 install -m 0755 ${WORKDIR}/hiawatha-init ${D}${sysconfdir}/init.d/hiawatha 42 install -m 0755 ${UNPACKDIR}/hiawatha-init ${D}${sysconfdir}/init.d/hiawatha
43 43
44 # configure php-fcgi to have a working configuration 44 # configure php-fcgi to have a working configuration
45 # by default if php is installed 45 # by default if php is installed
@@ -47,7 +47,7 @@ do_install:append() {
47 47
48 if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then 48 if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then
49 install -d ${D}/${systemd_unitdir}/system 49 install -d ${D}/${systemd_unitdir}/system
50 install -m 644 ${WORKDIR}/hiawatha.service ${D}/${systemd_unitdir}/system 50 install -m 644 ${UNPACKDIR}/hiawatha.service ${D}/${systemd_unitdir}/system
51 fi 51 fi
52 52
53 # /var/log/hiawatha and /var/lib/hiawatha needs to be created in runtime. 53 # /var/log/hiawatha and /var/lib/hiawatha needs to be created in runtime.
diff --git a/meta-webserver/recipes-httpd/monkey/monkey_1.6.9.bb b/meta-webserver/recipes-httpd/monkey/monkey_1.6.9.bb
index ee5dc16198..5bf6373a81 100644
--- a/meta-webserver/recipes-httpd/monkey/monkey_1.6.9.bb
+++ b/meta-webserver/recipes-httpd/monkey/monkey_1.6.9.bb
@@ -46,7 +46,7 @@ do_configure:append() {
46do_install:append() { 46do_install:append() {
47 rmdir ${D}${localstatedir}/log/${BPN} ${D}${localstatedir}/run ${D}${localstatedir}/log 47 rmdir ${D}${localstatedir}/log/${BPN} ${D}${localstatedir}/run ${D}${localstatedir}/log
48 rmdir --ignore-fail-on-non-empty ${D}${localstatedir} 48 rmdir --ignore-fail-on-non-empty ${D}${localstatedir}
49 install -Dm 0755 ${WORKDIR}/monkey.init ${D}${sysconfdir}/init.d/monkey 49 install -Dm 0755 ${UNPACKDIR}/monkey.init ${D}${sysconfdir}/init.d/monkey
50 # Create /var/log/monkey in runtime. 50 # Create /var/log/monkey in runtime.
51 if [ "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}" ]; then 51 if [ "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}" ]; then
52 install -d ${D}${nonarch_libdir}/tmpfiles.d 52 install -d ${D}${nonarch_libdir}/tmpfiles.d
@@ -57,7 +57,7 @@ do_install:append() {
57 echo "d ${BPN} ${BPN} 0755 ${localstatedir}/log/${BPN} none" > ${D}${sysconfdir}/default/volatiles/99_${BPN} 57 echo "d ${BPN} ${BPN} 0755 ${localstatedir}/log/${BPN} none" > ${D}${sysconfdir}/default/volatiles/99_${BPN}
58 fi 58 fi
59 if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then 59 if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then
60 install -Dm 644 ${WORKDIR}/monkey.service ${D}/${systemd_unitdir}/system/monkey.service 60 install -Dm 644 ${UNPACKDIR}/monkey.service ${D}/${systemd_unitdir}/system/monkey.service
61 fi 61 fi
62} 62}
63 63
diff --git a/meta-webserver/recipes-httpd/nginx/nginx.inc b/meta-webserver/recipes-httpd/nginx/nginx.inc
index 83ae90c40c..2714c3d22f 100644
--- a/meta-webserver/recipes-httpd/nginx/nginx.inc
+++ b/meta-webserver/recipes-httpd/nginx/nginx.inc
@@ -108,24 +108,24 @@ do_install () {
108 chown ${NGINX_USER}:www-data -R ${D}${NGINX_WWWDIR} 108 chown ${NGINX_USER}:www-data -R ${D}${NGINX_WWWDIR}
109 109
110 install -d ${D}${sysconfdir}/init.d 110 install -d ${D}${sysconfdir}/init.d
111 install -m 0755 ${WORKDIR}/nginx.init ${D}${sysconfdir}/init.d/nginx 111 install -m 0755 ${UNPACKDIR}/nginx.init ${D}${sysconfdir}/init.d/nginx
112 sed -i 's,/usr/sbin/,${sbindir}/,g' ${D}${sysconfdir}/init.d/nginx 112 sed -i 's,/usr/sbin/,${sbindir}/,g' ${D}${sysconfdir}/init.d/nginx
113 sed -i 's,/etc/,${sysconfdir}/,g' ${D}${sysconfdir}/init.d/nginx 113 sed -i 's,/etc/,${sysconfdir}/,g' ${D}${sysconfdir}/init.d/nginx
114 114
115 install -d ${D}${sysconfdir}/nginx 115 install -d ${D}${sysconfdir}/nginx
116 install -m 0644 ${WORKDIR}/nginx.conf ${D}${sysconfdir}/nginx/nginx.conf 116 install -m 0644 ${UNPACKDIR}/nginx.conf ${D}${sysconfdir}/nginx/nginx.conf
117 sed -i 's,/etc/,${sysconfdir}/,g' ${D}${sysconfdir}/nginx/nginx.conf 117 sed -i 's,/etc/,${sysconfdir}/,g' ${D}${sysconfdir}/nginx/nginx.conf
118 sed -i 's,/var/,${localstatedir}/,g' ${D}${sysconfdir}/nginx/nginx.conf 118 sed -i 's,/var/,${localstatedir}/,g' ${D}${sysconfdir}/nginx/nginx.conf
119 sed -i 's/^user.*/user ${NGINX_USER};/g' ${D}${sysconfdir}/nginx/nginx.conf 119 sed -i 's/^user.*/user ${NGINX_USER};/g' ${D}${sysconfdir}/nginx/nginx.conf
120 install -Dm 0644 ${WORKDIR}/default_server.site ${D}${sysconfdir}/nginx/sites-available/default_server 120 install -Dm 0644 ${UNPACKDIR}/default_server.site ${D}${sysconfdir}/nginx/sites-available/default_server
121 sed -i 's,/var/,${localstatedir}/,g' ${D}${sysconfdir}/nginx/sites-available/default_server 121 sed -i 's,/var/,${localstatedir}/,g' ${D}${sysconfdir}/nginx/sites-available/default_server
122 install -d ${D}${sysconfdir}/nginx/sites-enabled 122 install -d ${D}${sysconfdir}/nginx/sites-enabled
123 ln -s ../sites-available/default_server ${D}${sysconfdir}/nginx/sites-enabled/ 123 ln -s ../sites-available/default_server ${D}${sysconfdir}/nginx/sites-enabled/
124 124
125 install -m 0644 ${WORKDIR}/proxy_params ${D}${sysconfdir}/nginx/proxy_params 125 install -m 0644 ${UNPACKDIR}/proxy_params ${D}${sysconfdir}/nginx/proxy_params
126 126
127 install -d ${D}${sysconfdir}/default/volatiles 127 install -d ${D}${sysconfdir}/default/volatiles
128 install -m 0644 ${WORKDIR}/nginx-volatile.conf ${D}${sysconfdir}/default/volatiles/99_nginx 128 install -m 0644 ${UNPACKDIR}/nginx-volatile.conf ${D}${sysconfdir}/default/volatiles/99_nginx
129 sed -i 's,/var/,${localstatedir}/,g' ${D}${sysconfdir}/default/volatiles/99_nginx 129 sed -i 's,/var/,${localstatedir}/,g' ${D}${sysconfdir}/default/volatiles/99_nginx
130 sed -i 's,@NGINX_USER@,${NGINX_USER},g' ${D}${sysconfdir}/default/volatiles/99_nginx 130 sed -i 's,@NGINX_USER@,${NGINX_USER},g' ${D}${sysconfdir}/default/volatiles/99_nginx
131 131
@@ -140,7 +140,7 @@ do_install () {
140 140
141 if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)};then 141 if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)};then
142 install -d ${D}${systemd_unitdir}/system 142 install -d ${D}${systemd_unitdir}/system
143 install -m 0644 ${WORKDIR}/nginx.service ${D}${systemd_unitdir}/system/ 143 install -m 0644 ${UNPACKDIR}/nginx.service ${D}${systemd_unitdir}/system/
144 sed -i -e 's,@SYSCONFDIR@,${sysconfdir},g' \ 144 sed -i -e 's,@SYSCONFDIR@,${sysconfdir},g' \
145 -e 's,@LOCALSTATEDIR@,${localstatedir},g' \ 145 -e 's,@LOCALSTATEDIR@,${localstatedir},g' \
146 -e 's,@SBINDIR@,${sbindir},g' \ 146 -e 's,@SBINDIR@,${sbindir},g' \
diff --git a/meta-webserver/recipes-httpd/sthttpd/sthttpd_2.27.1.bb b/meta-webserver/recipes-httpd/sthttpd/sthttpd_2.27.1.bb
index 601ec7bcd1..ec188cc482 100644
--- a/meta-webserver/recipes-httpd/sthttpd/sthttpd_2.27.1.bb
+++ b/meta-webserver/recipes-httpd/sthttpd/sthttpd_2.27.1.bb
@@ -37,14 +37,14 @@ do_configure:prepend () {
37 37
38do_install:append () { 38do_install:append () {
39 install -d ${D}${sysconfdir}/init.d 39 install -d ${D}${sysconfdir}/init.d
40 install -c -m 755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/thttpd 40 install -c -m 755 ${UNPACKDIR}/init ${D}${sysconfdir}/init.d/thttpd
41 install -c -m 755 ${WORKDIR}/thttpd.conf ${D}${sysconfdir} 41 install -c -m 755 ${UNPACKDIR}/thttpd.conf ${D}${sysconfdir}
42 sed -i -e 's,@@CONFFILE,${sysconfdir}/thttpd.conf,g' ${D}${sysconfdir}/init.d/thttpd 42 sed -i -e 's,@@CONFFILE,${sysconfdir}/thttpd.conf,g' ${D}${sysconfdir}/init.d/thttpd
43 sed -i -e 's,@@SRVDIR,${SRV_DIR},g' ${D}${sysconfdir}/thttpd.conf 43 sed -i -e 's,@@SRVDIR,${SRV_DIR},g' ${D}${sysconfdir}/thttpd.conf
44 sed -i 's!/usr/sbin/!${sbindir}/!g' ${D}${sysconfdir}/init.d/thttpd 44 sed -i 's!/usr/sbin/!${sbindir}/!g' ${D}${sysconfdir}/init.d/thttpd
45 45
46 install -d ${D}${systemd_unitdir}/system 46 install -d ${D}${systemd_unitdir}/system
47 install -m 0644 ${WORKDIR}/thttpd.service ${D}${systemd_unitdir}/system 47 install -m 0644 ${UNPACKDIR}/thttpd.service ${D}${systemd_unitdir}/system
48 sed -i 's!/usr/sbin/!${sbindir}/!g' ${D}${systemd_unitdir}/system/thttpd.service 48 sed -i 's!/usr/sbin/!${sbindir}/!g' ${D}${systemd_unitdir}/system/thttpd.service
49 sed -i 's!/var/!${localstatedir}/!g' ${D}${systemd_unitdir}/system/thttpd.service 49 sed -i 's!/var/!${localstatedir}/!g' ${D}${systemd_unitdir}/system/thttpd.service
50 sed -i -e 's,@@CONFFILE,${sysconfdir}/thttpd.conf,g' ${D}${systemd_unitdir}/system/thttpd.service 50 sed -i -e 's,@@CONFFILE,${sysconfdir}/thttpd.conf,g' ${D}${systemd_unitdir}/system/thttpd.service
diff --git a/meta-webserver/recipes-php/phpmyadmin/phpmyadmin_5.2.1.bb b/meta-webserver/recipes-php/phpmyadmin/phpmyadmin_5.2.1.bb
index 34b710e885..7c3810154f 100644
--- a/meta-webserver/recipes-php/phpmyadmin/phpmyadmin_5.2.1.bb
+++ b/meta-webserver/recipes-php/phpmyadmin/phpmyadmin_5.2.1.bb
@@ -28,7 +28,7 @@ do_install() {
28 rm -rf ${D}${datadir}/${BPN}/patches 28 rm -rf ${D}${datadir}/${BPN}/patches
29 29
30 install -d ${D}${sysconfdir}/apache2/conf.d 30 install -d ${D}${sysconfdir}/apache2/conf.d
31 install -m 0644 ${WORKDIR}/apache.conf ${D}${sysconfdir}/apache2/conf.d/phpmyadmin.conf 31 install -m 0644 ${UNPACKDIR}/apache.conf ${D}${sysconfdir}/apache2/conf.d/phpmyadmin.conf
32 32
33 # Remove a few scripts that explicitly require bash (!) 33 # Remove a few scripts that explicitly require bash (!)
34 rm -f ${D}${datadir}/phpmyadmin/libraries/transformations/*.sh 34 rm -f ${D}${datadir}/phpmyadmin/libraries/transformations/*.sh
diff --git a/meta-webserver/recipes-webadmin/cockpit/cockpit_304.bb b/meta-webserver/recipes-webadmin/cockpit/cockpit_304.bb
index df7f47a118..6a5eb4e66e 100644
--- a/meta-webserver/recipes-webadmin/cockpit/cockpit_304.bb
+++ b/meta-webserver/recipes-webadmin/cockpit/cockpit_304.bb
@@ -193,7 +193,7 @@ do_install:append() {
193 chmod 4750 ${D}${libexecdir}/cockpit-session 193 chmod 4750 ${D}${libexecdir}/cockpit-session
194 194
195 install -d "${D}${sysconfdir}/pam.d" 195 install -d "${D}${sysconfdir}/pam.d"
196 install -p -m 0644 ${WORKDIR}/cockpit.pam ${D}${sysconfdir}/pam.d/cockpit 196 install -p -m 0644 ${UNPACKDIR}/cockpit.pam ${D}${sysconfdir}/pam.d/cockpit
197 197
198 # provided by firewalld 198 # provided by firewalld
199 rm -rf ${D}${libdir}/firewalld 199 rm -rf ${D}${libdir}/firewalld
diff --git a/meta-webserver/recipes-webadmin/netdata/netdata_1.44.3.bb b/meta-webserver/recipes-webadmin/netdata/netdata_1.44.3.bb
index 700c6b2346..b06a5df314 100644
--- a/meta-webserver/recipes-webadmin/netdata/netdata_1.44.3.bb
+++ b/meta-webserver/recipes-webadmin/netdata/netdata_1.44.3.bb
@@ -55,13 +55,13 @@ do_install:append() {
55 if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then 55 if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then
56 # Install systemd unit files 56 # Install systemd unit files
57 install -d ${D}${systemd_unitdir}/system 57 install -d ${D}${systemd_unitdir}/system
58 install -m 0644 ${WORKDIR}/netdata.service ${D}${systemd_unitdir}/system 58 install -m 0644 ${UNPACKDIR}/netdata.service ${D}${systemd_unitdir}/system
59 sed -i -e 's,@@datadir,${datadir_native},g' ${D}${systemd_unitdir}/system/netdata.service 59 sed -i -e 's,@@datadir,${datadir_native},g' ${D}${systemd_unitdir}/system/netdata.service
60 fi 60 fi
61 61
62 # Install default netdata.conf 62 # Install default netdata.conf
63 install -d ${D}${sysconfdir}/netdata 63 install -d ${D}${sysconfdir}/netdata
64 install -m 0644 ${WORKDIR}/netdata.conf ${D}${sysconfdir}/netdata/ 64 install -m 0644 ${UNPACKDIR}/netdata.conf ${D}${sysconfdir}/netdata/
65 sed -i -e 's,@@sysconfdir,${sysconfdir},g' ${D}${sysconfdir}/netdata/netdata.conf 65 sed -i -e 's,@@sysconfdir,${sysconfdir},g' ${D}${sysconfdir}/netdata/netdata.conf
66 sed -i -e 's,@@libdir,${libexecdir},g' ${D}${sysconfdir}/netdata/netdata.conf 66 sed -i -e 's,@@libdir,${libexecdir},g' ${D}${sysconfdir}/netdata/netdata.conf
67 sed -i -e 's,@@datadir,${datadir},g' ${D}${sysconfdir}/netdata/netdata.conf 67 sed -i -e 's,@@datadir,${datadir},g' ${D}${sysconfdir}/netdata/netdata.conf
diff --git a/meta-webserver/recipes-webadmin/webmin/webmin_1.850.bb b/meta-webserver/recipes-webadmin/webmin/webmin_1.850.bb
index 35ec09daea..bbc59443c7 100644
--- a/meta-webserver/recipes-webadmin/webmin/webmin_1.850.bb
+++ b/meta-webserver/recipes-webadmin/webmin/webmin_1.850.bb
@@ -82,7 +82,7 @@ do_install() {
82 install -m 0755 webmin-init ${D}${sysconfdir}/init.d/webmin 82 install -m 0755 webmin-init ${D}${sysconfdir}/init.d/webmin
83 83
84 install -d ${D}${systemd_unitdir}/system 84 install -d ${D}${systemd_unitdir}/system
85 install -m 0644 ${WORKDIR}/webmin.service ${D}${systemd_unitdir}/system 85 install -m 0644 ${UNPACKDIR}/webmin.service ${D}${systemd_unitdir}/system
86 sed -i -e 's,@SYSCONFDIR@,${sysconfdir},g' \ 86 sed -i -e 's,@SYSCONFDIR@,${sysconfdir},g' \
87 ${D}${systemd_unitdir}/system/webmin.service 87 ${D}${systemd_unitdir}/system/webmin.service
88 88
@@ -117,7 +117,7 @@ do_install() {
117 export atboot=1 117 export atboot=1
118 export no_pam=1 118 export no_pam=1
119 mkdir -p $tempdir 119 mkdir -p $tempdir
120 ${S}/../setup.sh 120 ${UNPACKDIR}/setup.sh
121 121
122 # Ensure correct PERLLIB path 122 # Ensure correct PERLLIB path
123 sed -i -e 's#${D}##g' ${D}${sysconfdir}/webmin/start 123 sed -i -e 's#${D}##g' ${D}${sysconfdir}/webmin/start