Make the patch series reproduce the SDK from a clean vendor checkout #7

Merged
noah merged 2 commits from sdk4-reproducible into flare-edge-next 2026-09-28 14:04:32 -06:00
2 Commits
Author SHA1 Message Date
NoahandClaude Opus 5.5 67da1141a0 build: unpack the pinned Buildroot tree into the vendor SDK
ci / badges (push) Skipped
ci / mcdc (push) Successful in 18s
ci / test (push) Successful in 17s
ci / bench (push) Successful in 5s
ci / qemu-tools (push) Successful in 41s
ci / patches-apply (push) Successful in 20s
ci / prune-artifacts (push) Skipped
ci / kernel-build (push) Skipped
ci / quality (push) Successful in 31s
ci / test (pull_request) Successful in 15s
ci / mcdc (pull_request) Successful in 13s
ci / bench (pull_request) Successful in 5s
ci / qemu-tools (pull_request) Successful in 39s
ci / patches-apply (pull_request) Successful in 14s
ci / kernel-build (pull_request) Skipped
ci / prune-artifacts (pull_request) Skipped
ci / quality (pull_request) Successful in 27s
ci / badges (pull_request) Skipped
build/unpack-buildroot.sh fetches buildroot-2025.02.8 through
fetch-buildroot-tarball.sh (sha256-pinned) and unpacks it to
sysdrv/source/buildroot/buildroot-2025.02.8, the tree the patched
project/build.sh and sysdrv/Makefile select. It refuses an SDK whose
selectors are not patched, leaves an existing tree alone, and never leaves a
partial tree at the final path. flare-edge's build-firmware.sh calls it right
after applying luckfox-sdk-patches/.

Offline regression tests cover the fresh unpack, the existing-tree no-op and
every refusal path; the qemu-tools job runs and shellchecks them.

Refs #4

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01441BzdGcvQmXkiN2qDjfZg
2026-09-28 11:10:53 -06:00
NoahandClaude Opus 5.5 5f36beb44a luckfox-sdk-patches: capture the SDK deltas that lived only in one tree
A clean vendor checkout plus this series could not build WardenOS: the
workstation SDK that CI copies carried tracked changes and two untracked
kernel fragments that no patch recorded (#4).

- board/0009: sysdrv/Makefile selects buildroot-2025.02.8 and relaxes the
  vendor unpack fallback's cp lines.
- board/0010: removes the five 2023-era busybox/hcitool package patches.
- board/0011: flare_minimize strips camera/ISP payload from /oem.
- board/0012: removes the generic S50sshd init script.
- board/0013: e2fsprogs BUILD_CFLAGS for gcc 14 host helpers.
- kernel/configs: flare-wireguard.config and rv1106-usb-host-ethernet.config,
  which the 86Panel board .mk names for the vendor 5.10 kernel.

Every hunk is git diff output against 824b817f8, byte for byte.

Refs #4

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01441BzdGcvQmXkiN2qDjfZg
2026-09-28 11:10:53 -06:00