Subject: Re: faking an older release for bulk build
To: None <tech-pkg@netbsd.org>
From: grant beattie <grant@netbsd.org>
List: tech-pkg
Date: 02/29/2004 11:21:30
--mI5TpPl/qDRoXxBg
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Feb 28, 2004 at 06:40:32PM -0500, Jan Schaumann wrote:

> Hi,
>=20
> Just to confirm:  it is possible to fake an older release for the
> purpose of bulk builds, right?  I have an O2 with -current installed,
> and would like to use it to bulk-build for 1.6.2-sgimips.  Am I correct
> that extracting the 1.6.2-sets into a chroot (or building them into
> there) is sufficient or do I need to tweak anything else?
>=20
> Should I expect some breakage due to different kernel versions of the
> running system and the bulk-faked system?

install pkgtools/libkver :)

This package provides a shared library and a replacement for
sysctl(1) (when needed i.e. when the original one is statically linked)
so that the real version numbers and strings of the running NetBSD
kernel as returned by sysctl(3) and uname(3) are overridden by
those the library is configured to report.

This is useful for -among other things- building packages in
sandboxed/chrooted environment for a different NetBSD release than the
system hosting the sandbox/chroot.


grant.


--mI5TpPl/qDRoXxBg
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQFAQTCKluYOb9yiFXoRArRaAJ0ZdHkc7Zh2JhMzCtJEopGeR/INnACeIKKj
lORiNupykEWtEgmGFGTRq5w=
=4b3D
-----END PGP SIGNATURE-----

--mI5TpPl/qDRoXxBg--