[Buildroot] [PATCH v2 1/3] configs/pc: refactor to use genimage and grub.cfg

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sun Oct 22 14:36:01 UTC 2017


Hello,

On Sun, 22 Oct 2017 15:54:24 +0200, Erico Nunes wrote:
> This simplifies the pc configs and respective post image scripts to use
> the shared genimage script and separate grub config files.
> Separate grub files are cleaner to maintain and easier to copy and
> modify, for example to support booting the pc defconfigs in qemu.
> 
> Signed-off-by: Erico Nunes <nunes.erico at gmail.com>
> Cc: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
> ---
> Changes v1 -> v2:
>   - Drop the BR2_TARGET_GRUB2_CFG proposed use since the patch was
>   dropped.
> ---
>  board/pc/grub-bios.cfg           |  6 ++++++
>  board/pc/grub-efi.cfg            |  6 ++++++
>  board/pc/post-image.sh           | 29 ++++-------------------------
>  configs/pc_x86_64_bios_defconfig |  3 ++-
>  configs/pc_x86_64_efi_defconfig  |  3 ++-
>  5 files changed, 20 insertions(+), 27 deletions(-)
>  create mode 100644 board/pc/grub-bios.cfg
>  create mode 100755 board/pc/grub-efi.cfg

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com



More information about the buildroot mailing list