I can confirm that sbuild 0.87.1 removes the need for my .sbuildrc to contain:

$unshare_mmdebstrap_auto_create = 0;

Meaning that it now finds tarballs with all the expected file name extensions, 
unstable-amd64.tar.xz in my case.

However, my .sbuildrc must still contain:

$distribution = ‘unstable’;

Otherwise, sbuild does not find my tarball and instead creates a temporary one.


E: Chroot for distribution UNRELEASED, architecture amd64 not found
I: Applied base distribution name mangle rule s/(?^:^(experimental|rc-buggy|
UNRELEASED)$)/unstable/ turning "UNRELEASED" into "unstable"
I: Creating chroot on-demand by running:
mmdebstrap --variant=buildd --arch=amd64 --skip=output/mknod --format=tar 
unstable -
I: Unpacking tarball from STDIN to /tmp/tmp.sbuild.0iBTcoF78_...
I: automatically chosen mode: unshare
I: chroot architecture amd64 is equal to the host's architecture
I: finding correct signed-by value...
I: using /tmp/mmdebstrap.qJ9Id7i6WM as tempdir
I: skipping output/mknod as requested for ./dev/console
I: skipping output/mknod as requested for ./dev/full
I: skipping output/mknod as requested for ./dev/null
I: skipping output/mknod as requested for ./dev/ptmx
I: skipping output/mknod as requested for ./dev/random
I: skipping output/mknod as requested for ./dev/tty
I: skipping output/mknod as requested for ./dev/urandom
I: skipping output/mknod as requested for ./dev/zero
I: running apt-get update...
I: downloading packages with apt...
I: extracting archives...
I: installing essential packages...
I: installing remaining packages inside the chroot...
I: cleaning package lists and apt cache...
I: creating tarball...
I: done
I: removing tempdir /tmp/mmdebstrap.qJ9Id7i6WM...
I: success in 34.4913 seconds
I: The chroot directory at /tmp/tmp.sbuild.0iBTcoF78_ will be removed at the 
end of the build
I: To avoid creating a new chroot from scratch every time, either:
I:  - place a chroot tarball at /home/soren/.cache/sbuild/UNRELEASED-amd64.tar 
and update it manually, for example by running: mmdebstrap --variant=buildd --
arch=amd64 --skip=output/mknod --format=tar unstable /home/soren/.cache/
sbuild/UNRELEASED-amd64.tar 
I:  - or let sbuild take care of this via the setting 
UNSHARE_MMDEBSTRAP_KEEP_TARBALL by adding '$unshare_mmdebstrap_keep_tarball = 
1;' to your ~/.config/sbuild/config.pl.
I:  - or completely disable this behaviour via the setting 
UNSHARE_MMDEBSTRAP_AUTO_CREATE by adding '$unshare_mmdebstrap_auto_create = 
0;' to your ~/.config/sbuild/config.pl.
I: Refer to UNSHARE_MMDEBSTRAP_KEEP_TARBALL in sbuild.conf(5) for more 
information

-- 
Soren Stoutner
[email protected]

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to