On 2024-07-10, Jens Schmidt wrote:

> So I thought that there might be some automatism like this:
>
>   If the currently used kernel and initramfs have been in use
>   already N times and if the boot time has been lower then M
>   minutes each time (and if some other conditions are fulfilled),
>   then consider that kernel and initramfs good and save them away
>   where they will not be overwritten by regular kernel/initramfs
>   maintenance.

I compile my kernel adding a version suffixe. But the problem is the same
if I compile a new version without a different suffixe.

Perhaps a better way would be to save the "good" kernel in /boot with an
additionnal suffixe. Then generate a grub entry for it (update-grub
should does it). So you can directly boot with it. It supposes enough
available space in /boot.

Reply via email to