fix: pacstrap arguments

This commit is contained in:
AngeD 2023-11-09 15:20:16 +01:00
parent f34090294e
commit 9b5997ed4f

View File

@ -26,7 +26,7 @@ cd "$(dirname "$0")"
cp -f rootfs/etc/pacman.conf /etc/pacman.conf cp -f rootfs/etc/pacman.conf /etc/pacman.conf
systemctl restart reflector systemctl restart reflector
pacman -Sy pacman -Sy
pacstrap -K --needed /mnt/ "${pkg[@]}" pacstrap -K /mnt/ --needed "${pkg[@]}"
cp -rfT rootfs/ /mnt/ cp -rfT rootfs/ /mnt/
genfstab -U /mnt/ >> /mnt/etc/fstab genfstab -U /mnt/ >> /mnt/etc/fstab