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

Greg Troxel <[email protected]>
Newsgroups gmane.os.netbsd.devel.installation
Message-ID <[email protected]>
Eric Haszlakiewicz <[email protected]> writes:

> I'm not entirely sure it's harmless, although I've always been careful
> enough to remember to pass an appropriate -s flag.  On the machine I
> build on /usr/src is definitely NOT the right source tree for updating
> / against, so if I were to leave off the -s option I don't think I'd
> end up with the correct updates.  Then again, the way I've got things
> set up probably isn't very common.

I would say that your setup is broken; /usr/src should be either the
sources for the running system or outright missing.  I usually have
sources someplace else and symlink /usr/src to them.  Other things could
look in /usr/src, including I think pkgsrc builds of kernel modules.
signature.asc (application/pgp-signature, 193 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (NetBSD)

iEYEARECAAYFAkj8bAkACgkQ+vesoDJhHiU9hACgk/KKU2h6FdA7EJa3NIyZaqAP
znQAn36aYilGU6/oMzxLrUEew/QL+U6u
=1YLe
-----END PGP SIGNATURE-----
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.