1-get-initial-setup-working #2

Merged
hygienic-books merged 92 commits from 1-get-initial-setup-working into main 2023-03-05 03:02:48 +00:00
Showing only changes of commit 1290869dfe - Show all commits

View File

@ -370,6 +370,12 @@ function create_unpriv_user () {
chown -R "${account_name}"':' '/home/'"${account_name}"; chmod -R 'u=rwX,go=' "$(dirname "${authorized_keys_abs_path}")"
}
function unleash_makepkg () {
sed -ri \
-e 's'$'\x1''^(#?(MAKEFLAGS=))[^\r\n\f]*'$'\x1''\2"-j$(nproc --ignore 1)"'$'\x1''g' \
'/mnt/etc/makepkg.conf'
}
function get_aur_helper () {
create_unpriv_user 'build'
usermod --append --groups 'wheel' 'build'