mirror of
https://git.yoctoproject.org/meta-security
synced 2026-06-13 17:10:36 +00:00
suricata: Start WORKDIR -> UNPACKDIR transition
Replace references of WORKDIR with UNPACKDIR where it makes sense to do so in preparation for changing the default value of UNPACKDIR. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
committed by
Armin Kuster
parent
cc775387a1
commit
abfa203aa6
@@ -66,6 +66,8 @@ do_configure:prepend () {
|
|||||||
oe_runconf
|
oe_runconf
|
||||||
}
|
}
|
||||||
|
|
||||||
|
CFLAGS += "-Wno-error=incompatible-pointer-types"
|
||||||
|
|
||||||
do_compile () {
|
do_compile () {
|
||||||
# we do this to bypass the make provided by this pkg
|
# we do this to bypass the make provided by this pkg
|
||||||
# patches Makefile to skip the subdir
|
# patches Makefile to skip the subdir
|
||||||
@@ -82,7 +84,7 @@ do_install () {
|
|||||||
oe_runmake install DESTDIR=${D}
|
oe_runmake install DESTDIR=${D}
|
||||||
|
|
||||||
install -d ${D}${sysconfdir}/suricata ${D}${sysconfdir}/default/volatiles
|
install -d ${D}${sysconfdir}/suricata ${D}${sysconfdir}/default/volatiles
|
||||||
install -m 0644 ${WORKDIR}/volatiles.03_suricata ${D}${sysconfdir}/default/volatiles/03_suricata
|
install -m 0644 ${UNPACKDIR}/volatiles.03_suricata ${D}${sysconfdir}/default/volatiles/03_suricata
|
||||||
|
|
||||||
install -m 0644 ${S}/threshold.config ${D}${sysconfdir}/suricata
|
install -m 0644 ${S}/threshold.config ${D}${sysconfdir}/suricata
|
||||||
install -m 0644 ${S}/suricata.yaml ${D}${sysconfdir}/suricata
|
install -m 0644 ${S}/suricata.yaml ${D}${sysconfdir}/suricata
|
||||||
|
|||||||
Reference in New Issue
Block a user