diff options
author | Erich Eckner <git@eckner.net> | 2019-08-19 22:12:33 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2020-05-18 08:45:02 +0200 |
commit | 0fd4173f367994188b2d04e2534a882866449eb9 (patch) | |
tree | fcbef5b7e367fe6f3c14bdb3bc89db00e8ff67b7 /mkarchroot.in | |
parent | 25fc755a82a114ede5bad4e40c1a9da43014dde4 (diff) | |
download | devtools32-0fd4173f367994188b2d04e2534a882866449eb9.tar.xz |
makechrootpkg & mkarchroot: init and populate keyrings
We had trouble in the past with not properly initialized keyrings.
This change aims at fixing this.
Diffstat (limited to 'mkarchroot.in')
-rw-r--r-- | mkarchroot.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mkarchroot.in b/mkarchroot.in index fc5ded6..ecece06 100644 --- a/mkarchroot.in +++ b/mkarchroot.in @@ -100,6 +100,8 @@ echo "$CHROOT_VERSION" > "$working_dir/.arch-chroot" systemd-machine-id-setup --root="$working_dir" +pacman-key --gpgdir "$working_dir"/etc/pacman.d/gnupg --init + exec arch-nspawn \ "${nspawn_args[@]}" \ "$working_dir" locale-gen |