Skip to content

Commit e5710a0

Browse files
authored
Update patch_srcrev.sh
Signed-off-by: Manigurr <manigurr@qti.qualcomm.com>
1 parent 9af3597 commit e5710a0

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

ci/patch_srcrev.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,12 @@ else
6464
echo "SRCREV = \"${VIDEO_DRIVER_SHA}\"" >> "${RECIPE_PATH}"
6565
fi
6666

67+
# ── NEW: remove patches already present in the checked-out source ──────────
68+
echo "🩹 Removing patches already merged into source tree..."
69+
sed -i '/0001-video-driver-copy-struct-v4l2_format-by-assignment\.patch/d' "${RECIPE_PATH}"
70+
echo "✅ Stale patch entries removed"
71+
# ───────────────────────────────────────────────────────────────────────────
72+
6773
echo "✅ Recipe patched successfully"
6874
echo "=== Patched recipe preview ==="
69-
grep -nE 'SRC_URI|SRCREV' "${RECIPE_PATH}" || true
75+
grep -nE 'SRC_URI|SRCREV|\.patch' "${RECIPE_PATH}" || true

0 commit comments

Comments
 (0)