mirror of
https://github.com/speed47/spectre-meltdown-checker
synced 2024-08-29 23:33:41 +02:00
Merge pull request #3 from TheHendla/arch_boot_img
add arch linux bootimage path
This commit is contained in:
commit
623e180ae1
@ -89,8 +89,8 @@ extract_vmlinux()
|
|||||||
status=0
|
status=0
|
||||||
img=''
|
img=''
|
||||||
# try to find the image of the current running kernel
|
# try to find the image of the current running kernel
|
||||||
|
[ -e /boot/vmlinuz-linux ] && img=/boot/vmlinuz-linux
|
||||||
[ -e /boot/vmlinuz-$(uname -r) ] && img=/boot/vmlinuz-$(uname -r)
|
[ -e /boot/vmlinuz-$(uname -r) ] && img=/boot/vmlinuz-$(uname -r)
|
||||||
[ -e /boot/vmlinux-$(uname -r) ] && img=/boot/vmlinux-$(uname -r)
|
|
||||||
[ -e /boot/kernel-$( uname -r) ] && img=/boot/kernel-$( uname -r)
|
[ -e /boot/kernel-$( uname -r) ] && img=/boot/kernel-$( uname -r)
|
||||||
[ -e /boot/bzImage-$(uname -r) ] && img=/boot/bzImage-$(uname -r)
|
[ -e /boot/bzImage-$(uname -r) ] && img=/boot/bzImage-$(uname -r)
|
||||||
if [ -z "$img" ]; then
|
if [ -z "$img" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user