mirror of
https://git.yoctoproject.org/meta-security
synced 2026-05-07 04:58:47 +00:00
suricata: update postinit
[log_check] WARNING: Intentionally failing postinstall scriptlets of ['suricata', 'clamav'] to defer them to first boot is deprecated. Please place them into pkg_postinst_ontarget_${PN} ()
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
@@ -46,8 +46,8 @@ do_install_append () {
|
|||||||
install -m 0644 ${WORKDIR}/volatiles.03_suricata ${D}${sysconfdir}/default/volatiles/volatiles.03_suricata
|
install -m 0644 ${WORKDIR}/volatiles.03_suricata ${D}${sysconfdir}/default/volatiles/volatiles.03_suricata
|
||||||
}
|
}
|
||||||
|
|
||||||
pkg_postinst_${PN} () {
|
pkg_postinst_ontarget_${PN} () {
|
||||||
if [ -z "$D" ] && [ -e /etc/init.d/populate-volatile.sh ] ; then
|
if [ -e /etc/init.d/populate-volatile.sh ] ; then
|
||||||
${sysconfdir}/init.d/populate-volatile.sh update
|
${sysconfdir}/init.d/populate-volatile.sh update
|
||||||
fi
|
fi
|
||||||
${bindir}/suricata -c ${sysconfdir}/suricata.yaml -i eth0
|
${bindir}/suricata -c ${sysconfdir}/suricata.yaml -i eth0
|
||||||
|
|||||||
Reference in New Issue
Block a user