thanks, my /usr/lib/kernel/install.conf has only one extra line:
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it under the
# terms of the GNU Lesser General Public License as published by the Free
# Software Foundation; either version 2.1 of the License, or (at your option)
# any later version.
#
# See kernel-install(8) for details.
#layout=bls|other|...
#initrd_generator=dracut|...
#uki_generator=ukify|...
Removing the last line and reinstalling the kernel didnt fix it (I also deleted the existing files before reinstalling). Also /etc/kernel/install.conf does not exist.