Try to omit oldconfig
This commit is contained in:
@@ -638,15 +638,13 @@ from_source() {
|
||||
echo "$config" >> "$seed_file"
|
||||
done
|
||||
|
||||
execute make "${make_opts[@]}" "-j1" oldconfig
|
||||
|
||||
execute make "${make_opts[@]}" "-j1" download
|
||||
# execute make "${make_opts[@]}" "-j1" oldconfig
|
||||
|
||||
# make_opts+=("-j$(($(nproc)-1))")
|
||||
((DEBUG)) && make_opts+=("-j1") || make_opts+=("-j$(($(nproc)-1))")
|
||||
((DEBUG)) && make_opts+=("-j1") || make_opts+=("-j$(($(nproc)-2))")
|
||||
|
||||
# Make image
|
||||
if ! execute ionice -c 3 chrt --idle 0 nice -n19 make "${make_opts[@]}" world; then
|
||||
if ! execute ionice -c 3 chrt --idle 0 nice -n19 make "${make_opts[@]}" download world; then
|
||||
echo "Error: make failed"
|
||||
return 1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user