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:
1 parent
2da4c86923
commit
8078f211e5
12 files changed
+81
-39
No files matched your search
+1
-5
@@ -219,7 +219,7 @@ EOF
|
||||
[ -e "$ROOTFS/usr/sbin/ip6tables" ] || [ -L "$ROOTFS/usr/sbin/ip6tables" ] || MISSING_PKGS="$MISSING_PKGS ip6tables"
|
||||
[ -e "$ROOTFS/sbin/ip" ] || [ -L "$ROOTFS/sbin/ip" ] || MISSING_PKGS="$MISSING_PKGS iproute2"
|
||||
[ -e "$ROOTFS/usr/bin/yabasic" ] || [ -L "$ROOTFS/usr/bin/yabasic" ] || MISSING_PKGS="$MISSING_PKGS yabasic"
|
||||
[ -e "$ROOTFS/usr/bin/lua5.5" ] || [ -L "$ROOTFS/usr/bin/lua5.5" ] || MISSING_PKGS="$MISSING_PKGS lua5.5"
|
||||
[ -e "$ROOTFS/usr/bin/curl" ] || [ -L "$ROOTFS/usr/bin/curl" ] || MISSING_PKGS="$MISSING_PKGS curl"
|
||||
[ -e "$ROOTFS/usr/bin/scrot" ] || [ -L "$ROOTFS/usr/bin/scrot" ] || MISSING_PKGS="$MISSING_PKGS scrot"
|
||||
|
||||
# Scan ELF binaries and plugins for missing shared libraries (so:<lib>)
|
||||
@@ -245,14 +245,10 @@ EOF
|
||||
echo " -> Installing missing dependencies into $ROOTFS:$MISSING_PKGS"
|
||||
# shellcheck disable=SC2086
|
||||
apk --root "$ROOTFS" --arch armv7 add --no-scripts $MISSING_PKGS
|
||||
ln -sf lua5.5 "$ROOTFS/usr/bin/lua"
|
||||
ln -sf luac5.5 "$ROOTFS/usr/bin/luac"
|
||||
/bananarchy/scripts/apply-bananarchy-overlay.sh "$ROOTFS" "$TARGET_DEVICE"
|
||||
else
|
||||
echo " -> All target rootfs packages and shared libraries are present."
|
||||
fi
|
||||
ln -sf lua5.5 "$ROOTFS/usr/bin/lua"
|
||||
ln -sf luac5.5 "$ROOTFS/usr/bin/luac"
|
||||
|
||||
/bananarchy/scripts/prune-rootfs-packages.sh "$ROOTFS" purge
|
||||
strip_build_residue
|
||||
|
||||
Reference in new issue
Block a user