diff options
author | Erich Eckner <git@eckner.net> | 2019-08-19 22:12:33 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2022-09-30 08:43:49 +0200 |
commit | 04b22dbd5769efa15bee468ac05ff552e2379115 (patch) | |
tree | 21ba5d95a2e58416231a5302d6c50bce94a16e51 /mkarchroot.in | |
parent | 0c62020cb7b17f13c95ee9c16c82dca89e79b6fc (diff) | |
download | devtools-04b22dbd5769efa15bee468ac05ff552e2379115.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 2958710..86c076b 100644 --- a/mkarchroot.in +++ b/mkarchroot.in @@ -91,6 +91,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 |