head	1.37;
access;
symbols
	netbsd-11-0-RC4:1.34.4.1
	netbsd-11-0-RC3:1.34.4.1
	netbsd-11-0-RC2:1.34.4.1
	netbsd-11-0-RC1:1.34.4.1
	perseant-exfatfs-base-20250801:1.34
	netbsd-11:1.34.0.4
	netbsd-11-base:1.34
	netbsd-10-1-RELEASE:1.31
	perseant-exfatfs-base-20240630:1.34
	perseant-exfatfs:1.34.0.2
	perseant-exfatfs-base:1.34
	netbsd-8-3-RELEASE:1.28
	netbsd-9-4-RELEASE:1.30
	netbsd-10-0-RELEASE:1.31
	netbsd-10-0-RC6:1.31
	netbsd-10-0-RC5:1.31
	netbsd-10-0-RC4:1.31
	netbsd-10-0-RC3:1.31
	netbsd-10-0-RC2:1.31
	netbsd-10-0-RC1:1.31
	netbsd-10:1.31.0.8
	netbsd-10-base:1.31
	netbsd-9-3-RELEASE:1.30
	cjep_sun2x-base1:1.31
	cjep_sun2x:1.31.0.6
	cjep_sun2x-base:1.31
	cjep_staticlib_x-base1:1.31
	netbsd-9-2-RELEASE:1.30
	cjep_staticlib_x:1.31.0.4
	cjep_staticlib_x-base:1.31
	netbsd-9-1-RELEASE:1.30
	phil-wifi-20200421:1.31
	phil-wifi-20200411:1.31
	is-mlppp:1.31.0.2
	is-mlppp-base:1.31
	phil-wifi-20200406:1.31
	netbsd-8-2-RELEASE:1.28
	netbsd-9-0-RELEASE:1.30
	netbsd-9-0-RC2:1.30
	netbsd-9-0-RC1:1.30
	phil-wifi-20191119:1.31
	netbsd-9:1.30.0.2
	netbsd-9-base:1.30
	phil-wifi-20190609:1.30
	netbsd-8-1-RELEASE:1.28
	netbsd-8-1-RC1:1.28
	pgoyette-compat-merge-20190127:1.29.2.1
	pgoyette-compat-20190127:1.30
	pgoyette-compat-20190118:1.30
	pgoyette-compat-1226:1.30
	pgoyette-compat-1126:1.30
	pgoyette-compat-1020:1.30
	pgoyette-compat-0930:1.30
	pgoyette-compat-0906:1.29
	netbsd-7-2-RELEASE:1.18.2.2
	pgoyette-compat-0728:1.29
	netbsd-8-0-RELEASE:1.28
	phil-wifi:1.29.0.4
	phil-wifi-base:1.29
	pgoyette-compat-0625:1.29
	netbsd-8-0-RC2:1.28
	pgoyette-compat-0521:1.29
	pgoyette-compat-0502:1.29
	pgoyette-compat-0422:1.29
	netbsd-8-0-RC1:1.28
	pgoyette-compat-0415:1.29
	pgoyette-compat-0407:1.29
	pgoyette-compat-0330:1.29
	pgoyette-compat-0322:1.29
	pgoyette-compat-0315:1.29
	netbsd-7-1-2-RELEASE:1.18.2.2
	pgoyette-compat:1.29.0.2
	pgoyette-compat-base:1.29
	netbsd-7-1-1-RELEASE:1.18.2.2
	matt-nb8-mediatek:1.28.0.8
	matt-nb8-mediatek-base:1.28
	perseant-stdc-iso10646:1.28.0.6
	perseant-stdc-iso10646-base:1.28
	netbsd-8:1.28.0.4
	netbsd-8-base:1.28
	prg-localcount2-base3:1.28
	prg-localcount2-base2:1.28
	prg-localcount2-base1:1.28
	prg-localcount2:1.28.0.2
	prg-localcount2-base:1.28
	pgoyette-localcount-20170426:1.28
	bouyer-socketcan-base1:1.28
	pgoyette-localcount-20170320:1.28
	netbsd-7-1:1.18.2.2.0.6
	netbsd-7-1-RELEASE:1.18.2.2
	netbsd-7-1-RC2:1.18.2.2
	netbsd-7-nhusb-base-20170116:1.18.2.2
	bouyer-socketcan:1.27.0.4
	bouyer-socketcan-base:1.27
	pgoyette-localcount-20170107:1.27
	netbsd-7-1-RC1:1.18.2.2
	pgoyette-localcount-20161104:1.27
	netbsd-7-0-2-RELEASE:1.18.2.2
	localcount-20160914:1.27
	netbsd-7-nhusb:1.18.2.2.0.4
	netbsd-7-nhusb-base:1.18.2.2
	pgoyette-localcount-20160806:1.27
	pgoyette-localcount-20160726:1.27
	pgoyette-localcount:1.27.0.2
	pgoyette-localcount-base:1.27
	netbsd-7-0-1-RELEASE:1.18.2.2
	netbsd-7-0:1.18.2.2.0.2
	netbsd-7-0-RELEASE:1.18.2.2
	netbsd-7-0-RC3:1.18.2.2
	netbsd-7-0-RC2:1.18.2.2
	netbsd-7-0-RC1:1.18.2.2
	netbsd-5-2-3-RELEASE:1.1.34.1
	netbsd-5-1-5-RELEASE:1.1.30.1
	netbsd-6-0-6-RELEASE:1.14.2.1
	netbsd-6-1-5-RELEASE:1.14.2.1
	netbsd-7:1.18.0.2
	netbsd-7-base:1.18
	yamt-pagecache-base9:1.16
	yamt-pagecache-tag8:1.13.2.3
	netbsd-6-1-4-RELEASE:1.14.2.1
	netbsd-6-0-5-RELEASE:1.14.2.1
	tls-earlyentropy:1.16.0.8
	tls-earlyentropy-base:1.18
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.16
	riastradh-drm2-base3:1.16
	netbsd-6-1-3-RELEASE:1.14.2.1
	netbsd-6-0-4-RELEASE:1.14.2.1
	netbsd-5-2-2-RELEASE:1.1
	netbsd-5-1-4-RELEASE:1.1
	netbsd-6-1-2-RELEASE:1.14.2.1
	netbsd-6-0-3-RELEASE:1.14.2.1
	netbsd-5-2-1-RELEASE:1.1
	netbsd-5-1-3-RELEASE:1.1
	netbsd-6-1-1-RELEASE:1.14.2.1
	riastradh-drm2-base2:1.16
	riastradh-drm2-base1:1.16
	riastradh-drm2:1.16.0.2
	riastradh-drm2-base:1.16
	netbsd-6-1:1.14.2.1.0.6
	netbsd-6-0-2-RELEASE:1.14.2.1
	netbsd-6-1-RELEASE:1.14.2.1
	khorben-n900:1.16.0.6
	netbsd-6-1-RC4:1.14.2.1
	netbsd-6-1-RC3:1.14.2.1
	agc-symver:1.16.0.4
	agc-symver-base:1.16
	netbsd-6-1-RC2:1.14.2.1
	netbsd-6-1-RC1:1.14.2.1
	yamt-pagecache-base8:1.16
	netbsd-5-2:1.1.0.34
	netbsd-6-0-1-RELEASE:1.14.2.1
	yamt-pagecache-base7:1.15
	netbsd-5-2-RELEASE:1.1
	netbsd-5-2-RC1:1.1
	matt-nb6-plus-nbase:1.14.2.1
	yamt-pagecache-base6:1.15
	netbsd-6-0:1.14.2.1.0.4
	netbsd-6-0-RELEASE:1.14.2.1
	netbsd-6-0-RC2:1.14.2.1
	tls-maxphys:1.15.0.2
	tls-maxphys-base:1.18
	matt-nb6-plus:1.14.2.1.0.2
	matt-nb6-plus-base:1.14.2.1
	netbsd-6-0-RC1:1.14.2.1
	yamt-pagecache-base5:1.14
	yamt-pagecache-base4:1.14
	netbsd-6:1.14.0.2
	netbsd-6-base:1.14
	netbsd-5-1-2-RELEASE:1.1
	netbsd-5-1-1-RELEASE:1.1
	yamt-pagecache-base3:1.13
	yamt-pagecache-base2:1.13
	yamt-pagecache:1.13.0.2
	yamt-pagecache-base:1.13
	cherry-xenmp:1.11.0.2
	cherry-xenmp-base:1.11
	bouyer-quota2-nbase:1.9
	bouyer-quota2:1.9.0.2
	bouyer-quota2-base:1.9
	matt-mips64-premerge-20101231:1.8
	matt-nb5-mips64-premerge-20101231:1.1
	matt-nb5-pq3:1.1.0.32
	matt-nb5-pq3-base:1.1
	netbsd-5-1:1.1.0.30
	netbsd-5-1-RELEASE:1.1
	netbsd-5-1-RC4:1.1
	matt-nb5-mips64-k15:1.1
	netbsd-5-1-RC3:1.1
	netbsd-5-1-RC2:1.1
	netbsd-5-1-RC1:1.1
	netbsd-5-0-2-RELEASE:1.1
	matt-nb5-mips64-premerge-20091211:1.1
	matt-premerge-20091211:1.1
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.1
	matt-nb4-mips64-k7-u2a-k9b:1.1
	matt-nb5-mips64-u1-k1-k5:1.1
	matt-nb5-mips64:1.1.0.28
	netbsd-5-0-1-RELEASE:1.1
	jym-xensuspend-nbase:1.1
	netbsd-5-0:1.1.0.26
	netbsd-5-0-RELEASE:1.1
	netbsd-5-0-RC4:1.1
	netbsd-5-0-RC3:1.1
	netbsd-5-0-RC2:1.1
	jym-xensuspend:1.1.0.24
	jym-xensuspend-base:1.1
	netbsd-5-0-RC1:1.1
	netbsd-5:1.1.0.22
	netbsd-5-base:1.1
	matt-mips64-base2:1.1
	matt-mips64:1.1.0.20
	netbsd-4-0-1-RELEASE:1.1.2.2
	wrstuden-revivesa-base-3:1.1
	wrstuden-revivesa-base-2:1.1
	wrstuden-fixsa-newbase:1.1.2.2
	wrstuden-revivesa-base-1:1.1
	yamt-pf42-base4:1.1
	yamt-pf42-base3:1.1
	hpcarm-cleanup-nbase:1.1
	yamt-pf42-baseX:1.1
	yamt-pf42-base2:1.1
	wrstuden-revivesa:1.1.0.18
	wrstuden-revivesa-base:1.1
	yamt-pf42:1.1.0.16
	yamt-pf42-base:1.1
	mjf-devfs2:1.1.0.14
	mjf-devfs2-base:1.1
	keiichi-mipv6:1.1.0.12
	keiichi-mipv6-base:1.1
	mjf-devfs:1.1.0.10
	mjf-devfs-base:1.1
	matt-armv6-nbase:1.1
	matt-armv6-prevmlocking:1.1
	wrstuden-fixsa-base-1:1.1.2.2
	netbsd-4-0:1.1.2.2.0.4
	netbsd-4-0-RELEASE:1.1.2.2
	cube-autoconf:1.1.0.8
	cube-autoconf-base:1.1
	netbsd-4-0-RC5:1.1.2.2
	netbsd-4-0-RC4:1.1.2.2
	netbsd-4-0-RC3:1.1.2.2
	netbsd-4-0-RC2:1.1.2.2
	netbsd-4-0-RC1:1.1.2.2
	matt-armv6:1.1.0.6
	matt-armv6-base:1.1
	matt-mips64-base:1.1
	hpcarm-cleanup:1.1.0.4
	hpcarm-cleanup-base:1.1
	wrstuden-fixsa:1.1.2.2.0.2
	wrstuden-fixsa-base:1.1.2.2
	netbsd-4:1.1.0.2;
locks; strict;
comment	@# @;


1.37
date	2026.01.07.16.08.23;	author nia;	state Exp;
branches;
next	1.36;
commitid	D2Qx4AAGLjE4HtpG;

1.36
date	2026.01.06.09.29.21;	author nia;	state Exp;
branches;
next	1.35;
commitid	5BGgNAcIZQHqwjpG;

1.35
date	2026.01.03.20.23.20;	author nia;	state Exp;
branches;
next	1.34;
commitid	wknjPnriotQ1eZoG;

1.34
date	2024.05.15.16.29.53;	author christos;	state Exp;
branches
	1.34.4.1;
next	1.33;
commitid	KbulDH0sJZRwa7aF;

1.33
date	2024.04.24.05.16.16;	author nia;	state Exp;
branches;
next	1.32;
commitid	DfbyU5t3WWI97m7F;

1.32
date	2024.04.23.12.25.57;	author nia;	state Exp;
branches;
next	1.31;
commitid	YYCqCukdEt0xwg7F;

1.31
date	2019.09.23.13.42.35;	author christos;	state Exp;
branches;
next	1.30;
commitid	6ImXbYN9X0dSK8EB;

1.30
date	2018.09.28.15.05.23;	author martin;	state Exp;
branches;
next	1.29;
commitid	tfpG5rljjqZGMSTA;

1.29
date	2017.09.08.09.50.45;	author martin;	state Exp;
branches
	1.29.2.1
	1.29.4.1;
next	1.28;
commitid	TtM2bYZZy6DVpn6A;

1.28
date	2017.02.10.16.43.59;	author christos;	state Exp;
branches;
next	1.27;
commitid	uUOMTOtplR3gsqFz;

1.27
date	2015.07.19.10.16.56;	author martin;	state Exp;
branches
	1.27.2.1
	1.27.4.1;
next	1.26;
commitid	5yczpNbPtkNrHSty;

1.26
date	2015.05.28.09.51.31;	author martin;	state Exp;
branches;
next	1.25;
commitid	iarGFtKofSulecny;

1.25
date	2015.05.27.09.44.40;	author martin;	state Exp;
branches;
next	1.24;
commitid	C1kqT4CAnkCae4ny;

1.24
date	2015.05.25.15.38.33;	author martin;	state Exp;
branches;
next	1.23;
commitid	NOTKl2IY8AGSeQmy;

1.23
date	2015.05.19.06.58.52;	author martin;	state Exp;
branches;
next	1.22;
commitid	qjhgvBX43t8ez1my;

1.22
date	2015.05.18.06.25.05;	author martin;	state Exp;
branches;
next	1.21;
commitid	aEwWFR3Z5sorpTly;

1.21
date	2015.04.18.08.56.57;	author martin;	state Exp;
branches;
next	1.20;
commitid	UpEFXq7MA1pzd3iy;

1.20
date	2014.09.13.10.18.24;	author roy;	state Exp;
branches;
next	1.19;
commitid	f15GxbA0HcS3EaQx;

1.19
date	2014.08.14.16.27.18;	author riastradh;	state Exp;
branches;
next	1.18;
commitid	d1DkjflzAotkElMx;

1.18
date	2014.07.26.19.34.08;	author dholland;	state Exp;
branches
	1.18.2.1;
next	1.17;
commitid	090ROJy6lzpliVJx;

1.17
date	2014.05.18.13.06.12;	author martin;	state Exp;
branches;
next	1.16;
commitid	couHdv1dmdfFm1Bx;

1.16
date	2012.12.22.17.51.19;	author tsutsui;	state Exp;
branches
	1.16.8.1;
next	1.15;

1.15
date	2012.06.03.23.19.10;	author joerg;	state Exp;
branches
	1.15.2.1;
next	1.14;

1.14
date	2012.01.15.22.34.34;	author jmcneill;	state Exp;
branches
	1.14.2.1;
next	1.13;

1.13
date	2011.06.22.14.05.38;	author martin;	state Exp;
branches
	1.13.2.1;
next	1.12;

1.12
date	2011.06.19.10.52.08;	author martin;	state Exp;
branches;
next	1.11;

1.11
date	2011.04.17.12.18.20;	author martin;	state Exp;
branches
	1.11.2.1;
next	1.10;

1.10
date	2011.03.20.09.04.53;	author martin;	state Exp;
branches;
next	1.9;

1.9
date	2011.01.14.10.26.36;	author tsutsui;	state Exp;
branches;
next	1.8;

1.8
date	2010.08.02.10.03.13;	author martin;	state Exp;
branches;
next	1.7;

1.7
date	2010.04.23.14.10.19;	author he;	state Exp;
branches;
next	1.6;

1.6
date	2010.04.22.11.58.59;	author he;	state Exp;
branches;
next	1.5;

1.5
date	2010.04.18.16.10.03;	author martin;	state Exp;
branches;
next	1.4;

1.4
date	2010.04.18.12.58.57;	author martin;	state Exp;
branches;
next	1.3;

1.3
date	2010.04.04.23.02.23;	author martin;	state Exp;
branches;
next	1.2;

1.2
date	2010.04.02.21.29.30;	author martin;	state Exp;
branches;
next	1.1;

1.1
date	2007.03.06.21.57.24;	author bouyer;	state Exp;
branches
	1.1.2.1
	1.1.14.1
	1.1.22.1
	1.1.30.1
	1.1.34.1;
next	;

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

1.29.2.1
date	2018.09.30.01.45.05;	author pgoyette;	state Exp;
branches;
next	;
commitid	SQ44grEPCeKPh4UA;

1.29.4.1
date	2019.06.10.21.42.33;	author christos;	state Exp;
branches;
next	1.29.4.2;
commitid	jtc8rnCzWiEEHGqB;

1.29.4.2
date	2020.04.13.07.45.35;	author martin;	state Exp;
branches;
next	;
commitid	X01YhRUPVUDaec4C;

1.27.2.1
date	2017.03.20.06.52.10;	author pgoyette;	state Exp;
branches;
next	;
commitid	jjw7cAwgyKq7RfKz;

1.27.4.1
date	2017.04.21.16.51.15;	author bouyer;	state Exp;
branches;
next	;
commitid	dUG7nkTKALCadqOz;

1.18.2.1
date	2014.08.15.10.23.22;	author martin;	state Exp;
branches;
next	1.18.2.2;
commitid	pURmMT5kU7SyBrMx;

1.18.2.2
date	2015.05.14.07.11.53;	author snj;	state Exp;
branches;
next	;
commitid	WUK9UR2qc9WJNnly;

1.16.8.1
date	2014.08.10.06.48.45;	author tls;	state Exp;
branches;
next	;
commitid	tnOltPFlB36UzMLx;

1.15.2.1
date	2013.02.25.00.24.47;	author tls;	state Exp;
branches;
next	1.15.2.2;

1.15.2.2
date	2014.08.19.23.45.45;	author tls;	state Exp;
branches;
next	;
commitid	jTnpym9Qu0o4R1Nx;

1.14.2.1
date	2012.06.23.22.54.56;	author riz;	state Exp;
branches;
next	1.14.2.2;

1.14.2.2
date	2013.12.18.02.22.01;	author riz;	state Exp;
branches;
next	;
commitid	uBaDHfOqSTyrEyhx;

1.13.2.1
date	2012.04.17.00.02.48;	author yamt;	state Exp;
branches;
next	1.13.2.2;

1.13.2.2
date	2012.10.30.18.48.51;	author yamt;	state Exp;
branches;
next	1.13.2.3;

1.13.2.3
date	2013.01.23.00.04.28;	author yamt;	state Exp;
branches;
next	;

1.11.2.1
date	2011.06.23.14.18.23;	author cherry;	state Exp;
branches;
next	;

1.1.2.1
date	2007.03.06.21.57.24;	author riz;	state dead;
branches;
next	1.1.2.2;

1.1.2.2
date	2007.03.09.06.59.27;	author riz;	state Exp;
branches;
next	;

1.1.14.1
date	2008.10.05.20.10.37;	author mjf;	state dead;
branches;
next	;

1.1.22.1
date	2014.11.08.11.35.45;	author msaitoh;	state Exp;
branches;
next	;
commitid	nRGGFcSrGMGwgnXx;

1.1.30.1
date	2014.11.08.12.27.25;	author msaitoh;	state Exp;
branches;
next	;
commitid	bRL53IMFKcyyynXx;

1.1.34.1
date	2014.11.08.12.26.37;	author msaitoh;	state Exp;
branches;
next	;
commitid	qbGvtbBDQe5aynXx;


desc
@@


1.37
log
@distrib: Bail out if CD-ROMs are larger than 700MB.

PR port-i386/59889 i386 cd-rom iso for -current is overflowing 700MB limit
@
text
@#	$NetBSD: Makefile,v 1.36 2026/01/06 09:29:21 nia Exp $

CDBASE=		sparc64cd		# gives ${CDBASE}.iso
CDRELEASE_NODEBUG=	true
CDRELEASE_NOCOMPAT=	true
CDRELEASE_NOHTML=	true
CDRELEASE_NOTESTS=	true

# miniroot is for non-CD installations and takes up 10MB.
CDRELEASE_EXCLUDE+=	-s ',./installation/miniroot/.*,,gp'

CDMAKEFSEXTRAOPTS=	-m 700m

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


1.36
log
@Reuse the "minified version of uncompressed base" idea to gain some
headroom on the sparc64 CD-ROM.

PR port-i386/59889 i386 cd-rom iso for -current is overflowing 700MB limit
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.35 2026/01/03 20:23:20 nia Exp $
d12 2
@


1.35
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
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.34 2024/05/15 16:29:53 christos Exp $
d12 1
@


1.34
log
@Factor out common stuff.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.33 2024/04/24 05:16:16 nia Exp $
d9 3
@


1.34.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 1
#	$NetBSD: Makefile,v 1.34 2024/05/15 16:29:53 christos Exp $
a8 3
# miniroot is for non-CD installations and takes up 10MB.
CDRELEASE_EXCLUDE+=	-s ',./installation/miniroot/.*,,gp'

@


1.33
log
@Give lots of room for further expansion of the sparc64 CD image
@
text
@d1 1
a1 3
#	$NetBSD: Makefile,v 1.32 2024/04/23 12:25:57 nia Exp $

.include <bsd.own.mk>
a3 1
CDRELEASE=	true			# include $RELEASEDIR/$RELEASEMACHINEDIR
a7 28
CDKERNELS=	${RELEASEDIR}/${RELEASEMACHINEDIR}/binary/kernel/netbsd-GENERIC.gz	netbsd
CD_SETS=	base etc
.if ${MKKMOD} != "no"
CD_SETS+=	modules
.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}/etc.ttys cdrom/etc/ttys
	${INSTALL} ${COPY} ${.CURDIR}/etc.rc cdrom/etc/rc
	${INSTALL} ${COPY} -m 0555 ${.CURDIR}/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"
d9 1
@


1.32
log
@Exclude compat sets from ISO images that struggle to fit on a CD-ROM

When debug is excluded, also exclude the compat debug sets.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.31 2019/09/23 13:42:35 christos Exp $
d9 2
@


1.31
log
@Consistently use ${RELEASEDIR}/${RELEASEMACHINE} instead of
${RELEASEDIR}/${MACHINE} (Paul Ripke)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.30 2018/09/28 15:05:23 martin Exp $
d8 1
@


1.30
log
@Now that we do not force debug sets off install CDs any more, explicitly
set CDRELEASE_NODEBUG everywhere.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.29 2017/09/08 09:50:45 martin Exp $
d6 1
a6 1
CDRELEASE=	true			# include $RELEASEDIR/$MACHINE
d8 1
a8 1
CDKERNELS=	${RELEASEDIR}/${MACHINE}/binary/kernel/netbsd-GENERIC.gz	netbsd
@


1.29
log
@Introduce CDRELEASE_NODEBUG - if set, avoids putting debug sets in the
ISO image.

Set this for sparc64 install CDs - many of the supported machines have
SCSI CD drives and it is impossible to get DVD replacements for those.

This is a pitty, but in the end a working install medium is more worth
than debug sets (which can be downloaded later).
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.28 2017/02/10 16:43:59 christos Exp $
d7 1
a16 1
CDRELEASE_NODEBUG=	true
@


1.29.4.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.30 2018/09/28 15:05:23 martin Exp $
a6 1
CDRELEASE_NODEBUG=	true
d16 1
@


1.29.4.2
log
@Mostly merge changes from HEAD upto 20200411
@
text
@d1 1
a1 1
#	$NetBSD$
d6 1
a6 1
CDRELEASE=	true			# include $RELEASEDIR/$RELEASEMACHINEDIR
d8 1
a8 1
CDKERNELS=	${RELEASEDIR}/${RELEASEMACHINEDIR}/binary/kernel/netbsd-GENERIC.gz	netbsd
@


1.29.2.1
log
@Ssync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.30 2018/09/28 15:05:23 martin Exp $
a6 1
CDRELEASE_NODEBUG=	true
d16 1
@


1.28
log
@Initial pass to be unaffected by build umask on build artifacts
1. ${MKDIR} -> ${MKDIR} ${MKDIRPERM}
2. ${CP} -> ${INSTALL} ${COPY} -m <perm>
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.27 2015/07/19 10:16:56 martin Exp $
d16 1
@


1.27
log
@Obey MKKMOD=no.
From Rin Okuyama in PR install/50061.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.26 2015/05/28 09:51:31 martin Exp $
d26 1
a26 1
	${MKDIR} cdrom/mnt2 cdrom/targetroot
@


1.27.4.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.28 2017/02/10 16:43:59 christos Exp $
d26 1
a26 1
	${MKDIR} ${MKDIRPERM} cdrom/mnt2 cdrom/targetroot
@


1.27.2.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.28 2017/02/10 16:43:59 christos Exp $
d26 1
a26 1
	${MKDIR} ${MKDIRPERM} cdrom/mnt2 cdrom/targetroot
@


1.26
log
@Make sure to copy the language catalog files for sysinst, but do not
copy sysinst itself to / on the CD, and instead use the base version
for installation.
@
text
@d1 4
a4 1
#	$NetBSD: Makefile,v 1.25 2015/05/27 09:44:40 martin Exp $
d8 4
a11 4
CD_SETS=	base etc modules

# for PRINTOBJDIR
.include <bsd.own.mk>
@


1.25
log
@Do not default any CD_SETS - let the MD makefiles request them specifically.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.24 2015/05/25 15:38:33 martin Exp $
d24 1
a24 4
	${INSTALL} ${COPY} -m 0555 ${SYSINSTDIR}/sysinst cdrom
	for f in ${SYSINSTDIR}/sysinstmsgs.??; do \
		${INSTALL} ${COPY} $$f cdrom; \
	done
@


1.24
log
@2nd try: make amd64, i386, sparc64 and vax iso images use full sets.
While there fix an old bug that makefs used the build hosts /etc/group
and passwd information when creating the image.
Thanks to Andreas Gustafsson for extensive testing.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.22 2015/05/18 06:25:05 martin Exp $
d5 1
@


1.23
log
@Revert previous untill fallout has been fixed.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.21 2015/04/18 08:56:57 martin Exp $
d4 1
a15 56
CDRUNTIME+=	./bin
CDRUNTIME+=	./dev/MAKEDEV
CDRUNTIME+=	./etc
CDRUNTIME+=	./lib
CDRUNTIME+=	./libdata
CDRUNTIME+=	./libexec
CDRUNTIME+=	./mnt
CDRUNTIME+=	./sbin
# CDRUNTIME+=	./stand
CDRUNTIME+=	./tmp
CDRUNTIME+=	./usr/bin/ftp
CDRUNTIME+=	./usr/bin/getopt
CDRUNTIME+=	./usr/bin/gunzip
CDRUNTIME+=	./usr/bin/gzcat
CDRUNTIME+=	./usr/bin/gzip
CDRUNTIME+=	./usr/bin/grep
CDRUNTIME+=	./usr/bin/less
CDRUNTIME+=	./usr/bin/more
CDRUNTIME+=	./usr/bin/netstat
CDRUNTIME+=	./usr/bin/progress
CDRUNTIME+=	./usr/bin/sed
CDRUNTIME+=	./usr/bin/sort
CDRUNTIME+=	./usr/bin/tip
CDRUNTIME+=	./usr/bin/tput
CDRUNTIME+=	./usr/bin/vi
CDRUNTIME+=	./usr/bin/vmstat
.if ${MKBSDTAR} != "no"
CDRUNTIME+=	./usr/lib/libarchive.so*
.endif
CDRUNTIME+=	./usr/lib/libbz2.so*
CDRUNTIME+=	./usr/lib/libc.so*
CDRUNTIME+=	./usr/lib/libcurses.so*
CDRUNTIME+=	./usr/lib/libedit.so*
CDRUNTIME+=	./usr/lib/libgcc_s.so*
CDRUNTIME+=	./usr/lib/libintl.so*
CDRUNTIME+=	./usr/lib/libkvm.so*
CDRUNTIME+=	./usr/lib/liblzma.so*
CDRUNTIME+=	./usr/lib/libpthread.so*
CDRUNTIME+=	./usr/lib/libterminfo.so*
CDRUNTIME+=	./usr/lib/libutil.so*
CDRUNTIME+=	./usr/lib/libz.so*
.if (${MKCRYPTO} != "no")
CDRUNTIME+=	./usr/lib/libcrypto.so*
CDRUNTIME+=	./usr/lib/libssl.so*
.endif
CDRUNTIME+=	./usr/libexec/ld.elf_so
CDRUNTIME+=	./usr/libexec/getty
CDRUNTIME+=	./usr/mdec
CDRUNTIME+=	./usr/sbin/chat
CDRUNTIME+=	./usr/sbin/chroot
CDRUNTIME+=	./usr/sbin/installboot
CDRUNTIME+=	./usr/sbin/pppd
CDRUNTIME+=	./usr/sbin/wiconfig
CDRUNTIME+=	./usr/share/misc/terminfo.cdb
CDRUNTIME+=	./usr/share/locale

d17 1
a17 1
	${MKDIR} cdrom/etc
a26 3
	${MKDIR} cdrom/var
	${MKDIR} cdrom/kern
	${CP} ${RELEASEDIR}/sparc64/binary/kernel/netbsd-GENERIC.gz cdrom/netbsd
a31 1
	
d34 1
@


1.22
log
@Add a new simple method to put whole sets on CD images (instead of
listing single binaries or patterns) and use those for the existing
ISO images.
@
text
@a3 1
CDKERNELS=	${RELEASEDIR}/${MACHINE}/binary/kernel/netbsd-GENERIC.gz	netbsd
d15 56
d72 1
a72 1
	${RM} -f cdrom/etc/gettytab cdrom/etc/ttys cdrom/etc/rc
d82 3
d90 1
a92 1

@


1.21
log
@Add libpthread.so* - new lzma needs it.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.20 2014/09/13 10:18:24 roy Exp $
d4 1
a15 56
CDRUNTIME+=	./bin
CDRUNTIME+=	./dev/MAKEDEV
CDRUNTIME+=	./etc
CDRUNTIME+=	./lib
CDRUNTIME+=	./libdata
CDRUNTIME+=	./libexec
CDRUNTIME+=	./mnt
CDRUNTIME+=	./sbin
# CDRUNTIME+=	./stand
CDRUNTIME+=	./tmp
CDRUNTIME+=	./usr/bin/ftp
CDRUNTIME+=	./usr/bin/getopt
CDRUNTIME+=	./usr/bin/gunzip
CDRUNTIME+=	./usr/bin/gzcat
CDRUNTIME+=	./usr/bin/gzip
CDRUNTIME+=	./usr/bin/grep
CDRUNTIME+=	./usr/bin/less
CDRUNTIME+=	./usr/bin/more
CDRUNTIME+=	./usr/bin/netstat
CDRUNTIME+=	./usr/bin/progress
CDRUNTIME+=	./usr/bin/sed
CDRUNTIME+=	./usr/bin/sort
CDRUNTIME+=	./usr/bin/tip
CDRUNTIME+=	./usr/bin/tput
CDRUNTIME+=	./usr/bin/vi
CDRUNTIME+=	./usr/bin/vmstat
.if ${MKBSDTAR} != "no"
CDRUNTIME+=	./usr/lib/libarchive.so*
.endif
CDRUNTIME+=	./usr/lib/libbz2.so*
CDRUNTIME+=	./usr/lib/libc.so*
CDRUNTIME+=	./usr/lib/libcurses.so*
CDRUNTIME+=	./usr/lib/libedit.so*
CDRUNTIME+=	./usr/lib/libgcc_s.so*
CDRUNTIME+=	./usr/lib/libintl.so*
CDRUNTIME+=	./usr/lib/libkvm.so*
CDRUNTIME+=	./usr/lib/liblzma.so*
CDRUNTIME+=	./usr/lib/libpthread.so*
CDRUNTIME+=	./usr/lib/libterminfo.so*
CDRUNTIME+=	./usr/lib/libutil.so*
CDRUNTIME+=	./usr/lib/libz.so*
.if (${MKCRYPTO} != "no")
CDRUNTIME+=	./usr/lib/libcrypto.so*
CDRUNTIME+=	./usr/lib/libssl.so*
.endif
CDRUNTIME+=	./usr/libexec/ld.elf_so
CDRUNTIME+=	./usr/libexec/getty
CDRUNTIME+=	./usr/mdec
CDRUNTIME+=	./usr/sbin/chat
CDRUNTIME+=	./usr/sbin/chroot
CDRUNTIME+=	./usr/sbin/installboot
CDRUNTIME+=	./usr/sbin/pppd
CDRUNTIME+=	./usr/sbin/wiconfig
CDRUNTIME+=	./usr/share/misc/terminfo.cdb
CDRUNTIME+=	./usr/share/locale

d17 1
a17 1
	${MKDIR} cdrom/etc
a26 3
	${MKDIR} cdrom/var
	${MKDIR} cdrom/kern
	${CP} ${RELEASEDIR}/sparc64/binary/kernel/netbsd-GENERIC.gz cdrom/netbsd
a31 1
	
d34 1
@


1.20
log
@Punt custom dhcpcd hooks in favour up upstream hooks
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.19 2014/08/14 16:27:18 riastradh Exp $
d52 1
@


1.19
log
@CD images need libarchive if MKBSDTAR is yes.
@
text
@d1 1
a1 1
#	$NetBSD$
a70 3
	${RM} -rf cdrom/libexec/dhcpcd-hooks/*
	${CP} ${.CURDIR}/../../../common/10-resolv.conf cdrom/libexec/dhcpcd-hooks
	${CP} ${.CURDIR}/../../../common/99-print-sysinst cdrom/libexec/dhcpcd-hooks
@


1.18
log
@Adjust for sysinst move.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.17 2014/05/18 13:06:12 martin Exp $
d41 3
@


1.18.2.1
log
@Pull up following revision(s) (requested by riastradh in ticket #17):
	distrib/vax/cdroms/installcd/Makefile: revision 1.9
	distrib/amd64/cdroms/Makefile.cdrom: revision 1.11
	distrib/i386/cdroms/Makefile.cdrom: revision 1.31
	distrib/sparc64/cdroms/installcd/Makefile: revision 1.19
CD images need libarchive if MKBSDTAR is yes.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.18 2014/07/26 19:34:08 dholland Exp $
a40 3
.if ${MKBSDTAR} != "no"
CDRUNTIME+=	./usr/lib/libarchive.so*
.endif
@


1.18.2.2
log
@Pull up following revision(s) (requested by martin in ticket #759):
	distrib/amd64/cdroms/Makefile.cdrom: revision 1.12
	distrib/amd64/installimage/Makefile: revision 1.5
	distrib/amd64/installimage/spec.inst: revision 1.2
	distrib/common/10-resolv.conf: file removal
	distrib/common/99-print-sysinst: file removal
	distrib/common/Makefile.dhcpcd: revision 1.2
	distrib/common/list.dhcpcd: revision 1.3
	distrib/i386/cdroms/Makefile.cdrom: revision 1.32
	distrib/i386/installimage/Makefile: revision 1.5
	distrib/i386/installimage/spec.inst: revision 1.2
	distrib/sparc64/cdroms/installcd/Makefile: revision 1.20
	distrib/vax/cdroms/installcd/Makefile: revision 1.10
	usr.sbin/sysinst/msg.mi.de: revision 1.4
	usr.sbin/sysinst/msg.mi.en: revision 1.4
	usr.sbin/sysinst/msg.mi.es: revision 1.4
	usr.sbin/sysinst/msg.mi.fr: revision 1.4
	usr.sbin/sysinst/msg.mi.pl: revision 1.4
	usr.sbin/sysinst/net.c: revisions 1.5-1.8, 1.11-1.15
The dhcpcd utilties in pkgsrc require dhcpcd to be running in master mode.
So set dhcpcd to start like so, but restrict it to the configured interface
still instead of ifconfig_foo=dhcp.
--
Use the 20-resolv.conf hook from dhcpcd rather than the minimal one.
Extract configured information from resolv.conf and hostname instead
of scraping the last dhcpcd script run.
This will allow the use of DHCPv6 and IPv6RA DNS details in the future.
--
dhcpcd will already have configured the system at this point, so
don't bother writing it manually.
--
Don't prompt for hostname or domain if obtained from DHCP.
--
Change the display order so it's protocol agnostic at the top,
then IPv4 then IPv6.
--
Strip newline from the gateway correctly.
--
Show the IP6 address instead of yes
--
Fix a bogus gcc warning: dhcp_config may be used uninitialized
--
Punt custom dhcpcd hooks in favour up upstream hooks
--
For the benefit of gcc 4.5, rename a local "nl" variable to "nline",
so it doesn't collide with the global curses nl() function.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.18.2.1 2014/08/15 10:23:22 martin Exp $
d71 3
@


1.17
log
@PR install/48818: put vi on install CDs
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.16 2012/12/22 17:51:19 tsutsui Exp $
d8 1
a8 1
SYSINSTDIR!= cd ${.CURDIR}/../../../utils/sysinst/arch/${MACHINE} && ${PRINTOBJDIR}
@


1.16
log
@Sync with amd64 and i386 installcds:
>> PR/47276: ftp has https support now
(i.e. now libcrypto and libssl are required in non-crunched installcd)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.15 2012/06/03 23:19:10 joerg Exp $
d39 1
@


1.16.8.1
log
@Rebase.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.18 2014/07/26 19:34:08 dholland Exp $
d8 1
a8 1
SYSINSTDIR!= cd ${.CURDIR}/../../../../usr.sbin/sysinst/arch/${MACHINE} && ${PRINTOBJDIR}
a38 1
CDRUNTIME+=	./usr/bin/vi
@


1.15
log
@Switch terminfo(3) to cdb(5).
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.14 2012/01/15 22:34:34 jmcneill Exp $
d51 4
@


1.15.2.1
log
@resync with head
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.15 2012/06/03 23:19:10 joerg Exp $
a50 4
.if (${MKCRYPTO} != "no")
CDRUNTIME+=	./usr/lib/libcrypto.so*
CDRUNTIME+=	./usr/lib/libssl.so*
.endif
@


1.15.2.2
log
@Rebase to HEAD as of a few days ago.
@
text
@d1 1
a1 1
#	$NetBSD$
d8 1
a8 1
SYSINSTDIR!= cd ${.CURDIR}/../../../../usr.sbin/sysinst/arch/${MACHINE} && ${PRINTOBJDIR}
a38 1
CDRUNTIME+=	./usr/bin/vi
@


1.14
log
@use ${CDIMAGE} instead of ${CDBASE}.iso
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.13 2011/06/22 14:05:38 martin Exp $
d59 1
a59 1
CDRUNTIME+=	./usr/share/misc/terminfo.db
@


1.14.2.1
log
@Pull up following revision(s) (requested by joerg in ticket #328):
	lib/libc/gen/devname.c: revision 1.22
	distrib/sparc64/instfs/dot.profile: revision 1.7
	distrib/i386/cdroms/install.sh: revision 1.3
	tests/lib/libcurses/director/director.c: revision 1.10
	lib/libc/include/reentrant.h: revision 1.15
	distrib/amd64/cdroms/install.sh: revision 1.3
	tests/include/t_paths.c: revision 1.12
	share/man/man7/hier.7: revision 1.101
	etc/rc.d/sysdb: revision 1.24
	include/stdlib.h: revision 1.99
	tests/lib/libcurses/Makefile: revision 1.3
	distrib/sparc64/cdroms/installcd/install.sh: revision 1.3
	distrib/i386/cdroms/Makefile.cdrom: revision 1.27
	lib/libc/gen/ttyname.c: revision 1.25
	usr.bin/tic/Makefile: revision 1.2
	tools/compat/Makefile: revision 1.57
	lib/libterminfo/compile.c: revision 1.7
	lib/libc/gen/ttyname.c: revision 1.26
	lib/libterminfo/compile.c: revision 1.8
	tools/compat/Makefile: revision 1.59
	tools/compat/cdbw.h: revision 1.1
	distrib/i386/installimage/install.sh: revision 1.2
	lib/libc/include/namespace.h: revision 1.154
	usr.bin/tic/tic.c: revision 1.13
	usr.bin/tic/tic.c: revision 1.14
	usr.bin/tic/tic.c: revision 1.15
	distrib/sets/lists/base/mi: revision 1.996
	usr.bin/tic/tic.c: revision 1.16
	usr.sbin/dev_mkdb/dev_mkdb.8: revision 1.13
	usr.bin/tic/tic.c: revision 1.17
	usr.bin/tic/tic.c: revision 1.18
	tools/compat/cdbr.h: revision 1.1
	distrib/sparc64/instfs/list: revision 1.25
	usr.bin/tic/tic.c: revision 1.19
	lib/libc/cdb/cdbw.c: revision 1.4
	lib/libc/cdb/cdbw.3: revision 1.4
	lib/libc/cdb/cdbw.3: revision 1.5
	share/terminfo/Makefile: revision 1.3
	usr.sbin/dev_mkdb/dev_mkdb.c: revision 1.29
	usr.sbin/dev_mkdb/Makefile: revision 1.8
	lib/libc/gen/ttyname.3: revision 1.23
	lib/libc/gen/ttyname.3: revision 1.24
	lib/libc/cdb/cdbr.c: revision 1.3
	include/cdbw.h: revision 1.2
	distrib/sparc64/cdroms/installcd/Makefile: revision 1.15
	lib/libc/gen/devname.3: revision 1.12
	tools/compat/compat_defs.h: revision 1.85
	tools/compat/compat_defs.h: revision 1.86
	lib/libterminfo/term_private.h: revision 1.10
	lib/libterminfo/term.c: revision 1.14
	usr.bin/tic/tic.1: revision 1.10
	lib/libterminfo/term.c: revision 1.15
	lib/libterminfo/Makefile.hash: revision 1.5
	lib/libterminfo/term.c: revision 1.16
	distrib/amd64/installimage/install.sh: revision 1.2
	share/man/man5/rc.conf.5: revision 1.152
	distrib/sets/lists/tests/mi: revision 1.472
	distrib/amd64/cdroms/Makefile.cdrom: revision 1.7
	include/paths.h: revision 1.41
	bin/ps/ps.1: revision 1.101
	lib/libterminfo/terminfo.5.in: revision 1.16
	usr.bin/tic/tic.c: revision 1.20
	lib/libterminfo/terminfo.5.in: revision 1.17
Prefer __printflike.
Use queue(3)
Replace linear lookup with hash table, reducing runtime by 60%.
Use e* from util.h.
One more strdup -> estrdup.
Maintain nalias and nterm on the fly.
Add void for ttyslot prototype.
Use memcmp in place of strncmp, since length is known to no longer than
either of the arguments.
Fix a number of memory leaks. Keep final loop of the cleanup in tic(1)
under #ifdef __VALGRIND__ though.
Add __predict_true / __predict_false definitions.
Add a special seeder for cdbw_output that gives stable results.
Hook up cdbw(3) for the tool build.
Prototype for cdbw_stable_seeder.
Provide a usable thr_once for !_REENTRANT
Switch device database to cdb(5). Rework ttyname(3) and ttyname_r(3) to
depend on new devname_r(3) as heart. Add /dev/pts magic directly to
devname(3). While it can lead to returning non-existing paths, the
behavior is more consistent that way. Drop caching layer in devname(3),
it doesn't buy anything for the common case of having access to the
database. Teach devname(3) proper fallback behavior of scanning /dev.
Create both old-style and new-style database for now in /etc/rc.d/sysdb.
Switch terminfo(3) to cdb(5).
Fix typos.
Make Alan Barrett happy and add ().
Add cdbr(3) support to tools/compat.
Bump date for previous.
Relax consistency to make it possible to match valid entries.
Prefix devname's buffer with /dev/ as ttyname is supposed to return the
full path. Reported by Dave Huang.
@
text
@d1 1
a1 1
#	$NetBSD$
d59 1
a59 1
CDRUNTIME+=	./usr/share/misc/terminfo.cdb
@


1.14.2.2
log
@Apply patches to fix pullup #997:

- ftp(1) now supports https, fix rescue and some cdrom sets.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.16 2012/12/22 17:51:19 tsutsui Exp $
a50 4
.if (${MKCRYPTO} != "no")
CDRUNTIME+=	./usr/lib/libcrypto.so*
CDRUNTIME+=	./usr/lib/libssl.so*
.endif
@


1.13
log
@Include liblzma to unbreak gzip on the install CD. (Hi Joerg!)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.12 2011/06/19 10:52:08 martin Exp $
d83 1
a83 1
		${CDBASE}.iso ${SUN_BOOT_ARGS}
@


1.13.2.1
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.13 2011/06/22 14:05:38 martin Exp $
d83 1
a83 1
		${CDIMAGE} ${SUN_BOOT_ARGS}
@


1.13.2.2
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.13.2.1 2012/04/17 00:02:48 yamt Exp $
d59 1
a59 1
CDRUNTIME+=	./usr/share/misc/terminfo.cdb
@


1.13.2.3
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.13.2.2 2012/10/30 18:48:51 yamt Exp $
a50 4
.if (${MKCRYPTO} != "no")
CDRUNTIME+=	./usr/lib/libcrypto.so*
CDRUNTIME+=	./usr/lib/libssl.so*
.endif
@


1.12
log
@Apply Joerg's changes to x86 CDs here alos:
  Include libgcc_s.so symlinks in /usr/lib, so that binaries in /usr
  linked against it actually work.

We realy should split this into MD and MI lists and share the MI one.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.11 2011/04/17 12:18:20 martin Exp $
d47 1
@


1.11
log
@On install CDs: make ^C and ^Z work (mostly) as they used to do on
crunched/ramdisk install media again.
Fixes the remaining parts of PR 44738.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.10 2011/03/20 09:04:53 martin Exp $
d44 1
@


1.11.2.1
log
@Catchup with rmind-uvmplock merge.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.12 2011/06/19 10:52:08 martin Exp $
a43 1
CDRUNTIME+=	./usr/lib/libgcc_s.so*
@


1.10
log
@Add /usr/bin/getopt, it is needed by /usr/mdec/binstall.
Noticed by Jaime Fournier.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.9 2011/01/14 10:26:36 tsutsui Exp $
d38 1
@


1.9
log
@Adjust file lists for recent move:
 usr/sbin/chown -> sbin/chown
 usr/bin/chgrp  -> bin/chgrp
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.8 2010/08/02 10:03:13 martin Exp $
d26 2
a29 1
CDRUNTIME+=	./usr/bin/gunzip
@


1.8
log
@Add /libdata/firmware and /usr/lib/libintl* to install CDROMs with
root on iso9660; fixes PR install/43692 and install/43693.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.7 2010/04/23 14:10:19 he Exp $
a50 1
CDRUNTIME+=	./usr/sbin/chown
@


1.7
log
@Um, as has been noted, INSTALL_FILE records what's installed if it's
done unprived, and that doesn't go down well on a re-build.  So use
${INSTALL} ${COPY} instead to fix this problem.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.6 2010/04/22 11:58:59 he Exp $
d19 1
d42 1
@


1.6
log
@Change use of ${CP} and ${CHMOD} to ${INSTALL_FILE}, so that if the
target is made un-writeable, the build won't bomb out during an
UPDATE build.  OK'ed by martin@@.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.5 2010/04/18 16:10:03 martin Exp $
d63 3
a65 3
	${INSTALL_FILE} ${.CURDIR}/etc.ttys cdrom/etc/ttys
	${INSTALL_FILE} ${.CURDIR}/etc.rc cdrom/etc/rc
	${INSTALL_FILE} -m 0555 ${.CURDIR}/install.sh cdrom/install.sh
d67 1
a67 1
	${INSTALL_FILE} -m 0555 ${SYSINSTDIR}/sysinst cdrom
d69 1
a69 1
		${INSTALL_FILE} $$f cdrom; \
@


1.5
log
@Ooops, do not try to create a symlink in a not-yet existing directory
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 2010/04/18 12:58:57 martin Exp $
d63 3
a65 4
	${CP} ${.CURDIR}/etc.ttys cdrom/etc/ttys
	${CP} ${.CURDIR}/etc.rc cdrom/etc/rc
	${CP} ${.CURDIR}/install.sh cdrom/install.sh
	${CHMOD} 0555 cdrom/install.sh
d67 4
a70 3
	${CP} ${SYSINSTDIR}/sysinst cdrom
	${CHMOD} ugo+rx cdrom/sysinst
	${CP} ${SYSINSTDIR}/sysinstmsgs.?? cdrom
@


1.4
log
@Change the install CD to go to full multiuser mode. This clearly
separates the setup done by /etc/rc once, and the repeated stuff
(install.sh invoking sysinst).
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3 2010/04/04 23:02:23 martin Exp $
d61 1
a62 1
	${MKDIR} cdrom/etc
@


1.3
log
@Cherry-pick the /libexec content for (non miniroot) CDs and add the sysinst
specific dhcpcd hook scripts
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2 2010/04/02 21:29:30 martin Exp $
d19 1
a19 4
CDRUNTIME+=	./libexec/ld.elf_so
CDRUNTIME+=	./libexec/lfs_cleanerd
CDRUNTIME+=	./libexec/dhcpcd-run-hooks
CDRUNTIME+=	./libexec/resolvconf/
d46 1
d58 1
a58 1
	${MKDIR} cdrom/libexec/dhcpcd-hooks
d61 1
d63 4
a66 1
	${CP} ${.CURDIR}/dot.profile cdrom/etc/rc
@


1.2
log
@Move install CDs over to / on cd9660 (instead of a memory disk image)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1 2007/03/06 21:57:24 bouyer Exp $
d19 4
a22 1
CDRUNTIME+=	./libexec
d60 3
a64 3
	${ECHO} "" >> cdrom/etc/rc
	${ECHO} "# exit to single user mode" >> cdrom/etc/rc
	${ECHO} "exit 1" >> cdrom/etc/rc
@


1.1
log
@Add an iso_image target (iso-image as a target name doesn't play well with
bsd.subdirs.mk) in distrib/makefile, which builds an iso image for $MACHINE
with binary sets, stored in ${RELEASEDIR}/iso. The image is bootable for:
alpha, amd64, cats, i386, pmax, sgimips, sparc, sparc64, sun3, vax.
mac68k/macppc no there yet because of missing feature in makefs.

call iso_image in distrib/ for iso-image in the top Makefile.
@
text
@d1 1
a1 1
#	$NetBSD: $
d8 3
d14 56
@


1.1.30.1
log
@Pullup follwing revisions to fix build break of ticket 1931 on some archs:

distrib/alpha/cdroms/installcd/Makefile		1.2
distrib/pmax/cdroms/installcd/Makefile		1.2
distrib/prep/cdroms/installcd/Makefile		1.3
distrib/sgimips/cdroms/installcd/Makefile	1.2
distrib/sparc/cdroms/installcd/Makefile		1.2
distrib/sparc64/cdroms/installcd/Makefile	1.14
distrib/sun3/cdroms/installcd/Makefile		1.2
distrib/vax/cdroms/installcd/Makefile		1.2

Use ${CDIMAGE} instead of ${CDBASE}.iso.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1 2007/03/06 21:57:24 bouyer Exp $
d14 1
a14 1
		${CDIMAGE} ${SUN_BOOT_ARGS}
@


1.1.34.1
log
@Pullup follwing revisions to fix build break of ticket 1931 on some archs.

distrib/alpha/cdroms/installcd/Makefile		1.2
distrib/pmax/cdroms/installcd/Makefile		1.2
distrib/prep/cdroms/installcd/Makefile		1.3
distrib/sgimips/cdroms/installcd/Makefile	1.2
distrib/sparc/cdroms/installcd/Makefile		1.2
distrib/sparc64/cdroms/installcd/Makefile	1.14
distrib/sun3/cdroms/installcd/Makefile		1.2
distrib/vax/cdroms/installcd/Makefile		1.2

Use ${CDIMAGE} instead of ${CDBASE}.iso.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1 2007/03/06 21:57:24 bouyer Exp $
d14 1
a14 1
		${CDIMAGE} ${SUN_BOOT_ARGS}
@


1.1.22.1
log
@Pullup follwoing revisons to fix build break of ticket 1931 on some archs:

distrib/alpha/cdroms/installcd/Makefile		1.2
distrib/pmax/cdroms/installcd/Makefile		1.2
distrib/prep/cdroms/installcd/Makefile		1.3
distrib/sgimips/cdroms/installcd/Makefile	1.2
distrib/sparc/cdroms/installcd/Makefile		1.2
distrib/sparc64/cdroms/installcd/Makefile	1.14
distrib/sun3/cdroms/installcd/Makefile		1.2
distrib/vax/cdroms/installcd/Makefile		1.2

Use ${CDIMAGE} instead of ${CDBASE}.iso.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1 2007/03/06 21:57:24 bouyer Exp $
d14 1
a14 1
		${CDIMAGE} ${SUN_BOOT_ARGS}
@


1.1.2.1
log
@file Makefile was added on branch netbsd-4 on 2007-03-09 06:59:27 +0000
@
text
@d1 17
@


1.1.2.2
log
@Pull up following revision(s) (requested by bouyer in ticket #494):
	sys/arch/i386/conf/GENERIC.MP: revision 1.9
	distrib/pc532/cdroms/installcd/Makefile: revision 1.1
	distrib/macppc/Makefile: revision 1.15
	distrib/ofppc/Makefile: revision 1.2
	distrib/ibmnws/Makefile: revision 1.2
	distrib/acorn32/Makefile: revision 1.18
	distrib/x68k/cdroms/installcd/Makefile: revision 1.1
	distrib/sparc/Makefile: revision 1.7
	distrib/sparc64/cdroms/Makefile: revision 1.1
	distrib/hp300/cdroms/Makefile: revision 1.1
	distrib/hpcsh/Makefile: revision 1.6
	distrib/ofppc/cdroms/installcd/Makefile: revision 1.1
	distrib/playstation2/Makefile: revision 1.13
	distrib/news68k/cdroms/installcd/Makefile: revision 1.1
	distrib/amiga/cdroms/installcd/Makefile: revision 1.1
	distrib/hp700/cdroms/installcd/Makefile: revision 1.1
	distrib/playstation2/cdroms/Makefile: revision 1.1
	distrib/amiga/cdroms/Makefile: revision 1.1
	etc/etc.mac68k/Makefile.inc: revision 1.18
	distrib/shark/cdroms/installcd/Makefile: revision 1.1
	distrib/hpcmips/Makefile: revision 1.28
	distrib/hpcmips/cdroms/Makefile: revision 1.1
	distrib/amd64/floppies/Makefile: revision 1.3
	sys/arch/amd64/conf/INSTALL_ACPI: file removal
	distrib/i386/cdroms/Makefile: revision 1.4
	distrib/acorn26/cdroms/installcd/Makefile: revision 1.1
	distrib/hpcsh/cdroms/Makefile: revision 1.1
	distrib/prep/cdroms/Makefile: revision 1.1
	distrib/pc532/Makefile: revision 1.4
	distrib/acorn32/cdroms/installcd/Makefile: revision 1.1
	distrib/sun2/Makefile: revision 1.8
	distrib/vax/Makefile: revision 1.17
	distrib/sparc64/cdroms/installcd/Makefile: revision 1.1
	distrib/pmax/cdroms/Makefile: revision 1.1
	distrib/mipsco/cdroms/installcd/Makefile: revision 1.1
	distrib/sun3/cdroms/installcd/Makefile: revision 1.1
	distrib/vax/cdroms/installcd/Makefile: revision 1.1
	distrib/hpcarm/cdroms/installcd/Makefile: revision 1.1
	distrib/mvme68k/Makefile: revision 1.4
	distrib/mvmeppc/cdroms/Makefile: revision 1.1
	distrib/newsmips/Makefile: revision 1.4
	sys/arch/i386/conf/GENERIC.MPACPI: file removal
	distrib/hpcarm/cdroms/Makefile: revision 1.1
	distrib/evbppc/cdroms/Makefile: revision 1.1
	sys/arch/i386/conf/INSTALL_LARGE: revision 1.1
	distrib/i386/cdroms/installcd/Makefile: revision 1.2
	distrib/i386/cdroms/installcd/Makefile: revision 1.3
	doc/CHANGES: revision 1.804
	distrib/hpcsh/cdroms/installcd/Makefile: revision 1.1
	distrib/i386/cdroms/bootcd/Makefile: revision 1.2
	distrib/mvmeppc/cdroms/installcd/Makefile: revision 1.1
	distrib/i386/cdroms/bootcd/Makefile: revision 1.3
	distrib/evbarm/Makefile: revision 1.8
	distrib/mvmeppc/Makefile: revision 1.3
	distrib/i386/cdroms/bootcd-com/Makefile: revision 1.2
	distrib/i386/cdroms/bootcd-com/Makefile: revision 1.3
	distrib/macppc/cdroms/installcd/Makefile: revision 1.1
	distrib/acorn26/cdroms/Makefile: revision 1.1
	distrib/alpha/cdroms/Makefile: revision 1.1
	distrib/hp300/cdroms/installcd/Makefile: revision 1.1
	distrib/amd64/floppies/bootfloppy/Makefile: revision 1.4
	distrib/pmppc/cdroms/installcd/Makefile: revision 1.1
	distrib/hp700/Makefile: revision 1.2
	distrib/pmppc/Makefile: revision 1.2
	distrib/arc/cdroms/Makefile: revision 1.1
	sys/arch/amd64/conf/INSTALL: revision 1.66
	distrib/sun3/cdroms/Makefile: revision 1.1
	distrib/mipsco/Makefile: revision 1.4
	distrib/sun3/Makefile: revision 1.9
	distrib/vax/cdroms/Makefile: revision 1.1
	distrib/pmppc/cdroms/Makefile: revision 1.1
	distrib/amd64/cdroms/Makefile.cdrom: revision 1.1
	distrib/atari/cdroms/installcd/Makefile: revision 1.1
	distrib/evbppc/cdroms/installcd/Makefile: revision 1.1
	distrib/newsmips/cdroms/installcd/Makefile: revision 1.1
	distrib/pmax/Makefile: revision 1.4
	Makefile: revision 1.247
	distrib/cats/cdroms/installcd/Makefile: revision 1.1
	sys/arch/amd64/conf/GENERIC: revision 1.130
	sys/arch/amd64/conf/GENERIC: revision 1.131
	distrib/sgimips/cdroms/installcd/Makefile: revision 1.1
	distrib/hp700/cdroms/Makefile: revision 1.1
	distrib/cats/cdroms/Makefile: revision 1.1
	distrib/evbmips/Makefile: revision 1.3
	distrib/evbmips/Makefile: revision 1.4
	sys/arch/amd64/conf/GENERIC_ACPI: file removal
	distrib/ews4800mips/Makefile: revision 1.2
	distrib/amd64/cdroms/bootcd-com/Makefile: revision 1.2
	distrib/i386/Makefile: revision 1.5
	distrib/amd64/cdroms/installcd/Makefile: revision 1.2
	distrib/mvme68k/cdroms/installcd/Makefile: revision 1.1
	distrib/alpha/cdroms/installcd/Makefile: revision 1.1
	etc/etc.amd64/Makefile.inc: revision 1.7
	distrib/i386/instkernel/Makefile: revision 1.6
	distrib/x68k/cdroms/Makefile: revision 1.1
	distrib/i386/cdroms/Makefile.cdrom: revision 1.1
	distrib/sandpoint/Makefile: revision 1.4
	distrib/i386/cdroms/Makefile.cdrom: revision 1.2
	distrib/amiga/Makefile: revision 1.3
	distrib/amd64/cdroms/bootcd/Makefile: revision 1.2
	distrib/news68k/Makefile: revision 1.4
	distrib/amd64/floppies/bootfloppy-com/Makefile: revision 1.5
	distrib/news68k/cdroms/Makefile: revision 1.1
	distrib/sparc/cdroms/Makefile: revision 1.1
	distrib/shark/cdroms/Makefile: revision 1.1
	etc/Makefile: revision 1.341
	distrib/amd64/instkernel/Makefile: revision 1.2
	distrib/sparc64/Makefile: revision 1.7
	distrib/dreamcast/cdroms/Makefile: revision 1.1
	distrib/shark/Makefile: revision 1.3
	distrib/ews4800mips/cdroms/Makefile: revision 1.1
	distrib/sun2/cdroms/installcd/Makefile: revision 1.1
	distrib/shark/Makefile: revision 1.4
	distrib/macppc/cdroms/Makefile: revision 1.1
	distrib/mvme68k/cdroms/Makefile: revision 1.1
	distrib/sun2/cdroms/Makefile: revision 1.1
	distrib/hpcarm/Makefile: revision 1.3
	distrib/arc/cdroms/installcd/Makefile: revision 1.1
	distrib/hpcmips/cdroms/installcd/Makefile: revision 1.1
	distrib/mipsco/cdroms/Makefile: revision 1.1
	distrib/Makefile.inc: revision 1.9
	distrib/playstation2/cdroms/installcd/Makefile: revision 1.1
	distrib/ibmnws/cdroms/installcd/Makefile: revision 1.1
	distrib/newsmips/cdroms/Makefile: revision 1.1
	distrib/arc/Makefile: revision 1.3
	distrib/sparc/cdroms/installcd/Makefile: revision 1.1
	distrib/evbmips/cdroms/installcd/Makefile: revision 1.1
	distrib/ews4800mips/cdroms/installcd/Makefile: revision 1.1
	distrib/prep/Makefile: revision 1.3
	distrib/ibmnws/cdroms/Makefile: revision 1.1
	distrib/sandpoint/cdroms/Makefile: revision 1.1
	distrib/atari/Makefile: revision 1.6
	distrib/sgimips/cdroms/Makefile: revision 1.1
	distrib/amd64/Makefile: revision 1.4
	distrib/atari/cdroms/Makefile: revision 1.1
	distrib/x68k/Makefile: revision 1.5
	distrib/x68k/Makefile: revision 1.6
	distrib/sandpoint/cdroms/installcd/Makefile: revision 1.1
	distrib/evbarm/cdroms/Makefile: revision 1.1
	distrib/acorn32/cdroms/Makefile: revision 1.1
	distrib/cats/Makefile: revision 1.3
	distrib/evbmips/cdroms/Makefile: revision 1.1
	distrib/pc532/cdroms/Makefile: revision 1.1
	distrib/Makefile: revision 1.14
	distrib/evbarm/cdroms/installcd/Makefile: revision 1.1
	distrib/ofppc/cdroms/Makefile: revision 1.1
	distrib/amd64/cdroms/Makefile: revision 1.3
	distrib/common/Makefile.bootcd: revision 1.8
	distrib/i386/cdroms/bootcd-laptop/Makefile: file removal
	sys/arch/i386/conf/GENERIC: revision 1.813
	distrib/hp300/Makefile: revision 1.17
	sys/arch/i386/conf/GENERIC: revision 1.814
	distrib/evbppc/Makefile: revision 1.2
	distrib/pmax/cdroms/installcd/Makefile: revision 1.1
	etc/etc.i386/Makefile.inc: revision 1.49
	distrib/sgimips/Makefile: revision 1.2
	distrib/prep/cdroms/installcd/Makefile: revision 1.1
	distrib/acorn26/Makefile: revision 1.4
	distrib/dreamcast/cdroms/installcd/Makefile: revision 1.1
	distrib/alpha/Makefile: revision 1.22
	distrib/dreamcast/Makefile: revision 1.2
Improve the use of makefs to build boot CDs, and make it truely MI:
- allow to specify the "instkernel" directory, and allow to put multiple
  kernels on the image
- allow to specify the directory where the image will be created
- only use bootxx_cd9660 if it exists
- search for second-stage boot as usr/mdec/boot.${MACHINE} in addition to
  usr/mdec/boot
- make 'installboot -e' optional
- use target 'release' or 'iso_image' depending on ${CDRELEASE}
- call some MD targets, which will eventually complete the file list or
  make the image bootable
For the benefit of modern hardware, enable ACPI by default in INSTALL and
GENERIC kernels. If ACPI is an issue on your hardware, 'boot -c' and
'disable acpi' should be a workaround. ACPI-enabled kernels works fine
on pre-acpi hardware.
for amd64:
- add ACPI to INSTALL and GENERIC, remove the *_ACPI config files.
- get rid of the bootfloppy-big.fs boot image, and got to a 3-floppy boot
  image
for i386:
- introduce INSTALL_LARGE which has ACPI and some devices with big firmware
- move some devices from INSTALL to INSTALL_LARGE
- Boot floppies still use INSTALL, and bootfloppy-big.fs is still there
  (for thoses who want to build el-torito floppy emulation boot CD) and use
  INSTALL.
For both, drop the 'iso-image' code in etc/ to make the iso bootable, we'll
use something else to build bootable CDs.
Add an iso_image target (iso-image as a target name doesn't play well with
bsd.subdirs.mk) in distrib/makefile, which builds an iso image for $MACHINE
with binary sets, stored in ${RELEASEDIR}/iso. The image is bootable for:
alpha, amd64, cats, i386, pmax, sgimips, sparc, sparc64, sun3, vax.
mac68k/macppc no there yet because of missing feature in makefs.
call iso_image in distrib/ for iso-image in the top Makefile.
Use the new common/Makefile.bootcd to make i386 and amd64 bootable ISO
images. amd64 gets a single kernel; i386 images gets 3 kernels:
- netbsd, copy from netbsd-INSTALL_LARGE.gz, loaded by default
- nbsd-l, copy from netbsd-INSTALL_LAPTOP.gz
- nbsd-i, copy from netbsd-INSTALL.gz for those who want the traditionnal
  non-ACPI kernel
- drop the bootcd-laptop image
both gets an installcd image, which is the same as bootcd but with the
binary sets in addition to kernels.
Make iso-image do nothing for all but mac68k, which still
relies on mkisofs to create bootable ISO image. macppc should also be there,
but it seems the code to make an iso bootable never got added in etc.macppc/
Fix typo in subdir name.
Revert local changes that went in accidentally with the "add ACPI" commit.
Note ACPI by default in i386/amd64, and the iso-image changes.
Fix SUBDIR in previous
Remove duplicate ACPIVERBOSE and ACPI_SCANPCI; pointed out by Nicolas Joly.
Correct typo: the directory is named cdroms, not cdrom.
Use nblaptop and nbnoacpi for the alternative kernel names; as suggected by
Alan Barrett. While there factor out the kernels in Makefile.cdrom.
@
text
@a0 17
#	$NetBSD: Makefile,v 1.1.2.1 2007/03/09 06:59:27 riz Exp $
CDBASE=		sparc64cd		# gives ${CDBASE}.iso
CDRELEASE=	true			# include $RELEASEDIR/$MACHINE

# for PRINTOBJDIR
.include <bsd.own.mk>

CDBOOTIMAGEDIR!= cd ${NETBSDSRCDIR}/distrib/sparc64/bootfs && ${PRINTOBJDIR}
CDBOOTIMAGE=    ${CDBOOTIMAGEDIR}/boot.fs
SUN_BOOT_ARGS:=  - - - - ${CDBOOTIMAGE}
image_md_post:
	SUNLABEL=${TOOL_SUNLABEL:Q} \
		${HOST_SH} ${NETBSDSRCDIR}/distrib/common/sunbootcd.sh \
		${CDBASE}.iso ${SUN_BOOT_ARGS}
	

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


1.1.14.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1 2007/03/06 21:57:24 bouyer Exp $
@
