Skip installation of unneeded files

Skip installation of man pages and Nvidia firmwares.
This commit is contained in:
Kron4ek 2023-08-27 19:05:01 +05:00 committed by GitHub
parent 22abd340b8
commit 9bfbf0473d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -293,6 +293,9 @@ rm "${bootstrap}"/opt/chaotic-keyring.pkg.tar.zst "${bootstrap}"/opt/chaotic-mir
# Speeds up packages installation, especially when there are many small packages to install # Speeds up packages installation, especially when there are many small packages to install
sed -i 's/#ParallelDownloads = 5/ParallelDownloads = 3/g' "${bootstrap}"/etc/pacman.conf sed -i 's/#ParallelDownloads = 5/ParallelDownloads = 3/g' "${bootstrap}"/etc/pacman.conf
# Do not install unneeded files (man pages and Nvidia firmwares)
sed -i 's/#NoExtract =/NoExtract = usr\/lib\/firmware\/nvidia\/\* usr\/share\/man\/\*/' "${bootstrap}"/etc/pacman.conf
run_in_chroot pacman -Sy archlinux-keyring --noconfirm run_in_chroot pacman -Sy archlinux-keyring --noconfirm
run_in_chroot pacman -Su --noconfirm run_in_chroot pacman -Su --noconfirm