linux-surface/contrib/fedora-default-kernel/default-kernel.service
Maximilian Luz 20ca44dc7f
contrib/fedora-default-kernel: Make more robust and add rEFInd support
Add a script to explicitly handle multiple Surface kernel versions being
installed in parallel, sorting kernels by timestamp and choosing the
latest one.

Further, add support for rEFInd by updating the vmlinuz file timestamp
to ensure it's always seen as the last modified file (which will be
picked by rEFInd as the "default" kernel in that directory).

Signed-off-by: Maximilian Luz <luzmaximilian@gmail.com>
2023-06-02 21:55:09 +02:00

7 lines
121 B
Desktop File

[Unit]
Description=linux-surface default kernel watchdog
[Service]
Type=oneshot
ExecStart=/usr/local/bin/default-kernel