diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-03-20 06:58:59 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-03-20 06:58:59 +0000 |
commit | e40b4429672748ba6bf7109f213a42b4be26b14e (patch) | |
tree | 338860251d7d5fb1acd1f93696d27700b3e00f32 /distrib | |
parent | 951a36162c4526b106eb502e53c91d52de519f6e (diff) |
If we are going to make a boot cd, how about we at put some files on it
at least?!
Diffstat (limited to 'distrib')
-rw-r--r-- | distrib/sparc64/cdfs/Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/distrib/sparc64/cdfs/Makefile b/distrib/sparc64/cdfs/Makefile index 35d09938679..00c0ecc6fb1 100644 --- a/distrib/sparc64/cdfs/Makefile +++ b/distrib/sparc64/cdfs/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.8 2004/03/11 22:16:50 deraadt Exp $ +# $OpenBSD: Makefile,v 1.9 2004/03/20 06:58:58 deraadt Exp $ TOP= ${.CURDIR}/.. @@ -10,14 +10,17 @@ all: ${CDROM} ${CDROM}: -rm -rf ${.OBJDIR}/cd-dir - -@mkdir ${.OBJDIR}/cd-dir + -mkdir -p ${.OBJDIR}/cd-dir/3.5/sparc64 + -cp ${.OBJDIR}/../bsd.rd/bsd.rd ${.OBJDIR}/cd-dir/3.5/sparc64 + ln ${.OBJDIR}/cd-dir/3.5/sparc64/bsd.rd ${.OBJDIR}/cd-dir/3.5/sparc64/bsd + -cp ${DESTDIR}/usr/mdec/ofwboot ${.OBJDIR}/cd-dir/3.5/sparc64 mkhybrid -A "OpenBSD ${OSREV} sparc64 bootonly CD" \ -P "Copyright (c) 2004 Theo de Raadt, The OpenBSD project" \ -p "Theo de Raadt <deraadt@openbsd.org>" \ -V "OpenBSD/sparc64 ${OSREV} boot-only CD" \ -o ${.OBJDIR}/${CDROM} ${.OBJDIR}/cd-dir vnconfig -v -c svnd0 ${.OBJDIR}/${CDROM} - disklabel -w svnd0 fakecdrom "OpenBSD${OSREV} sparc64" + disklabel -w svnd0 fakecdrom "OpenBSD${REV}sparc64" vnconfig -u svnd0 mksuncd f ${.OBJDIR}/${CDROM} ${.OBJDIR}/../miniroot/miniroot${REV}.fs @@ -25,7 +28,7 @@ install: cp ${CDROM} ${DESTDIR}/snapshot clean cleandir: - /bin/rm -f ${CDROM} + /bin/rm -rf ${CDROM} ${.OBJDIR}/cd-dir .include <bsd.obj.mk> .include <bsd.subdir.mk> |