Subject: Re: bulk build w/ libkver?
To: Hubert Feyrer <hubert@feyrer.de>
From: grant beattie <grant@NetBSD.org>
List: tech-pkg
Date: 10/02/2004 23:21:46
--aVD9QWMuhilNxW9f
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Oct 02, 2004 at 02:14:33PM +0200, Hubert Feyrer wrote:

> >3. cd /yourchroot/usr/pkgsrc; env LD_PRELOAD=3D/usr/lib/libkver.so \
> >  sh mk/bulk/build
> >
> >that should do it :)
>=20
> OK... can we be sure that nothing removes the LD_PRELOAD entry from $ENV?
> (I presume you didn't really test the above, and verified that it works,=
=20
> esp. with some OSVERSION_SPECIFIC pkgs? :)

I've tested it to the point where I can build -1-5, -1-6 and -2-0 pkgs
on my -current workstation with no trouble at all.

I think there are still ways to determine the real running kernel
version (sysctl, maybe), but I don't know what if anything exploits
that.

grant.


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

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

iD8DBQFBXqtpluYOb9yiFXoRAuzjAJ4oLuaLhx1WHdau7rru2JuXSLtRCwCgj+Wb
NG3CiUU/dnLj3C8Sjy5utSg=
=xm+l
-----END PGP SIGNATURE-----

--aVD9QWMuhilNxW9f--