index : devtools32 | |
Archlinux32 fork of devtools | gitolite user |
summaryrefslogtreecommitdiff |
author | Eli Schwartz <eschwartz@archlinux.org> | 2018-12-01 19:36:23 -0500 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-08-18 20:19:42 +0200 |
commit | 12ad3f96cfa0b0ab54fd4201c774fa0f3eca76ea (patch) | |
tree | c3c531f4cb8bb39d14685d7f0a0315877f9b6309 /arch-nspawn.in | |
parent | 206983235a046fccd55e37d09d733314174033ba (diff) |
-rw-r--r-- | arch-nspawn.in | 2 |
diff --git a/arch-nspawn.in b/arch-nspawn.in index 6157685..9c8880d 100644 --- a/arch-nspawn.in +++ b/arch-nspawn.in @@ -102,6 +102,8 @@ copy_hostconf () { printf 'Server = %s\n' "${host_mirrors[@]}" | \ tee "$working_dir/etc/pacman.d/mirrorlist" > \ "$working_dir/etc/pacman.d/mirrorlist32" + gpg --homedir "$working_dir"/etc/pacman.d/gnupg/ --no-permission-warning --quiet --batch --import --import-options import-local-sigs "$(pacman-conf GpgDir)"/pubring.gpg >/dev/null 2>&1 + pacman-key --gpgdir "$working_dir"/etc/pacman.d/gnupg/ --import-trustdb "$(pacman-conf GpgDir)" >/dev/null 2>&1 [[ -n $pac_conf ]] && cp "$pac_conf" "$working_dir/etc/pacman.conf" [[ -n $makepkg_conf ]] && cp "$makepkg_conf" "$working_dir/etc/makepkg.conf" |