blob: a8f2ab109d6d908c5e11f721b41a206ee42dbf40 [file] [log] [blame]
SUMMARY = "nftables connection tracking rules"
DESCRIPTION = "misc nftables connection tracking rules"
PR = "r1"
PV = "1.0"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
FILESEXTRAPATHS:prepend:gbmc := "${THISDIR}/${PN}:"
SRC_URI += " \
file://99-gbmc.rules \
"
RDEPENDS:${PN} += " \
nftables-systemd \
"
do_install() {
NFTDIR=${D}${sysconfdir}/nftables
install -d -m0755 "$NFTDIR"
install -m0644 ${WORKDIR}/99-gbmc.rules ${NFTDIR}/
}