summaryrefslogtreecommitdiff
path: root/distrib/armv7
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2016-05-29 23:42:59 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2016-05-29 23:42:59 +0000
commit4c9a8738c58d4155270d0a462787ccdf37ef285e (patch)
tree31c85abb32a23e3d8b917b7dd1dac4af55562aec /distrib/armv7
parent7f51124bc35a4a5f71d7c4348c18bbc2893fe936 (diff)
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.
Diffstat (limited to 'distrib/armv7')
-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}