mirror of
				https://github.com/oSoWoSo/DistroHopper.git
				synced 2024-08-14 22:46:53 +00:00 
			
		
		
		
	Show full $EFI_CODE path in boot status
This commit is contained in:
		
							parent
							
								
									207ebde501
								
							
						
					
					
						commit
						145dc472af
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		
							
								
								
									
										4
									
								
								quickemu
									
										
									
									
									
								
							
							
						
						
									
										4
									
								
								quickemu
									
										
									
									
									
								
							|  | @ -408,14 +408,14 @@ function vm_boot() { | |||
|       exit 1 | ||||
|     fi | ||||
| 
 | ||||
|     # If EFI firmware path is a symlink, resolve it to a real file. | ||||
|     # If EFI_CODE references a symlink, resolve it to the real file. | ||||
|     if [ -L "${EFI_CODE}" ]; then | ||||
|       echo " - EFI:      WARNING! ${EFI_CODE} is a symlink." | ||||
|       echo -n "             Resolving to... " | ||||
|       EFI_CODE=$(realpath "${EFI_CODE}") | ||||
|       echo "${EFI_CODE}" | ||||
|     fi | ||||
|     BOOT_STATUS="EFI (${guest_os^}), OVMF ($(basename "${EFI_CODE}")), SecureBoot (${secureboot})." | ||||
|     BOOT_STATUS="EFI (${guest_os^}), OVMF (${EFI_CODE}), SecureBoot (${secureboot})." | ||||
|   else | ||||
|     BOOT_STATUS="Legacy BIOS (${guest_os^})" | ||||
|     secureboot="off" | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue