mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
nfs-utils: control ipv6 support based on DISTRO_FEATURES
Add PACKAGECONFIG for ipv6 and control it based on DISTRO_FEATURES. (From OE-Core rev: b72d04985a6e0dba8ab44b6eb55b62914266645c) Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
d4d244157b
commit
0dbd6e45b8
@@ -64,10 +64,13 @@ EXTRA_OECONF = "--with-statduser=rpcuser \
|
||||
--with-statdpath=/var/lib/nfs/statd \
|
||||
"
|
||||
|
||||
PACKAGECONFIG ??= "tcp-wrappers"
|
||||
PACKAGECONFIG ??= "tcp-wrappers \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'ipv6', '', d)} \
|
||||
"
|
||||
PACKAGECONFIG_remove_libc-musl = "tcp-wrappers"
|
||||
PACKAGECONFIG[tcp-wrappers] = "--with-tcp-wrappers,--without-tcp-wrappers,tcp-wrappers"
|
||||
PACKAGECONFIG[nfsidmap] = "--enable-nfsidmap,--disable-nfsidmap,keyutils"
|
||||
PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"
|
||||
|
||||
INHIBIT_AUTO_STAGE = "1"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user