Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Jan 2019 15:43:12 +0100
From:      Dave Cottlehuber <dch@skunkwerks.at>
To:        freebsd-questions@freebsd.org
Subject:   Re: iocage specific 12.0-RELEASE -> STABLE/12
Message-ID:  <1547736192.1830253.1637132208.7549F368@webmail.messagingengine.com>
In-Reply-To: <85740e12-819d-ba05-74b3-51f318f52d5c@pinyon.org>
References:  <85740e12-819d-ba05-74b3-51f318f52d5c@pinyon.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 16 Jan 2019, at 21:41, Russell L. Carter wrote:
> Greetings,
> 
> While I wait on poudriere to build both firefox and chromium (32
> threads, and it will still take a while), so that I can install iocage
> and dive into this newfangled technology called "jails" ;-), I have a
> basic question.
> 
> I had a flash in the brain (be nice, I'm a geezer and slow, it's only
> taken me 20 years to figure this out) and realized I might be able to
> use iocage jails to quickly spin up dev environments that are skeletal
> compared to my desktop environment and so can minimize package version
> collisions that happen when I try to port stuff to FreeBSD.  So I want
> the FreeBSD version of the jail to match the commit of my stable/12
> host, including packages.  However the iocage docs don't seem to
> mention this possibility.  Is this something people do?  I am guessing
> I can nfs mount my (different) build box's /usr/src, /usr/obj, and my
> package export directories into the jail, and use my source upgrade
> scripts and pkg upgrade as usual, correct?  Are there any gotchas I
> should be aware of?  Will the template mechanism make it easy to do
> the configuration just once, or is iocage expecting a point RELEASE,
> as suggested by the docs?
> 
> I got to this point pondering how to install gnutls with guile
> bindings, so that I can see if I can get guix working on stable/12.

poudriere has an interactive mode, so you get dropped into a working jail:

sudo poudriere bulk -j 12_0_amd64 -i category/port

This probably does everything you need without needing iocage.

A+
Dave



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1547736192.1830253.1637132208.7549F368>