summaryrefslogtreecommitdiff
path: root/distrib/sparc/cdfs
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2004-08-11 06:49:36 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2004-08-11 06:49:36 +0000
commitf4bb78c9010667ee27619382af28675e822dcaa5 (patch)
treef740de9cd36bf30e384df19a249fbaa1bb50a903 /distrib/sparc/cdfs
parente636f74d260f1b719fc4d93682abbba29f1395f6 (diff)
pad the iso image; we do not know why this is needed at this time but
maybe someone will figure out why. Put a big fat comment there about it. diagnosed by miod and nick; this workaround tested by nick.
Diffstat (limited to 'distrib/sparc/cdfs')
-rw-r--r--distrib/sparc/cdfs/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/distrib/sparc/cdfs/Makefile b/distrib/sparc/cdfs/Makefile
index cab29358a9a..a05f003350c 100644
--- a/distrib/sparc/cdfs/Makefile
+++ b/distrib/sparc/cdfs/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.3 2004/03/11 22:16:50 deraadt Exp $
+# $OpenBSD: Makefile,v 1.4 2004/08/11 06:49:35 deraadt Exp $
TOP= ${.CURDIR}/..
@@ -30,6 +30,10 @@ ${CDROM}:
disklabel -w svnd0 fakecdrom "OpenBSD/sparc "
umount /mnt
vnconfig -u svnd0
+ # XXX Some sparc machines fail to load the kernel correctly if the
+ # XXX cd image is truncated. It is not yet known why this happens.
+ # XXX For now we pad the image.
+ dd if=/dev/zero bs=2k count=200 >> ${.OBJDIR}/${CDROM}
install:
cp ${CDROM} ${DESTDIR}/snapshot