diff options
author | Yi Zhao <yi.zhao@windriver.com> | 2020-06-16 09:51:06 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-06-17 11:10:28 +0100 |
commit | 889eb94e98cb3b86d607441e6f2ebdda8ccd9368 (patch) | |
tree | 02af4a69f8a91192807e058be1029e770b90227a /meta/recipes-extended/iptables/iptables_1.8.5.bb | |
parent | f2df8011af2ad7cc9dd97d188ffba0f295e38493 (diff) | |
download | poky-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>
Diffstat (limited to 'meta/recipes-extended/iptables/iptables_1.8.5.bb')
-rw-r--r-- | meta/recipes-extended/iptables/iptables_1.8.5.bb | 5 |
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 | ||
71 | PACKAGES += "${PN}-modules" | 71 | PACKAGES =+ "${PN}-modules ${PN}-apply" |
72 | PACKAGES_DYNAMIC += "^${PN}-module-.*" | 72 | PACKAGES_DYNAMIC += "^${PN}-module-.*" |
73 | 73 | ||
74 | python populate_packages_prepend() { | 74 | python populate_packages_prepend() { |
@@ -98,6 +98,9 @@ RRECOMMENDS_${PN} = " \ | |||
98 | 98 | ||
99 | FILES_${PN} += "${datadir}/xtables" | 99 | FILES_${PN} += "${datadir}/xtables" |
100 | 100 | ||
101 | FILES_${PN}-apply = "${sbindir}/ip*-apply" | ||
102 | RDEPENDS_${PN}-apply = "${PN} bash" | ||
103 | |||
101 | # Include the symlinks as well in respective packages | 104 | # Include the symlinks as well in respective packages |
102 | FILES_${PN}-module-xt-conntrack += "${libdir}/xtables/libxt_state.so" | 105 | FILES_${PN}-module-xt-conntrack += "${libdir}/xtables/libxt_state.so" |
103 | FILES_${PN}-module-xt-ct += "${libdir}/xtables/libxt_NOTRACK.so" | 106 | FILES_${PN}-module-xt-ct += "${libdir}/xtables/libxt_NOTRACK.so" |