mirror of
https://github.com/Kron4ek/Conty
synced 2024-12-27 09:58:25 +01:00
Skip installation of unneeded files
Skip installation of man pages and Nvidia firmwares.
This commit is contained in:
parent
22abd340b8
commit
9bfbf0473d
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue