Files
velzieandClaude Opus 5.5 120c591c70 mkdebs: the alternatives Debian's maintainer scripts register, as postinst/prerm
Our .debs had no maintainer scripts, so `apt-get install vim` put
/usr/bin/vim.basic in place and nothing named vim: Debian's postinst is
what makes /usr/bin/vim (and vi, view, ex, editor) an alternative.
mkrootfs.py set these up for the base rootfs only. binpkgs.txt's
`alternative BINPKG NAME LINK PATH PRIORITY` lines now give the package a
postinst (update-alternatives --install on configure) and a prerm
(--remove on remove/deconfigure): vim, gawk, mawk, nano, less and
util-linux's more, with mkrootfs.py's priorities.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_ea9f71488b6e448da93d6c2dabf4879c
2026-10-13 11:48:00 -04:00
..