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:
Wang Mingyu
2024-06-14 14:25:06 -04:00
committed by Armin Kuster
parent cc775387a1
commit abfa203aa6
+3 -1
View File
@@ -66,6 +66,8 @@ do_configure:prepend () {
oe_runconf
}
CFLAGS += "-Wno-error=incompatible-pointer-types"
do_compile () {
# we do this to bypass the make provided by this pkg
# patches Makefile to skip the subdir
@@ -82,7 +84,7 @@ do_install () {
oe_runmake install DESTDIR=${D}
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}/suricata.yaml ${D}${sysconfdir}/suricata