xref: /netbsd-src/distrib/prep/cdroms/installcd/Makefile (revision 2dd295436a0082eb4f8d294f4aa73c223413d0f2)
1#	$NetBSD: Makefile,v 1.5 2019/09/23 13:42:34 christos Exp $
2CDBASE=		prepcd		# gives ${CDBASE}.iso
3CDRELEASE=	true		# include $RELEASEDIR/$RELEASEMACHINEDIR
4CDRELEASE_NODEBUG=	true
5CDMAKEFSOPTIONS=bootimage=powerpc;cdrom/prep/installation/floppy/sysinst_com0.fs
6
7# prep needs a fdisk partition table at the head of the cd, pointing to the
8# boot image.  We create an el-torrito cd, and then point partition 0 at
9# it.
10
11image_md_post:
12	${TOOL_FDISK} -F -f -b 1/255/16065 -0 -s 65/80/2799 -i ${CDIMAGE}
13	${TOOL_FDISK} -F -f -b 1/255/16065 -0 -s 65/80/2799 -u ${CDIMAGE}
14
15.include "${.CURDIR}/../../../common/Makefile.bootcd"
16