[PATCH] Install config files
Allan McRae
allan@archlinux.org
Mon Feb 24 11:28:00 GMT 2014
On 24/02/14 19:53, Alfred M. Szmidt wrote:
> > I find it quite iffy when `make install' in any source tree
> > starts touching anything in SYSCONFDIR...
>
> If you are running make install without DESTDIR, you doing
> something wrong anyway.
>
> If I am setting up a chroot, copy my configurations files to
> DESTDIR/etc/nsswitch.conf, and then do `make install DESTDIR=...' then
> I should be able to assume that they have not been overwritten.
> `install-sysconf' is a nice compromise in this regard.
>
Note that "make install" will not install nsswitch.conf because no
distribution actually ships that with their glibc package. With the
patch it will install nscd.conf and gai.conf.
Allan
More information about the Libc-alpha
mailing list