summaryrefslogtreecommitdiff
path: root/distrib
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2015-09-19 10:44:44 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2015-09-19 10:44:44 +0000
commitf8a1658d4d4b9093fea18b5f4f412a188b18d086 (patch)
tree914b726d7659bc732afd5468e2e83a5107aee687 /distrib
parent7a7e9aa3a9c8bbfe2d4a64ad0933630ba067a4c5 (diff)
Create the filesystem image with the same size as its `c' slice from disktab.
Diffstat (limited to 'distrib')
-rw-r--r--distrib/alpha/miniroot/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/distrib/alpha/miniroot/Makefile b/distrib/alpha/miniroot/Makefile
index cf943e12cc0..ffaedf4ae85 100644
--- a/distrib/alpha/miniroot/Makefile
+++ b/distrib/alpha/miniroot/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.2 2015/08/29 17:21:28 deraadt Exp $
+# $OpenBSD: Makefile,v 1.3 2015/09/19 10:44:43 miod Exp $
TOP= ${.CURDIR}/..
@@ -29,13 +29,13 @@ vn_down:
-umount /mnt
-vnconfig -u vnd0
-install_files: bsd.rd ofwboot
+install_files: bsd.rd boot
bsd.rd:
install -c -m 555 -o root -g wheel \
${.OBJDIR}/../bsd.rd/bsd.rd /mnt/bsd
-ofwboot:
+boot:
install -c -m 555 -o root -g wheel \
${DESTDIR}/usr/mdec/boot /mnt/boot
@@ -43,7 +43,7 @@ installboot:
/usr/mdec/installboot -v /mnt/boot ${DESTDRIR}/usr/mdec/bootxx /dev/rvnd0c
blank_filesystem:
- dd if=/dev/zero of=${TARGET} bs=512 count=5744
+ dd if=/dev/zero of=${TARGET} bs=512 count=5760
.endif