Re: etcupdate and postinstall: make "-s src" compulsory
Quentin Garnier <[email protected]>
| Newsgroups | gmane.os.netbsd.devel.installation |
|---|---|
| Message-ID | <[email protected]> |
On Sat, Oct 18, 2008 at 05:53:49PM +0000, Christos Zoulas wrote: > In article <[email protected]>, > Alan Barrett <[email protected]> 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 - [email protected] - [email protected] "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.
signature.asc
(application/pgp-signature, 486 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (NetBSD) iQEcBAEBAgAGBQJI+i6nAAoJENgoQloHrPnoIS0H/RcgZ3v/rxbM0KBX1s4wj03K EKB6dG35DNX2ttzJU8Nl2KYlEOA7gHp7G3Ln4Khvjr+IdlISv2heg1lqVk48gzeD rVQo/V1BOxU5YDInXyyUXY7QjpVs3g9rWu8CDtn6qqOJDZVh5PgPDM5zAc0ffCLp QqFd+J/h5Nnj2BzyzfXlfVu96y5mUOyx4biTqRELKqs2suloKvKT2RQKann/jFpP aYcIU5hGfIeygmXAM+3CfaYFF64Zb/fICV+f5qVPwrqrv8BqYwc8z4Ic7YNfRoSn wdHHXo8Sg86uM6mj9e79SmeMFOYyoiYQgxqEfMXxZCjfmCVvMRGruvw058GZhK4= =VBYu -----END PGP SIGNATURE-----