diff options
author | Bruce Ashfield <bruce.ashfield@gmail.com> | 2020-01-22 18:02:40 +0000 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2020-01-22 18:02:40 +0000 |
commit | 1d174d4e851b1dc74c4c4778cf7d0c52d1f38142 (patch) | |
tree | b02bc6399a9bb5dfabd6dff33da1a1c41a6b3e0a /meta-openstack/recipes-kernel | |
parent | a401a1c3d86eb00bab8bfccba83c12cc67ce06a1 (diff) | |
download | meta-cloud-services-1d174d4e851b1dc74c4c4778cf7d0c52d1f38142.tar.gz |
bbappends: make distro feature safe
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'meta-openstack/recipes-kernel')
3 files changed, 11 insertions, 18 deletions
diff --git a/meta-openstack/recipes-kernel/linux/linux-yocto_4.19.bbappend b/meta-openstack/recipes-kernel/linux/linux-yocto_4.19.bbappend index 843546c..025ee4e 100644 --- a/meta-openstack/recipes-kernel/linux/linux-yocto_4.19.bbappend +++ b/meta-openstack/recipes-kernel/linux/linux-yocto_4.19.bbappend | |||
@@ -1,9 +1 @@ | |||
1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | require ${@bb.utils.contains('DISTRO_FEATURES', 'openstack', '${BPN}_openstack.inc', '', d)} | |
2 | |||
3 | SRC_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 | " | ||
diff --git a/meta-openstack/recipes-kernel/linux/linux-yocto_5.2.bbappend b/meta-openstack/recipes-kernel/linux/linux-yocto_5.2.bbappend index 843546c..025ee4e 100644 --- a/meta-openstack/recipes-kernel/linux/linux-yocto_5.2.bbappend +++ b/meta-openstack/recipes-kernel/linux/linux-yocto_5.2.bbappend | |||
@@ -1,9 +1 @@ | |||
1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | require ${@bb.utils.contains('DISTRO_FEATURES', 'openstack', '${BPN}_openstack.inc', '', d)} | |
2 | |||
3 | SRC_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 | " | ||
diff --git a/meta-openstack/recipes-kernel/linux/linux-yocto_openstack.inc b/meta-openstack/recipes-kernel/linux/linux-yocto_openstack.inc new file mode 100644 index 0000000..843546c --- /dev/null +++ b/meta-openstack/recipes-kernel/linux/linux-yocto_openstack.inc | |||
@@ -0,0 +1,9 @@ | |||
1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
2 | |||
3 | SRC_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 | " | ||