This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Install config files
- From: Allan McRae <allan at archlinux dot org>
- To: ams at gnu dot org, Andreas Schwab <schwab at suse dot de>
- Cc: libc-alpha at sourceware dot org
- Date: Mon, 24 Feb 2014 21:28:45 +1000
- Subject: Re: [PATCH] Install config files
- Authentication-results: sourceware.org; auth=none
- References: <1391870730-6874-1-git-send-email-allan at archlinux dot org> <E1WCAST-0007qR-VQ at fencepost dot gnu dot org> <mvm61o4eub8 dot fsf at hawking dot suse dot de> <E1WHsDg-00017a-9N at fencepost dot gnu dot org>
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