diff options
| author | Blake Romero <blake@blkrom.com> | 2023-05-27 16:59:27 +0100 |
|---|---|---|
| committer | Blake Romero <blake@blkrom.com> | 2023-05-27 16:59:27 +0100 |
| commit | 937256a593edb9b976fa98fdb9baff7f18c21356 (patch) | |
| tree | 6ce2ca881124a4068ce358e4acc95044b68ca6e8 | |
| parent | 6f86084e63acef8457f69ac26f141ff2c92ec306 (diff) | |
Add pacman options & custom makeflags
| -rwxr-xr-x | install-artix.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/install-artix.sh b/install-artix.sh index 3139938..9ee0380 100755 --- a/install-artix.sh +++ b/install-artix.sh @@ -213,11 +213,16 @@ if [[ $autologin == true ]]; then -i /mnt/etc/runit/sv/agetty-tty1/conf fi -# Add pacman options +# Add PACMAN download style pac_options=ILoveCandy sed "s/# Misc options/# Misc options\n${pac_options}/g" \ -i /mnt/etc/pacman.conf +# Set MAKEFLAGS to match CPU threads for faster compiling +cp /etc/makepkg.conf /etc/makepkg.conf.bak +sed 's/#MAKEFLAGS=\".*\"/MAKEFLAGS=\"-j$(nproc)\"' \ + -i /etc/makepkg.conf + # Configure mkinitcpio.conf modules="btrfs" hooks="base udev autodetect modconf kms keyboard keymap block encrypt resume filesystems fsck" |
