summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMihai Prica <mihai.prica@intel.com>2012-11-15 12:11:37 +0200
committerRaymond Danks <ray.danks@se-eng.com>2012-11-26 16:21:15 -0700
commitbf7a0aa0556675eb004f148471c575b2f484c434 (patch)
treeb839f9f84e16b69877abb978ab0ed49f17189364
parent6777842470676f4c597b663f8e7c9c78b5c58ff6 (diff)
downloadmeta-virtualization-bf7a0aa0556675eb004f148471c575b2f484c434.tar.gz
linux-yocto: added kernel configs for iptables modules iptables: loaded necessary kernel modules
Signed-off-by: Mihai Prica <mihai.prica@intel.com> Signed-off-by: Raymond Danks <ray.danks@se-eng.com>
-rw-r--r--recipes-extended/iptables/iptables_1.4.15.bbappend8
-rw-r--r--recipes-kernel/linux/linux-yocto/xt-checksum.cfg1
-rw-r--r--recipes-kernel/linux/linux-yocto/xt-checksum.scc4
-rw-r--r--recipes-kernel/linux/linux-yocto_3.4.bbappend3
4 files changed, 15 insertions, 1 deletions
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 @@
1RRECOMMENDS_${PN} += "kernel-module-ip6-tables \
2 kernel-module-ip6table-filter \
3 kernel-module-xt-tcpudp \
4 kernel-module-ipt-reject \
5 kernel-module-iptable-mangle \
6 kernel-module-xt-checksum \
7 kernel-module-xt-state \
8 "
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 @@
1define KFEATURE_DESCRIPTION "Add extra iptables modules"
2define KFEATURE_COMPATIBILITY board
3
4kconf 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 @@
1FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" 1FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
2 2
3SRC_URI += "file://ebtables.scc " 3SRC_URI += "file://xt-checksum.scc \
4 file://ebtables.scc "
4 5