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 <jackie.huang@windriver.com>
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 @@
# /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() {