head	1.4;
access;
symbols
	netbsd-11-0-RC4:1.3.4.1
	netbsd-11-0-RC3:1.3.4.1
	netbsd-11-0-RC2:1.3.4.1
	netbsd-11-0-RC1:1.3.4.1
	perseant-exfatfs-base-20250801:1.3
	netbsd-11:1.3.0.4
	netbsd-11-base:1.3
	perseant-exfatfs-base-20240630:1.3
	perseant-exfatfs:1.3.0.2
	perseant-exfatfs-base:1.3;
locks; strict;
comment	@# @;


1.4
date	2026.01.03.20.23.20;	author nia;	state Exp;
branches;
next	1.3;
commitid	wknjPnriotQ1eZoG;

1.3
date	2024.05.15.16.29.54;	author christos;	state Exp;
branches
	1.3.4.1;
next	1.2;
commitid	KbulDH0sJZRwa7aF;

1.2
date	2024.04.26.17.36.32;	author nia;	state Exp;
branches;
next	1.1;
commitid	p43MjxN5iZVf8G7F;

1.1
date	2024.04.24.15.39.58;	author nia;	state Exp;
branches;
next	;
commitid	JPJ5ZGm3gYuczp7F;

1.3.4.1
date	2026.01.04.12.09.39;	author martin;	state Exp;
branches;
next	;
commitid	3qgeC33EFl2zt4pG;


desc
@@


1.4
log
@Give the sparc64 CD-ROM image more room for future growth by trimming it
down below 700MB.

Exclude modules and the miniroot fs, but keep them available on the
DVD image.
@
text
@#	$NetBSD: Makefile,v 1.3 2024/05/15 16:29:54 christos Exp $

.include <bsd.own.mk>

CDBASE=		sparc64dvd		# gives ${CDBASE}.iso

.if ${MKKMOD} != "no"
CD_SETS+=	modules
.endif

.include "${.CURDIR}/../Makefile.cdrom"
@


1.3
log
@Factor out common stuff.
@
text
@d1 3
a3 1
#	$NetBSD: Makefile,v 1.2 2024/04/26 17:36:32 nia Exp $
d6 5
@


1.3.4.1
log
@Pull up following revision(s) (requested by nia in ticket #139):

	distrib/sparc64/cdroms/Makefile.cdrom: revision 1.2
	distrib/sparc64/cdroms/installdvd/Makefile: revision 1.4
	distrib/sparc64/cdroms/installcd/Makefile: revision 1.35

Give the sparc64 CD-ROM image more room for future growth by trimming it
down below 700MB.

Exclude modules and the miniroot fs, but keep them available on the
DVD image.
@
text
@d1 1
a1 3
#	$NetBSD: Makefile,v 1.3 2024/05/15 16:29:54 christos Exp $

.include <bsd.own.mk>
a3 5

.if ${MKKMOD} != "no"
CD_SETS+=	modules
.endif

@


1.2
log
@Remove modules set from the i386 install cd

It is not particularly useful to be able to load modules while
installing on i386, probably the most useful one is dtrace,
and this takes up about 20mb on a port that is already exceeding
CD limits. Most stuff you'd want to use while installing is already
in GENERIC.

The modules set is still available compressed for installing into
a target system, meaning modules are available after installation.

While here, add man set to the installation DVD, it's helpful to be able
to read e.g. the man page for fdisk when rescuing a system.
@
text
@d1 1
a1 3
#	$NetBSD: Makefile,v 1.1 2024/04/24 15:39:58 nia Exp $

.include <bsd.own.mk>
d4 1
a4 33
CDRELEASE=	true			# include $RELEASEDIR/$RELEASEMACHINEDIR
CDKERNELS=	${RELEASEDIR}/${RELEASEMACHINEDIR}/binary/kernel/netbsd-GENERIC.gz	netbsd
CD_SETS=	base etc
.if ${MKKMOD} != "no"
CD_SETS+=	modules
.endif
.if ${MKMAN} != "no"
CD_SETS+=	man
.endif

SYSINSTDIR!= cd ${.CURDIR}/../../../../usr.sbin/sysinst/arch/${MACHINE} && ${PRINTOBJDIR}

CDRELEASE_NOISOS=	true
CDBOOTIMAGEDIR!= cd ${NETBSDSRCDIR}/distrib/sparc64/bootfs && ${PRINTOBJDIR}
CDBOOTIMAGE=    ${CDBOOTIMAGEDIR}/boot.fs
SUN_BOOT_ARGS:=  - - - - ${CDBOOTIMAGE}

image_md_pre:
	${RM} -f cdrom/etc/gettytab cdrom/etc/ttys cdrom/etc/rc
	${HOST_LN} -fs /tmp/gettytab cdrom/etc/gettytab
	${INSTALL} ${COPY} ${.CURDIR}/../installcd/etc.ttys cdrom/etc/ttys
	${INSTALL} ${COPY} ${.CURDIR}/../installcd/etc.rc cdrom/etc/rc
	${INSTALL} ${COPY} -m 0555 ${.CURDIR}/../installcd/install.sh cdrom/install.sh
	${MKDIR} ${MKDIRPERM} cdrom/mnt2 cdrom/targetroot
	${INSTALL} ${COPY} ${SYSINSTDIR}/sysinstmsgs.?? cdrom/usr/share/sysinst/catalog/

image_md_post:
	SUNLABEL=${TOOL_SUNLABEL:Q} \
		${HOST_SH} ${NETBSDSRCDIR}/distrib/common/sunbootcd.sh \
		${CDIMAGE} ${SUN_BOOT_ARGS}

.include "${.CURDIR}/../../../common/Makefile.bootcd"

@


1.1
log
@sparc64 follows x86 and gets an installdvd image with all sets
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.33 2024/04/24 05:16:16 nia Exp $
d12 3
@

