diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-11-10 03:34:49 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-11-10 03:34:49 +0000 |
commit | d336984288a391dd4c12c8d320f2080b75b58e01 (patch) | |
tree | e8797afe1a85cf90dc0b222cd6151e6edb399d71 /distrib/cats/cdfs | |
parent | dd538d77e1a5a0f0de1a4c0dd9beff76c0054a00 (diff) |
Let us make a nice cats install CD while here
Diffstat (limited to 'distrib/cats/cdfs')
-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> |