Subject: Re: "./build.sh install" from read-only src tree?
To: Geert Hendrickx <geert.hendrickx@ua.ac.be>
From: Quentin Garnier <cube@cubidou.net>
List: netbsd-users
Date: 08/24/2005 14:01:24
--IGPMjTREWkoKVnU2
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Aug 24, 2005 at 01:46:09PM +0200, Geert Hendrickx wrote:
> I can't seem to install a freshly built netbsd-2 system from a read only
> src and obj tree.  I did the ./build.sh distribution dance, with sources =
in
> /cvs/src and binaries in /cvs/obj, reboot the new kernel into single user
> mode, mount everything read-write, except /cvs read-only, and did
> ./build.sh install=3D/.  But build.sh attemps to rebuild nbmake and write=
 the
> binary into the tools dir (although an up-to-date nbmake is obviously
> already there), so I get an error.  Setting MKUPDATE=3Dyes doesn't help. =
=20
>=20
> How can I prevent ./build.sh install from rebuilding nbmake?  (I think
> there is no case where it should, is there?) =20

If the NetBSD version has changed (e.g., from "2.0" to "2.1_BETA"), the
default TOOLDIR location also has changed.  Try using -T to point
build.sh to the compiled TOOLDIR.

--=20
Quentin Garnier - cube@cubidou.net - cube@NetBSD.org
"When I find the controls, I'll go where I like, I'll know where I want
to be, but maybe for now I'll stay right here on a silent sea."
KT Tunstall, Silent Sea, Eye to the Telescope, 2004.

--IGPMjTREWkoKVnU2
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (NetBSD)

iQEVAwUBQwxhlNgoQloHrPnoAQIcCgf9Eba1Hl0JDWWlYWUyNQMmc6WF8wt9RcQ4
k2SEw9xkbenGxe+P7X3cyZSllu0R487deRsSiKwDgrq7trYeNNJTjFUw/x4m7Reo
nBi3m7LerRacvuuLHfWQqG8XocZcAmE2Sd30XJwtK/qVTxX5dIChCqUX87ibloY1
xPRk5Dz2Pcri3hCDsbobc4p+qDkngZ/gf7j35clUw5Jw+/QIKN5dB5rnD6tcUwpf
p7bxjzrDeuu4j2c0HXTso/DiHDLqtZV0BJaM5BXSB2RzmqxVOl1+UqlQ4W6fX3ZK
/4bwmw5EyAwT1qPDI9HhHU0XHnn2zm8wdw++C3v7DG6ejJGmEoOAfA==
=mVWU
-----END PGP SIGNATURE-----

--IGPMjTREWkoKVnU2--