Hi,

Quoting Benjamin Drung (2019-11-13 18:47:09)
> Thanks for implementing it. Specifying --keyring before --aptopt fails:
> 
> mmdebstrap --keyring=/usr/share/keyrings/debian-archive-keyring.gpg \
>   -v --aptopt='Acquire::http { Proxy "123"; }' \
>   buster /tmp/buster.tar.xz
> 

I know. The situation is actually worse. The problem is, that apt only allows a
single keyring file or directory. This means that we cannot have apt use the
keyrings on the host and any manually specified keyrings at the same time. This
is a problem.

A solution would be to copy all keyring material from the host plus all
additionally specified keys into the chroot. But this would dirty the chroot
with all kinds of keyrings from the host, many of which are probably not meant
to end up in every chroot the user creates.

I'm still thinking about the right solution to this problem...

Thanks!

cheers, josch

Attachment: signature.asc
Description: signature

Reply via email to