From f8b32fb1beeb14419ab4eb0811f8ac0707f19cd8 Mon Sep 17 00:00:00 2001 From: Tobias Waldekranz Date: Wed, 8 Feb 2023 14:04:19 +0100 Subject: [PATCH] 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. --- package/clixon/clixon.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package/clixon/clixon.mk b/package/clixon/clixon.mk index 153082d5..e6ab0211 100644 --- a/package/clixon/clixon.mk +++ b/package/clixon/clixon.mk @@ -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