head	1.22;
access;
symbols
	netbsd-11-0-RC4:1.22
	netbsd-11-0-RC3:1.22
	netbsd-11-0-RC2:1.22
	netbsd-11-0-RC1:1.22
	perseant-exfatfs-base-20250801:1.22
	netbsd-11:1.22.0.6
	netbsd-11-base:1.22
	netbsd-10-1-RELEASE:1.22
	perseant-exfatfs-base-20240630:1.22
	perseant-exfatfs:1.22.0.4
	perseant-exfatfs-base:1.22
	netbsd-8-3-RELEASE:1.10
	netbsd-9-4-RELEASE:1.15
	netbsd-10-0-RELEASE:1.22
	netbsd-10-0-RC6:1.22
	netbsd-10-0-RC5:1.22
	netbsd-10-0-RC4:1.22
	netbsd-10-0-RC3:1.22
	netbsd-10-0-RC2:1.22
	netbsd-10-0-RC1:1.22
	netbsd-10:1.22.0.2
	netbsd-10-base:1.22
	netbsd-9-3-RELEASE:1.15
	cjep_sun2x-base1:1.21
	cjep_sun2x:1.21.0.2
	cjep_sun2x-base:1.21
	cjep_staticlib_x-base1:1.21
	netbsd-9-2-RELEASE:1.15
	cjep_staticlib_x:1.19.0.2
	cjep_staticlib_x-base:1.19
	netbsd-9-1-RELEASE:1.15
	phil-wifi-20200421:1.16
	phil-wifi-20200411:1.16
	is-mlppp:1.16.0.2
	is-mlppp-base:1.16
	phil-wifi-20200406:1.16
	netbsd-8-2-RELEASE:1.10
	netbsd-9-0-RELEASE:1.15
	netbsd-9-0-RC2:1.15
	netbsd-9-0-RC1:1.15
	phil-wifi-20191119:1.15
	netbsd-9:1.15.0.2
	netbsd-9-base:1.15
	phil-wifi-20190609:1.15
	netbsd-8-1-RELEASE:1.10
	netbsd-8-1-RC1:1.10
	pgoyette-compat-merge-20190127:1.11.2.2
	pgoyette-compat-20190127:1.13
	pgoyette-compat-20190118:1.13
	pgoyette-compat-1226:1.13
	pgoyette-compat-1126:1.12
	pgoyette-compat-1020:1.11
	pgoyette-compat-0930:1.11
	pgoyette-compat-0906:1.11
	netbsd-7-2-RELEASE:1.4.2.3
	pgoyette-compat-0728:1.11
	netbsd-8-0-RELEASE:1.10
	phil-wifi:1.11.0.4
	phil-wifi-base:1.11
	pgoyette-compat-0625:1.11
	netbsd-8-0-RC2:1.10
	pgoyette-compat-0521:1.11
	pgoyette-compat-0502:1.11
	pgoyette-compat-0422:1.11
	netbsd-8-0-RC1:1.10
	pgoyette-compat-0415:1.11
	pgoyette-compat-0407:1.11
	pgoyette-compat-0330:1.11
	pgoyette-compat-0322:1.11
	pgoyette-compat-0315:1.11
	netbsd-7-1-2-RELEASE:1.4.2.3
	pgoyette-compat:1.11.0.2
	pgoyette-compat-base:1.11
	netbsd-7-1-1-RELEASE:1.4.2.3
	matt-nb8-mediatek:1.10.0.6
	matt-nb8-mediatek-base:1.10
	perseant-stdc-iso10646:1.10.0.4
	perseant-stdc-iso10646-base:1.10
	netbsd-8:1.10.0.2
	netbsd-8-base:1.10
	prg-localcount2-base3:1.9
	prg-localcount2-base2:1.9
	prg-localcount2-base1:1.9
	prg-localcount2:1.9.0.6
	prg-localcount2-base:1.9
	pgoyette-localcount-20170426:1.9
	bouyer-socketcan-base1:1.9
	pgoyette-localcount-20170320:1.9
	netbsd-7-1:1.4.2.3.0.6
	netbsd-7-1-RELEASE:1.4.2.3
	netbsd-7-1-RC2:1.4.2.3
	netbsd-7-nhusb-base-20170116:1.4.2.3
	bouyer-socketcan:1.9.0.4
	bouyer-socketcan-base:1.9
	pgoyette-localcount-20170107:1.9
	netbsd-7-1-RC1:1.4.2.3
	pgoyette-localcount-20161104:1.9
	netbsd-7-0-2-RELEASE:1.4.2.3
	localcount-20160914:1.9
	netbsd-7-nhusb:1.4.2.3.0.4
	netbsd-7-nhusb-base:1.4.2.3
	pgoyette-localcount-20160806:1.9
	pgoyette-localcount-20160726:1.9
	pgoyette-localcount:1.9.0.2
	pgoyette-localcount-base:1.9
	netbsd-7-0-1-RELEASE:1.4.2.3
	netbsd-7-0:1.4.2.3.0.2
	netbsd-7-0-RELEASE:1.4.2.3
	netbsd-7-0-RC3:1.4.2.3
	netbsd-7-0-RC2:1.4.2.3
	netbsd-7-0-RC1:1.4.2.3
	netbsd-6-0-6-RELEASE:1.1.2.1
	netbsd-6-1-5-RELEASE:1.1.2.1
	netbsd-7:1.4.0.2
	netbsd-7-base:1.4
	yamt-pagecache-base9:1.3
	yamt-pagecache-tag8:1.1.4.4
	netbsd-6-1-4-RELEASE:1.1.2.1
	netbsd-6-0-5-RELEASE:1.1.2.1
	tls-earlyentropy:1.3.0.8
	tls-earlyentropy-base:1.4
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.3
	riastradh-drm2-base3:1.3
	netbsd-6-1-3-RELEASE:1.1.2.1
	netbsd-6-0-4-RELEASE:1.1.2.1
	netbsd-6-1-2-RELEASE:1.1.2.1
	netbsd-6-0-3-RELEASE:1.1.2.1
	netbsd-6-1-1-RELEASE:1.1.2.1
	riastradh-drm2-base2:1.3
	riastradh-drm2-base1:1.3
	riastradh-drm2:1.3.0.2
	riastradh-drm2-base:1.3
	netbsd-6-1:1.1.2.1.0.6
	netbsd-6-0-2-RELEASE:1.1.2.1
	netbsd-6-1-RELEASE:1.1.2.1
	khorben-n900:1.3.0.6
	netbsd-6-1-RC4:1.1.2.1
	netbsd-6-1-RC3:1.1.2.1
	agc-symver:1.3.0.4
	agc-symver-base:1.3
	netbsd-6-1-RC2:1.1.2.1
	netbsd-6-1-RC1:1.1.2.1
	yamt-pagecache-base8:1.3
	netbsd-6-0-1-RELEASE:1.1.2.1
	yamt-pagecache-base7:1.3
	matt-nb6-plus-nbase:1.1.2.1
	yamt-pagecache-base6:1.2
	netbsd-6-0:1.1.2.1.0.4
	netbsd-6-0-RELEASE:1.1.2.1
	netbsd-6-0-RC2:1.1.2.1
	tls-maxphys:1.2.0.2
	tls-maxphys-base:1.4
	matt-nb6-plus:1.1.2.1.0.2
	matt-nb6-plus-base:1.1.2.1
	netbsd-6-0-RC1:1.1.2.1
	yamt-pagecache-base5:1.1
	yamt-pagecache:1.1.0.4
	yamt-pagecache-base4:1.1
	netbsd-6:1.1.0.2
	netbsd-6-base:1.1;
locks; strict;
comment	@# @;


1.22
date	2021.12.31.16.43.04;	author christos;	state Exp;
branches;
next	1.21;
commitid	F5YO9ceQaJtU4PmD;

1.21
date	2021.05.31.07.59.02;	author martin;	state Exp;
branches;
next	1.20;
commitid	ecfrZTzlz7WC3hVC;

1.20
date	2021.05.30.09.54.56;	author martin;	state Exp;
branches;
next	1.19;
commitid	Z894VMzz1g4qJ9VC;

1.19
date	2020.05.06.09.18.10;	author bouyer;	state Exp;
branches
	1.19.2.1;
next	1.18;
commitid	nGcR5grtvxvX1a7C;

1.18
date	2020.05.05.16.04.07;	author christos;	state Exp;
branches;
next	1.17;
commitid	E0pRcA29F5lgj47C;

1.17
date	2020.05.03.13.29.04;	author christos;	state Exp;
branches;
next	1.16;
commitid	fYwioQ7ebwZ1wN6C;

1.16
date	2020.01.25.19.09.38;	author christos;	state Exp;
branches;
next	1.15;
commitid	LPvzypGmixUcA6UB;

1.15
date	2019.05.14.15.41.23;	author christos;	state Exp;
branches;
next	1.14;
commitid	t188QECOt0CVEbnB;

1.14
date	2019.04.07.05.29.00;	author rin;	state Exp;
branches;
next	1.13;
commitid	MMfScIQuvKvtsniB;

1.13
date	2018.12.15.18.03.17;	author gson;	state Exp;
branches;
next	1.12;
commitid	VnJTdkyNfhz4gV3B;

1.12
date	2018.10.30.20.18.30;	author christos;	state Exp;
branches;
next	1.11;
commitid	9NHS53z16gqBu1YA;

1.11
date	2017.09.18.14.42.16;	author joerg;	state Exp;
branches
	1.11.2.1
	1.11.4.1;
next	1.10;
commitid	brv8WIkmW9xbIG7A;

1.10
date	2017.05.19.15.16.12;	author christos;	state Exp;
branches;
next	1.9;
commitid	lsEaq80JIM57P0Sz;

1.9
date	2016.02.20.16.40.15;	author christos;	state Exp;
branches;
next	1.8;
commitid	1GzN4Azrp2YLSFVy;

1.8
date	2016.02.01.21.24.33;	author christos;	state Exp;
branches;
next	1.7;
commitid	wkhAW1SAJxKa4gTy;

1.7
date	2015.03.09.18.12.47;	author christos;	state Exp;
branches;
next	1.6;
commitid	XXklPXesXIzZzXcy;

1.6
date	2014.11.15.12.33.04;	author uebayasi;	state Exp;
branches;
next	1.5;
commitid	4bUB3CVaLX6ImhYx;

1.5
date	2014.09.13.10.18.24;	author roy;	state Exp;
branches;
next	1.4;
commitid	f15GxbA0HcS3EaQx;

1.4
date	2014.07.26.19.34.08;	author dholland;	state Exp;
branches
	1.4.2.1;
next	1.3;
commitid	090ROJy6lzpliVJx;

1.3
date	2012.11.03.14.25.33;	author tsutsui;	state Exp;
branches
	1.3.8.1;
next	1.2;

1.2
date	2012.08.17.16.56.35;	author riz;	state Exp;
branches
	1.2.2.1;
next	1.1;

1.1
date	2012.01.22.03.53.30;	author tsutsui;	state Exp;
branches
	1.1.2.1
	1.1.4.1;
next	;

1.19.2.1
date	2021.05.31.22.06.52;	author cjep;	state Exp;
branches;
next	;
commitid	eWz9SBW0XqKjJlVC;

1.11.2.1
date	2018.11.26.01.49.56;	author pgoyette;	state Exp;
branches;
next	1.11.2.2;
commitid	Zj4q5SspGdKXto1B;

1.11.2.2
date	2018.12.26.14.01.11;	author pgoyette;	state Exp;
branches;
next	;
commitid	xUhK8IAeBM1azj5B;

1.11.4.1
date	2019.06.10.21.42.23;	author christos;	state Exp;
branches;
next	1.11.4.2;
commitid	jtc8rnCzWiEEHGqB;

1.11.4.2
date	2020.04.08.14.03.46;	author martin;	state Exp;
branches;
next	;
commitid	Qli2aW9E74UFuA3C;

1.4.2.1
date	2015.02.03.08.05.50;	author bouyer;	state Exp;
branches;
next	1.4.2.2;
commitid	RKVWKMN4vJnBjx8y;

1.4.2.2
date	2015.03.12.19.06.22;	author snj;	state Exp;
branches;
next	1.4.2.3;
commitid	jwz4jUUu8CHqMldy;

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

1.3.8.1
date	2014.08.10.06.48.09;	author tls;	state Exp;
branches;
next	;
commitid	ecTB4i27LKgHzMLx;

1.2.2.1
date	2012.11.20.02.57.42;	author tls;	state Exp;
branches;
next	1.2.2.2;

1.2.2.2
date	2014.08.19.23.45.40;	author tls;	state Exp;
branches;
next	;
commitid	jTnpym9Qu0o4R1Nx;

1.1.2.1
date	2012.08.17.20.50.51;	author martin;	state Exp;
branches;
next	;

1.1.4.1
date	2012.01.22.03.53.30;	author yamt;	state dead;
branches;
next	1.1.4.2;

1.1.4.2
date	2012.04.17.00.02.34;	author yamt;	state Exp;
branches;
next	1.1.4.3;

1.1.4.3
date	2012.10.30.18.48.32;	author yamt;	state Exp;
branches;
next	1.1.4.4;

1.1.4.4
date	2013.01.16.05.26.01;	author yamt;	state Exp;
branches;
next	;


desc
@@


1.22
log
@Grow to fit debug kernels
@
text
@#	$NetBSD: Makefile,v 1.21 2021/05/31 07:59:02 martin Exp $

.include <bsd.own.mk>

INSTIMGBASE=	NetBSD-${DISTRIBVER}-i386-install	# gives ${IMGBASE}.img

INSTIMAGEMB?=	3000			# for all installation binaries

PRIMARY_BOOT=		bootxx_ffsv1
SECONDARY_BOOT=		boot
SECONDARY_BOOT_ARG=	# unnecessary

USE_MBR=		yes

CLEANFILES+=	boot.cfg

prepare_md_post:
	${TOOL_SED}							\
	    -e "s/@@@@MACHINE@@@@/${MACHINE}/"				\
	    -e "s/@@@@VERSION@@@@/${DISTRIBVER}/"				\
	    < ${.CURDIR}/boot.cfg.in > boot.cfg

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

SPEC_EXTRA=		${.CURDIR}/spec.inst
IMGFILE_EXTRA=								\
	${.CURDIR}/etc.ttys		etc/ttys			\
	${.CURDIR}/etc.rc		etc/rc				\
	${.CURDIR}/install.sh		.				\
	${.OBJDIR}/boot.cfg		.				\
	${SYSINSTDIR}/sysinstmsgs.de	.				\
	${SYSINSTDIR}/sysinstmsgs.es	.				\
	${SYSINSTDIR}/sysinstmsgs.fr	.				\
	${SYSINSTDIR}/sysinstmsgs.pl	.				\
	${SYSINSTDIR}/sysinst		.

.include "${DISTRIBDIR}/common/bootimage/Makefile.installimage"
@


1.21
log
@bump slightly harder
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.20 2021/05/30 09:54:56 martin Exp $
d7 1
a7 1
INSTIMAGEMB?=	2100			# for all installation binaries
@


1.20
log
@Bump image size slightly (for gcc 10)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.19 2020/05/06 09:18:10 bouyer Exp $
d7 1
a7 1
INSTIMAGEMB?=	2000			# for all installation binaries
@


1.19
log
@Bump INSTIMAGEMB, hopefully fix releng autobuilds
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.18 2020/05/05 16:04:07 christos Exp $
d7 1
a7 1
INSTIMAGEMB?=	1900			# for all installation binaries
@


1.19.2.1
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.21 2021/05/31 07:59:02 martin Exp $
d7 1
a7 1
INSTIMAGEMB?=	2100			# for all installation binaries
@


1.18
log
@A tiny little more.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.17 2020/05/03 13:29:04 christos Exp $
d7 1
a7 1
INSTIMAGEMB?=	1871			# for all installation binaries
@


1.17
log
@bump caused by the module debug sets
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.16 2020/01/25 19:09:38 christos Exp $
d7 1
a7 1
INSTIMAGEMB?=	1870			# for all installation binaries
@


1.16
log
@grow for clang
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.15 2019/05/14 15:41:23 christos Exp $
d7 1
a7 1
INSTIMAGEMB?=	1790			# for all installation binaries
@


1.15
log
@clang binaries are so much bigger.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.14 2019/04/07 05:29:00 rin Exp $
d7 1
a7 1
INSTIMAGEMB?=	1750			# for all installation binaries
@


1.14
log
@Bump for recent Mesa update.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.13 2018/12/15 18:03:17 gson Exp $
d7 1
a7 1
INSTIMAGEMB?=	1600			# for all installation binaries
@


1.13
log
@Use the special device name "ROOT." in /etc/fstab not just on the arm
images, but also on the bootable disk images of other ports, so that
they can be booted from differently named devices.  Merge the i386 and
amd64 -live-sd0root and -live-wd0root images into a single live image
per port, bootable both from usb media and in qemu.  Drop the -xx0root
suffixes from image names as they are no longer meaningful.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.12 2018/10/30 20:18:30 christos Exp $
d7 1
a7 1
INSTIMAGEMB?=	1450			# for all installation binaries
@


1.12
log
@bump for clang
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.11 2017/09/18 14:42:16 joerg Exp $
a6 1
BOOTDISK=	sd0			# for USB flash etc.
@


1.11
log
@Bump install image sizes. Clang alone adds 100MB+ for a full debug build
and that pushes the full MKDEBUG build over the constraints.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.10 2017/05/19 15:16:12 christos Exp $
d8 1
a8 1
INSTIMAGEMB?=	1400			# for all installation binaries
@


1.11.4.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.15 2019/05/14 15:41:23 christos Exp $
d7 2
a8 1
INSTIMAGEMB?=	1750			# for all installation binaries
@


1.11.4.2
log
@Merge changes from current as of 20200406
@
text
@d1 1
a1 1
#	$NetBSD$
d7 1
a7 1
INSTIMAGEMB?=	1790			# for all installation binaries
@


1.11.2.1
log
@Sync with HEAD, resolve a couple of conflicts
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.12 2018/10/30 20:18:30 christos Exp $
d8 1
a8 1
INSTIMAGEMB?=	1450			# for all installation binaries
@


1.11.2.2
log
@Sync with HEAD, resolve a few conflicts
@
text
@d1 1
a1 1
#	$NetBSD$
d7 1
@


1.10
log
@Bump a little to handle clang images.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.9 2016/02/20 16:40:15 christos Exp $
d8 1
a8 1
INSTIMAGEMB?=	1300			# for all installation binaries
@


1.9
log
@bump more.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.8 2016/02/01 21:24:33 christos Exp $
d8 1
a8 1
INSTIMAGEMB?=	1200			# for all installation binaries
@


1.8
log
@bump image size
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.7 2015/03/09 18:12:47 christos Exp $
d8 1
a8 1
INSTIMAGEMB?=	900			# for all installation binaries
@


1.7
log
@match amd64, we ran out of space.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.6 2014/11/15 12:33:04 uebayasi Exp $
d8 1
a8 1
INSTIMAGEMB?=	550			# for all installation binaries
@


1.6
log
@Bump image size from 512MB to 520MB.
@
text
@d1 1
a1 1
#	$NetBSD$
d8 1
a8 1
INSTIMAGEMB?=	520			# for all installation binaries
@


1.5
log
@Punt custom dhcpcd hooks in favour up upstream hooks
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 2014/07/26 19:34:08 dholland Exp $
d8 1
a8 1
INSTIMAGEMB?=	512			# for all installation binaries
@


1.4
log
@Adjust for sysinst move.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3 2012/11/03 14:25:33 tsutsui Exp $
a28 2
	${DISTRIBDIR}/common/10-resolv.conf	libexec/dhcpcd-hooks	\
	${DISTRIBDIR}/common/99-print-sysinst	libexec/dhcpcd-hooks	\
@


1.4.2.1
log
@Pull up following revision(s) (requested by snj in ticket #480):
	distrib/i386/installimage/Makefile: revision 1.6
Bump image size from 512MB to 520MB.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 2014/07/26 19:34:08 dholland Exp $
d8 1
a8 1
INSTIMAGEMB?=	520			# for all installation binaries
@


1.4.2.2
log
@Pull up following revision(s) (requested by bouyer in ticket #588):
	distrib/i386/installimage/Makefile: revision 1.7
match amd64, we ran out of space.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4.2.1 2015/02/03 08:05:50 bouyer Exp $
d8 1
a8 1
INSTIMAGEMB?=	550			# for all installation binaries
@


1.4.2.3
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.4.2.2 2015/03/12 19:06:22 snj Exp $
d29 2
@


1.3
log
@Allow overriding live-image and install-image sizes by
INSTIMAGEMB (for install-images), USBIMAGEMB (for x86 sd0root liveimages),
and EMUIMAGEMB (for other liveimages) variables.
Per discussion on current-users@@:
http://mail-index.NetBSD.org/current-users/2012/10/29/msg021368.html
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2 2012/08/17 16:56:35 riz Exp $
d25 1
a25 1
SYSINSTDIR!= cd ${DISTRIBDIR}/utils/sysinst/arch/${MACHINE} && ${PRINTOBJDIR}
@


1.3.8.1
log
@Rebase.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 2014/07/26 19:34:08 dholland Exp $
d25 1
a25 1
SYSINSTDIR!= cd ${.CURDIR}/../../../usr.sbin/sysinst/arch/${MACHINE} && ${PRINTOBJDIR}
@


1.2
log
@Change the naming scheme of "live" images and usb install images
to incorporate the OS name and version.

XXX should also not hardcode ${BOOTDISK} in the name, but that would
require reordering stuff and more testing than I have time for right now.
Another day.

As discussed on current-users@@ back in March, with some adjustments.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1 2012/01/22 03:53:30 tsutsui Exp $
d8 1
a8 1
IMAGEMB=	512			# for all installation binaries
@


1.2.2.1
log
@Resync to 2012-11-19 00:00:00 UTC
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3 2012/11/03 14:25:33 tsutsui Exp $
d8 1
a8 1
INSTIMAGEMB?=	512			# for all installation binaries
@


1.2.2.2
log
@Rebase to HEAD as of a few days ago.
@
text
@d1 1
a1 1
#	$NetBSD$
d25 1
a25 1
SYSINSTDIR!= cd ${.CURDIR}/../../../usr.sbin/sysinst/arch/${MACHINE} && ${PRINTOBJDIR}
@


1.1
log
@Add "live-image" and "install-image" target support to build.sh.

"live-image" target builds pre-installed disk images that can be used on
emulators or boot from USB memory sticks to try NetBSD without installation.
Currently amd64, i386, pmax, sparc, sparc64, sun2, sun3, and vax
(which have working emulators and don't require extra tools like preparing
 msdosfs or partitioning MD label structures) support this target.

"install-image" target builds an bootable installation disk image that can
be used as an install CD but burned into USB memory sticks etc.
Current only amd64 and i386 (which would support USB boot) have this target.

For more details (and known issue) see following posts on netbsd-bugs@@:
http://mail-index.NetBSD.org/netbsd-bugs/2011/08/06/msg023639.html
http://mail-index.NetBSD.org/netbsd-bugs/2011/09/23/msg024207.html
http://mail-index.NetBSD.org/netbsd-bugs/2011/12/07/msg025166.html
http://mail-index.NetBSD.org/netbsd-bugs/2011/12/08/msg025178.html

No particular comments about implementation, and
"go ahead" comments from mrg@@, riz@@ and christos@@.

Closes PR toolchain/45153 and PR misc/45155.
@
text
@d1 1
a1 1
#	$NetBSD$
d5 1
a5 1
INSTIMGBASE=	i386inst		# gives ${IMGBASE}.img
@


1.1.2.1
log
@Pull up following revision(s) (requested by riz in ticket #506):
	distrib/amd64/liveimage/emuimage/Makefile: revision 1.2
	distrib/amd64/liveimage/usbimage/Makefile: revision 1.2
	distrib/sun2/liveimage/emuimage/Makefile: revision 1.2
	distrib/amd64/installimage/Makefile: revision 1.2
	distrib/sun3/liveimage/emuimage/Makefile: revision 1.2
	distrib/pmax/liveimage/emuimage/Makefile: revision 1.2
	distrib/vax/liveimage/emuimage/Makefile: revision 1.2
	distrib/sparc64/liveimage/emuimage/Makefile: revision 1.2
	distrib/common/Makefile.bootcd: revision 1.20
	distrib/i386/liveimage/emuimage/Makefile: revision 1.2
	distrib/sparc/liveimage/emuimage/Makefile: revision 1.2
	distrib/i386/installimage/Makefile: revision 1.2
	distrib/i386/liveimage/usbimage/Makefile: revision 1.2
	etc/Makefile: revision 1.398
Change the naming scheme of "live" images and usb install images
to incorporate the OS name and version.
XXX should also not hardcode ${BOOTDISK} in the name, but that would
require reordering stuff and more testing than I have time for right now.
Another day.
As discussed on current-users@@ back in March, with some adjustments.
Install fully-populated .iso images in ${RELEASEDIR}/images instead
of ${RELEASEDIR}/iso, since we'll be putting non-iso images in there too.
Install live images and install images into ${RELEASEDIR}/images by
default, to keep all the large files (such as ISOs) together.
@
text
@d5 1
a5 1
INSTIMGBASE=	NetBSD-${DISTRIBVER}-i386-install	# gives ${IMGBASE}.img
@


1.1.4.1
log
@file Makefile was added on branch yamt-pagecache on 2012-04-17 00:02:34 +0000
@
text
@d1 41
@


1.1.4.2
log
@sync with head
@
text
@a0 41
#	$NetBSD$

.include <bsd.own.mk>

INSTIMGBASE=	i386inst		# gives ${IMGBASE}.img

BOOTDISK=	sd0			# for USB flash etc.
IMAGEMB=	512			# for all installation binaries

PRIMARY_BOOT=		bootxx_ffsv1
SECONDARY_BOOT=		boot
SECONDARY_BOOT_ARG=	# unnecessary

USE_MBR=		yes

CLEANFILES+=	boot.cfg

prepare_md_post:
	${TOOL_SED}							\
	    -e "s/@@@@MACHINE@@@@/${MACHINE}/"				\
	    -e "s/@@@@VERSION@@@@/${DISTRIBVER}/"				\
	    < ${.CURDIR}/boot.cfg.in > boot.cfg

DISTRIBDIR!= cd ${.CURDIR}/../.. ; pwd
SYSINSTDIR!= cd ${DISTRIBDIR}/utils/sysinst/arch/${MACHINE} && ${PRINTOBJDIR}

SPEC_EXTRA=		${.CURDIR}/spec.inst
IMGFILE_EXTRA=								\
	${DISTRIBDIR}/common/10-resolv.conf	libexec/dhcpcd-hooks	\
	${DISTRIBDIR}/common/99-print-sysinst	libexec/dhcpcd-hooks	\
	${.CURDIR}/etc.ttys		etc/ttys			\
	${.CURDIR}/etc.rc		etc/rc				\
	${.CURDIR}/install.sh		.				\
	${.OBJDIR}/boot.cfg		.				\
	${SYSINSTDIR}/sysinstmsgs.de	.				\
	${SYSINSTDIR}/sysinstmsgs.es	.				\
	${SYSINSTDIR}/sysinstmsgs.fr	.				\
	${SYSINSTDIR}/sysinstmsgs.pl	.				\
	${SYSINSTDIR}/sysinst		.

.include "${DISTRIBDIR}/common/bootimage/Makefile.installimage"
@


1.1.4.3
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1.4.2 2012/04/17 00:02:34 yamt Exp $
d5 1
a5 1
INSTIMGBASE=	NetBSD-${DISTRIBVER}-i386-install	# gives ${IMGBASE}.img
@


1.1.4.4
log
@sync with (a bit old) head
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1.4.3 2012/10/30 18:48:32 yamt Exp $
d8 1
a8 1
INSTIMAGEMB?=	512			# for all installation binaries
@


