mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 00:20:08 +00:00
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>
This commit is contained in:
@@ -68,7 +68,7 @@ do_install_append() {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
PACKAGES += "${PN}-modules"
|
PACKAGES =+ "${PN}-modules ${PN}-apply"
|
||||||
PACKAGES_DYNAMIC += "^${PN}-module-.*"
|
PACKAGES_DYNAMIC += "^${PN}-module-.*"
|
||||||
|
|
||||||
python populate_packages_prepend() {
|
python populate_packages_prepend() {
|
||||||
@@ -98,6 +98,9 @@ RRECOMMENDS_${PN} = " \
|
|||||||
|
|
||||||
FILES_${PN} += "${datadir}/xtables"
|
FILES_${PN} += "${datadir}/xtables"
|
||||||
|
|
||||||
|
FILES_${PN}-apply = "${sbindir}/ip*-apply"
|
||||||
|
RDEPENDS_${PN}-apply = "${PN} bash"
|
||||||
|
|
||||||
# Include the symlinks as well in respective packages
|
# Include the symlinks as well in respective packages
|
||||||
FILES_${PN}-module-xt-conntrack += "${libdir}/xtables/libxt_state.so"
|
FILES_${PN}-module-xt-conntrack += "${libdir}/xtables/libxt_state.so"
|
||||||
FILES_${PN}-module-xt-ct += "${libdir}/xtables/libxt_NOTRACK.so"
|
FILES_${PN}-module-xt-ct += "${libdir}/xtables/libxt_NOTRACK.so"
|
||||||
|
|||||||
Reference in New Issue
Block a user