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/macppc/iso | |
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/macppc/iso')
-rw-r--r-- | distrib/macppc/iso/Makefile | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/distrib/macppc/iso/Makefile b/distrib/macppc/iso/Makefile new file mode 100644 index 00000000000..00c2e90e110 --- /dev/null +++ b/distrib/macppc/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${OSrev}.iso +RELXDIR= /home/relx-macppc +RELDIR?= /home/rel-macppc +all: ${CDROM} + +${CDROM}: + -rm -rf ${.OBJDIR}/cd-dir/ + -@mkdir -p ${.OBJDIR}/cd-dir/${OSREV}/macppc/ + + cp -p ${RELDIR}/{base,comp,etc,game,man,misc}${OSrev}.tgz \ + ${.OBJDIR}/cd-dir/${OSREV}/macppc + cp -p ${RELDIR}/{bsd,bsd.rd} \ + ${.OBJDIR}/cd-dir/${OSREV}/macppc + cp -p ${RELXDIR}/{xetc,xfont,xserv,xshare}${OSrev}.tgz \ + ${.OBJDIR}/cd-dir/${OSREV}/macppc + cp -p ${RELDIR}/INSTALL.macppc \ + ${.OBJDIR}/cd-dir/${OSREV}/macppc + + cp -p ${.CURDIR}/../../../sys/arch/macppc/stand/tbxidata/bsd.tbxi \ + ${.OBJDIR}/cd-dir/${OSREV}/macppc + cp -p ${RELDIR}/ofwboot ${.OBJDIR}/cd-dir/ + + mkhybrid -v -v -r -part -hfs \ + -hfs-bless ${.OBJDIR}/cd-dir/${OSREV}/macppc \ + -map ${.CURDIR}/../../../gnu/usr.sbin/mkhybrid/src/more.mapping \ + -A "OpenBSD ${OSREV} macppc Install CD" \ + -P "Copyright (c) `date +%Y` Theo de Raadt, The OpenBSD project" \ + -p "Theo de Raadt <deraadt@openbsd.org>" \ + -V "OpenBSD/macppc ${OSREV} Install CD" \ + -o ${.OBJDIR}/${CDROM} ${.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> |