summaryrefslogtreecommitdiff
path: root/distrib/armv7/miniroot/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'distrib/armv7/miniroot/Makefile.inc')
-rw-r--r--distrib/armv7/miniroot/Makefile.inc7
1 files changed, 4 insertions, 3 deletions
diff --git a/distrib/armv7/miniroot/Makefile.inc b/distrib/armv7/miniroot/Makefile.inc
index 7298f169186..bd6e132572f 100644
--- a/distrib/armv7/miniroot/Makefile.inc
+++ b/distrib/armv7/miniroot/Makefile.inc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.inc,v 1.24 2019/09/25 06:20:22 jsg Exp $
+# $OpenBSD: Makefile.inc,v 1.25 2019/10/31 00:37:25 jsg Exp $
FS= miniroot-${BOARD}-${OSrev}.fs
FSSIZE= 67584 # ffs+msdos, actually
@@ -37,11 +37,12 @@ ${FS}: bsd.rd
.endif
.if ${BOARD} == "cubox" || ${BOARD} == "wandboard"
dd if=${PUBOOT}/${UBOOT}/SPL of=/dev/r`cat vnd`c bs=1024 seek=1
- dd if=${PUBOOT}/${UBOOT}/u-boot.img of=/dev/r`cat vnd`c bs=1024 seek=69
+ dd if=${PUBOOT}/${UBOOT}/u-boot.img of=/dev/r`cat vnd`c \
+ bs=1024 seek=69 conv=sync
.endif
.if ${PLATFORM} == "SUNXI"
dd if=${PUBOOT}/${UBOOT}/u-boot-sunxi-with-spl.bin \
- of=/dev/r`cat vnd`c bs=1024 seek=8
+ of=/dev/r`cat vnd`c bs=1024 seek=8 conv=sync
.endif
mkdir -p ${MOUNT_POINT}/efi/boot