Repository navigation
K2GO-399 chore(rootfs): drop the unused contrib component from the Debian base sources - #566
Merged
Merged
Conversation
…bian base sources The proot-distro base enables "contrib" in /etc/apt/sources.list (Termux's base recipe), but the IIAB install pulls nothing from it (the installed set is all main). Strip the non-main components right after extraction so the shipped rootfs and its apt config stay DFSG-free (main-only), for F-Droid. Post-extraction, so it also covers a --base-local base: one enforcement point.
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.
What
After extracting the Debian base, strip the non-main apt components
(contrib / non-free) from /etc/apt/sources.list, so the shipped rootfs
is main-only (DFSG-free).
Why
The proot-distro base enables "contrib" (Termux's base recipe), but the
IIAB install pulls nothing from it -- the installed set is all main
(device-verified: 755 packages, 0 contrib / 0 non-free). Dropping the
unused component makes the no-non-free / no-contrib posture airtight.
Part of K2GO-399; the ticket stays open.
Notes
Verify
Rebuild a rootfs and confirm /etc/apt/sources.list lists "main" only.