[OpenWrt-Devel] [OpenWrt-Devel, 2/2] x86: simplify efi image generation process

Alif M. Ahmad alive4ever at live.com
Mon Mar 26 02:13:21 EDT 2018


Hi Jo,

Could you apply this patch on top of uefi related changes as well so
grub bootloader will have the same configuration for both uefi and bios
boot on the resulting gpt image.

On Sun, Mar 04, 2018 at 01:41:28AM +0000, Alif M. Ahmad wrote:
> Currently, efi image generation involves a hacky approach to find the
> grub root partition, i.e. using $(SIGNATURE).cfg as additional
> configuration file.
> 
> This commit simplify efi image generation by removing $(SIGNATURE).cfg
> file and use single /boot/grub/grub.cfg for grub external configuration.
> 
> This commit also removes unnecessary grub-bios-setup during efi image
> generation and only perform grub-bios-setup after the disk image has
> been converted into gpt.
> 
> Signed-off-by: Alif M. Ahmad <alive4ever at live.com>
> ---
>  target/linux/x86/image/Makefile | 23 +++++++----------------
>  1 file changed, 7 insertions(+), 16 deletions(-)
> 
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list