From: Jackie Huang Date: Mon, 27 Apr 2020 09:13:55 +0000 (+0800) Subject: config-files: install the init script for lighttpd X-Git-Tag: bronze-rc0~63^2 X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=f36505861104915d875ad53c36f93909d197b493;p=pti%2Frtp.git config-files: install the init script for lighttpd install the init script into /etc/init.d for lighttpd to align with stx 3.0. Issue-ID: INF-31 Signed-off-by: Jackie Huang Change-Id: Ia353e9463374c5202a8f23562df51c55376cff2c --- diff --git a/meta-stx/recipes-core/stx-config-files/config-files_1.0.0.bb b/meta-stx/recipes-core/stx-config-files/config-files_1.0.0.bb index 4fdfddf..09bf22f 100644 --- a/meta-stx/recipes-core/stx-config-files/config-files_1.0.0.bb +++ b/meta-stx/recipes-core/stx-config-files/config-files_1.0.0.bb @@ -358,7 +358,9 @@ pkg_postinst_ontarget_lighttpd-config() { # /etc/rc.d/init.d/lighttpd is not a config file, so replace it here if it doesn't match cp --preserve=xattr -f ${datadir}/starlingx/lighttpd.init ${sysconfdir}/rc.d/init.d/lighttpd + cp --preserve=xattr -f ${datadir}/starlingx/lighttpd.init ${sysconfdir}/init.d/lighttpd chmod 755 ${sysconfdir}/rc.d/init.d/lighttpd + chmod 755 ${sysconfdir}/init.d/lighttpd } pkg_postinst_ontarget_logrotate-config() {