diff options
3 files changed, 13 insertions, 0 deletions
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 @@ | |||
| 1 | CONFIG_SCSI_ISCSI_ATTRS=m | ||
| 2 | CONFIG_ISCSI_TCP=m | ||
| 3 | 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 @@ | |||
| 1 | define KFEATURE_DESCRIPTION "Enable tcp iscsi initiator" | ||
| 2 | define KFEATURE_COMPATIBILITY board | ||
| 3 | |||
| 4 | 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 @@ | |||
| 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
| 2 | PRINC := "${@int(PRINC) + 1}" | ||
| 3 | |||
| 4 | SRC_URI += "file://iscsi-tcp.scc \ | ||
| 5 | file://enable-iscsi-tcp.cfg \ | ||
| 6 | " | ||
