[buildd-tools-devel] [GIT] sbuild branch user/josch/unshare updated. release/sbuild-0.66.0-5-gac50af2

Raphael Hertzog hertzog at debian.org
Tue Jan 5 09:37:43 UTC 2016


Hello Johannes,

On Sun, 13 Dec 2015, Johannes Schauer wrote:
> for comments, ideas and critique I'd like to share a rather large-ish
> experimental proof-of-concept commit with you that I just pushed to the branch
> user/josch/unshare in the sbuild repository:

Thanks for exploring new territorry and making sbuild even more useful!

> Using the decoupling explained in the last section I was able to add a new
> backend which is able to make use of the adt-virt-* interface from the
> autopkgtest package. This means that sbuild is now able to do a build in an lxc
> container, on a networked ssh server or in a qemu virtual machine using the
> same interface. For example, the following will demo its functionality using
> the adt-virt-schroot backend (the current default):

In https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=809443 I suggested
that systemd-nspawn should be considered as a new ADT backend that
would be widely available... and it would be really great if then sbuild
can rely on this too.

I don't think that systemd-nspawn can be used right now to build a chroot
without root rights but it might be something that the systemd developers
might welcome.

Thus I would suggest you to consider whether uchroot can be developed as
a new systemd-nspawn feature. In fact, right now I'm rather annoyed that
systemd-nspawn relies of btrfs for all "ephemeral chroots" and I would
welcome some feature where it can use a tarball as the reference tree.

Cheers,
-- 
Raphaël Hertzog ◈ Debian Developer

Support Debian LTS: http://www.freexian.com/services/debian-lts.html
Learn to master Debian: http://debian-handbook.info/get/



More information about the Buildd-tools-devel mailing list