From 4becb19947677a19976e73f8372c8964769ef50f Mon Sep 17 00:00:00 2001 From: Vu Tran Date: Fri, 28 Feb 2014 09:11:06 -0500 Subject: linux-yocto_3.10: to include iscsi-tcp cfg In order for Libvirt compute node to be able to mount Cinder LVM backend driver volume (hosted by Cinder Volume service) over iscsi, the initiator iscsi kernel-module is needed. This patch simplies to add kernel cfg for turning on iscsi-tcp kernel config. Signed-off-by: Vu Tran Signed-off-by: Bruce Ashfield --- .../recipes-kernel/linux/linux-yocto/enable-iscsi-tcp.cfg | 3 +++ meta-openstack/recipes-kernel/linux/linux-yocto/iscsi-tcp.scc | 4 ++++ meta-openstack/recipes-kernel/linux/linux-yocto_3.10.bbappend | 6 ++++++ 3 files changed, 13 insertions(+) create mode 100644 meta-openstack/recipes-kernel/linux/linux-yocto/enable-iscsi-tcp.cfg create mode 100644 meta-openstack/recipes-kernel/linux/linux-yocto/iscsi-tcp.scc create mode 100644 meta-openstack/recipes-kernel/linux/linux-yocto_3.10.bbappend diff --git a/meta-openstack/recipes-kernel/linux/linux-yocto/enable-iscsi-tcp.cfg b/meta-openstack/recipes-kernel/linux/linux-yocto/enable-iscsi-tcp.cfg new file mode 100644 index 0000000..9f019e5 --- /dev/null +++ b/meta-openstack/recipes-kernel/linux/linux-yocto/enable-iscsi-tcp.cfg @@ -0,0 +1,3 @@ +CONFIG_SCSI_ISCSI_ATTRS=m +CONFIG_ISCSI_TCP=m +CONFIG_ISCSI_BOOT_SYSFS=m diff --git a/meta-openstack/recipes-kernel/linux/linux-yocto/iscsi-tcp.scc b/meta-openstack/recipes-kernel/linux/linux-yocto/iscsi-tcp.scc new file mode 100644 index 0000000..66dfb34 --- /dev/null +++ b/meta-openstack/recipes-kernel/linux/linux-yocto/iscsi-tcp.scc @@ -0,0 +1,4 @@ +define KFEATURE_DESCRIPTION "Enable tcp iscsi initiator" +define KFEATURE_COMPATIBILITY board + +kconf non-hardware enable-iscsi-tcp.cfg diff --git a/meta-openstack/recipes-kernel/linux/linux-yocto_3.10.bbappend b/meta-openstack/recipes-kernel/linux/linux-yocto_3.10.bbappend new file mode 100644 index 0000000..2d7c60f --- /dev/null +++ b/meta-openstack/recipes-kernel/linux/linux-yocto_3.10.bbappend @@ -0,0 +1,6 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" +PRINC := "${@int(PRINC) + 1}" + +SRC_URI += "file://iscsi-tcp.scc \ + file://enable-iscsi-tcp.cfg \ + " -- cgit v1.2.3-54-g00ecf