Easily build Mir's rdepends against local Mir packages
Michał Sawicz
michal.sawicz at canonical.com
Thu Aug 7 07:04:08 UTC 2014
W dniu 07.08.2014 o 01:02, Christopher James Halse Rogers pisze:
> Hey all!
>
> As seen on IRC last night:
>
> 18:22 <camako> Seems like we need a way to replicate what the silos are
> doing - building mir, creating packages from it, installing them, and
> then building downstreams... I.e. not just building downstreams using
> mir binaries, but using mir packages......
>
> Fortunately, this has an easy solution!
>
> Using the magic of sbuild, you can build your Mir packages, create a
> repository out of them, and automatically use them to build other packages.
Check out https://wiki.ubuntu.com/SimpleSbuild for this, too!
RAOF, maybe you could add some of your tweaks there? Love the optional
local repo and dynamic proxy.
===
There's more, too, you can x-build for devices this way, quite a lot
faster than natively on devices. Unfortunately that breaks often, 'cause
it's not part of our daily routine. Currently it's broken due to the
forced 4.9 dependency¹.
Other available niceties include: shm (whole build happens in RAM),
ccache (shared between chroots and chroot runs), you can create
pre-populated chroots with all the build deps for your project
preinstalled (I use btrfs snapshots for those to save space). The world
is your oyster!
¹ https://bugs.launchpad.net/bugs/1353855
HTH,
--
Sq
More information about the Mir-devel
mailing list