From 718b29cfe8ba80110c16f92c6273869382903e0c Mon Sep 17 00:00:00 2001 From: bryan Date: Fri, 8 Aug 2025 22:22:35 -0400 Subject: [PATCH] Try to omit oldconfig --- openwrtbuilder | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/openwrtbuilder b/openwrtbuilder index 01434b8..d4d4b41 100755 --- a/openwrtbuilder +++ b/openwrtbuilder @@ -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