Skip to contentSkip to conversation

Using grub-bios.cfg

Buildroot AAlex_ 2 participants 3 messages Mar 20, 2018 – Mar 26, 2018

lore
Share & tools
lore

AAlex_

author
#0 lore raw

Hi,
using a modified grub-bios.cfg dont work.
File located under <BR2_EXTERNAL_MY_PATH>/board/pc
But instead, buildroot uses grub-bios.cfg under <BUILDROOT_INSTALL_PATH>/board/pc
Doing the same with an pc-efi target works:
grub-efi.cfg located in <BR2_EXTERNAL_MY_PATH>/board/pc will be used.
Do i need to specify more than an external path in bios defconfig?

Regards,
Alex

--
Sent from: http://buildroot-busybox.2317881.n4.nabble.com/

#1 lore raw
Quoted 9 lines · AAlex_

Hi,
using a modified grub-bios.cfg dont work.
File located under <BR2_EXTERNAL_MY_PATH>/board/pc
But instead, buildroot uses grub-bios.cfg under <BUILDROOT_INSTALL_PATH>/board/pc
Doing the same with an pc-efi target works:
grub-efi.cfg located in <BR2_EXTERNAL_MY_PATH>/board/pc will be used.
Do i need to specify more than an external path in bios defconfig?

It's not entirely clear to me what you mean. However:

grub-bios.cfg and grub-efi.cfg are only used by the custom post-image script
board/pc/post-image.sh. The file to use is based on the location of that script. In other words, if you refer to board/pc/post-image.sh in your Buildroot configuration, then the grub-bios.cfg under <BUILDROOT_INSTALL_PATH>/board/pc will be used.

Regards,
Arnout

Signature · 6 lines
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF