tech-install archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

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



On Sat, Oct 18, 2008 at 05:53:49PM +0000, Christos Zoulas wrote:
> In article <20081018115208.GF1374%apb-laptoy.apb.alt.za@localhost>,
> Alan Barrett  <apb%cequrux.com@localhost> wrote:
> >On Thu, 20 Dec 2007, Alan Barrett wrote:
> >> etcupdate and postinstall both behave, by default, as if "-s /usr/src"
> >> was specified.  I believe that this is not useful, because:
> >> 
> >>   * 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".
> >> 
> >> So, I'd like to make it an error to run postinstall or etcupdate without
> >> giving a "-s" arg.  People can still use "-s /usr/src" to get the
> >> existing (IMHO broken) behaviour.
> >
> >There were no objections to that suggestion, so I'd like to implement it
> >soon.
> 
> I use /usr/src and I am perfectly happy. Why break it?

Because it won't do the right thing when you do build.sh -V MKCRAP=no.
The point is not to break it, it is to make sure people who use it know
what they're doing.

-- 
Quentin Garnier - cube%cubidou.net@localhost - cube%NetBSD.org@localhost
"See the look on my face from staying too long in one place
[...] every time the morning breaks I know I'm closer to falling"
KT Tunstall, Saving My Face, Drastic Fantastic, 2007.

Attachment: pgp7o4i11xnvA.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index