1-get-initial-setup-working #2
7
setup.sh
7
setup.sh
@ -225,8 +225,12 @@ function copy_zpool_cache () {
|
||||
zpool set 'cachefile=/etc/zfs/'"${zpool_name}"'.cache' "${zpool_name}"
|
||||
}
|
||||
|
||||
function install_archlinux () {
|
||||
function pacman_dl_parallel () {
|
||||
sed -ri -e 's'$'\x1''^.*?(ParallelDownloads)[^\r\n\f]*'$'\x1''\1 = 5'$'\x1''g' '/etc/pacman.conf'
|
||||
}
|
||||
|
||||
function install_archlinux () {
|
||||
pacman_dl_parallel
|
||||
pacstrap /mnt \
|
||||
base \
|
||||
base-devel \
|
||||
@ -457,6 +461,7 @@ function install_os_in_chroot () {
|
||||
pacman -S archlinux-keyring --noconfirm
|
||||
|
||||
keep_initiramfs_root_only_rw
|
||||
pacman_dl_parallel
|
||||
unleash_makepkg
|
||||
add_motd_getting_started_msg
|
||||
get_aur_helper
|
||||
|
Loading…
x
Reference in New Issue
Block a user