drop 32-bit support from ppc live image grub.cfg
Seems petitboot can't properly parse the live image grub config on ppc, thus booting fails on bare-metal. Fix the problem by removing the obsolete 32-bit entries.
This commit is contained in:
		
							parent
							
								
									f83ae2fed3
								
							
						
					
					
						commit
						564f78e629
					
				| @ -3,19 +3,15 @@ set timeout=5 | |||||||
| 
 | 
 | ||||||
| echo -e "\nWelcome to the @PRODUCT@ @VERSION@ installer!\n\n" | echo -e "\nWelcome to the @PRODUCT@ @VERSION@ installer!\n\n" | ||||||
| 
 | 
 | ||||||
| for BITS in 32 64; do | menuentry "Start @PRODUCT@ @VERSION@ (64-bit kernel)" --class fedora --class gnu-linux --class gnu --class os { | ||||||
|   if [ -d "/ppc/ppc${BITS}" ]; then |   linux /ppc/ppc64/vmlinuz @ROOT@ @EXTRA@ ro rd.live.image quiet | ||||||
|     menuentry "Start @PRODUCT@ @VERSION@ (${BITS}-bit kernel)"  $BITS --class fedora --class gnu-linux --class gnu --class os { |   initrd /ppc/ppc64/initrd.img | ||||||
|       linux /ppc/ppc${2}/vmlinuz @ROOT@ @EXTRA@ ro rd.live.image quiet |  | ||||||
|       initrd /ppc/ppc${2}/initrd.img |  | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|     menuentry "Test this media & start @PRODUCT@ @VERSION@  (${BITS}-bit kernel)" $BITS --class fedora --class gnu-linux --class  gnu --class os { | menuentry "Test this media & start @PRODUCT@ @VERSION@ (64-bit kernel)" --class fedora --class gnu-linux --class  gnu --class os { | ||||||
|       linux /ppc/ppc${2}/vmlinuz @ROOT@ @EXTRA@ rd.live.image rd.live.check ro quiet |   linux /ppc/ppc64/vmlinuz @ROOT@ @EXTRA@ rd.live.image rd.live.check ro quiet | ||||||
|       initrd /ppc/ppc${2}/initrd.img |   initrd /ppc/ppc64/initrd.img | ||||||
| } | } | ||||||
|   fi |  | ||||||
| done |  | ||||||
| 
 | 
 | ||||||
| submenu 'Other options...' { | submenu 'Other options...' { | ||||||
|   menuentry 'Reboot' { |   menuentry 'Reboot' { | ||||||
| @ -26,4 +22,3 @@ submenu 'Other options...' { | |||||||
|     exit |     exit | ||||||
|   } |   } | ||||||
| } | } | ||||||
| 
 |  | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user