Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/mkarchroot.in
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-08-19 22:12:33 +0200
committerErich Eckner <git@eckner.net>2022-09-30 08:43:49 +0200
commit04b22dbd5769efa15bee468ac05ff552e2379115 (patch)
tree21ba5d95a2e58416231a5302d6c50bce94a16e51 /mkarchroot.in
parent0c62020cb7b17f13c95ee9c16c82dca89e79b6fc (diff)
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.in2
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