Hello, On Sat 23 Nov 2024 at 10:20pm +01, Philipp Kern wrote:
> sbuild chroot manager for unshare backend users > ----------------------------------------------- > > After installing sbuild 0.87.0 or later from unstable, you can now build > packages without any additional setup. With an empty ~/.sbuildrc and > with no chroot tarballs in ~/.cache/sbuild, just run this to build the > "hello" source package: > > sbuild --chroot-mode=unshare --dist=unstable hello > > To keep the dynamically created chroot tarball for subsequent builds, you > can make this configuration permanent by putting this into your > ~/.sbuildrc: > > $chroot_mode = 'unshare'; > > $unshare_mmdebstrap_keep_tarball = 1; > > Whenever a chroot tarball doesn't exist yet, or whenever an existing > tarball is too old, sbuild will take care of creating one for you > automatically. If you want to customize the contents of the tarballs > sbuild creates, read the documentation of UNSHARE_MMDEBSTRAP_EXTRA_ARGS > in sbuild.conf(5). > > The new chroot management functionality is marked as experimental and any > feedback is very much appreciated. > > -- Johannes Schauer Marin Rodrigues This is interesting. One concern I have is speed -- isn't it always slower to have to unpack a tarball before the build instead of having a chroot under /srv/chroot that's always unpacked? Thanks. -- Sean Whitton
signature.asc
Description: PGP signature