The file 91-sbctl.install uses `if [[ ]]` that doesn't work with dash. I'd suggest back-porting the upstream fix from https://github.com/Foxboron/sbctl/commit/1167500b9da76febe85342e09b1bf9eeaf367ca6
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=becfea3c2a348982323838e525525d57501b0c07 commit becfea3c2a348982323838e525525d57501b0c07 Author: Steffen Winter <steffen.winter@proton.me> AuthorDate: 2024-06-23 14:44:48 +0000 Commit: John Helmert III <ajak@gentoo.org> CommitDate: 2024-06-27 18:34:21 +0000 app-crypt/sbctl: backport bashism fix in kernel install hook Closes: https://bugs.gentoo.org/934768 Signed-off-by: Steffen Winter <steffen.winter@proton.me> Closes: https://github.com/gentoo/gentoo/pull/37253 Signed-off-by: John Helmert III <ajak@gentoo.org> .../files/sbctl-0.14-installkernel-bashism.patch | 37 ++++++++++++++++++++++ .../{sbctl-0.14.ebuild => sbctl-0.14-r1.ebuild} | 4 +++ 2 files changed, 41 insertions(+)