* util/grub-mkconfig_lib.in (prepare_grub_to_access_device): Load
partmap before abstraction.
This commit is contained in:
		
							parent
							
								
									535c191059
								
							
						
					
					
						commit
						2a5e94d84a
					
				
					 2 changed files with 11 additions and 6 deletions
				
			
		|  | @ -105,12 +105,6 @@ prepare_grub_to_access_device () | |||
| { | ||||
|   device="$1" | ||||
| 
 | ||||
|   # Abstraction modules aren't auto-loaded. | ||||
|   abstraction="`"${grub_probe}" --device "${device}" --target=abstraction`" | ||||
|   for module in ${abstraction} ; do | ||||
|     echo "insmod ${module}" | ||||
|   done | ||||
| 
 | ||||
|   partmap="`"${grub_probe}" --device "${device}" --target=partmap`" | ||||
|   for module in ${partmap} ; do | ||||
|     case "${module}" in | ||||
|  | @ -121,6 +115,12 @@ prepare_grub_to_access_device () | |||
|     esac | ||||
|   done | ||||
| 
 | ||||
|   # Abstraction modules aren't auto-loaded. | ||||
|   abstraction="`"${grub_probe}" --device "${device}" --target=abstraction`" | ||||
|   for module in ${abstraction} ; do | ||||
|     echo "insmod ${module}" | ||||
|   done | ||||
| 
 | ||||
|   fs="`"${grub_probe}" --device "${device}" --target=fs`" | ||||
|   for module in ${fs} ; do | ||||
|     echo "insmod ${module}" | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue