Skip to content

Commit

Permalink
Merge pull request #63 from Trick-17/improved_install_speed
Browse files Browse the repository at this point in the history
Added multicore compile to arch install.
  • Loading branch information
GPMueller authored Sep 8, 2017
2 parents 1568523 + 3865572 commit 115b4b6
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion pyscripts/s04_packages.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,15 @@ def install_packages(user_input, install_user_name):
print(" >> Creating package list")
print(" Your choices: ", user_input)

sed_inplace(
'/etc/makepkg.conf',
'#MAKEFLAGS="-j2"',
'MAKEFLAGS="-j$(nproc)"')
sed_inplace(
'/mnt/etc/makepkg.conf',
'#MAKEFLAGS="-j2"',
'MAKEFLAGS="-j$(nproc)"')

misc_packages = ['vim',
'vim-supertab',
'vim-jedi',
Expand Down Expand Up @@ -101,7 +110,7 @@ def install_packages(user_input, install_user_name):
if 'full' in user_input['packages']:
for _, value in packages.items():
package_list += value[user_input['system type']]

if user_input['desktop'] != 'none':
package_list += desktop_distros[user_input['desktop']]
for _, value in gui_packages.items():
Expand Down

0 comments on commit 115b4b6

Please # to comment.