file://util-linux-pam-postlogin.patch \
file://syslog-ng-config-parse-err.patch \
file://syslog-ng-config-systemd-service.patch \
- file://syslog-ng-conf-fix-the-source.patch \
file://syslog-ng-conf-replace-match-with-message.patch \
file://lighttpd-init-script-chroot.patch \
"
audit-python \
"
RDEPENDS_dhclient-config += "dhcp-client"
-RDEPENDS_dnsmasq-config += ""
+RDEPENDS_dnsmasq-config += "dnsmasq"
RDEPENDS_docker-config += "docker-ce logrotate "
RDEPENDS_initscripts-config += "initscripts"
RDEPENDS_filesystem-scripts += ""
}
pkg_postinst_centos-release-config() {
- sed 's/@PLATFORM_RELEASE@/${STX_REL}/' $D${datadir}/starlingx/config-files/centos-release-config/files/issue >> $D${sysconfdir}/issue
- sed 's/@PLATFORM_RELEASE@/${STX_REL}/' $D${datadir}/starlingx/config-files/centos-release-config/files/issue.net >> $D${sysconfdir}/issue.net
+ sed 's/@PLATFORM_RELEASE@/${ORAN_REL}/' $D${datadir}/starlingx/config-files/centos-release-config/files/issue >> $D${sysconfdir}/issue
+ sed 's/@PLATFORM_RELEASE@/${ORAN_REL}/' $D${datadir}/starlingx/config-files/centos-release-config/files/issue.net >> $D${sysconfdir}/issue.net
chmod 644 $D${sysconfdir}/issue
chmod 644 $D${sysconfdir}/issue.net
}
if [ -z "$D" ]; then
systemctl --no-block restart syslog-ng.service
fi
-
-# TODO
-#preun:
-# %systemd_preun syslog-ng.service
-#postun:
-# ldconfig
-# %systemd_postun_with_restart syslog-ng.service
-# systemctl daemon-reload 2>&1 || :
-# systemctl try-restart
}
pkg_postinst_ontarget_systemd-config() {