Re: etcupdate and postinstall: make "-s src" compulsory

Eric Haszlakiewicz <[email protected]>
Newsgroups gmane.os.netbsd.devel.installation
Message-ID <[email protected]>
On Sat, Oct 18, 2008 at 08:36:35PM +0200, Johnny Billquist wrote:
> Christos Zoulas wrote:
> >>On Thu, 20 Dec 2007, Alan Barrett wrote:
> >>>  * many people keep their sources elsewhere than /usr/src;
> >>>
> >>>  * etcupdate, when given a source directory, attempts to run "make
> >>>    distribution" in ${SRCDIR}/etc, and this often fails.  Fixing the
> >>>    make failures is non trivial, and I really don't care about fixing
> >>>    them because I always recommend that people should use "etcupdate -s
> >>>    etc.tgz".
> >
> >I use /usr/src and I am perfectly happy. Why break it?
> 
> I'll have to agree with Christos here. Why break it?
> The first reason is irrelevant, as far as I can see.
> The second can't hardly be a reason either.

I'd say that part of the reason would be to encourage people to use
the final output of a build when installing, rather than poking into
the source tree.  For a while now we've been discouraging people from
running a "make install" directly into a DESTDIR of /, and if you're
upgrading from tarballs it feels wrong to have the default process
require you to have a copy of the sources.

eric
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.