Remove the remaining optional scripting runtimes, pin the core tools

- Drop perl, perl-io-socket-ssl, tcl-lib, tcl-tls, sqlite-tcl, lua5.4,
  lua5.4-dev, lua5.5, lua5.5-dev and sqlite (CLI) from the package set and
  add them to the prune denylist: 13 packages / 49.45 MiB including
  dependents. sqlite-libs, tcl, and all paramount runtimes stay.
- Promote curl to an explicit world entry and pin curl, bc, ed, rlwrap,
  mandoc, nano, less and frotz as core tools in check-rebuild.sh.
- Remove the lua/luac symlink creation and the lua5.5 critical-binary check
  from the build scripts; apply-bananarchy-overlay.sh deletes stale links.
- Drop four legacy pmbootstrap-era so: world constraints (@ entries in the
  prune list); so:libperl.so was pinning perl and blocking its removal.
- Update README.md, MANUAL.md, AGENTS.md, SDK.md section 7 and CHANGELOG.md.
- Rebuild images/bananarchy-nokia-argon.img (1.59 GiB, down from 1.66 GiB)
  and verify with qemu-arm that yabasic, neoui.yab, neonet.yab, curl, bc and
  ed still work while perl, lua, sqlite3, gcc and janet are gone.
This commit is contained in:
Luxferre committed 2026-11-05 15:08:13 +02:00
1 parent 2da4c86923
commit 8078f211e5
12 files changed
+81 -39

No files matched your search

+6 -1
View File
@@ -20,8 +20,9 @@ if [ ! -f "$PRUNE_FILE" ]; then
echo "Error: missing $PRUNE_FILE" >&2
exit 1
fi
PRUNE_PKGS="$(grep -v '^[[:space:]]*#' "$PRUNE_FILE" | grep -v '^[[:space:]]*$' | grep -v '^!' | tr '\n' ' ')"
PRUNE_PKGS="$(grep -v '^[[:space:]]*#' "$PRUNE_FILE" | grep -v '^[[:space:]]*$' | grep -v '^[!@]' | tr '\n' ' ')"
WORLD_DENY="$(grep '^!' "$PRUNE_FILE" | tr '\n' ' ')"
WORLD_DROP="$(grep '^@' "$PRUNE_FILE" | sed 's/^@//' | tr '\n' ' ')"
DENY_NAMES=""
for deny in $WORLD_DENY; do
DENY_NAMES="$DENY_NAMES ${deny#!}"
@@ -39,6 +40,10 @@ pin_world_constraints() {
grep -vxF "!$pkg" "$WORLD_FILE.bananarchy-tmp" > "$WORLD_FILE.bananarchy-tmp2" || true
mv "$WORLD_FILE.bananarchy-tmp2" "$WORLD_FILE.bananarchy-tmp"
done
for entry in $WORLD_DROP; do
grep -vxF "$entry" "$WORLD_FILE.bananarchy-tmp" > "$WORLD_FILE.bananarchy-tmp2" || true
mv "$WORLD_FILE.bananarchy-tmp2" "$WORLD_FILE.bananarchy-tmp"
done
for deny in $WORLD_DENY; do
printf '%s\n' "$deny" >> "$WORLD_FILE.bananarchy-tmp"
done