index : devtools32 | |
Archlinux32 fork of devtools | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2019-04-01 10:54:20 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-12-27 21:36:58 +0100 |
commit | 8f551c24bbb5941f1eccc5a9bfd74da7edf757ad (patch) | |
tree | d0065ad46cf0a7ee83762a037e89ee49bf03d248 /arch-nspawn.in | |
parent | 7f675d8093da80c776ed50db7adb396bf3f4d7c7 (diff) |
-rw-r--r-- | arch-nspawn.in | 4 |
diff --git a/arch-nspawn.in b/arch-nspawn.in index c227f45..04d9a8d 100644 --- a/arch-nspawn.in +++ b/arch-nspawn.in @@ -95,7 +95,9 @@ copy_hostconf () { unshare --fork --pid 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 - printf 'Server = %s\n' "${host_mirrors[@]}" >"$working_dir/etc/pacman.d/mirrorlist" + printf 'Server = %s\n' "${host_mirrors[@]}" | \ + tee "$working_dir/etc/pacman.d/mirrorlist" > \ + "$working_dir/etc/pacman.d/mirrorlist32" [[ -n $pac_conf ]] && cp "$pac_conf" "$working_dir/etc/pacman.conf" [[ -n $makepkg_conf ]] && cp "$makepkg_conf" "$working_dir/etc/makepkg.conf" |