kumquat-buildroot/board
Yann E. MORIN 086c96b452 configs/pc_x86_64_bios_defconfig: fix image generation after grub2 rework
Commit 82d1e8c628 (boot/grub2: use none platform when building for
host) changed host-grub2 to only install the tools, not the actual
bootloader or its modules, as they are of no use on the host.

It so happened that, when not instructed to built for a specific
platform, the grub2 buildsystem would default to build the legacy bios
platform (at least when the build happens on an x86 or x86_64 host).

However, because the host is more often than not an x86 or x86_64, when
the target was also an x68 or x86_64, the modules built for the host
could be re-used for the target, and this is what was done for our
pc_x86_64_bios_defconfig.

But now that we explicitly tell the grub2 buildsystem to not build any
platform when we build host-grub2, we no longer have access to the grub2
modules from the host directory, and the build fails when assembling the
final image.

We fix that in two ways:

First, we ensure that individual modules from the target grub2 get installed
in target/; we can only do that if the target grub2 tools are also
installed, so we enable that in the configuration.

Second, we fix the post-build script to look in target/ rather than in
host/.

All that, just for the 512-byte boot.img bootstrap, which pulls in all
the other modules (4.3MiB), the tools (8.8MiB)... But we are not going
to cherry-pick individual modules; this is error prone and
unmaintainable...

Reported-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Köry Maincent <kory.maincent@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2021-12-05 12:32:24 +01:00
..
aarch64-efi board/aarch64-efi/genimage.cfg: beautify file 2021-11-08 22:20:31 +01:00
acmesystems board/acmesystems/arietta-g25/genimage.cfg: beautify file 2021-11-08 22:20:39 +01:00
altera/socrates_cyclone5 board/altera/socrates_cyclone5/genimage.cfg: beautify file 2021-11-08 22:59:26 +01:00
amarula board/amarula/a64-relic/genimage.cfg: beautify file 2021-11-08 22:20:41 +01:00
andes
arcturus configs/arcturus_ucls1012a: bump kernel to 4.14.140 and u-boot version to 2019.10 2020-08-12 16:41:06 +02:00
arm configs/arm_foundationv8: bump to Linux 5.9.11 2020-12-01 23:39:08 +01:00
armadeus
arrow/avenger96 configs/avenger96_defconfig: add support for Arrow Avenger96 board 2021-02-08 16:25:00 +01:00
asus/tinker configs/asus_tinker_rk3288: bump to Linux kernel 5.14.13 and u-boot 2021.10 2021-10-24 16:05:00 +02:00
atmel board/atmel/sama5d4_xplained_mmc/genimage.cfg: beautify file 2021-11-08 22:20:57 +01:00
avnet/s6lx9_microboard
bananapi board/bananapi/bananapi-m2-zero/genimage.cfg: beautify file 2021-11-08 22:59:26 +01:00
beagleboardx15 board/beagleboardx15/genimage.cfg: beautify file 2021-11-08 22:59:25 +01:00
beaglebone board/beaglebone/genimage.cfg: beautify file 2021-11-08 22:59:25 +01:00
beagleboneai configs/beagleboneai_defconfig: backport gcc >= 10 u-boot patch 2021-11-13 15:23:55 +01:00
beaglev board/beaglev/genimage.cfg: beautify file 2021-11-08 22:59:25 +01:00
beelink/gs1 board/beelink/gs1/genimage.cfg: beautify file 2021-11-08 22:59:25 +01:00
boundarydevices/common board/boundarydevices: update readme.txt for nitrogen8mp 2021-04-28 23:37:00 +02:00
chromebook configs/chromebook_elm: bump to Linux v5.10 2021-07-03 22:55:25 +02:00
ci20 board/ci20/genimage.cfg: beautify file 2021-11-08 22:59:25 +01:00
csky
cubietech/cubieboard2 board/cubietech/cubieboard2/genimage.cfg: beautify file 2021-11-08 22:59:25 +01:00
embest/riotboard board/embest/riotboard/genimage.cfg: beautify file 2021-11-08 22:59:26 +01:00
engicam board/engicam/isiot/genimage.cfg: beautify file 2021-11-08 22:59:26 +01:00
firefly/roc-rk3399-pc
freescale board/freescale/common/imx: place rootfs at proper offset when BR2_LINUX_KERNEL_INSTALL_TARGET=y 2021-11-14 15:15:14 +01:00
friendlyarm board/friendlyarm/nanopi-r1/genimage.cfg: beautify file 2021-11-08 22:59:28 +01:00
globalscale/espressobin configs/globalscale_espressobin: new defconfig 2020-07-25 23:01:55 +02:00
grinn board/grinn/liteboard/genimage.cfg: beautify file 2021-11-08 22:59:28 +01:00
hardkernel board/hardkernel/odroidxu4/genimage.cfg: beautify file 2021-11-08 22:59:28 +01:00
intel/galileo board/intel/galileo/genimage.cfg: beautify file 2021-11-08 22:59:28 +01:00
kontron configs/kontron_pitx_imx8m: new defconfig 2021-06-29 21:27:58 +02:00
lego/ev3 board/lego/ev3/genimage.cfg: beautify file 2021-11-08 22:59:28 +01:00
lemaker/bananapro board/lemaker/bananapro/genimage.cfg: beautify file 2021-11-08 22:59:28 +01:00
librecomputer/lafrite
licheepi board/licheepi/genimage.cfg: beautify file 2021-11-08 22:59:28 +01:00
linksprite/pcduino board/linksprite/pcduino/genimage.cfg: beautify file 2021-11-08 22:59:28 +01:00
microchip board/microchip/sama5d2_icp/genimage.cfg: beautify file 2021-11-08 22:59:29 +01:00
minnowboard board/minnowboard/genimage.cfg: beautify file 2021-11-08 22:59:29 +01:00
nexbox/a95x board/nexbox/a95x/genimage.cfg: beautify file 2021-11-08 22:59:29 +01:00
nezha configs/nezha_defconfig: new defconfig 2021-11-08 09:45:50 +01:00
olimex configs/olimex_a64_olinuxino: backport gcc >= 10 u-boot and linux patch 2021-11-14 15:23:53 +01:00
olpc board/olpc/xo-1.75: enable drivers that were added in 5.8 2020-09-11 08:51:16 +02:00
openblocks/a6
orangepi board/orangepi/orangepi-zero/genimage.cfg: beautify file 2021-11-08 22:59:31 +01:00
pandaboard board/pandaboard/genimage.cfg: beautify file 2021-11-08 22:59:31 +01:00
pc configs/pc_x86_64_bios_defconfig: fix image generation after grub2 rework 2021-12-05 12:32:24 +01:00
pcengines/apu2 configs/pcengines_apu2: new defconfig 2020-09-03 21:06:31 +02:00
pine64 board/pine64/sopine/genimage.cfg: beautify file 2021-11-08 22:59:32 +01:00
qemu board/qemu/aarch64-sbsa/genimage.cfg: beautify file 2021-11-08 22:59:26 +01:00
qmtech/zynq configs/zynq_qmtech: new defconfig 2020-04-19 21:43:35 +02:00
radxa board/radxa/rockpi-n8/genimage.cfg: beautify file 2021-11-08 22:59:33 +01:00
raspberrypi board/raspberrypi/genimage-raspberrypicm4io.cfg: beautify file 2021-11-08 22:59:34 +01:00
roseapplepi board/roseapplepi/genimage.cfg: beautify file 2021-11-08 22:59:34 +01:00
seeed/stm32mp157c-odyssey configs/stm32mp157c_odyssey: new defconfig 2021-09-11 18:15:55 +02:00
sheevaplug configs/sheevaplug_defconfig: backport gcc >= 10 u-boot patch 2021-11-13 15:23:54 +01:00
sifive/hifive-unleashed configs/hifive_unleashed: use mainline Linux + U-Boot 2021-01-31 23:26:33 +01:00
sinovoip board/sinovoip/m2-plus/genimage.cfg: beautify file 2021-11-08 22:59:34 +01:00
solidrun board/solidrun/macchiatobin/genimage.cfg: beautify file 2021-11-08 22:59:34 +01:00
stmicroelectronics board/stmicroelectronics/stm32f469-disco/genimage.cfg: beautify file 2021-11-08 22:59:34 +01:00
synopsys board/synopsys/hsdk/genimage.cfg: beautify file 2021-11-08 22:59:34 +01:00
technexion
technologic board/technologic/ts7680/genimage.cfg: beautify file 2021-11-08 22:59:34 +01:00
terasic/de10nano_cyclone5 board/terasic/de10nano_cyclone5/genimage.cfg: beautify file 2021-11-08 22:59:34 +01:00
toradex/apalis-imx6 board/toradex/apalis-imx6/genimage.cfg: beautify file 2021-11-08 22:59:35 +01:00
udoo board/udoo: use common freescale infrastructure 2020-10-15 18:02:35 +02:00
uevm5432 board/uevm5432/genimage.cfg: beautify file 2021-11-08 22:59:35 +01:00
wandboard board/wandboard: switch to extlinux.conf 2021-07-18 23:41:59 +02:00
warp7
zynq board/zynq/genimage.cfg: beautify file 2021-11-08 22:59:35 +01:00
zynqmp configs/zynqmp_zcu106: fix arm-trusted-firmware build failure 2021-11-21 21:53:42 +01:00
raspberrypi0
raspberrypi0w
raspberrypi2
raspberrypi3
raspberrypi3-64
raspberrypi4
raspberrypi4-64
raspberrypicm4io board/raspberrypi: add Compute Module 4/IO Board support 2021-05-20 09:53:29 +02:00
raspberrypicm4io-64 board/raspberrypi: add Compute Module 4/IO Board support (64 Bit) 2021-05-20 09:53:30 +02:00