Launchpad builder changes: schroot and LXD

Colin Watson cjwatson at ubuntu.com
Wed Sep 6 12:36:46 UTC 2017


On Wed, Sep 06, 2017 at 12:59:00PM +0100, Dimitri John Ledkov wrote:
> There have been, at least in the past, packages in ubuntu that do rely
> on HOME being a real directory and would FTBFS locally when HOME
> pointed to non-existant directory, but would build fine in launchpad.
> 
> Hence I have 'HOME' => '/build/' in my ~/.sbuildrc. I shall drop that
> now, to match launchpad's new behavior.
> 
> But something to be aware of.

Indeed.  I've also seen this in the past, but since Debian's builders
point HOME to a nonexistent directory nowadays I expect it's getting
rarer and should generally be considered a bug.

> >  * Snaps and live filesystems are now built in LXD containers rather
> >    than in chroots, laying the groundwork for them to be able to install
> >    snaps as build-dependencies.
> >
> > At the moment the only known regressions from this are in some corner
> > cases of live filesystem building (powerpc and CPC).  Let us know if you
> > see anything else amiss, although as usual please try to reproduce
> > problems locally before attributing them to the build environment.
> 
> This has been noticed for the CPC case, and is trivially reporducible
> with lxd and the OddBloke's cloud builder. I had an updated lxd
> profile from steve that supposedly does work, shall I test that, and
> do you need the updated (less restrictive) lxd profile for the devirt
> CPC livecd builds? A priviledged lxd container alone is not enough
> there.

No thanks - I already have fixes for both the powerpc and CPC cases
working their way through the deployment pipeline.

-- 
Colin Watson                                       [cjwatson at ubuntu.com]




More information about the Ubuntu-devel-discuss mailing list