mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-09 00:07:57 +03:00
app-containers/docker: check for legacy iptables support with kernel >=6.17
Closes: https://bugs.gentoo.org/964720 Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com> Part-of: https://github.com/gentoo/gentoo/pull/44591 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
parent
cb0d6c4004
commit
3552578500
@ -71,6 +71,13 @@ pkg_setup() {
|
||||
"
|
||||
WARNING_POSIX_MQUEUE="CONFIG_POSIX_MQUEUE: is required for bind-mounting /dev/mqueue into containers"
|
||||
|
||||
if kernel_is ge 6 17; then
|
||||
CONFIG_CHECK+="
|
||||
~IP_NF_IPTABLES_LEGACY
|
||||
~NETFILTER_XTABLES_LEGACY
|
||||
"
|
||||
fi
|
||||
|
||||
if kernel_is lt 4 8; then
|
||||
CONFIG_CHECK+="
|
||||
~DEVPTS_MULTIPLE_INSTANCES
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user