Just a minor suggestion: Currently the /etc/kernel/(postinst.d|postrm.d)/zz-update-(extlinux|uenv) scripts are bash scripts which only load /usr/local/sbin/update_extlinux.sh or /usr/local/sbin/update_uenv.sh respectively. It would be less overhead when those four scripts instead were symbolic links to the finally executed ones. Doing the following works well with kernel upgrades/installs/removals:
Just a minor suggestion: Currently the
/etc/kernel/(postinst.d|postrm.d)/zz-update-(extlinux|uenv)
scripts are bash scripts which only load/usr/local/sbin/update_extlinux.sh
or/usr/local/sbin/update_uenv.sh
respectively. It would be less overhead when those four scripts instead were symbolic links to the finally executed ones. Doing the following works well with kernel upgrades/installs/removals:So no additional bash shells are loaded and less actual files shipped.
This was found in the
rockchip-overlay
package and on the Radxa Zero Debian image (where the same files are present without this package).