summaryrefslogtreecommitdiffstats
path: root/board/pc/post-build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'board/pc/post-build.sh')
-rwxr-xr-xboard/pc/post-build.sh13
1 files changed, 4 insertions, 9 deletions
diff --git a/board/pc/post-build.sh b/board/pc/post-build.sh
index 552d488160..346f29ab6a 100755
--- a/board/pc/post-build.sh
+++ b/board/pc/post-build.sh
@@ -4,12 +4,7 @@ set -e
BOARD_DIR=$(dirname "$0")
-# Detect boot strategy, EFI or BIOS
-if [ -f "$BINARIES_DIR/efi-part/startup.nsh" ]; then
- cp -f "$BOARD_DIR/grub-efi.cfg" "$BINARIES_DIR/efi-part/EFI/BOOT/grub.cfg"
-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/i387-pc/boot.img" "$BINARIES_DIR"
-fi
+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/i387-pc/boot.img" "$BINARIES_DIR"
OpenPOWER on IntegriCloud