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 GENERIC ELF kernel as /n...



details:   https://anonhg.NetBSD.org/src/rev/b27875077b33
branches:  trunk
changeset: 449962:b27875077b33
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Sat Mar 30 13:43:52 2019 +0000

description:
Install GENERIC ELF kernel as /netbsd for EFI booting

diffstat:

 distrib/utils/embedded/conf/armv7.conf |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r d0e1cb996c6c -r b27875077b33 distrib/utils/embedded/conf/armv7.conf
--- a/distrib/utils/embedded/conf/armv7.conf    Sat Mar 30 13:42:12 2019 +0000
+++ b/distrib/utils/embedded/conf/armv7.conf    Sat Mar 30 13:43:52 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: armv7.conf,v 1.31 2019/03/30 13:07:57 jmcneill Exp $
+# $NetBSD: armv7.conf,v 1.32 2019/03/30 13:43:52 jmcneill Exp $
 # ARMv7 customization script used by mkimage
 #
 board=armv7
@@ -35,6 +35,11 @@
        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"
+
+               # Install GENERIC kernel to root of the FFS partition
+               ${GZIP_CMD} -dc ${kernel}/netbsd-${kernels_generic}.gz > "${mnt}/netbsd"
+               echo "./netbsd type=file uname=root gname=wheel mode=0755" \
+                   >> "$tmp/selected_sets"
        fi
 
        # Install boot script



Home | Main Index | Thread Index | Old Index