Drop the on-device GCC suite and Janet runtime, keep Yabasic FFI intact

- Remove gcc, g++, musl-dev, make, janet, janet-dev and jpm from
  scripts/rootfs-packages.txt and add them to the prune denylist; 14 packages
  and 143.86 MiB disappear, with no runtime callers in the overlay.
- Verify the Yabasic chain by running the real armv7 binaries under qemu-arm
  in a chroot of the rebuilt rootfs: yabasic 2.92.1, basic print, import neonet
  (libffi -> libcurl.so.4) and import neoui (libffi -> libneoui.so) all work.
- Guard yabasic/yabasic-doc as critical, forbid compiler/Janet packages, and
  check the NeoUI/NeoNet FFI artifacts in check-rebuild.sh.
- Update README.md, MANUAL.md, AGENTS.md and SDK.md; replace the on-device
  compile examples with cross-compilation guidance and add SDK.md section 7,
  an inventory of paramount versus removable scripting runtimes.
- Rebuild images/bananarchy-nokia-argon.img (1.66 GiB, down from 1.84 GiB)
  and confirm via debugfs that the compiler/Janet binaries are gone while
  yabasic, libneoui.so, neoui.yab, neonet.yab and libcurl are present.
This commit is contained in:
Luxferre committed 2026-11-05 14:58:30 +02:00
1 parent dc2b6f6364
commit 2da4c86923
8 files changed
+96 -17

No files matched your search

+3 -7
View File
@@ -4,6 +4,9 @@
# 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.
# No on-device compiler or Janet runtime is shipped; native code is
# cross-compiled with scripts/build-*.sh, and Yabasic FFI (neoui.yab /
# neonet.yab) is the on-device SDK path.
# scripts/rootfs-prune-packages.txt lists packages purged from existing rootfs
# trees (Wayland-only components and retired packages).
adwaita-icon-theme
@@ -24,8 +27,6 @@ font-fira-code
font-noto
font-noto-emoji
frotz
g++
gcc
git
gst-libav
gst-plugins-bad
@@ -38,9 +39,6 @@ imv-x11
ip6tables
iproute2
iptables
janet
janet-dev
jpm
lang
less
libwpe
@@ -53,11 +51,9 @@ lua5.4
lua5.4-dev
lua5.5
lua5.5-dev
make
mandoc
mesa-utils
modemmanager
musl-dev
nano
openssh
openssh-server-pam