Tinderbox HEAD, tinderd, and a further proposed patch
Ade Lovett
ade at FreeBSD.org
Sun Jun 17 20:56:56 EDT 2007
As promised a while back, I have now reincorporated all of the
tinderd functionality that was removed from HEAD back in place -- I'm
pretty certain I've got everything sorted, but testing and bug
reports are certainly welcomed.
One final piece of work before I take another hiatus from tinderbox
development can be found at:
http://freebsd.lovett.com/patches/tb-update.diff
This is a fairly heavy-duty reworking of the update code for both
jail and portstree sources. Instead of the variety of hacks we have
now, the important part to both createJail and createPortsTree is the
following stanza:
-u CSUP|CVSUP|USER|NONE
in the first two cases, an appropriate supfile is generated, and a
{jails,portstrees}/<name>/update.sh script is created. In the second
case, it is assumed that the relevant update.sh script is already
present (eg: for cvs updating from a local repository). In the final
case, for completeness sake, the jail or portstree source is assumed
to be static, and no updating occurs.
When the jail/portstree is now updated, the execution simply becomes
".../update.sh > update.log", significantly reducing the complexity
of tc_command.{sh,pl}
As with the other code, I'd appreciate feedback on this, before I
commit it to HEAD (I have no plans to do an MFH myself, given the
divergence of the codebase).
-aDe
More information about the tinderbox-list
mailing list