summaryrefslogtreecommitdiff
path: root/distrib/sgi/iso
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2009-05-23 18:20:39 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2009-05-23 18:20:39 +0000
commite22a05e9c07a0287f22aedc80ea76644961a9b35 (patch)
tree24dfbbc9b3a02290920c822c3c69ad862384a1bb /distrib/sgi/iso
parent91b13ece37d108ffea38c9d7c3a2ed55e67fe87f (diff)
Update `cdroot' disktab entry to match the volume header size we use now,
and mention this in the Makefile so that this hopefully doesn't get broken next time the size is modified. Repairs install45.iso.
Diffstat (limited to 'distrib/sgi/iso')
-rw-r--r--distrib/sgi/iso/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/distrib/sgi/iso/Makefile b/distrib/sgi/iso/Makefile
index 90265998b34..85f2ca6e7ef 100644
--- a/distrib/sgi/iso/Makefile
+++ b/distrib/sgi/iso/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.10 2009/05/14 18:58:17 miod Exp $
+# $OpenBSD: Makefile,v 1.11 2009/05/23 18:20:37 miod Exp $
TOP= ${.CURDIR}/..
@@ -20,6 +20,11 @@ XBASE= ${RELXDIR}/xbase${OSrev}.tgz ${RELXDIR}/xetc${OSrev}.tgz \
BSDRD= bsd.rd
all: ${CDROM}
+# Note regarding sgivol -h value:
+# boot32 currently needs 20 2048 byte sectors, boot64 currently needs 44,
+# and there is some room for growth.
+# IF THIS VALUE IS EVER CHANGED, make sure it is consistent with the cdroot
+# layout in /etc/disktab!
${CDROM}:
-rm -rf ${.OBJDIR}/cd-dir
mkdir -p ${.OBJDIR}/cd-dir/
@@ -31,8 +36,6 @@ ${CDROM}:
dd if=/dev/zero of=${.OBJDIR}/${CDROM} bs=2048b count=224
vnconfig -v -c -t cdroot svnd0 ${.OBJDIR}/${CDROM}
- # boot32 needs 20 2048 byte sectors, boot64 needs 44,
- # and add some room for growth
/usr/mdec/sgivol -i -h 80 svnd0
/usr/mdec/sgivol -w boot32 ${.OBJDIR}/boot32 svnd0
/usr/mdec/sgivol -l boot32 sashARCS svnd0