feat(os): For default AUR builds increase makepkg core use (#1)
This commit is contained in:
parent
35dacb977c
commit
1290869dfe
6
setup.sh
6
setup.sh
@ -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}")"
|
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 () {
|
function get_aur_helper () {
|
||||||
create_unpriv_user 'build'
|
create_unpriv_user 'build'
|
||||||
usermod --append --groups 'wheel' 'build'
|
usermod --append --groups 'wheel' 'build'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user