Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/distrib/utils/embedded/conf Install bootarm.efi to boot part...
details: https://anonhg.NetBSD.org/src/rev/a4ad4a5618a2
branches: trunk
changeset: 997885:a4ad4a5618a2
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Sat Mar 30 13:07:57 2019 +0000
description:
Install bootarm.efi to boot partition
diffstat:
distrib/utils/embedded/conf/armv7.conf | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diffs (22 lines):
diff -r f7139adca11b -r a4ad4a5618a2 distrib/utils/embedded/conf/armv7.conf
--- a/distrib/utils/embedded/conf/armv7.conf Sat Mar 30 13:05:24 2019 +0000
+++ b/distrib/utils/embedded/conf/armv7.conf Sat Mar 30 13:07:57 2019 +0000
@@ -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 @@
}
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"
Home |
Main Index |
Thread Index |
Old Index