Slim the armv7 rootfs: drop Rust and Wayland packages, dead code, and build residue
- Replace Rust sudo-rs with C sudo (sudo-virt provider at priority 100) and add a two-phase pruner so apk atomically swaps the conflicting provider. - Remove Wayland-purpose libwpebackend-fdo from the runtime set and add imv-x11 for the X11-only image viewer path. - Drop unused mesa-demos, postmarketos-artwork-wallpapers, ttyescape/hkdm, clickclack/sdl3, and font-twemoji; keep sfeed, w3m, htop, non-Latin fonts, and the documented SDK toolchain to avoid functional regressions. - Strip apk index caches, apk logs, and unused gettext locales before mke2fs, with a hard guard that fails the build if any residue survives. - Harden check-rebuild.sh with critical/forbidden package and guard checks. - Delete the unreferenced Sway-era configurator and patch; sync the docs.
This commit is contained in:
1 parent
0ab9367e28
commit
5d10b801ff
12 files changed
+187
-1024
No files matched your search
@@ -0,0 +1,35 @@
|
||||
# Packages that must never be present in the final armv7 image.
|
||||
# Read by scripts/bootstrap-rootfs-container.sh and rebuild-image.sh, which
|
||||
# remove only the entries actually installed in the target rootfs.
|
||||
# One package per line; lines starting with '#' and blank lines are ignored.
|
||||
|
||||
# Wayland-purpose components (Bananarchy is pure X11). wayland-libs-* are
|
||||
# shared libraries linked by GTK3/WebKitGTK and are deliberately not listed:
|
||||
# removing them would break the Webarchy browser.
|
||||
grim
|
||||
imv-wayland
|
||||
libdecor
|
||||
libwpebackend-fdo
|
||||
slurp
|
||||
sxmo-utils-wayland
|
||||
wofi
|
||||
xwayland
|
||||
|
||||
# Rust-based top-level packages replaced by C equivalents or retired daemons.
|
||||
# The remaining Rust libraries (libglycin, librsvg, rav1e-libs, libdovi,
|
||||
# generate-kernel-cmdline, py3-cryptography) are hard dependencies of GTK3,
|
||||
# FFmpeg, mpv, boot-deploy and yt-dlp and cannot be removed without regressions.
|
||||
hkdm
|
||||
postmarketos-base-sudo-rs
|
||||
sudo-rs
|
||||
|
||||
# Optional Rust install_if helpers with no hard reverse dependency.
|
||||
gstreamer-ptp-helper
|
||||
libheif-rav1e
|
||||
|
||||
# Retired, unused, or superseded packages.
|
||||
clickclack
|
||||
font-twemoji
|
||||
mesa-demos
|
||||
postmarketos-artwork-wallpapers
|
||||
ttyescape
|
||||
Reference in new issue
Block a user