Re: [SECURITY PATCH 108/117] util/mkimage: Refactor section setup to use a helper

John Paul Adrian Glaubitz <[email protected]>
Newsgroups gmane.linux.debian.ports.ia64,gmane.comp.boot-loaders.grub.devel
Message-ID <[email protected]>
Hi!

On 3/2/21 7:01 PM, Daniel Kiper wrote:
> From: Peter Jones <[email protected]>
> 
> Add a init_pe_section() helper function to setup PE sections. This makes
> the code simpler and easier to read.
> 
> Signed-off-by: Peter Jones <[email protected]>
> Signed-off-by: Javier Martinez Canillas <[email protected]>
> Reviewed-by: Daniel Kiper <[email protected]>

This change broke GRUB on ia64 for me. It now fails to perform any basic commands:

Loading.: grub                                                              
Starting: grub                                                              
Welcome to GRUB!                                                                                                                                                                                                                                         
error: unknown filesystem.
Entering rescue mode...
grub rescue> insmod ext2
error: unknown filesystem.
grub rescue> help
Unknown command `help'.
grub rescue> ?
Unknown command `?'.
grub rescue> linux
Unknown command `linux'.
grub rescue>

Adrian
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.