Module Name: src
Committed By: jmcneill
Date: Sat Mar 30 13:07:57 UTC 2019
Modified Files:
src/distrib/utils/embedded/conf: armv7.conf
Log Message:
Install bootarm.efi to boot partition
To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 src/distrib/utils/embedded/conf/armv7.conf
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/distrib/utils/embedded/conf/armv7.conf
diff -u src/distrib/utils/embedded/conf/armv7.conf:1.30 src/distrib/utils/embedded/conf/armv7.conf:1.31
--- src/distrib/utils/embedded/conf/armv7.conf:1.30 Mon Jan 21 16:28:39 2019
+++ src/distrib/utils/embedded/conf/armv7.conf Sat Mar 30 13:07:57 2019
@@ -1,4 +1,4 @@
-# $NetBSD: armv7.conf,v 1.30 2019/01/21 16:28:39 jmcneill Exp $
+# $NetBSD: armv7.conf,v 1.31 2019/03/30 13:07:57 jmcneill Exp $
# ARMv7 customization script used by mkimage
#
board=armv7
@@ -31,6 +31,12 @@ EOF
}
populate_common() {
+ # Install EFI bootloader
+ if [ -f "${release}/usr/mdec/bootarm.efi" ]; then
+ mkdir -p "${mnt}/boot/EFI/BOOT"
+ cp "${release}/usr/mdec/bootarm.efi" "${mnt}/boot/EFI/BOOT/bootarm.efi"
+ fi
+
# Install boot script
cp ${DIR}/files/armv7_boot.cmd ${mnt}/boot/boot.cmd
"${MKUBOOTIMAGE}" -A arm -C none -O netbsd -T script -a 0 -n "NetBSD/armv7 boot" "${mnt}/boot/boot.cmd" "${mnt}/boot/boot.scr"