tinderbox on an oldish machine
Joe Marcus Clarke
marcus at marcuscom.com
Sat Mar 28 16:53:33 EDT 2009
On Sat, 2009-03-28 at 20:37 +0000, xorquewasp at googlemail.com wrote:
> On 2009-03-28 16:31:29, Joe Marcus Clarke wrote:
> > On Sat, 2009-03-28 at 20:20 +0000, xorquewasp at googlemail.com wrote:
> > > 'Lo, again.
> > >
> > > One small question: I'm running tinderbox on an old machine. How often
> > > am I going to have to build world? Once per jail, on creation?
> >
> > Depends on what you're tracking. If you're tracking a RELEASE, you only
> > need to build world on Jail creation. If you're tracking a moving
> > target like -STABLE, then it's a good idea to keep your Jail in sync
> > with the head of the branch (at least every time __FreeBSD_version
> > changes).
>
> Yes, just RELEASE here. On i386 and amd64.
>
> > > I'd ideally like to share a binary world between all my jails, possibly
> > > keeping up-to-date with freebsd-update (and portsnap for the tree).
> >
> > How can you share world between Jails? If all the Jails use the same
> > world, then you only need one Jail.
>
> I may have misunderstood how tinderbox does things. I'm intending to build
> sets of packages for some twenty or thirty hosts/jails on other machines.
> I assume, now, from your comment that I don't use one jail per target
> host (just one per arch/os version combination).
A Tinderbox Jail is simply a version of FreeBSD for a given arch. You
can use one Jail for i386 and one for amd64. You can then create
different Builds which combine Jails and PortsTrees. If you are just
building the same set of ports for all FreeBSD jails, then you probably
only need one PortsTree, and one Build for each arch.
Joe
>
> > >
> > > Is this doable?
> >
> > Yes. Just set your update command to NONE, build a tar file of a clean
> > world which will live in ${pb}/jails/JAIL. You can use the -m flag to
> > createJail to specify a mount source for the Jail src. This can be a
> > nullfs mount.
>
> Right. I do something very similar with 'ezjail'.
>
> That clears a few things up.
>
> xw
>
--
PGP Key : http://www.marcuscom.com/pgp.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
URL: <http://marcuscom.com/pipermail/tinderbox-list/attachments/20090328/29be5cb5/attachment.bin>
More information about the tinderbox-list
mailing list