summaryrefslogtreecommitdiff
path: root/distrib/i386/cdfs
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2003-03-04 09:28:20 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2003-03-04 09:28:20 +0000
commit703e24d3d0de4fb02921731a8d56073ab76ed0ae (patch)
treee776018943ad2e72de8e48af4f8ecbc0f81f7dcf /distrib/i386/cdfs
parentc32aa095e8a44dc1be230ba8569734c3a13ce950 (diff)
Provide a ~2MB ISO file which contains *JUST* $REV/i386/cdrom{Rev}.fs,
which can then be burnt onto a CD, and then you can do an ftp install from that. This will suffice for people without floppies in upcoming machines. No, I am not going to put the sets on that CD. We've been over this before.
Diffstat (limited to 'distrib/i386/cdfs')
-rw-r--r--distrib/i386/cdfs/Makefile33
1 files changed, 33 insertions, 0 deletions
diff --git a/distrib/i386/cdfs/Makefile b/distrib/i386/cdfs/Makefile
new file mode 100644
index 00000000000..fe9068e5bc5
--- /dev/null
+++ b/distrib/i386/cdfs/Makefile
@@ -0,0 +1,33 @@
+# $OpenBSD: Makefile,v 1.1 2003/03/04 09:28:19 deraadt Exp $
+
+TOP= ${.CURDIR}/..
+
+.include "${TOP}/Makefile.inc"
+
+CDFS= cdrom${REV}.fs
+CDROM= cd${REV}.iso
+
+all: ${CDROM}
+
+${CDROM}:
+ -rm -rf ${.OBJDIR}/cd-dir
+ mkdir -p ${.OBJDIR}/cd-dir/${OSREV}/i386
+ cp ${.OBJDIR}/../ramdisk_cd/${CDFS} ${.OBJDIR}/cd-dir/${OSREV}/i386
+ mkhybrid -a -R -T -L -d -D -N -o ${.OBJDIR}/${CDROM} -v -v \
+ -A "OpenBSD ${OSREV} i386 bootonly CD" \
+ -P "Copyright (c) 2003 Theo de Raadt, The OpenBSD project" \
+ -p "Theo de Raadt <deraadt@openbsd.org>" \
+ -V "OpenBSD${OSREV} CD boot-only CD " \
+ -V "OpenBSD3.3 CD 1 www.OpenBSD.org " \
+ -b ${OSREV}/i386/${CDFS} -c ${OSREV}/i386/boot.catalog \
+ ${.OBJDIR}/cd-dir
+
+install:
+ cp ${CDROM} ${DESTDIR}/snapshot
+
+clean cleandir:
+ /bin/rm -f ${CDROM}
+ rm -rf cd-dir
+
+.include <bsd.obj.mk>
+.include <bsd.subdir.mk>