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

  • From: Thomas Jansen <mithi@xxxxxxxxx>
  • To: pisa-src@xxxxxxxxxxxxx
  • Date: Tue, 6 Oct 2009 17:47:05 +0200

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.

-- 
Thomas Jansen, "Mithi" --- mithi@xxxxxxxxx
GPG 9D5C682B, feel free to sign or encrypt your mail

Other related posts: