bluez5 wordexp patch carries a placeholder index id outside the patch gate #52

Open
opened 2026-11-14 18:38:56 -07:00 by noah · 0 comments
Owner

Found while verifying UBOOT-no-committed-retry (warden-sdk 9705273).

  • What: luckfox-sdk-patches/buildroot/files/package/bluez5_utils/0001-add-uclibc-wordexp-compat.patch creates wordexp.h with the index line "index 0000000..1111111". tools/check-patch-index.py recomputes the blob id from the added lines and gets 1b8b537. The stored id is a placeholder.
  • Impact: git apply does not check index ids, so today's build is not affected. The id names content the file does not have, which is the defect flare-edge#4582 added the check for.
  • Gap: the check runs only on /patches/.patch. tools/verify-sdk-patches.sh groups uboot, kernel, wifi and board, and the check-patch-index guard counts those 35 series patches. This Buildroot package patch sits under buildroot/files/package/, outside every gate, so the check never sees it.
  • Fix: set the index id to the blob id the checker recomputes (1b8b537), and widen the gate to buildroot/files/package//.patch with a regression case.
  • Blocker for fixing in the round it was found: the fix changes the warden-sdk branch head that UBOOT-no-committed-retry pins, and that cascades into the flare-edge vendor pin and the wiki pins of that item. It is not a small change to that item, so it is routed to a follow-up item.

Refs flare-edge#4582.

Found while verifying UBOOT-no-committed-retry (warden-sdk 9705273). - What: luckfox-sdk-patches/buildroot/files/package/bluez5_utils/0001-add-uclibc-wordexp-compat.patch creates wordexp.h with the index line "index 0000000..1111111". tools/check-patch-index.py recomputes the blob id from the added lines and gets 1b8b537. The stored id is a placeholder. - Impact: git apply does not check index ids, so today's build is not affected. The id names content the file does not have, which is the defect flare-edge#4582 added the check for. - Gap: the check runs only on */patches/*.patch. tools/verify-sdk-patches.sh groups uboot, kernel, wifi and board, and the check-patch-index guard counts those 35 series patches. This Buildroot package patch sits under buildroot/files/package/, outside every gate, so the check never sees it. - Fix: set the index id to the blob id the checker recomputes (1b8b537), and widen the gate to buildroot/files/package/*/*.patch with a regression case. - Blocker for fixing in the round it was found: the fix changes the warden-sdk branch head that UBOOT-no-committed-retry pins, and that cascades into the flare-edge vendor pin and the wiki pins of that item. It is not a small change to that item, so it is routed to a follow-up item. Refs flare-edge#4582.
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: blueflare/bfe-core1106-sdk#52