This is the mail archive of the
cygwin-apps@cygwin.com
mailing list for the Cygwin project.
Re: Should --sysconfdir=/etc/defaults/etc/?
- From: Corinna Vinschen <vinschen at redhat dot com>
- To: Cygwin-Apps <cygwin-apps at cygwin dot com>
- Date: Thu, 30 Oct 2003 17:53:55 +0100
- Subject: Re: Should --sysconfdir=/etc/defaults/etc/?
- References: <NCBBIHCHBLCMLBLOBONKAEMHELAA.g.r.vansickle@worldnet.att.net>
- Reply-to: cygwin-apps at cygwin dot com
On Thu, Oct 30, 2003 at 08:43:31AM -0600, Gary R. Van Sickle wrote:
> Current packaging instructions at http://cygwin.com/setup.html#package_contents
> indicate that --sysconfdir should be set to "/etc". Should this perhaps be
> changed to "/etc/defaults/etc", with the subsequent instruction that if your
> package actually has anything in sysconfdir, it should conditionally copy it to
> /etc if it doesn't already exist with a postinstall script[1]?
No. If you set --sysconfdir to something else than /etc, a big bunch
of packages will search their config files in the wrong directory.
Keep in mind, that the sysconfdir setting might get hardcoded into
a tool on compile time.
Better create a package script which moves the files from /etc to
/etc/defaults/etc after calling `make install DESTDIR=...'. Or even
do it by hand.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:cygwin@cygwin.com
Red Hat, Inc.