head	1.5;
access;
symbols
	perseant-exfatfs-base-20261102:1.5
	netbsd-11-1-RELEASE:1.5
	netbsd-10-2-RELEASE:1.4.10.1
	netbsd-9-5-RELEASE:1.4
	netbsd-11-0-RELEASE:1.5
	netbsd-11-0-RC7:1.5
	netbsd-11-0-RC6:1.5
	netbsd-11-0-RC5:1.5
	netbsd-11-0-RC4:1.5
	netbsd-11-0-RC3:1.5
	netbsd-11-0-RC2:1.5
	netbsd-11-0-RC1:1.5
	perseant-exfatfs-base-20250801:1.5
	netbsd-11:1.5.0.2
	netbsd-11-base:1.5
	netbsd-10-1-RELEASE:1.4
	perseant-exfatfs-base-20240630:1.4
	perseant-exfatfs:1.4.0.12
	perseant-exfatfs-base:1.4
	netbsd-8-3-RELEASE:1.3
	netbsd-9-4-RELEASE:1.4
	netbsd-10-0-RELEASE:1.4
	netbsd-10-0-RC6:1.4
	netbsd-10-0-RC5:1.4
	netbsd-10-0-RC4:1.4
	netbsd-10-0-RC3:1.4
	netbsd-10-0-RC2:1.4
	netbsd-10-0-RC1:1.4
	netbsd-10:1.4.0.10
	netbsd-10-base:1.4
	netbsd-9-3-RELEASE:1.4
	cjep_sun2x-base1:1.4
	cjep_sun2x:1.4.0.8
	cjep_sun2x-base:1.4
	cjep_staticlib_x-base1:1.4
	netbsd-9-2-RELEASE:1.4
	cjep_staticlib_x:1.4.0.6
	cjep_staticlib_x-base:1.4
	netbsd-9-1-RELEASE:1.4
	phil-wifi-20200421:1.4
	phil-wifi-20200411:1.4
	is-mlppp:1.4.0.4
	is-mlppp-base:1.4
	phil-wifi-20200406:1.4
	netbsd-8-2-RELEASE:1.3
	netbsd-9-0-RELEASE:1.4
	netbsd-9-0-RC2:1.4
	netbsd-9-0-RC1:1.4
	phil-wifi-20191119:1.4
	netbsd-9:1.4.0.2
	netbsd-9-base:1.4
	phil-wifi-20190609:1.4
	netbsd-8-1-RELEASE:1.3
	netbsd-8-1-RC1:1.3
	pgoyette-compat-merge-20190127:1.3.30.1
	pgoyette-compat-20190127:1.4
	pgoyette-compat-20190118:1.4
	pgoyette-compat-1226:1.4
	pgoyette-compat-1126:1.3
	pgoyette-compat-1020:1.3
	pgoyette-compat-0930:1.3
	pgoyette-compat-0906:1.3
	netbsd-7-2-RELEASE:1.3
	pgoyette-compat-0728:1.3
	netbsd-8-0-RELEASE:1.3
	phil-wifi:1.3.0.32
	phil-wifi-base:1.3
	pgoyette-compat-0625:1.3
	netbsd-8-0-RC2:1.3
	pgoyette-compat-0521:1.3
	pgoyette-compat-0502:1.3
	pgoyette-compat-0422:1.3
	netbsd-8-0-RC1:1.3
	pgoyette-compat-0415:1.3
	pgoyette-compat-0407:1.3
	pgoyette-compat-0330:1.3
	pgoyette-compat-0322:1.3
	pgoyette-compat-0315:1.3
	netbsd-7-1-2-RELEASE:1.3
	pgoyette-compat:1.3.0.30
	pgoyette-compat-base:1.3
	netbsd-7-1-1-RELEASE:1.3
	matt-nb8-mediatek:1.3.0.28
	matt-nb8-mediatek-base:1.3
	perseant-stdc-iso10646:1.3.0.26
	perseant-stdc-iso10646-base:1.3
	netbsd-8:1.3.0.24
	netbsd-8-base:1.3
	prg-localcount2-base3:1.3
	prg-localcount2-base2:1.3
	prg-localcount2-base1:1.3
	prg-localcount2:1.3.0.22
	prg-localcount2-base:1.3
	pgoyette-localcount-20170426:1.3
	bouyer-socketcan-base1:1.3
	pgoyette-localcount-20170320:1.3
	netbsd-7-1:1.3.0.20
	netbsd-7-1-RELEASE:1.3
	netbsd-7-1-RC2:1.3
	netbsd-7-nhusb-base-20170116:1.3
	bouyer-socketcan:1.3.0.18
	bouyer-socketcan-base:1.3
	pgoyette-localcount-20170107:1.3
	netbsd-7-1-RC1:1.3
	pgoyette-localcount-20161104:1.3
	netbsd-7-0-2-RELEASE:1.3
	localcount-20160914:1.3
	netbsd-7-nhusb:1.3.0.16
	netbsd-7-nhusb-base:1.3
	pgoyette-localcount-20160806:1.3
	pgoyette-localcount-20160726:1.3
	pgoyette-localcount:1.3.0.14
	pgoyette-localcount-base:1.3
	netbsd-7-0-1-RELEASE:1.3
	netbsd-7-0:1.3.0.12
	netbsd-7-0-RELEASE:1.3
	netbsd-7-0-RC3:1.3
	netbsd-7-0-RC2:1.3
	netbsd-7-0-RC1:1.3
	netbsd-6-0-6-RELEASE:1.1.2.1
	netbsd-6-1-5-RELEASE:1.1.2.1
	netbsd-7:1.3.0.10
	netbsd-7-base:1.3
	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.3
	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.3
	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.5
date	2025.02.07.17.31.45;	author tsutsui;	state Exp;
branches;
next	1.4;
commitid	4uDko1oNm0pFTyIF;

1.4
date	2018.12.15.18.03.18;	author gson;	state Exp;
branches
	1.4.10.1
	1.4.12.1;
next	1.3;
commitid	VnJTdkyNfhz4gV3B;

1.3
date	2012.11.03.14.25.33;	author tsutsui;	state Exp;
branches
	1.3.30.1
	1.3.32.1;
next	1.2;

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

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

1.4.10.1
date	2025.02.22.12.59.26;	author martin;	state Exp;
branches;
next	;
commitid	wilVzyR0frAoUsKF;

1.4.12.1
date	2025.08.02.05.20.40;	author perseant;	state Exp;
branches;
next	;
commitid	23j6GFaDws3O875G;

1.3.30.1
date	2018.12.26.14.01.13;	author pgoyette;	state Exp;
branches;
next	;
commitid	xUhK8IAeBM1azj5B;

1.3.32.1
date	2019.06.10.21.42.34;	author christos;	state Exp;
branches;
next	;
commitid	jtc8rnCzWiEEHGqB;

1.2.2.1
date	2012.11.20.02.57.53;	author tls;	state Exp;
branches;
next	;

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

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

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

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

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


desc
@@


1.5
log
@sun2 doesn't have shared libraries so omit comp etc. to reduce image size.
@
text
@#	$NetBSD: Makefile,v 1.4 2018/12/15 18:03:18 gson Exp $

LIVEIMGBASE=	NetBSD-${DISTRIBVER}-sun2-live	# gives ${IMGBASE}.img

.include <bsd.own.mk>

KERN_SET=		kern-GENERIC
.if defined(EMUIMAGEMB)
LIVEIMAGEMB=		${EMUIMAGEMB}
.endif
PRIMARY_BOOT=		bootxx
SECONDARY_BOOT=		ufsboot
SECONDARY_BOOT_ARG=	/${SECONDARY_BOOT}

#USE_SUNLABEL=		yes		# sun2 PROM doesn't read sunlabel

# sun2 doesn't have shared libraries so omit comp etc. to reduce image size.
SETS=		modules base etc games misc text

.include "${.CURDIR}/../../../common/bootimage/Makefile.liveimage"
@


1.4
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.3 2012/11/03 14:25:33 tsutsui Exp $
d17 3
@


1.4.12.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.5 2025/02/07 17:31:45 tsutsui Exp $
a16 3
# sun2 doesn't have shared libraries so omit comp etc. to reduce image size.
SETS=		modules base etc games misc text

@


1.4.10.1
log
@Pull up following revision(s) (requested by tsutsui in ticket #1060):

	distrib/sun2/liveimage/emuimage/Makefile: revision 1.5

sun2 doesn't have shared libraries so omit comp etc. to reduce image size.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 2018/12/15 18:03:18 gson Exp $
a16 3
# sun2 doesn't have shared libraries so omit comp etc. to reduce image size.
SETS=		modules base etc games misc text

@


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:36 riz Exp $
d3 1
a3 1
LIVEIMGBASE=	NetBSD-${DISTRIBVER}-sun2-live-sd0root	# gives ${IMGBASE}.img
a7 1
BOOTDISK=		sd0
@


1.3.32.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 2018/12/15 18:03:18 gson Exp $
d3 1
a3 1
LIVEIMGBASE=	NetBSD-${DISTRIBVER}-sun2-live	# gives ${IMGBASE}.img
d8 1
@


1.3.30.1
log
@Sync with HEAD, resolve a few conflicts
@
text
@d1 1
a1 1
#	$NetBSD$
d3 1
a3 1
LIVEIMGBASE=	NetBSD-${DISTRIBVER}-sun2-live	# gives ${IMGBASE}.img
d8 1
@


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:31 tsutsui Exp $
d9 3
@


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 $
a8 3
.if defined(EMUIMAGEMB)
LIVEIMAGEMB=		${EMUIMAGEMB}
.endif
@


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$
d3 1
a3 1
LIVEIMGBASE=	sun2emu			# 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
@d3 1
a3 1
LIVEIMGBASE=	NetBSD-${DISTRIBVER}-sun2-live-sd0root	# gives ${IMGBASE}.img
@


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


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

LIVEIMGBASE=	sun2emu			# gives ${IMGBASE}.img

.include <bsd.own.mk>

KERN_SET=		kern-GENERIC
BOOTDISK=		sd0
PRIMARY_BOOT=		bootxx
SECONDARY_BOOT=		ufsboot
SECONDARY_BOOT_ARG=	/${SECONDARY_BOOT}

#USE_SUNLABEL=		yes		# sun2 PROM doesn't read sunlabel

.include "${.CURDIR}/../../../common/bootimage/Makefile.liveimage"
@


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:48 yamt Exp $
d3 1
a3 1
LIVEIMGBASE=	NetBSD-${DISTRIBVER}-sun2-live-sd0root	# 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:51 yamt Exp $
a8 3
.if defined(EMUIMAGEMB)
LIVEIMAGEMB=		${EMUIMAGEMB}
.endif
@


