diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2007-08-10 02:28:54 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2007-08-10 02:28:54 +0000 |
commit | 96805ebe46da2202241c971700657e6dae1ee5bc (patch) | |
tree | 957b44347f47ef1d04a39f84819e20f8dc7b6295 /distrib/amd64 | |
parent | 8155b52c252be9c12352983ea9889ce1f4100b17 (diff) |
a somewhat crude way to generate installXX.iso files based on
intermediate snapshot components. uses some knowledge from our internal
build scheme to link together base and X sets.
Diffstat (limited to 'distrib/amd64')
-rw-r--r-- | distrib/amd64/iso/Makefile | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/distrib/amd64/iso/Makefile b/distrib/amd64/iso/Makefile new file mode 100644 index 00000000000..f7553b962eb --- /dev/null +++ b/distrib/amd64/iso/Makefile @@ -0,0 +1,46 @@ +# $OpenBSD: Makefile,v 1.1 2007/08/10 02:28:53 deraadt Exp $ + +TOP= ${.CURDIR}/.. + +.include "${TOP}/Makefile.inc" + +CDROM= install${REV}.iso +RELXDIR= /home/relx-amd64 +RELDIR?= /home/rel-amd64 +all: ${CDROM} + +${CDROM}: + -rm -rf ${.OBJDIR}/cd-dir + mkdir -p ${.OBJDIR}/cd-dir/${OSREV}/amd64 + mkdir -p ${.OBJDIR}/cd-dir/etc + echo "set image /${OSREV}/amd64/bsd.rd" > ${.OBJDIR}/cd-dir/etc/boot.conf + + cp -p ${RELDIR}/{base,comp,etc,game,man,misc}${OSrev}.tgz \ + ${.OBJDIR}/cd-dir/${OSREV}/amd64 + cp -p ${RELDIR}/{bsd,bsd.rd,bsd.mp} \ + ${.OBJDIR}/cd-dir/${OSREV}/amd64 + cp -p ${RELXDIR}/{xbase,xetc,xfont,xserv,xshare}${OSrev}.tgz \ + ${.OBJDIR}/cd-dir/${OSREV}/amd64 + cp -p ${RELDIR}/INSTALL.amd64 \ + ${.OBJDIR}/cd-dir/${OSREV}/amd64 + + cp -p ${RELDIR}/cdbr ${.OBJDIR}/cd-dir/${OSREV}/amd64 + cp -p ${RELDIR}/cdboot ${.OBJDIR}/cd-dir/${OSREV}/amd64/cdboot + + mkhybrid -a -R -T -L -l -d -D -N -o ${.OBJDIR}/${CDROM} -v -v \ + -A "OpenBSD ${OSREV} amd64 Install CD" \ + -P "Copyright (c) `date +%Y` Theo de Raadt, The OpenBSD project" \ + -p "Theo de Raadt <deraadt@openbsd.org>" \ + -V "OpenBSD/amd64 ${OSREV} Install CD" \ + -b ${OSREV}/amd64/cdbr -c ${OSREV}/amd64/boot.catalog \ + ${.OBJDIR}/cd-dir + +install: + cp ${CDROM} ${RELDIR}/ + +clean cleandir: + /bin/rm -f ${CDROM} + rm -rf cd-dir + +.include <bsd.obj.mk> +.include <bsd.subdir.mk> |