[Buildroot] [PATCH v2 1/1] board/pc: ensure grub.cfg is copied to target filesystem
thomas.petazzoni at bootlin.com
Mon Dec 31 17:48:23 UTC 2018
On Fri, 12 Oct 2018 00:24:45 +0200, Grégoire Delattre wrote:
> From: Grégoire Delattre <gregoire.delattre at gmail.com>
> Before this commit, the grub configuration file was copied to the
> TARGET_DIR in a post-image hook, after the filesystem has been
> generated. It was kinda working because the board/pc's grub
> configuration and the default one are the same and the later was
> copied during the build process of the grub2 package.
> This commit ensures the custom board/pc grub configuration is copied at
> the right time.
> Signed-off-by: Grégoire Delattre <gregoire.delattre at gmail.com>
> board/pc/post-build.sh | 15 +++++++++++++++
> board/pc/post-image.sh | 14 --------------
> configs/pc_x86_64_bios_defconfig | 3 ++-
> configs/pc_x86_64_efi_defconfig | 3 ++-
> 4 files changed, 19 insertions(+), 16 deletions(-)
> create mode 100755 board/pc/post-build.sh
> delete mode 100755 board/pc/post-image.sh
Applied to master, thanks.
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
More information about the buildroot