Index: sdk/repo-refresh.sh =================================================================== diff -u -r6a3d90265ca4d97b839873da467d9d17d025aed5 -r5fd42022e653642650885cb5403d25f25ea1fe11 --- sdk/repo-refresh.sh (.../repo-refresh.sh) (revision 6a3d90265ca4d97b839873da467d9d17d025aed5) +++ sdk/repo-refresh.sh (.../repo-refresh.sh) (revision 5fd42022e653642650885cb5403d25f25ea1fe11) @@ -22,7 +22,7 @@ # --- STEP 2: Sync all sources ------------------------------------- echo "🔹 Syncing all repositories..." -repo sync -j${NUM_JOBS} --force-sync --fetch-submodules --prune +repo sync -j${NUM_JOBS} --force-sync --fetch-submodules --prune --fail-fast # --- STEP 3: Clean stale build output but keep downloads ---------- if [ -d "${BUILD_DIR}/tmp" ]; then @@ -31,8 +31,11 @@ fi # Optional: uncomment this if you want to clean sstate too -# rm -rf "${BUILD_DIR}/sstate-cache" +rm -rf "${BUILD_DIR}/sstate-cache" +# Optional: uncomment this if you want to clean sstate too +rm -rf "${BUILD_DIR}/sources" + # --- STEP 4: Reset all repos to manifest HEAD --------------------- echo "🔹 Resetting repos to manifest HEAD..." repo forall -c 'echo "→ $REPO_PATH"; git reset --hard HEAD; git clean -fdx'