summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-kernel
diff options
context:
space:
mode:
authorMark Asselstine <mark.asselstine@windriver.com>2015-11-11 21:50:29 -0500
committerBruce Ashfield <bruce.ashfield@windriver.com>2015-11-16 15:11:44 -0500
commitbb77f51e652dac4a39da3da496e72bf205945b66 (patch)
treea2a73294a6354c443c3d2c0b827f4257b2f3d666 /meta-openstack/recipes-kernel
parentd4c210c0903219cf0e048990ab208a18ca828657 (diff)
downloadmeta-cloud-services-bb77f51e652dac4a39da3da496e72bf205945b66.tar.gz
linux-yocto: carry forward kernel configuration
Yocto master uses linux-yocto 4.1 so we need to create the proper bbappend to ensure we are setting up the kernel correctly. We reuse the bbappend for the previous kernel version but enable CONFIG_IP_NF_NAT to allow nova to define the desired iptables. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'meta-openstack/recipes-kernel')
-rw-r--r--meta-openstack/recipes-kernel/linux/linux-yocto/nf.cfg1
-rw-r--r--meta-openstack/recipes-kernel/linux/linux-yocto_4.1.bbappend9
2 files changed, 10 insertions, 0 deletions
diff --git a/meta-openstack/recipes-kernel/linux/linux-yocto/nf.cfg b/meta-openstack/recipes-kernel/linux/linux-yocto/nf.cfg
index 9160ffe..223210c 100644
--- a/meta-openstack/recipes-kernel/linux/linux-yocto/nf.cfg
+++ b/meta-openstack/recipes-kernel/linux/linux-yocto/nf.cfg
@@ -5,3 +5,4 @@ CONFIG_NF_NAT_PROTO_SCTP=m
5CONFIG_NF_CONNTRACK_IPV4=y 5CONFIG_NF_CONNTRACK_IPV4=y
6CONFIG_NF_CONNTRACK_PROC_COMPAT=y 6CONFIG_NF_CONNTRACK_PROC_COMPAT=y
7CONFIG_NF_NAT_IPV4=m 7CONFIG_NF_NAT_IPV4=m
8CONFIG_IP_NF_NAT=m
diff --git a/meta-openstack/recipes-kernel/linux/linux-yocto_4.1.bbappend b/meta-openstack/recipes-kernel/linux/linux-yocto_4.1.bbappend
new file mode 100644
index 0000000..843546c
--- /dev/null
+++ b/meta-openstack/recipes-kernel/linux/linux-yocto_4.1.bbappend
@@ -0,0 +1,9 @@
1FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
2
3SRC_URI += "file://enable-veth.cfg \
4 file://enable-iscsi-tcp.cfg \
5 file://enable-nbd.cfg \
6 file://enable-rtlink.cfg \
7 file://nf.scc \
8 file://nfs.scc \
9 "