mirror of
https://git.yoctoproject.org/meta-security
synced 2026-05-07 04:58:47 +00:00
suricata: install and package rules
This fixes the following warning during startup: suricata[22707]: 31/7/2018 -- 13:34:40 - <Warning> - [ERRCODE: SC_ERR_NO_RULES_LOADED(43)] - 47 rule files specified, but no rule was loaded at all! Signed-off-by: Koen Kooi <koen.kooi@linaro.org> Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
@@ -40,6 +40,9 @@ PACKAGECONFIG[python] = "--enable-python, --disable-python, python, python"
|
|||||||
export logdir = "${localstatedir}/log"
|
export logdir = "${localstatedir}/log"
|
||||||
|
|
||||||
do_install_append () {
|
do_install_append () {
|
||||||
|
|
||||||
|
oe_runmake install-rules DESTDIR=${D}
|
||||||
|
|
||||||
install -d ${D}${sysconfdir}/suricata
|
install -d ${D}${sysconfdir}/suricata
|
||||||
install -d ${D}${sysconfdir}/suricata ${D}${sysconfdir}/default/volatiles
|
install -d ${D}${sysconfdir}/suricata ${D}${sysconfdir}/default/volatiles
|
||||||
install -m 644 classification.config ${D}${sysconfdir}/suricata
|
install -m 644 classification.config ${D}${sysconfdir}/suricata
|
||||||
|
|||||||
Reference in New Issue
Block a user