Eric Blake
2014-11-17 15:19:06 UTC
One installation directory choice I haven't found a good solution to is
the ntp.conf file, which is traditionally installed in /etc/ . If there
is an ntp.keys file, it will usually go in /etc/ as well.
In general, folks want the config-related files to be in /etc/ even if
they install the binaries in /usr/local.
While I'd like to use sysconfdir for this I'm concerned about the
hackery I'd need to do to make it work as we expect.
sysconfdir IS the solution you are looking for. A distro will run:the ntp.conf file, which is traditionally installed in /etc/ . If there
is an ntp.keys file, it will usually go in /etc/ as well.
In general, folks want the config-related files to be in /etc/ even if
they install the binaries in /usr/local.
While I'd like to use sysconfdir for this I'm concerned about the
hackery I'd need to do to make it work as we expect.
./configure prefix=/ sysconfdir=/etc
and things will just work.
I'm thinking about using ntpconfdir for this, but how to make that work
the way the other paths do hasn't been obvious to me from casual study.
I don't see the point of adding a non-standard variable when thethe way the other paths do hasn't been obvious to me from casual study.
standard one already works as advertised.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org