Clean first

This commit is contained in:
2024-05-21 16:12:57 -04:00
parent 2d816f3b8a
commit b2f2d34b27

View File

@@ -616,7 +616,7 @@ fromSource() {
./scripts/feeds install -a -f ./scripts/feeds install -a -f
# Grab the release seed config # Grab the release seed config
if ! curl -so "$seed_file" "$SEED_URL"; then if ! execute curl -so "$seed_file" "$SEED_URL"; then
echo "Could not obtain $seed_file from $SEED_URL" echo "Could not obtain $seed_file from $SEED_URL"
return 1 return 1
fi fi
@@ -673,7 +673,7 @@ fromSource() {
# Make prep # Make prep
(( DEBUG )) && make_opts+=("V=s") (( DEBUG )) && make_opts+=("V=s")
execute make "${make_opts[@]}" "-j1" defconfig download clean execute make "${make_opts[@]}" "-j1" targetclean defconfig download
# Make image # Make image
if ! execute ionice -c 3 chrt --idle 0 nice -n19 make "${make_opts[@]}" "-j$(($(nproc)+1))" world; then if ! execute ionice -c 3 chrt --idle 0 nice -n19 make "${make_opts[@]}" "-j$(($(nproc)+1))" world; then