From bf7a0aa0556675eb004f148471c575b2f484c434 Mon Sep 17 00:00:00 2001 From: Mihai Prica Date: Thu, 15 Nov 2012 12:11:37 +0200 Subject: linux-yocto: added kernel configs for iptables modules iptables: loaded necessary kernel modules Signed-off-by: Mihai Prica Signed-off-by: Raymond Danks --- recipes-extended/iptables/iptables_1.4.15.bbappend | 8 ++++++++ recipes-kernel/linux/linux-yocto/xt-checksum.cfg | 1 + recipes-kernel/linux/linux-yocto/xt-checksum.scc | 4 ++++ recipes-kernel/linux/linux-yocto_3.4.bbappend | 3 ++- 4 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 recipes-extended/iptables/iptables_1.4.15.bbappend create mode 100644 recipes-kernel/linux/linux-yocto/xt-checksum.cfg create mode 100644 recipes-kernel/linux/linux-yocto/xt-checksum.scc diff --git a/recipes-extended/iptables/iptables_1.4.15.bbappend b/recipes-extended/iptables/iptables_1.4.15.bbappend new file mode 100644 index 00000000..52a4c4fe --- /dev/null +++ b/recipes-extended/iptables/iptables_1.4.15.bbappend @@ -0,0 +1,8 @@ +RRECOMMENDS_${PN} += "kernel-module-ip6-tables \ + kernel-module-ip6table-filter \ + kernel-module-xt-tcpudp \ + kernel-module-ipt-reject \ + kernel-module-iptable-mangle \ + kernel-module-xt-checksum \ + kernel-module-xt-state \ + " diff --git a/recipes-kernel/linux/linux-yocto/xt-checksum.cfg b/recipes-kernel/linux/linux-yocto/xt-checksum.cfg new file mode 100644 index 00000000..58afbff6 --- /dev/null +++ b/recipes-kernel/linux/linux-yocto/xt-checksum.cfg @@ -0,0 +1 @@ +CONFIG_NETFILTER_XT_TARGET_CHECKSUM=m diff --git a/recipes-kernel/linux/linux-yocto/xt-checksum.scc b/recipes-kernel/linux/linux-yocto/xt-checksum.scc new file mode 100644 index 00000000..d3804f0c --- /dev/null +++ b/recipes-kernel/linux/linux-yocto/xt-checksum.scc @@ -0,0 +1,4 @@ +define KFEATURE_DESCRIPTION "Add extra iptables modules" +define KFEATURE_COMPATIBILITY board + +kconf non-hardware xt-checksum.cfg diff --git a/recipes-kernel/linux/linux-yocto_3.4.bbappend b/recipes-kernel/linux/linux-yocto_3.4.bbappend index 78d3b836..dc97c1b8 100644 --- a/recipes-kernel/linux/linux-yocto_3.4.bbappend +++ b/recipes-kernel/linux/linux-yocto_3.4.bbappend @@ -1,4 +1,5 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" -SRC_URI += "file://ebtables.scc " +SRC_URI += "file://xt-checksum.scc \ + file://ebtables.scc " -- cgit v1.2.3-54-g00ecf