Files
buildroot/board/pc/post-build.sh
2019-09-25 20:52:32 -03:00

11 lines
230 B
Bash
Executable File

#!/bin/sh
set -e
BOARD_DIR=$(dirname "$0")
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"