mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-27 21:26:36 +00:00
package/chrony: use libedit for command line editing
chrony is licensed under GPL-2.0, which is not license compatible with readline (GPL-3.0+), so remove the optional readline handling and replace with libedit instead. While we are at it, also explicitly disable the libedit backend when not available. Signed-off-by: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
parent
c074fade2c
commit
baadfbcc02
@ -13,6 +13,7 @@ CHRONY_CONF_OPTS = \
|
|||||||
--host-system=Linux \
|
--host-system=Linux \
|
||||||
--host-machine=$(BR2_ARCH) \
|
--host-machine=$(BR2_ARCH) \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
|
--without-readline \
|
||||||
--without-tomcrypt \
|
--without-tomcrypt \
|
||||||
$(if $(BR2_PACKAGE_CHRONY_DEBUG_LOGGING),--enable-debug,--disable-debug)
|
$(if $(BR2_PACKAGE_CHRONY_DEBUG_LOGGING),--enable-debug,--disable-debug)
|
||||||
|
|
||||||
@ -35,10 +36,10 @@ else
|
|||||||
CHRONY_CONF_OPTS += --without-seccomp
|
CHRONY_CONF_OPTS += --without-seccomp
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_READLINE),y)
|
ifeq ($(BR2_PACKAGE_LIBEDIT),y)
|
||||||
CHRONY_DEPENDENCIES += readline
|
CHRONY_DEPENDENCIES += libedit
|
||||||
else
|
else
|
||||||
CHRONY_CONF_OPTS += --disable-readline
|
CHRONY_CONF_OPTS += --without-editline --disable-readline
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# If pps-tools is available, build it before so the package can use it
|
# If pps-tools is available, build it before so the package can use it
|
||||||
|
Loading…
x
Reference in New Issue
Block a user