Closed izaera closed 7 months ago
You could use the #$nrconf{kernelfilter}
config option to filter the kernel by a regex.
Multi kernel support in a generic way is not a trivial task. Since the config file is pure perl code you even could add some code to filter the image filenames depending on the running kernel.
Hey @liske thanks for your reply (and sorry for the late response).
I'll try to configure it in my local machine. I think that will do the job. If it doesn't work for any reason (which I doubt) I'll reopen the issue.
Thanks again :-)
Finally set the filter to $nrconf{kernelfilter} = qr(vmlinuz-linux-lts);
(in Arch Linux, for LTS kernel) and it does the job perfectly :ok_hand:
Thx again.
I'm using Arch Linux and I have two linux kernels available (current and LTS).
This is how my
/boot
directory listing looks like:As you can see there are two
vmlinuz-...
files.Now, apparently these lines of code check for those files and choose the wrong one. I don't know perl, so I may be wrong, but since I get this output from
needrestart
I guess that's the cause: