Install bootarm.efi to boot partition
This commit is contained in:
parent
12d747285c
commit
7bee52e9e0
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue