From f304e767c96927617601a0ca1e3f94d1c3f1516f Mon Sep 17 00:00:00 2001 From: Jackie Huang Date: Mon, 27 Apr 2020 17:13:55 +0800 Subject: [PATCH] config-files: install the init script for lighttpd install the init script into /etc/init.d for lighttpd to align with stx 3.0. Signed-off-by: Jackie Huang Signed-off-by: Babak Sarashki --- meta-stx-flock/stx-config-files/config-files_1.0.0.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-stx-flock/stx-config-files/config-files_1.0.0.bb b/meta-stx-flock/stx-config-files/config-files_1.0.0.bb index a672fc2..3f89dcf 100644 --- a/meta-stx-flock/stx-config-files/config-files_1.0.0.bb +++ b/meta-stx-flock/stx-config-files/config-files_1.0.0.bb @@ -339,7 +339,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() {