From: Yi Zhao Date: Tue, 16 Jun 2020 01:51:06 +0000 (+0800) Subject: iptables: split iptables-apply to its own package X-Git-Tag: uninative-2.9~463 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=9a2386443af23d4b713b9635a0275165565ef8f4;p=openembedded-core.git 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. Signed-off-by: Yi Zhao Signed-off-by: Richard Purdie --- 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() { fi } -PACKAGES += "${PN}-modules" +PACKAGES =+ "${PN}-modules ${PN}-apply" PACKAGES_DYNAMIC += "^${PN}-module-.*" python populate_packages_prepend() { @@ -98,6 +98,9 @@ RRECOMMENDS_${PN} = " \ FILES_${PN} += "${datadir}/xtables" +FILES_${PN}-apply = "${sbindir}/ip*-apply" +RDEPENDS_${PN}-apply = "${PN} bash" + # Include the symlinks as well in respective packages FILES_${PN}-module-xt-conntrack += "${libdir}/xtables/libxt_state.so" FILES_${PN}-module-xt-ct += "${libdir}/xtables/libxt_NOTRACK.so"