board/pc: ensure grub.cfg is copied to target filesystem
authorGrégoire Delattre <gregoire.delattre@gmail.com>
Thu, 11 Oct 2018 22:24:45 +0000 (00:24 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Mon, 31 Dec 2018 17:45:53 +0000 (18:45 +0100)
commit0b28397a9bed339e9aca2acfe51b1f0c68dbee65
treef9d5d2e2b80044773cc18b7f96398c2a0e3e0ee4
parent42fa5bcbfb48f188c2c180854c0bbdefd98c32c8
board/pc: ensure grub.cfg is copied to target filesystem

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@gmail.com>
Reviewed-by: Matt Weber <matthew.weber@rockwellcollin.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
board/pc/post-build.sh [new file with mode: 0755]
board/pc/post-image.sh [deleted file]
configs/pc_x86_64_bios_defconfig
configs/pc_x86_64_efi_defconfig