[buildd-tools-devel] Bug#796539: Bug#796539: Bug#796539: Forgot the patch (thanks josch)

Paul Tagliamonte paultag at debian.org
Wed Sep 2 14:45:10 UTC 2015


On Tue, Sep 01, 2015 at 06:54:12AM +0200, Johannes Schauer wrote:
> any extra repositories are written to
> /etc/apt/sources.list.d/sbuild-build-depends-archive.list inside the
> chroot. This path is also stored in the configuration key 'Dummy
> archive list file' and you can see the function 'cleanup_apt_archive'
> removes the file pointed to by that key.

Ah! That explains that. Thanks for that, Perl's not my first language, I
was trying to keep my focus on the small parts I thought I'd be using, I
totally missed that.

> I only just read the man page of apt-key, and maybe something similar
> to the sources.list can be done with keys too, by just dumping them
> into /etc/apt/trusted.gpg.d/sbuild-build-depends-archive.gpg (or
> similar) and then removing just that file in the end.

Good call. Updated patch attached.

> 
> I imagine it would be more difficult to use "apt-key del" to clean up
> because running that command requires you to know the key ID(s).
> 
> cheers, josch

Cheers,
  Paul
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-extra-repository-key-flag-for-extra-apt-keys.patch
Type: text/x-diff
Size: 7369 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20150902/bbbdcaeb/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20150902/bbbdcaeb/attachment.sig>


More information about the Buildd-tools-devel mailing list