diff options
author | Ross Burton <ross@burtonini.com> | 2021-11-10 16:31:05 +0000 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2021-11-11 06:36:53 -0800 |
commit | ef4f5c1f3395f871b951cf03dd38993a101ab0e3 (patch) | |
tree | 161f1ad834c0ab547759c83fdfef19e80fe3e423 | |
parent | 00fbc4a6431c362d5de9a12f48292ed42086cbad (diff) | |
download | meta-openembedded-ef4f5c1f3395f871b951cf03dd38993a101ab0e3.tar.gz |
nginx: use ln -rs
lnr is deprecated, use ln -rs directly instead.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | meta-webserver/recipes-httpd/nginx/nginx.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-webserver/recipes-httpd/nginx/nginx.inc b/meta-webserver/recipes-httpd/nginx/nginx.inc index 7637002f23..b99e29ef99 100644 --- a/meta-webserver/recipes-httpd/nginx/nginx.inc +++ b/meta-webserver/recipes-httpd/nginx/nginx.inc | |||
@@ -94,7 +94,7 @@ do_install () { | |||
94 | >> ${D}${sysconfdir}/tmpfiles.d/${BPN}.conf | 94 | >> ${D}${sysconfdir}/tmpfiles.d/${BPN}.conf |
95 | fi | 95 | fi |
96 | install -d ${D}${sysconfdir}/${BPN} | 96 | install -d ${D}${sysconfdir}/${BPN} |
97 | lnr ${D}${localstatedir}/run/${BPN} ${D}${sysconfdir}/${BPN}/run | 97 | ln -rs ${D}${localstatedir}/run/${BPN} ${D}${sysconfdir}/${BPN}/run |
98 | install -d ${D}${NGINX_WWWDIR} | 98 | install -d ${D}${NGINX_WWWDIR} |
99 | mv ${D}${exec_prefix}/html ${D}${NGINX_WWWDIR}/ | 99 | mv ${D}${exec_prefix}/html ${D}${NGINX_WWWDIR}/ |
100 | chown ${NGINX_USER}:www-data -R ${D}${NGINX_WWWDIR} | 100 | chown ${NGINX_USER}:www-data -R ${D}${NGINX_WWWDIR} |