Created
October 9, 2013 11:05
-
-
Save JohannesBuchner/6899565 to your computer and use it in GitHub Desktop.
update Gentoo Linux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#rm /usr/portage/distfiles/* | |
renice +20 -p $$ | |
ionice -c3 -p $$ | |
pgrep emerge >/dev/null || rm /var/tmp/portage/*-* -rf | |
emerge-webrsync && eix-update | |
ARGS="--quiet-build --load-average=10 --jobs=3" | |
echo emerge -tv --keep-going --update --deep --newuse $ARGS @system | |
MAKEOPTS="-j4" emerge -tv --keep-going --update --deep --newuse $ARGS @system | |
echo emerge -tv --keep-going --update --deep --newuse $ARGS @world | |
MAKEOPTS="-j4" emerge -tv --keep-going --update --deep --newuse $ARGS @world | |
#MAKEOPTS="-j4" emerge $ARGS -1tv x11-drivers/nvidia-drivers x11-drivers/xf86-input-evdev && | |
#eselect opengl set nvidia | |
python-updater -- $ARGS | |
revdep-rebuild -- $ARGS | |
#emerge -tv --depclean -a |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment