mirror of
https://github.com/speed47/spectre-meltdown-checker.git
synced 2024-10-11 01:48:03 +02:00
add support for NixOS kernel
this removes the need to specify the kernel version manually on NixOS
This commit is contained in:
parent
dead0054a4
commit
2964c4ab44
@ -487,6 +487,7 @@ if [ "$opt_live" = 1 ]; then
|
||||
[ -e /boot/kernel-$( uname -r) ] && opt_kernel=/boot/kernel-$( uname -r)
|
||||
[ -e /boot/bzImage-$(uname -r) ] && opt_kernel=/boot/bzImage-$(uname -r)
|
||||
[ -e /boot/kernel-genkernel-$(uname -m)-$(uname -r) ] && opt_kernel=/boot/kernel-genkernel-$(uname -m)-$(uname -r)
|
||||
[ -e /run/booted-system/kernel ] && opt_kernel=/run/booted-system/kernel
|
||||
fi
|
||||
|
||||
# system.map
|
||||
|
Loading…
Reference in New Issue
Block a user