mirror of
				https://github.com/Ysurac/openmptcprouter.git
				synced 2025-03-09 15:40:20 +00:00 
			
		
		
		
	Fix UEFI check
This commit is contained in:
		
							parent
							
								
									17edd81833
								
							
						
					
					
						commit
						130a3c1507
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		
							
								
								
									
										4
									
								
								build.sh
									
										
									
									
									
								
							
							
						
						
									
										4
									
								
								build.sh
									
										
									
									
									
								
							|  | @ -143,11 +143,11 @@ cd "$OMR_TARGET/source" | |||
| 
 | ||||
| echo "Checking if UEFI patch is set or not" | ||||
| if [ "$OMR_UEFI" = "yes" ] && [ "$OMR_TARGET" = "x86_64" ]; then  | ||||
| 	if [ -z "$(grep EFI target/linux/x86/image/Makefile)" ]; then | ||||
| 	if [ "$(grep 'EFI_IMAGES' target/linux/x86/image/Makefile)" = "" ]; then | ||||
| 		patch -N -p1 -s < ../../patches/uefi.patch | ||||
| 	fi | ||||
| else | ||||
| 	if [ -n "$(grep EFI target/linux/x86/image/Makefile)" ]; then | ||||
| 	if [ "$(grep 'EFI_IMAGES' target/linux/x86/image/Makefile)" != "" ]; then | ||||
| 		patch -N -R -p1 -s < ../../patches/uefi.patch | ||||
| 	fi | ||||
| fi | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue