index : devtools32 | |
Archlinux32 fork of devtools | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | arch-nspawn.in | 5 |
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" |