summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYi Zhao <yi.zhao@windriver.com>2020-06-16 09:51:06 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-06-17 11:10:28 +0100
commit889eb94e98cb3b86d607441e6f2ebdda8ccd9368 (patch)
tree02af4a69f8a91192807e058be1029e770b90227a
parentf2df8011af2ad7cc9dd97d188ffba0f295e38493 (diff)
downloadpoky-889eb94e98cb3b86d607441e6f2ebdda8ccd9368.tar.gz
iptables: split iptables-apply to its own package
We do not want iptables to depend on bash. So move iptables-apply/ip6tables-apply to a separate package. (From OE-Core rev: 9a2386443af23d4b713b9635a0275165565ef8f4) Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-extended/iptables/iptables_1.8.5.bb5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/recipes-extended/iptables/iptables_1.8.5.bb b/meta/recipes-extended/iptables/iptables_1.8.5.bb
index 8664a9751a..5976128807 100644
--- a/meta/recipes-extended/iptables/iptables_1.8.5.bb
+++ b/meta/recipes-extended/iptables/iptables_1.8.5.bb
@@ -68,7 +68,7 @@ do_install_append() {
68 fi 68 fi
69} 69}
70 70
71PACKAGES += "${PN}-modules" 71PACKAGES =+ "${PN}-modules ${PN}-apply"
72PACKAGES_DYNAMIC += "^${PN}-module-.*" 72PACKAGES_DYNAMIC += "^${PN}-module-.*"
73 73
74python populate_packages_prepend() { 74python populate_packages_prepend() {
@@ -98,6 +98,9 @@ RRECOMMENDS_${PN} = " \
98 98
99FILES_${PN} += "${datadir}/xtables" 99FILES_${PN} += "${datadir}/xtables"
100 100
101FILES_${PN}-apply = "${sbindir}/ip*-apply"
102RDEPENDS_${PN}-apply = "${PN} bash"
103
101# Include the symlinks as well in respective packages 104# Include the symlinks as well in respective packages
102FILES_${PN}-module-xt-conntrack += "${libdir}/xtables/libxt_state.so" 105FILES_${PN}-module-xt-conntrack += "${libdir}/xtables/libxt_state.so"
103FILES_${PN}-module-xt-ct += "${libdir}/xtables/libxt_NOTRACK.so" 106FILES_${PN}-module-xt-ct += "${libdir}/xtables/libxt_NOTRACK.so"