diff options
author | 2004-11-10 03:34:48 +0000 | |
---|---|---|
committer | 2004-11-10 03:34:48 +0000 | |
commit | 980a2aacd59d90bd5195d58e422b3fdcce018a91 (patch) | |
tree | de4b7ad63060710c2e89ce5861e4a5a3e04b932e | |
parent | Add some (ifp != NULL) checks to ip_fragment() so it can be used even if there (diff) | |
download | wireguard-openbsd-980a2aacd59d90bd5195d58e422b3fdcce018a91.tar.xz wireguard-openbsd-980a2aacd59d90bd5195d58e422b3fdcce018a91.zip |
Let us make a nice cats install CD while here
-rw-r--r-- | distrib/cats/cdfs/Makefile | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/distrib/cats/cdfs/Makefile b/distrib/cats/cdfs/Makefile new file mode 100644 index 00000000000..3e32a3d38b8 --- /dev/null +++ b/distrib/cats/cdfs/Makefile @@ -0,0 +1,35 @@ +# $OpenBSD: Makefile,v 1.1 2004/11/10 03:34:48 deraadt Exp $ + +TOP= ${.CURDIR}/.. + +CDROM= cd${OSrev}.iso + +all: ${CDROM} + +${CDROM}: + -rm -rf ${.OBJDIR}/cd-dir + mkdir -p ${.OBJDIR}/cd-dir/${OSREV}/cats + cp ${.OBJDIR}/../ramdisk/bsd.rd ${.OBJDIR}/cd-dir/${OSREV}/cats + ln ${.OBJDIR}/cd-dir/${OSREV}/cats/bsd.rd ${.OBJDIR}/cd-dir/bsd.rd + ln ${.OBJDIR}/cd-dir/bsd.rd ${.OBJDIR}/cd-dir/bsd + cp ${DESTDIR}/usr/mdec/boot ${.OBJDIR}/cd-dir/${OSREV}/cats + cp ${DESTDIR}/usr/mdec/bootxx ${.OBJDIR}/cd-dir/${OSREV}/cats + (mkhybrid -a -R -v -v -T -L -d -D -N -o ${.OBJDIR}/${CDROM} \ + -A "OpenBSD ${OSREV} cats bootonly CD" \ + -P "Copyright (c) 2004 Theo de Raadt, The OpenBSD project" \ + -p "Theo de Raadt <deraadt@openbsd.org>" \ + -V "OpenBSD/cats ${OSREV} boot-only CD" \ + ${.OBJDIR}/cd-dir 2>&1) | tee log + +install: + cp ${CDROM} ${DESTDIR}/snapshot + +clean cleandir: + /bin/rm -f ${CDROM} + rm -rf cd-dir log + +unconfig: + echo nothing to do + +.include <bsd.obj.mk> +.include <bsd.subdir.mk> |