On 26.06.2023 10:34, Mark Rubin via openSUSE Factory wrote:
Thanks, I'll try that. What wasn't clear to me were things like if `make install` did the compression of vmlinux (which plain `make` successfully created for me) to vmlinuz, and whether I'd have to run `dracut` or something else manually to create the /boot/initrd-<version> file, etc.
I'd hope the Makefile would do it for me,
No, Makefile calls /sbin/installkernel if it is available and it is up to this program. kernel-install-tools package provides /sbin/installkernel that creates initrd. ...
I wondered the same thing (grub configuration) but from what I saw looking around in the the /etc/grub.d/* files is that on openSUSE they dynamically create the menus at boot time from the kernels/initrds in the /boot directory.
No, kernels are added to static grub.cfg, there is no boot time detection. Again, /sbin/installkernel from kernel-install-tools does it for you. Without this package (or comparable script) you need to update grub.cfg manually.
Very nice, and it seemed to work during my experiments zypper-installing pre-built kernels from RPMs
RPMs use hook scripts at installation time to create initrd and update bootoader configuration.