summaryrefslogtreecommitdiff
path: root/distrib/armv7
diff options
context:
space:
mode:
Diffstat (limited to 'distrib/armv7')
-rw-r--r--distrib/armv7/miniroot/Makefile.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/distrib/armv7/miniroot/Makefile.inc b/distrib/armv7/miniroot/Makefile.inc
index c454c20dd8c..84d75484f0d 100644
--- a/distrib/armv7/miniroot/Makefile.inc
+++ b/distrib/armv7/miniroot/Makefile.inc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.inc,v 1.26 2020/05/17 17:04:27 deraadt Exp $
+# $OpenBSD: Makefile.inc,v 1.27 2020/05/18 06:20:43 otto Exp $
FS= miniroot-${BOARD}-${OSrev}.img
FSSIZE= 67584 # ffs+msdos, actually
@@ -22,7 +22,7 @@ ${FS}: bsd.rd
echo 'u\ne 0\nC\nn\n${MSDOSSTART}\n${MSDOSSIZE}\ne 3\nA6\nn\n${FFSSTART}\n*\nf 0\nw\nq\n' \
| fdisk -e `cat vnd` >/dev/null
echo 'a a\n\n\n\nw\nq\n' | disklabel -E `cat vnd` >/dev/null
- newfs -t msdos -L boot /dev/r`cat vnd`i
+ newfs -O 1 -t msdos -L boot /dev/r`cat vnd`i
mount -o-l /dev/`cat vnd`i ${MOUNT_POINT}
.for DTB in ${DTBS}
@@ -49,7 +49,7 @@ ${FS}: bsd.rd
cp /usr/mdec/BOOTARM.EFI ${MOUNT_POINT}/efi/boot/bootarm.efi
umount ${MOUNT_POINT}
- newfs -m 0 -o space -i 524288 -c ${FSSIZE} /dev/r`cat vnd`a
+ newfs -O 1 -m 0 -o space -i 524288 -c ${FSSIZE} /dev/r`cat vnd`a
mount /dev/`cat vnd`a ${MOUNT_POINT}
install -c -m 555 -o root -g wheel bsd.rd ${MOUNT_POINT}/bsd
ln ${MOUNT_POINT}/bsd ${MOUNT_POINT}/bsd.rd