T o n g wrote:
> Hi,
>
> I want to duplicate my current apt keys into my debootstrap'ed chroot
> system. What's the minimum set of files to duplicate over?
>
> Would duplicating the following files into chroot be enough? Are they all
> necessary?
>
> /root/.gnupg
> /root/.gnupg/pubring.gpg
> /root/.gnupg/trustdb.gpg
> /root/.gnupg/gpg.conf
> /root/.gnupg/secring.gpg
> /etc/apt/trusted.gpg
If I read the man-page for apt-key properly you need to copy the
following files:
/etc/apt/trusted.gpg
/etc/apt/trustdb.gpg
/usr/share/keyrings/debian-archive-keyring.gpg
/usr/share/keyrings/debian-archive-removed-keys.gpg
Just out of curiousity, why don't you just install the relevant keyring
packages (and export/import any other keys you've added)?
/M
--
Magnus Therning (OpenPGP: 0xAB4DFBA4)
magnus@therning.org Jabber: magnus@therning.org
http://therning.org/magnus identi.ca|twitter: magthe
Haskell is an even 'redder' pill than Lisp or Scheme.
-- PaulPotts
Attachment:
signature.asc
Description: OpenPGP digital signature