T7676: Fix bashisms in kernel-install scripts
Fixed syntax of kernel-install script introduced during the merge with newer version from bullseye.
Remove bashisms from the entry directory plugin.
Fixed syntax of kernel-install script introduced during the merge with newer version from bullseye.
Remove bashisms from the entry directory plugin.