summaryrefslogtreecommitdiffstats
path: root/meta-networking
diff options
context:
space:
mode:
authorPeter Kjellerstedt <pkj@axis.com>2022-11-12 13:59:39 +0100
committerKhem Raj <raj.khem@gmail.com>2022-11-12 16:52:33 -0800
commitfac629b4f1b11f0db4163736630905415eafc91d (patch)
tree245b291cbcf5901b2d96cce6686eb13bd45ec939 /meta-networking
parent1ff3ca8540441de8174604443601939f3dcc689c (diff)
downloadmeta-openembedded-fac629b4f1b11f0db4163736630905415eafc91d.tar.gz
chrony: Remove the libcap and nss PACKAGECONFIGs
There is no need for these configs on their own and they would only mess up the sechash and privdrop configs. To actually enable sechash one also had to enable nss, and to enable privdrop one also had to enable libcap. This also avoids passing --with-libcap if privdrop is enabled since the option does not exist. Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking')
-rw-r--r--meta-networking/recipes-support/chrony/chrony_4.3.bb4
1 files changed, 1 insertions, 3 deletions
diff --git a/meta-networking/recipes-support/chrony/chrony_4.3.bb b/meta-networking/recipes-support/chrony/chrony_4.3.bb
index b09a58b08..420cc78ca 100644
--- a/meta-networking/recipes-support/chrony/chrony_4.3.bb
+++ b/meta-networking/recipes-support/chrony/chrony_4.3.bb
@@ -64,11 +64,9 @@ PACKAGECONFIG ??= "editline \
64" 64"
65PACKAGECONFIG[editline] = ",--without-editline,libedit" 65PACKAGECONFIG[editline] = ",--without-editline,libedit"
66PACKAGECONFIG[sechash] = "--without-tomcrypt,--disable-sechash,nss" 66PACKAGECONFIG[sechash] = "--without-tomcrypt,--disable-sechash,nss"
67PACKAGECONFIG[privdrop] = "--with-libcap,--disable-privdrop --without-libcap,libcap" 67PACKAGECONFIG[privdrop] = ",--disable-privdrop,libcap"
68PACKAGECONFIG[scfilter] = "--enable-scfilter,--without-seccomp,libseccomp" 68PACKAGECONFIG[scfilter] = "--enable-scfilter,--without-seccomp,libseccomp"
69PACKAGECONFIG[ipv6] = ",--disable-ipv6," 69PACKAGECONFIG[ipv6] = ",--disable-ipv6,"
70PACKAGECONFIG[nss] = "--with-nss,--without-nss,nss"
71PACKAGECONFIG[libcap] = "--with-libcap,--without-libcap,libcap"
72 70
73# --disable-static isn't supported by chrony's configure script. 71# --disable-static isn't supported by chrony's configure script.
74DISABLE_STATIC = "" 72DISABLE_STATIC = ""