Skip to contentSkip to conversation

chrony: correct parameter to configure to disable readline usage

PATCH New Federico Pellegrin 1 participant 1 message Oct 6, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 chrony: correct parameter to configure to disable readline usage

The correct parameter to disable readline usage is --disable-readline and not --without-readline.

See also chrony source at:
https://github.com/mlichvar/chrony/blob/master/configure#L110

---
 meta-networking/recipes-support/chrony/chrony_4.3.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-networking/recipes-support/chrony/chrony_4.3.bb +1 -1
index 6617164e3..d0e2c4b54 100644
@@ -70,7 +70,7 @@ USERADD_PARAM:${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'privdrop', '--sys
 PACKAGECONFIG ??= "editline \
     ${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)} \
 "
-PACKAGECONFIG[readline] = "--without-editline,--without-readline,readline"
+PACKAGECONFIG[readline] = "--without-editline,--disable-readline,readline"
 PACKAGECONFIG[editline] = ",--without-editline,libedit"
 PACKAGECONFIG[sechash] = "--without-tomcrypt,--disable-sechash,nss"
 PACKAGECONFIG[privdrop] = "--with-libcap,--disable-privdrop --without-libcap,libcap"
Signature · 1 line
2.37.3