2 Commits

View File

@@ -778,6 +778,7 @@ function install_archlinux () {
#1.12 #1.12
pacman_dl_parallel pacman_dl_parallel
pacman_dont_check_space pacman_dont_check_space
pacman --noconfirm -S archlinux-keyring
while ! pacstrap /mnt \ while ! pacstrap /mnt \
base \ base \
base-devel \ base-devel \
@@ -1092,12 +1093,12 @@ function get_aur_helper () {
usermod --append --groups 'wheel' 'build' usermod --append --groups 'wheel' 'build'
printf -- '%s\n' '%wheel ALL=(ALL:ALL) NOPASSWD: ALL' > '/etc/sudoers.d/10-wheel-group-no-passwd-prompt' printf -- '%s\n' '%wheel ALL=(ALL:ALL) NOPASSWD: ALL' > '/etc/sudoers.d/10-wheel-group-no-passwd-prompt'
pushd /tmp pushd /tmp
git clone https://aur.archlinux.org/paru-bin.git git clone https://aur.archlinux.org/paru-git.git
chown -R 'build:' 'paru-bin' chown -R 'build:' 'paru-git'
pushd 'paru-bin' pushd 'paru-git'
sudo --user 'build' makepkg -si --noconfirm sudo --user 'build' makepkg -si --noconfirm
popd popd
rm -rf 'paru-bin' rm -rf 'paru-git'
popd popd
} }