[Buildroot] [PATCH 1/1] package/keepalived: add optional nftables dependency

Arnout Vandecappelle arnout at mind.be
Mon Mar 25 21:22:56 UTC 2019



On 25/03/2019 19:22, Baruch Siach wrote:
> BTW, what happens when both BR2_PACKAGE_NFTABLES and 
> BR2_PACKAGE_IPTABLES_NFTABLES are enabled? Do both coexist? If they do, I see 
> no way for keepalived to know which library to link against. iptables will 
> always build before keepalived because it optionally depends on 
> BR2_PACKAGE_IPTABLES anyway. But nftables might not build before keepalived in 
> that case.

 I guess the configure script will prefer one over the other if both are available.

 If the configure script prefers iptables over nftables, then the proposed patch
looks good to me. If, however, the configure script prefers nftables over
iptables, then the patch is wrong because the keepalived would be built
differently depending on whether nftables is built first or not.

 Regards,
 Arnout



More information about the buildroot mailing list