Web lists-archives.com

Re: [sbuild] how to create chroot environment




Georgi, thanks!
it seems schroot package is somehow missed in my repository, I will
look into it.

--
Carry a towel
http://dataved.ru/
+7 916 562 8095

[1] Join Alexei Fedotov @linkedin, http://ru.linkedin.com/in/dataved/
[2] Join Alexei Fedotov @facebook, http://www.facebook.com/openmeetings
[3] Start using Apache Openmeetings today, http://openmeetings.apache.org/

On Mon, Apr 15, 2019 at 2:23 PM Georgi Naplatanov <gosho@xxxxxxxx> wrote:
>
> 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
> Georgi
>