diff --git a/openwrtbuilder b/openwrtbuilder index 17394c5..d75ee5f 100755 --- a/openwrtbuilder +++ b/openwrtbuilder @@ -640,13 +640,16 @@ from_source() { done # Expand seed into full config - execute make "${make_opts[@]}" "-j1" defconfig + execute make "-j1" defconfig + + # Run serial make download for better reliability + execute make "-j1" download # make_opts+=("-j$(($(nproc)-2))") ((DEBUG)) && make_opts+=("-j1") || make_opts+=("-j$(($(nproc)-2))") # Make image - if ! execute ionice -c 3 chrt --idle 0 nice -n19 make "${make_opts[@]}" BIN_DIR="$BIN_DIR" download world; then + if ! execute ionice -c2 -n7 nice -n19 make "${make_opts[@]}" BIN_DIR="$BIN_DIR" world; then echo "Error: make failed" return 1 fi diff --git a/profiles b/profiles index 7245efb..bf64efc 100644 --- a/profiles +++ b/profiles @@ -19,7 +19,7 @@ declare -Ag r4s=( [target]="rockchip/armv8" [filesystem]="ext4" [packages]="${default_packages[*]} \ - luci-app-ddns luci-app-sqm irqbalance \ + luci-app-ddns luci-app-sqm \ adblock luci-app-adblock \ collectd-mod-df usbutils kmod-usb-storage kmod-usb-storage-uas \ kmod-fs-btrfs btrfs-progs block-mount smcroute avahi-daemon \