diff options
author | Armin Kuster <akuster808@gmail.com> | 2018-04-20 07:34:55 -0700 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2018-04-23 12:38:50 -0400 |
commit | d4182f50f19d183630e0f908ff953c4f9402cabe (patch) | |
tree | e294af382eae6c18d5489260d725480f7526827d | |
parent | fcc09c8c3639ca5c529d4f28db9b1d090331739f (diff) | |
download | meta-virtualization-d4182f50f19d183630e0f908ff953c4f9402cabe.tar.gz |
Refactor to conform to YP Compat requirements
This prevents the signature from being modified
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
-rw-r--r-- | recipes-core/busybox/busybox_%.bbappend | 11 | ||||
-rw-r--r-- | recipes-core/busybox/busybox_virtualization.inc | 10 | ||||
-rw-r--r-- | recipes-extended/iptables/iptables-meta-virtualization.inc | 19 | ||||
-rw-r--r-- | recipes-extended/iptables/iptables_1.%.bbappend | 20 |
4 files changed, 31 insertions, 29 deletions
diff --git a/recipes-core/busybox/busybox_%.bbappend b/recipes-core/busybox/busybox_%.bbappend index 8369a031..617caccb 100644 --- a/recipes-core/busybox/busybox_%.bbappend +++ b/recipes-core/busybox/busybox_%.bbappend | |||
@@ -1,10 +1 @@ | |||
1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | require ${@bb.utils.contains('DISTRO_FEATURES', 'virtualization', '${BPN}_virtualization.inc', '', d)} | |
2 | |||
3 | SRC_URI += " \ | ||
4 | file://lspci.cfg \ | ||
5 | file://lsusb.cfg \ | ||
6 | file://mdev.cfg \ | ||
7 | file://mount-cifs.cfg \ | ||
8 | file://ps-extras.cfg \ | ||
9 | file://getopt.cfg \ | ||
10 | " | ||
diff --git a/recipes-core/busybox/busybox_virtualization.inc b/recipes-core/busybox/busybox_virtualization.inc new file mode 100644 index 00000000..d9c4e677 --- /dev/null +++ b/recipes-core/busybox/busybox_virtualization.inc | |||
@@ -0,0 +1,10 @@ | |||
1 | FILESEXTRAPATHS_prepend := "${THISDIR}/busybox:" | ||
2 | |||
3 | SRC_URI += " \ | ||
4 | file://lspci.cfg \ | ||
5 | file://lsusb.cfg \ | ||
6 | file://mdev.cfg \ | ||
7 | file://mount-cifs.cfg \ | ||
8 | file://ps-extras.cfg \ | ||
9 | file://getopt.cfg \ | ||
10 | " | ||
diff --git a/recipes-extended/iptables/iptables-meta-virtualization.inc b/recipes-extended/iptables/iptables-meta-virtualization.inc new file mode 100644 index 00000000..8fd521c9 --- /dev/null +++ b/recipes-extended/iptables/iptables-meta-virtualization.inc | |||
@@ -0,0 +1,19 @@ | |||
1 | RRECOMMENDS_${PN} += "kernel-module-ip6-tables \ | ||
2 | kernel-module-ip-tables \ | ||
3 | kernel-module-ip6table-filter \ | ||
4 | kernel-module-iptable-filter \ | ||
5 | kernel-module-ip6table-raw \ | ||
6 | kernel-module-iptable-raw \ | ||
7 | kernel-module-ip6table-nat \ | ||
8 | kernel-module-iptable-nat \ | ||
9 | kernel-module-ip6table-mangle \ | ||
10 | kernel-module-iptable-magle \ | ||
11 | kernel-module-ip6table-security \ | ||
12 | kernel-module-iptable-security \ | ||
13 | kernel-module-ipt-reject \ | ||
14 | kernel-module-iptable-mangle \ | ||
15 | kernel-module-xt-checksum \ | ||
16 | kernel-module-xt-conntrack \ | ||
17 | kernel-module-xt-state \ | ||
18 | kernel-module-xt-tcpudp \ | ||
19 | " | ||
diff --git a/recipes-extended/iptables/iptables_1.%.bbappend b/recipes-extended/iptables/iptables_1.%.bbappend index 8fd521c9..9a15e60c 100644 --- a/recipes-extended/iptables/iptables_1.%.bbappend +++ b/recipes-extended/iptables/iptables_1.%.bbappend | |||
@@ -1,19 +1 @@ | |||
1 | RRECOMMENDS_${PN} += "kernel-module-ip6-tables \ | require ${@bb.utils.contains('DISTRO_FEATURES', 'virtualization', '${BPN}-meta-virtualization.inc', '', d)} | |
2 | kernel-module-ip-tables \ | ||
3 | kernel-module-ip6table-filter \ | ||
4 | kernel-module-iptable-filter \ | ||
5 | kernel-module-ip6table-raw \ | ||
6 | kernel-module-iptable-raw \ | ||
7 | kernel-module-ip6table-nat \ | ||
8 | kernel-module-iptable-nat \ | ||
9 | kernel-module-ip6table-mangle \ | ||
10 | kernel-module-iptable-magle \ | ||
11 | kernel-module-ip6table-security \ | ||
12 | kernel-module-iptable-security \ | ||
13 | kernel-module-ipt-reject \ | ||
14 | kernel-module-iptable-mangle \ | ||
15 | kernel-module-xt-checksum \ | ||
16 | kernel-module-xt-conntrack \ | ||
17 | kernel-module-xt-state \ | ||
18 | kernel-module-xt-tcpudp \ | ||
19 | " | ||