From 9bfbf0473df8fad8b6dd20dd06cc57355dd7c51b Mon Sep 17 00:00:00 2001 From: Kron4ek Date: Sun, 27 Aug 2023 19:05:01 +0500 Subject: [PATCH] Skip installation of unneeded files Skip installation of man pages and Nvidia firmwares. --- create-arch-bootstrap.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/create-arch-bootstrap.sh b/create-arch-bootstrap.sh index 1146a5c..81c6064 100755 --- a/create-arch-bootstrap.sh +++ b/create-arch-bootstrap.sh @@ -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 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 -Su --noconfirm