Skip to content

K2GO-399 chore(rootfs): drop the unused contrib component from the Debian base sources - #566

Merged
luisguzman-adfa merged 2 commits into
mainfrom
chore/K2GO-399-drop-contrib-rootfs
Sep 17, 2026
Merged

luisguzman-adfa merged 2 commits into
mainfrom
chore/K2GO-399-drop-contrib-rootfs

Conversation

@luisguzman-adfa

Copy link
Copy Markdown
Collaborator

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

  • Post-extraction, so it also covers a --base-local base (one enforcement point).
  • Additive: nothing installs from contrib, so the IIAB install is unchanged.

Verify

Rebuild a rootfs and confirm /etc/apt/sources.list lists "main" only.

…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.
@luisguzman-adfa
luisguzman-adfa merged commit 80acdd7 into main Sep 17, 2026
2 checks passed
@luisguzman-adfa
luisguzman-adfa deleted the chore/K2GO-399-drop-contrib-rootfs branch September 17, 2026 03:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant