diff --git a/board/pc/post-build.sh b/board/pc/post-build.sh index db23795e27..c76dee2676 100755 --- a/board/pc/post-build.sh +++ b/board/pc/post-build.sh @@ -11,5 +11,5 @@ else cp -f "$BOARD_DIR/grub-bios.cfg" "$TARGET_DIR/boot/grub/grub.cfg" # Copy grub 1st stage to binaries, required for genimage - cp -f "$HOST_DIR/lib/grub/i386-pc/boot.img" "$BINARIES_DIR" + cp -f "$TARGET_DIR/lib/grub/i386-pc/boot.img" "$BINARIES_DIR" fi diff --git a/configs/pc_x86_64_bios_defconfig b/configs/pc_x86_64_bios_defconfig index 3290a1dda0..df5988d75e 100644 --- a/configs/pc_x86_64_bios_defconfig +++ b/configs/pc_x86_64_bios_defconfig @@ -13,6 +13,7 @@ BR2_PACKAGE_HOST_GENIMAGE=y # Bootloader BR2_TARGET_GRUB2=y +BR2_TARGET_GRUB2_INSTALL_TOOLS=y # Filesystem / image BR2_TARGET_ROOTFS_EXT2=y