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-05-18 08:45:01 +0200 |
commit | 3e3af0c26dd10d2e1bd703514755acdd3133f554 (patch) | |
tree | b10970eacfad9ef5610284444debf41e9e69e9c2 /arch-nspawn.in | |
parent | f2e34f51c071dd80c32e2c6fdb94242b12253318 (diff) |
-rw-r--r-- | arch-nspawn.in | 4 |
diff --git a/arch-nspawn.in b/arch-nspawn.in index b1021a4..03abcd8 100644 --- a/arch-nspawn.in +++ b/arch-nspawn.in @@ -97,7 +97,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" |