After kernel build, new kernel isn't added to grub2

Hello,

I’ve been building (and using) new / updated kernels for quite a while now.
Since a few months the process of building works, but inserting / adding the newly built kernel into grub2 fails.

“make install” at the end of my building process gives me a - successful - generation of the necessary files in the boot folder and then the messages:

update-bootloader: 2023-09-06 15:47:10 <3> update-bootloader-3800 run_command.335: ‘/usr/lib/bootloader/grub2-efi/config’ failed with exit code 1, output:
<<<<<<<<<<<<<<<<

  • /usr/sbin/grub2-mkconfig -o /boot/grub2/grub.cfg
    Generating grub configuration file …
    Found theme: /boot/grub2/themes/openSUSE/theme.txt
    Found linux image: /boot/vmlinuz-6.5.1-lp154
    Found initrd image: /boot/initrd-6.5.1-lp154
    Found linux image: /boot/vmlinuz-6.5.1-lp154.old
    Found initrd image: /boot/initrd-6.5.1-lp154
    Found linux image: /boot/vmlinuz-6.3.13-lp154
    Found initrd image: /boot/initrd-6.3.13-lp154
    Found linux image: /boot/vmlinuz-6.3.5-lp154
    Found initrd image: /boot/initrd-6.3.5-lp154
    Found linux image: /boot/vmlinuz-6.3.5-lp154.old
    Found initrd image: /boot/initrd-6.3.5-lp154
    […]
    Found linux image: /boot/vmlinuz-5.14.21-150500.55.19-default
    Found initrd image: /boot/initrd-5.14.21-150500.55.19-default
    […]
    cp: -r not specified; omitting directory ‘/boot/’

make[1]: *** [arch/x86/Makefile:292: install] Error 1
make: *** [Makefile:234: __sub-make] Error 2

The […] represent a list of old kernels previously generated that are being found. I purged those for better readibility.

Anyone having ideas what might go wrong? As I said it has been working flawlessly for years and I don’t remember changing anything that might have an influence on the whole process.

Peter

Your post is unreadable. Always post computer text as preformatted (</> button in editor). In this case it would be better to provide the full make install output, upload to https://paste.opensuse.org/.