[pisa-src] Re: r1020 - in trunk: . docs include pisacd pisand pisasd

  • From: Diego Biurrun <diego@xxxxxxxxxx>
  • To: pisa-src@xxxxxxxxxxxxx
  • Date: Wed, 07 Oct 2009 00:08:42 +0200

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

Other related posts: