summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjsg <jsg@openbsd.org>2016-05-29 23:42:58 +0000
committerjsg <jsg@openbsd.org>2016-05-29 23:42:58 +0000
commitc985a0d75d395771bedad080555df50981fd2605 (patch)
tree8fd8d75debe97f70bbf8e21d8bbd0c24b1d6d3bf
parent_yp_bind(), _ypbindlist, _yp_domain, and _yplib_timeout are no longer (diff)
downloadwireguard-openbsd-c985a0d75d395771bedad080555df50981fd2605.tar.xz
wireguard-openbsd-c985a0d75d395771bedad080555df50981fd2605.zip
Add back the fdisk command to flag the fat fs as active.
The omap boot rom that loads the first u-boot stage requires this.
-rw-r--r--distrib/armv7/miniroot/Makefile.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/distrib/armv7/miniroot/Makefile.inc b/distrib/armv7/miniroot/Makefile.inc
index 11c01d1f481..8c29936fb19 100644
--- a/distrib/armv7/miniroot/Makefile.inc
+++ b/distrib/armv7/miniroot/Makefile.inc
@@ -71,7 +71,7 @@ do_files:
rd_setup:
dd if=/dev/zero of=${IMAGE} bs=512 count=${NBLKS}
vnconfig -v -c -t ${DISKTYPE} ${VND} ${IMAGE}
- echo 'u\ne 0\n${PART_ID}\nn\n${MSDOSSTART}\n${MSDOSSIZE}\ne 3\nA6\nn\n${FFSSTART}\n*\nw\nq\n' \
+ echo 'u\ne 0\n${PART_ID}\nn\n${MSDOSSTART}\n${MSDOSSIZE}\ne 3\nA6\nn\n${FFSSTART}\n*\nf 0\nw\nq\n' \
| fdisk -e ${VND} >/dev/null
echo 'a a\n\n\n\nw\nq\n' | disklabel -E ${VND} >/dev/null
newfs -t msdos ${NEWFS_ARGS_msdos} ${VND_RIDEV}