increase backtracking
This commit is contained in:
parent
4050e93557
commit
58007ff648
1 changed files with 11 additions and 0 deletions
11
gentooup.sh
11
gentooup.sh
|
@ -14,6 +14,9 @@ CHROOTED=0
|
|||
|
||||
SYNC_COMMAND="emaint sync -a"
|
||||
|
||||
BACKTRACK_INTERACTIVE=30 # 10 is the default
|
||||
BACKTRACK_BATCH=200
|
||||
|
||||
int_handler() {
|
||||
exit 0
|
||||
}
|
||||
|
@ -98,6 +101,14 @@ while [[ $# -gt 0 ]]; do
|
|||
esac
|
||||
done
|
||||
|
||||
if [[ $INTERACTIVE == 1 ]] ; then
|
||||
BACKTRACK="$BACKTRACK_INTERACTIVE"
|
||||
else
|
||||
BACKTRACK="$BACKTRACK_BATCH"
|
||||
fi
|
||||
|
||||
PORTAGE_OPTIONS+=( "--backtrack=$BACKTRACK" )
|
||||
|
||||
if [[ $CHROOTED == 1 ]] ; then
|
||||
SYNC_COMMAND=""
|
||||
for repo in helpers meskal-overlay selba ; do
|
||||
|
|
Loading…
Add table
Reference in a new issue