On Tue, Oct 06, 2009 at 05:47:05PM +0200, Thomas Jansen wrote: > On Tue, Oct 06, 2009 at 01:39:41PM +0200, Diego Biurrun wrote: > > > By default, place configuration files in the system configuration directory > > as defined in the build environment (/usr/local/etc), not in the global > > system configuration directory (/etc). > > This breaks the default location on OpenWRT (and probably every other > platform). Config files are expected in a subdirectory called pisa (e.g. > /etc/pisa/ or /usr/local/etc/pisa). Since Makefile.am in pisa{c,n,s}d installs > into sysconfdir directly, files end up in /etc/pisacd.conf rather than > /etc/pisa/pisacd.conf. > > Either the meaning of SYSCONFDIR is correct by pointing to /etc, then we'd > need to move trunk/pisacd/pisacd.conf to trunk/pisacd/pisa/pisacd.conf and > update trunk/pisacd/Makefile.am to contain a line like > nobase_sysconf_DATA = pisa/pisacd.conf > > Or we need to append pisa/ to SYSCONFDIR in configure.ac and adapt the header > files accordingly. Thanks for the analysis, I will fix this on Thursday. Diego