History log of /netbsd-current/distrib/sparc64/xminiroot/Makefile
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.34 17-Jul-2017 hannken

Bump image size.


Revision tags: netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 bouyer-socketcan-base pgoyette-localcount-20170107 netbsd-7-1-RC1 pgoyette-localcount-20161104 netbsd-7-0-2-RELEASE localcount-20160914 netbsd-7-nhusb-base pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base tls-maxphys-base
# 1.33 10-Aug-2014 martin

Bump image size


Revision tags: tls-earlyentropy-base
# 1.32 05-Aug-2014 apb

Use ${TOOL_GZIP_N} instead of ${TOOL_GZIP} -n, and similarly
use ${TOOL_GZIP_N} -9 instead of ${TOOL_GZIP} -9n, etc.

This will pass -nT instead of just -n if the gzip program is
actually pigz.


# 1.31 27-May-2014 palle

Ensure a disklabel is present since sun4v OpenBoot requires a valid disklabel in the disk file image. With this change the miniroot.fs can be used as a virtual disk when using sun4v LDOMs. OK martin@


Revision tags: yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3
# 1.30 27-Jan-2014 apb

branches: 1.30.2;
Use ${TOOL_GZIP} instead of just gzip in all Makefiles
outside */dist/* subdirectories.

When USE_PIGZGZIP=yes, bsd.own.mk sets TOOL_GZIP=${TOOL_PIGZ},
so there's no need to test USE_PIGZGZIP in these Makefiles.


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE yamt-pagecache-tag8 netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 agc-symver-base netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231
# 1.29 12-Mar-2010 martin

branches: 1.29.6; 1.29.12;
Provide full terminfo.db on install media


# 1.28 05-Jan-2010 he

Bump the miniroot size from 8m to 9m, so that the contents fits again.
OK'ed by mrg@


Revision tags: matt-premerge-20091211 jym-xensuspend-nbase jym-xensuspend-base
# 1.27 03-Apr-2009 perry

Consistently use gzip with the -n flag so dates are not embedded.

Not tested on all platforms.


Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 netbsd-5-base matt-mips64-base2 netbsd-4-0-1-RELEASE wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 wrstuden-fixsa-newbase wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 wrstuden-revivesa-base yamt-pf42-base mjf-devfs2-base keiichi-mipv6-base mjf-devfs-base matt-armv6-nbase matt-armv6-prevmlocking wrstuden-fixsa-base-1 netbsd-4-0-RELEASE cube-autoconf-base netbsd-4-0-RC5 netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 matt-armv6-base matt-mips64-base hpcarm-cleanup-base wrstuden-fixsa-base abandoned-netbsd-4-base netbsd-4-base
# 1.26 09-May-2006 he

branches: 1.26.20; 1.26.30;
Bump the miniroot size from 7MB to 8MB so that it fits again.


Revision tags: netbsd-3-1-1-RELEASE netbsd-3-0-3-RELEASE netbsd-3-1-RELEASE netbsd-3-0-2-RELEASE netbsd-3-1-RC4 netbsd-3-1-RC3 netbsd-3-1-RC2 netbsd-3-1-RC1 netbsd-3-0-1-RELEASE netbsd-3-0-RELEASE netbsd-3-0-RC6 netbsd-3-0-RC5 netbsd-3-0-RC4 netbsd-3-0-RC3 netbsd-3-0-RC2 netbsd-3-0-RC1 netbsd-3-base
# 1.25 02-Jul-2004 jmc

Don't remove sysinst via CLEANFILES. It's a directory..Provide a new clean rule
for it


# 1.24 24-May-2004 hannken

Do not fail if directory sysinst exists. Makes update builds work again.


# 1.23 21-Apr-2004 dsl

Copy the sysinst message files into the correct objdir at the same time
as copying the crunched program binary.
Fixes PR sparc64/25265


Revision tags: netbsd-2-0-base
# 1.22 10-Jul-2003 lukem

branches: 1.22.2;
Rename a large chunk of the make(1) variables which refer to a
program/tool from "FOO" to "TOOL_FOO". The new variables are:
TOOL_ASN1_COMPILE TOOL_CAP_MKDB TOOL_CAT TOOL_CKSUM TOOL_COMPILE_ET
TOOL_CONFIG TOOL_CRUNCHGEN TOOL_CTAGS TOOL_DB TOOL_EQN TOOL_FGEN
TOOL_GENCAT TOOL_GROFF TOOL_HEXDUMP TOOL_INDXBIB TOOL_INSTALLBOOT
TOOL_INSTALL_INFO TOOL_M4 TOOL_MAKEFS TOOL_MAKEINFO TOOL_MAKEWHATIS
TOOL_MDSETIMAGE TOOL_MENUC TOOL_MKCSMAPPER TOOL_MKESDB
TOOL_MKLOCALE TOOL_MKMAGIC TOOL_MKTEMP TOOL_MSGC TOOL_MTREE
TOOL_PAX TOOL_PIC TOOL_PREPMKBOOTIMAGE TOOL_PWD_MKDB TOOL_REFER
TOOL_ROFF_ASCII TOOL_ROFF_DVI TOOL_ROFF_HTML TOOL_ROFF_PS
TOOL_ROFF_RAW TOOL_RPCGEN TOOL_SOELIM TOOL_SUNLABEL TOOL_TBL
TOOL_UUDECODE TOOL_VGRIND TOOL_ZIC

For each, provide default in <bsd.sys.mk> of the form:
TOOL_FOO?= foo
and for the ${USETOOLS}=="yes" case in <bsd.own.mk>, provide override:
TOOL_FOO= ${TOOLDIR}/bin/${_TOOL_PREFIX}foo

Document all of these in bsd.README.

This cleans up a chunk of potential (and actual) namespace collision
within our build infrastructure, as well as improves consistency in
the share/mk documentation and provision of appropriate defaults for
each of these variables.


Revision tags: netbsd-1-6-PATCH002-RELEASE netbsd-1-6-PATCH002 netbsd-1-6-PATCH002-RC4 netbsd-1-6-PATCH002-RC3 netbsd-1-6-PATCH002-RC2 netbsd-1-6-PATCH002-RC1 netbsd-1-6-PATCH001 netbsd-1-6-PATCH001-RELEASE netbsd-1-6-PATCH001-RC3 netbsd-1-6-PATCH001-RC2 netbsd-1-6-PATCH001-RC1 fvdl_fs64_base netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base
# 1.21 14-May-2002 lukem

consistently use "${INSTALLBOOT} -v ..."


# 1.20 08-May-2002 lukem

fix size of images
(i reduced them during testing and they worked then, but not when i
did a full make release. weird...)


# 1.19 08-May-2002 lukem

improve how gzipping is done to reduce amount of temp files, etc.


# 1.18 07-May-2002 lukem

this needs to be ${INSTALLBOOT}ed


# 1.17 07-May-2002 lukem

major overhaul; convert to NDWO.
this needs to build two images and one gzipped tar file:
- install.fs: to mdset into netbsd.INSTALL
- inst.tgz: contents of install.fs
- miniroot.fs: install.fs + gzipped GENERIC kernel. created using a
copy of the crunched ramdiskbin built for install.fs
share much of the miniroot.fs build goop from ../instfs/*


# 1.16 02-May-2002 lukem

yet another distrib overhaul:
- move guts of distrib/Makefile.inc to distrib/common/Makefile.distrib
(fixes problem caused by implicit include of ../Makefile.inc in certain
submake conditions triggered by makefiles not yet in tree)
- removed mkdir of ${RELEASEDIR}/*; rely upon "snap_pre" target of
etc/Makefile to create all the release directories
- renamed RELINSTALL to RELEASE_INSTALL
- renamed FLOPPYINSTDIR to FLOPPY_RELEASEDIR
- renamed MDSETDIR to MDSET_RELEASEDIR
- removed ITARGET
- move release target from top level to appropriate subdirectory
- ensure release target has correct depends
- replace miniroot's IMAGE_MD_POST with common/Makefile.image IMAGEPOSTBUILD
- Makefile.image: add realall: ${IMAGE}


# 1.15 28-Mar-2002 rafal

Fix build; don't reference ${DISTRIBDIR} when it hasn't been defined; instead
define HACKSRC via ${SRCROOT}/distrib/utils/libhack


# 1.14 28-Mar-2002 lukem

- Be consistent how libhack is used: If extra HACKOBJS (e.g., gethost.o) are
required, define them before pulling in libhack/Makefile.inc so that the
dependencies work correctly.
- Other minor cleanups


# 1.13 25-Mar-2002 lukem

Disable libhack's gethost.o (replacement gethostby{name,addr}()) by default,
as they only support reading /etc/hosts, and its the "least useful" of
the libhack routines. Add gethost.o back to Really Small media which
appears to need the space savings.


# 1.12 21-Jan-2002 mrg

- don't put a copy of GENERIC in the netbsd.INSTALL kernel's embedded
filesystem's as /netbsd...

- reduce INSTALL size by 2.5MB.

- clean up list.m4


# 1.11 20-Jan-2002 mrg

convert sparc64 to use `makefs' rather than vnd/newfs/mount. this severely
cleans up a lot of the processing here.


XXX: note that the sparc64 "INSTALL" kernel's file system has a copy of
GENERIC in /netbsd. fix this shortly.


# 1.10 26-Dec-2001 mason

vnconfig called incorrectly, breaks build


# 1.9 04-Dec-2001 jmc

Add bsd.prog.mk for libhack components


# 1.8 21-Oct-2001 jmc

Convert to using ${MDSETIMAGE}.

Provide a default value for $MDSETIMAGE and pull in bsd.own.mk to have
it overriden as needed for cross/-current builds.


# 1.7 13-Oct-2001 jmc

Add MTREE?= to add Makefiles and use when running mtree


# 1.6 10-Oct-2001 enami

Use symbol MTREECONF instead of MTREE to refer configuration file
to avoid conflicts. Pointed out by chs@netbsd.org.


# 1.5 23-Aug-2001 mrg

netbsd.INSTALL.gz is already install; back out part of previous.


# 1.4 23-Aug-2001 eeh

Install INSTALL kernel.


# 1.3 21-Jul-2001 eeh

Make the size of the miniroot more easily tuneable and install it in a kernel.


# 1.2 07-Jan-2001 mrg

branches: 1.2.2;
s/ramdisk/xminiroot/


# 1.1 07-Jan-2001 mrg

rename sparc64 "ramdisk" to "xminiroot" to avoid confusion about what it actually does.


# 1.33 10-Aug-2014 martin

Bump image size


# 1.32 05-Aug-2014 apb

Use ${TOOL_GZIP_N} instead of ${TOOL_GZIP} -n, and similarly
use ${TOOL_GZIP_N} -9 instead of ${TOOL_GZIP} -9n, etc.

This will pass -nT instead of just -n if the gzip program is
actually pigz.


# 1.31 27-May-2014 palle

Ensure a disklabel is present since sun4v OpenBoot requires a valid disklabel in the disk file image. With this change the miniroot.fs can be used as a virtual disk when using sun4v LDOMs. OK martin@


# 1.30 27-Jan-2014 apb

branches: 1.30.2;
Use ${TOOL_GZIP} instead of just gzip in all Makefiles
outside */dist/* subdirectories.

When USE_PIGZGZIP=yes, bsd.own.mk sets TOOL_GZIP=${TOOL_PIGZ},
so there's no need to test USE_PIGZGZIP in these Makefiles.


# 1.29 12-Mar-2010 martin

branches: 1.29.6; 1.29.12;
Provide full terminfo.db on install media


# 1.28 05-Jan-2010 he

Bump the miniroot size from 8m to 9m, so that the contents fits again.
OK'ed by mrg@


# 1.27 03-Apr-2009 perry

Consistently use gzip with the -n flag so dates are not embedded.

Not tested on all platforms.


# 1.26 09-May-2006 he

branches: 1.26.20; 1.26.30;
Bump the miniroot size from 7MB to 8MB so that it fits again.


# 1.25 01-Jul-2004 jmc

Don't remove sysinst via CLEANFILES. It's a directory..Provide a new clean rule
for it


# 1.24 24-May-2004 hannken

Do not fail if directory sysinst exists. Makes update builds work again.


# 1.23 21-Apr-2004 dsl

Copy the sysinst message files into the correct objdir at the same time
as copying the crunched program binary.
Fixes PR sparc64/25265


# 1.22 10-Jul-2003 lukem

branches: 1.22.2;
Rename a large chunk of the make(1) variables which refer to a
program/tool from "FOO" to "TOOL_FOO". The new variables are:
TOOL_ASN1_COMPILE TOOL_CAP_MKDB TOOL_CAT TOOL_CKSUM TOOL_COMPILE_ET
TOOL_CONFIG TOOL_CRUNCHGEN TOOL_CTAGS TOOL_DB TOOL_EQN TOOL_FGEN
TOOL_GENCAT TOOL_GROFF TOOL_HEXDUMP TOOL_INDXBIB TOOL_INSTALLBOOT
TOOL_INSTALL_INFO TOOL_M4 TOOL_MAKEFS TOOL_MAKEINFO TOOL_MAKEWHATIS
TOOL_MDSETIMAGE TOOL_MENUC TOOL_MKCSMAPPER TOOL_MKESDB
TOOL_MKLOCALE TOOL_MKMAGIC TOOL_MKTEMP TOOL_MSGC TOOL_MTREE
TOOL_PAX TOOL_PIC TOOL_PREPMKBOOTIMAGE TOOL_PWD_MKDB TOOL_REFER
TOOL_ROFF_ASCII TOOL_ROFF_DVI TOOL_ROFF_HTML TOOL_ROFF_PS
TOOL_ROFF_RAW TOOL_RPCGEN TOOL_SOELIM TOOL_SUNLABEL TOOL_TBL
TOOL_UUDECODE TOOL_VGRIND TOOL_ZIC

For each, provide default in <bsd.sys.mk> of the form:
TOOL_FOO?= foo
and for the ${USETOOLS}=="yes" case in <bsd.own.mk>, provide override:
TOOL_FOO= ${TOOLDIR}/bin/${_TOOL_PREFIX}foo

Document all of these in bsd.README.

This cleans up a chunk of potential (and actual) namespace collision
within our build infrastructure, as well as improves consistency in
the share/mk documentation and provision of appropriate defaults for
each of these variables.


# 1.21 14-May-2002 lukem

consistently use "${INSTALLBOOT} -v ..."


# 1.20 08-May-2002 lukem

fix size of images
(i reduced them during testing and they worked then, but not when i
did a full make release. weird...)


# 1.19 08-May-2002 lukem

improve how gzipping is done to reduce amount of temp files, etc.


# 1.18 07-May-2002 lukem

this needs to be ${INSTALLBOOT}ed


# 1.17 07-May-2002 lukem

major overhaul; convert to NDWO.
this needs to build two images and one gzipped tar file:
- install.fs: to mdset into netbsd.INSTALL
- inst.tgz: contents of install.fs
- miniroot.fs: install.fs + gzipped GENERIC kernel. created using a
copy of the crunched ramdiskbin built for install.fs
share much of the miniroot.fs build goop from ../instfs/*


# 1.16 02-May-2002 lukem

yet another distrib overhaul:
- move guts of distrib/Makefile.inc to distrib/common/Makefile.distrib
(fixes problem caused by implicit include of ../Makefile.inc in certain
submake conditions triggered by makefiles not yet in tree)
- removed mkdir of ${RELEASEDIR}/*; rely upon "snap_pre" target of
etc/Makefile to create all the release directories
- renamed RELINSTALL to RELEASE_INSTALL
- renamed FLOPPYINSTDIR to FLOPPY_RELEASEDIR
- renamed MDSETDIR to MDSET_RELEASEDIR
- removed ITARGET
- move release target from top level to appropriate subdirectory
- ensure release target has correct depends
- replace miniroot's IMAGE_MD_POST with common/Makefile.image IMAGEPOSTBUILD
- Makefile.image: add realall: ${IMAGE}


# 1.15 28-Mar-2002 rafal

Fix build; don't reference ${DISTRIBDIR} when it hasn't been defined; instead
define HACKSRC via ${SRCROOT}/distrib/utils/libhack


# 1.14 27-Mar-2002 lukem

- Be consistent how libhack is used: If extra HACKOBJS (e.g., gethost.o) are
required, define them before pulling in libhack/Makefile.inc so that the
dependencies work correctly.
- Other minor cleanups


# 1.13 25-Mar-2002 lukem

Disable libhack's gethost.o (replacement gethostby{name,addr}()) by default,
as they only support reading /etc/hosts, and its the "least useful" of
the libhack routines. Add gethost.o back to Really Small media which
appears to need the space savings.


# 1.12 21-Jan-2002 mrg

- don't put a copy of GENERIC in the netbsd.INSTALL kernel's embedded
filesystem's as /netbsd...

- reduce INSTALL size by 2.5MB.

- clean up list.m4


# 1.11 19-Jan-2002 mrg

convert sparc64 to use `makefs' rather than vnd/newfs/mount. this severely
cleans up a lot of the processing here.


XXX: note that the sparc64 "INSTALL" kernel's file system has a copy of
GENERIC in /netbsd. fix this shortly.


# 1.10 26-Dec-2001 mason

vnconfig called incorrectly, breaks build


# 1.9 04-Dec-2001 jmc

Add bsd.prog.mk for libhack components


# 1.8 21-Oct-2001 jmc

Convert to using ${MDSETIMAGE}.

Provide a default value for $MDSETIMAGE and pull in bsd.own.mk to have
it overriden as needed for cross/-current builds.


# 1.7 13-Oct-2001 jmc

Add MTREE?= to add Makefiles and use when running mtree


# 1.6 09-Oct-2001 enami

Use symbol MTREECONF instead of MTREE to refer configuration file
to avoid conflicts. Pointed out by chs@netbsd.org.


# 1.5 23-Aug-2001 mrg

netbsd.INSTALL.gz is already install; back out part of previous.


# 1.4 23-Aug-2001 eeh

Install INSTALL kernel.


# 1.3 21-Jul-2001 eeh

Make the size of the miniroot more easily tuneable and install it in a kernel.


# 1.2 07-Jan-2001 mrg

branches: 1.2.2;
s/ramdisk/xminiroot/


# 1.1 07-Jan-2001 mrg

rename sparc64 "ramdisk" to "xminiroot" to avoid confusion about what it actually does.


# 1.2.2.3 24-Mar-2002 he

Apply patch (requested by he):
Introduce dependency between ramdisk/miniroot construction and
osrelease.sh, to better support UPDATE builds of releases.


# 1.2.2.2 03-Feb-2001 he

Pull up revisions 1.1-1.2 (requested by mrg):
Rename sparc64 ``ramdisk'' to ``xminiroot'' to avoid confusion
about what it actually does.


# 1.2.2.1 07-Jan-2001 he

file Makefile was added on branch netbsd-1-5 on 2001-02-03 20:21:26 +0000


# 1.22.2.3 02-Jul-2004 he

Pull up revision 1.25 (requested by jmc in ticket #578):
Do not remove sysinst via CLEANFILES, since it is a directory.
Instead, provide a new clean rule for it. Fixes PR#26137.


# 1.22.2.2 24-May-2004 jmc

Pullup rev 1.24 (requested by hannken in ticket #383)

Do not fail if directory sysinst exists.


# 1.22.2.1 22-Apr-2004 tron

Pull up revision 1.23 (requested by dsl in ticket #171):
Copy the sysinst message files into the correct objdir at the same time
as copying the crunched program binary.
Fixes PR sparc64/25265


# 1.26.30.1 13-May-2009 jym

Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html


# 1.26.20.1 05-Oct-2008 mjf

Sync with HEAD.


# 1.29.12.1 19-Aug-2014 tls

Rebase to HEAD as of a few days ago.


# 1.29.6.1 22-May-2014 yamt

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")


# 1.30.2.1 10-Aug-2014 tls

Rebase.