fix: generate libv4l t64 compatibility package - #128
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Build a real arm64
libv4l-0compatibility package during RK3588 userspace staging. It depends on Trixie’slibv4l-0t64and contains one collision-free symlink whose basename satisfies the pinnedrockchip-multimedia-configpostinst’s literaldpkg -Llookup.The package is classified as BSP input and explicitly installed first in the same
mkosi-installtransaction asrockchip-multimedia-config. The upstream.deband its pinned SHA-256 remain unchanged.Testing
./build <board>— full image build not repeated;DRY_RUN=1 INSTALL_BOOT_BSP=0 ./build rock-5b-pluspassedlibv4l-0t64and the exact pinned Rockchip.deb; postinst exited 0, the compatibility link resolved to the t64 library, and the copied bytes matchedbats tests/package-contract.bats— 108/108 passed./run-testspassed using the native Docker daemon wrapperDocs
docs/trixie-package-resolution.mdandAGENTS.mdwith the t64/dpkg rationale and ownership boundaryChecklist
Risks
The compatibility package is intentionally arm64/RK3588-specific and pins the Trixie 1.30.1 library path. Contract tests fail if its metadata, sole payload, target, staging class, or transaction wiring drifts.