Try to omit oldconfig

This commit is contained in:
2025-08-08 22:22:35 -04:00
parent e3ce0b6e57
commit 718b29cfe8

View File

@@ -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