package/clixon: Fix default config file location

The comment in the makefile says it all.

With this in place, we can start clixon_{backend,cli,...} without any
arguments.
This commit is contained in:
Tobias Waldekranz
2023-02-08 14:05:47 +01:00
parent 41737b2343
commit f8b32fb1be
+5
View File
@@ -11,6 +11,11 @@ CLIXON_LICENSE_FILES = LICENSE.md
CLIXON_INSTALL_STAGING = YES
CLIXON_DEPENDENCIES = cligen #libcurl libxml2
# autotools-package.mk dutifully sets sysconfdir to /etc, but
# unfortunately clixon uses a hard-coded default location of
# /usr/local/etc/clixon.xml unless this option is specified.
CLIXON_CONF_OPTS += --with-configfile=/etc/clixon.xml
ifeq ($(BR_PACKAGE_CLIXON_RESTCONF_NATIVE),y)
CLIXON_CONF_OPTS += --with-restconf=native
endif