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

+10
View File
@@ -36,6 +36,16 @@ mesa-demos
postmarketos-artwork-wallpapers
ttyescape
# Retired on-device compiler toolchain and Janet runtime. Native code is
# cross-compiled with scripts/build-*.sh; Yabasic FFI stays fully functional.
gcc
g++
musl-dev
make
janet
janet-dev
jpm
# Negative world constraints for install_if packages. apk del removes these
# constraints, so the pruner restores them and runs apk fix after every purge.
!imv-wayland