mirror of
				https://github.com/speed47/spectre-meltdown-checker.git
				synced 2025-10-31 20:50:55 +01:00 
			
		
		
		
	Teach checker how to find kernels installed by systemd kernel-install
This commit is contained in:
		
				
					committed by
					
						 Stéphane Lesimple
						Stéphane Lesimple
					
				
			
			
				
	
			
			
			
						parent
						
							22cae605e1
						
					
				
				
					commit
					155cac2102
				
			| @@ -919,6 +919,8 @@ if [ "$opt_live" = 1 ]; then | ||||
| 		[ -e "/boot/kernel-genkernel-$(uname -m)-$(uname -r)" ] && opt_kernel="/boot/kernel-genkernel-$(uname -m)-$(uname -r)" | ||||
| 		# NixOS: | ||||
| 		[ -e "/run/booted-system/kernel" ] && opt_kernel="/run/booted-system/kernel" | ||||
| 		# systemd kernel-install: | ||||
| 		[ -e "/etc/machine-id" ] && [ -e "/boot/$(cat /etc/machine-id)/$(uname -r)/linux" ] && opt_kernel="/boot/$(cat /etc/machine-id)/$(uname -r)/linux" | ||||
| 	fi | ||||
|  | ||||
| 	# system.map | ||||
|   | ||||
		Reference in New Issue
	
	Block a user