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
@@ -2,13 +2,16 @@
|
||||
# Single source of truth for scripts/bootstrap-rootfs.sh and rebuild-image.sh.
|
||||
# One package per line; lines starting with '#' and blank lines are ignored.
|
||||
# Keep this list synchronized with the packages used by the overlay and plugins.
|
||||
# Pure X11: no Wayland-purpose packages. sudo is the C implementation; the
|
||||
# Rust sudo-rs variant and its postmarketos-base-sudo-rs companion are excluded.
|
||||
# scripts/rootfs-prune-packages.txt lists packages purged from existing rootfs
|
||||
# trees (Wayland-only components and retired packages).
|
||||
adwaita-icon-theme
|
||||
alpine-base
|
||||
alsa-utils
|
||||
bash
|
||||
bc
|
||||
brightnessctl
|
||||
clickclack
|
||||
coreutils
|
||||
doas
|
||||
ed
|
||||
@@ -20,7 +23,6 @@ font-droid-nonlatin
|
||||
font-fira-code
|
||||
font-noto
|
||||
font-noto-emoji
|
||||
font-twemoji
|
||||
frotz
|
||||
g++
|
||||
gcc
|
||||
@@ -32,6 +34,7 @@ harfbuzz
|
||||
htop
|
||||
i2c-tools
|
||||
imv
|
||||
imv-x11
|
||||
ip6tables
|
||||
iproute2
|
||||
iptables
|
||||
@@ -41,7 +44,6 @@ jpm
|
||||
lang
|
||||
less
|
||||
libwpe
|
||||
libwpebackend-fdo
|
||||
libxcvt
|
||||
libxft
|
||||
libxinerama
|
||||
@@ -53,7 +55,6 @@ lua5.5
|
||||
lua5.5-dev
|
||||
make
|
||||
mandoc
|
||||
mesa-demos
|
||||
mesa-utils
|
||||
modemmanager
|
||||
musl-dev
|
||||
@@ -63,7 +64,6 @@ openssh-server-pam
|
||||
openvpn
|
||||
perl
|
||||
perl-io-socket-ssl
|
||||
postmarketos-artwork-wallpapers
|
||||
postmarketos-base
|
||||
postmarketos-base-nofde
|
||||
postmarketos-base-ui
|
||||
@@ -85,12 +85,11 @@ soc-qcom-msm8916-rproc-openrc
|
||||
soc-qcom-msm8916-ucm
|
||||
sqlite
|
||||
sqlite-tcl
|
||||
sudo-rs
|
||||
sudo
|
||||
tcl
|
||||
tcl-lib
|
||||
tcl-tls
|
||||
tor
|
||||
ttyescape
|
||||
v4l-utils
|
||||
w3m
|
||||
webkit2gtk-4.1
|
||||
|
||||
Reference in new issue
Block a user