Tinderbox and changing X11BASE

Joe Marcus Clarke marcus at marcuscom.com
Tue Dec 5 15:04:32 EST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Tim Bishop wrote:
> Is it only possible to change X11BASE for the entire Tinderbox by
> modifying rawenv? I've tried doing it on a per-build basis by using
> build.env, but without much success (it partially works - but
> dependencies on commands don't work due to broken paths, I think).
> 
> If that is the case, it'd be a nice feature to be able to modify X11BASE
> (and LOCALBASE) on a per-build basis :-)

The only way to use an alternate LOCALBASE or X11BASE is to modify
rawenv.  You can do this on a per-jail version basis though by shielding
the LOCALBASE and X11BASE variables behind "#X".  For example, to only
change X11BASE for 6.X-based builds:

#6X11BASE=/usr/local

Note: if you use this method, you must put the unshielded LOCALBASE and
X11BASE variables at the top of rawenv.

I guess if you needed per-Build values, you could remove LOCALBASE and
X11BASE from rawenv, and do:

env LOCALBASE=/usr/local X11BASE=/usr/local ./tinderbox -b ...

Joe

- --
PGP Key : http://www.marcuscom.com/pgp.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFddDPb2iPiv4Uz4cRAo00AJ9rXOK51jDrULlMa/7FgLE+ZMu+0ACgmnOV
QNoUPVzeKjyz093SDqRp6Ok=
=JSkG
-----END PGP SIGNATURE-----


More information about the tinderbox-list mailing list