[buildd-tools-devel] Bug#802052: Bug#802052: sbuild-createchroot --setup-only override the sources.list

Johannes Schauer josch at debian.org
Thu Oct 22 20:56:57 UTC 2015


Hi Fred,

Quoting picca (2015-10-17 13:05:17)
> I am creating a chroot with propellor, then I configure a bunch of files.
> Especially the /etc/apt/sources.list file.
> 
> then, I try to use this chroot for sbuild by using this command
> 
> sbuild-createchroot --setup-only --keep-sbuild-chroot-dir --make-sbuild-tarball=" ++ tarball ++ " " ++ suite ++ " " ++ chrootdir ++ " http://httpredir.debian.org/debian
> 
> where tagball, suite and chrootdir dir are strings with the right values.
> 
> the problam is thaht after this command, the sources.list file of the chroot is overriden.
> 
> so I would like to know if this is an expected behaviour and if it could be possible to avoid this sources.list override.

Can you give me a way to reproduce your finding?

Sbuild should not overwrite /etc/apt/sources.list inside the chroot. Instead it
writes all its own apt sources files to /etc/apt/sources.list.d/. In the past I
manually configured the /etc/apt/sources.list of a chroot myself and I did not
find that sbuild was overwriting its value.

So could you write down a series of steps that let me see what you see?

Thanks!

cheers, josch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: signature
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20151022/7caa4b5f/attachment.sig>


More information about the Buildd-tools-devel mailing list