Web lists-archives.com

Re: [sbuild] how to create chroot environment

On 4/15/19 2:02 PM, Alexei Fedotov wrote:
> Hello,
> I've installed sbuild ver 0.73.0-4 and tried creating chroot environment
> I used the following command and get an error.
> devops@devops:~/git/docker.io$ sudo sbuild-createchroot
> --include=eatmydata,ccache,gnupg unstable
> /srv/chroot/unstable-amd64-sbuild http://deb.debian.org/debian
> open3: exec of schroot -l --all-source-chroots failed: No such file or
> directory at /usr/sbin/sbuild-createchroot line 217.
> It seems "schroot" chommand is called, and it is nowhere to be found.

"schroot" is a Debian package and you can install it easily.

> How could I create the chroot env?

There are other ways (debootstrap for example) but if you want to use
"sbuild" then "schroot" is the preferred way I think.

Kind regards