Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--arch-nspawn.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/arch-nspawn.in b/arch-nspawn.in
index 79cff1a..94168b7 100644
--- a/arch-nspawn.in
+++ b/arch-nspawn.in
@@ -103,7 +103,10 @@ build_mount_args() {
}
copy_hostconf () {
- cp -a /etc/pacman.d/gnupg "$working_dir/etc/pacman.d"
+ {
+ pacman-key --gpgdir "$working_dir"/etc/pacman.d/gnupg/ --import "$(pacman-conf GpgDir)"
+ pacman-key --gpgdir "$working_dir"/etc/pacman.d/gnupg/ --import-trustdb "$(pacman-conf GpgDir)"
+ } >/dev/null 2>&1
echo "Server = $host_mirror" | \
tee "$working_dir/etc/pacman.d/mirrorlist" > \
"$working_dir/etc/pacman.d/mirrorlist32"