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> | 2020-02-23 21:00:11 +0100 |
commit | ebfa290982fcd54065e295bf1ee18b5e09146de6 (patch) | |
tree | 72b1f62930b7a231d0be4da5c523a27c6312bdd9 /arch-nspawn.in | |
parent | eaea0cf58798f3945fcc71df2cd7d85820b8999b (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" |