Merge "efi.img: update grub.cfg with custom setting"

This commit is contained in:
Zuul 2023-07-13 21:25:45 +00:00 committed by Gerrit Code Review
commit ff46a665af

View File

@ -374,6 +374,12 @@ iso-post-script: |
EFI/BOOT/grub.cfg EFI/BOOT/grub.cfg
fi fi
# Update the grub.cfg in efi.img according to above setting.
# Don't update grub.cfg.sig because the grub.cfg signature checking
# has been omitted.
mdel -i efi.img ::/EFI/BOOT/grub.cfg
mcopy -i efi.img EFI/BOOT/grub.cfg ::/EFI/BOOT/
# Put the controller-0 pxeboot install grub menu samples and # Put the controller-0 pxeboot install grub menu samples and
# setup script into a new the ISO's pxeboot/samples directory. # setup script into a new the ISO's pxeboot/samples directory.
install -v -d -m 0755 pxeboot/samples install -v -d -m 0755 pxeboot/samples