Commit Graph

324 Commits

Author SHA1 Message Date
dsl af7a34f15a A version of etc/Makefile that doesn't contain the word WAIT.
Only slightly dissimilar to the one Chuck Silvers posted to tech-toolchain.
Builds are now likely to proceed as far as running out of space in the
install media.
2006-02-17 22:09:33 +00:00
dsl 4975ba94fa Add some more .MAKE so that we don't run multiple parallel makes. 2006-02-15 21:59:08 +00:00
dsl 977304b7cd Remove the dependencies against 'check_DESTDIR' and 'check_RELEASEDIR' from
snap_pre so that make will execute it before building the kernels.
This is all because .WAIT doesn't recursively apply to dependencies.
Add some .PHONY and .MAKE so that child makes use the same job pipe.
2006-02-11 20:56:29 +00:00
agc 2235f2dadf Add distribution entries and supporting files for the iSCSI target. 2006-02-08 19:02:58 +00:00
apb 37bd5c7de8 mkisofs is in pkgsrc/sysutils/cdrtools now, not pkgsrc/sysutils/cdrecord.
Reported by Jukka Salmi.
2006-01-29 14:03:59 +00:00
apb c5a4ad0143 Explicitly include ${.OBJDIR} in the definition of CDROM.dir
and CDROM.pathlist.  This probably makes no difference,
but is less confusing.
2006-01-28 21:37:11 +00:00
dsl 182dbda602 Until someone fixes .WAIT (see PR/32594) add a .NOTPARALLEL so that we
don't try to build the kernel sets before the kernel itself is built.
2006-01-22 20:19:52 +00:00
apb 6e6270281c After running ${TOOL_MTREE} to create directories from the
specification in .../mtree/NetBSD.dist, run ${TOOL_MTREE} again with
different args to register the new directories in the metalog.
Previously, these directories were not mentioned at all
in the metalog.

Reviewed by agc
2006-01-04 15:27:12 +00:00
hubertf df48f941aa Fix comment: "Below", variables are assigned with += not = 2005-10-22 05:46:06 +00:00
jmc 38f5f32c9c After building sets, make sure and checksum the kern-* files in binary/sets. 2005-10-07 17:22:12 +00:00
tron f851540ac2 Move "named.conf" example configuration to "/etc" because that is where
named(8) looks for it. You can now really get a caching name server
by simply setting "named=yes" in "/etc/rc.conf" as documented in
The NetBSD Guide. This fixes PR bin/30662 by Christian Hattemer.
2005-08-30 10:58:33 +00:00
lukem 1bd2839e9a Consistently use 0664 root:utmp for /var/log/{lastlog,wtmp}{,x}.
Rest of PR 18670.
2005-05-22 14:34:20 +00:00
lukem 5c5750a595 Move /etc/postinstall (and the etc.tgz set) to /usr/sbin/postinstall
(and the base.tgz set).
2005-04-17 15:15:48 +00:00
lukem d45db391ec Install all obsolete X11 sets (even empty ones). 2005-03-28 03:13:39 +00:00
tron f1f5ecd1a9 We must check for "${MACHINE}" and not "${MACHINE_ARCH}" of course to
decide about port specific obsolete lists.
2005-03-25 20:15:20 +00:00
tron 728512171e Checking for the file "xserver" in "${OBSOLETE.dir}" doesn't work because
the check will be done before the target which is used to create that file.
So simply add "xserver" to "${OBSOLETE.file}" based on the architecture.
2005-03-24 20:23:55 +00:00
martin 6ebdd24d9a Make var/db/obsolete/xserver optional. 2005-03-24 09:07:17 +00:00
tron fb571c8922 Add support for handling obsolete X11 files and directories. 2005-03-21 23:09:39 +00:00
martin cefddd30c8 Remove ${MACHINE} from the volume name of iso images - our new naming sheme
makes the field overflow even on archs where ${MACHINE} is pretty short.

Also rearange MKISOFS_FLAGS so that they default to -quiet unless the
user explicitly asks for -v. Add -hide-joliet-trans-tbl to get rid of
the TRANS.TBL files on modern OSs.
2005-03-08 07:39:30 +00:00
christos b8911768e7 Add lastlogx to the list of files created. 2005-03-04 16:16:00 +00:00
lukem 327af7ca04 Only install postfix config if ${MKPOSTFIX} != "no".
Based on PR misc/29341 by Takeshi Nakayama <nakayama@NetBSD.org>
2005-02-23 02:10:33 +00:00
peter 1c9b56c830 Add MKIPFILTER; if set to no, don't build and install the ipf(4) programs,
headers and LKM.

Add MKPF; if set to no, don't build and install the pf(4) programs,
headers, LKM and spamd.

Both options default to yes, so nothing changed in the default build.

Reviewed by lukem.
2005-02-22 14:39:58 +00:00
fredb ca38156730 Permit a "README", "SOURCE_DATE", and "source" at the top-level to be
added to the CD-ROM (only if they exist), as proposed on tech-install
and tech-toolchain without objections. Note, this will "bloat" the CD-ROM
image if you have done a "./build.sh sourcesets". If you don't want that,
just move "source" out of ${RELEASEDIR} for the "make iso-image".
2005-01-15 18:18:18 +00:00
lukem da9dede24f add MKINET6 to etc/release 2005-01-10 02:49:46 +00:00
lukem 8516a4eb2a install-etc-files: also descend into "pam.d" for configinstall 2005-01-10 01:17:25 +00:00
lukem 7812888715 add MKPAM 2005-01-06 00:47:34 +00:00
christos 13b48b2499 Add ${.CURDIR}. 2004-11-16 03:51:30 +00:00
christos d6ecb79b20 Use the ttys file from etc.${MACHINE} directly. 2004-11-16 02:33:21 +00:00
he 52bd3adde5 Don't leave the stray reference to etc.${MACHINE}/ behind in the ttys
file installation command.
2004-11-15 16:33:41 +00:00
christos 829bf2603d Don't append ptys to the ttys file. It is not needed anymore as ttyslot
will DTRT.
2004-11-15 00:28:16 +00:00
yamt ded5cfa88c install PF configs. 2004-11-14 20:28:28 +00:00
yamt 23c8222edb merge after importing pf from openbsd 3.6. (userland part)
some files were imported to the different places from the previous version.
v3_5:
	etc/pf.conf
	etc/pf.os
	etc/spamd.conf
	share/man/man4/pf.4
	share/man/man4/pflog.4
	share/man/man5/pf.conf.5
	share/man/man5/pf.os.5
	share/man/man5/spamd.conf.5
v3_6:
	dist/pf/etc/pf.conf
	dist/pf/etc/pf.os
	dist/pf/etc/spamd.conf
	dist/pf/share/man/man4/pf.4
	dist/pf/share/man/man4/pflog.4
	dist/pf/share/man/man5/pf.conf.5
	dist/pf/share/man/man5/pf.os.5
	dist/pf/share/man/man5/spamd.conf.5
2004-11-14 11:26:43 +00:00
he e92ef40b67 Now that one can choose boot image for i386 to produce a slightly
different cd-rom image (e.g. using the INSTALL_LAPTOP-derived boot
image), make it possible to add a string to the cd-rom image name
by setting the optional environment variable CDROM_NAME_ADD.
2004-07-28 11:35:44 +00:00
lukem 20526529b6 Overhaul install-etc-files so that
*	most files are installed with CONFIGFILES (from bsd.files.mk)
    *	empty files are created in a cleaner fashion
    *	MAKEVERBOSE is supported for the remaining custom items
2004-06-28 14:03:02 +00:00
itojun 2a49c3efe7 install pf related files to /etc 2004-06-22 18:21:55 +00:00
christos 0553899e97 remove ad-hok list of pty's from port tty files, and auto-generate it so
that it is consistent, and in the proper order.
2004-06-20 21:30:26 +00:00
lukem fe7056555c Move '${MAKEDIRTARGET} x11 distribution' from Makefile::distribution to
etc/Makefile::distribution, and only perform if ${MKX11}!=no.
Should fix a problem experienced by Alistair whilst doing a "make release".
2004-05-17 07:00:16 +00:00
lukem ee04d88971 Consistently use CONFIGFILES & CONFIGLINKS (which enable the 'configinstall'
target) instead of using home-grown 'distribution' targets or using
FILES with the 'install' target.
Add some etc/ subdir Makefiles where appropriate.

XXX: some of etc/Makefile install-etc-files could be converted to CONFIGFILES.
2004-05-16 09:53:09 +00:00
cl 885c0b6fc9 ``build.sh -m xen-i386 release'' now builds a release for NetBSD/xen
for i386.  The resulting release consists of:
- NetBSD/xen for i386 kernel, loader and docuemntation
- NetBSD/i386 userland sets
2004-05-12 16:56:41 +00:00
lukem f1b860ea33 Convert lines of the form
(cd ${.CURDIR}/somedir && ${MAKE} AVAR=value atarget)
to
	${MAKEDIRTARGET} somedir atarget AVAR=value
which results in a "prettier" display of these operations
2004-04-13 12:43:12 +00:00
cgd 335ed73c4c sync after building kernels. on some host systems (Linux) on NFS
have been seen to fail with the error:
    pax: File ./netbsd was modified during copy to archive
and this avoids it.
2004-03-08 05:46:44 +00:00
agc c0585f5a71 Allow CKSUM to be overridden. 2004-02-25 15:00:59 +00:00
enami 4b4d77a7b2 Disable parallel build when doing make params so that `---- params ----'
won't be emitted into /etc/release.
2004-02-13 23:48:10 +00:00
lukem 7833fb35ce Move the 'build date' & 'built by' stuff to the "build settings" section. 2004-02-07 07:59:17 +00:00
itohy 867dc753a9 Add /etc/locate.conf 2004-02-06 15:36:52 +00:00
lukem 818f07b6aa in etc-release, put the builder on a separate line to the date 2004-01-31 15:40:42 +00:00
lukem 4d0df9f157 Run "cd ../distrib/sets && make makesetfiles" at the end of "distribution" 2004-01-30 08:46:19 +00:00
he 1607f0c077 When using obj directories, the make proces cd's to the obj directory.
Therefore, we need to cd to ${.CURDIR} before re-invoking ${MAKE} so
that it can find the Makefile.
Also, pass ${MFLAGS} to ${MAKE} so that we pick up the source tree's
makefile fragment, not the host system's fragments, so that this
works properly on older NetBSD host systems, as well in other
cross-compile contexts.
2004-01-27 15:55:42 +00:00
lukem eb5766fce9 Add to RELEASEVARS:
NETBSDSRCDIR OBJMACHINE USR_OBJMACHINE X11SRCDIR

Add 'params' separate to 'etc-release', and use the former as part of
the latter.
2004-01-27 04:19:06 +00:00
lukem 3ae3c90bcf Apply .PHONY appropriately.
Use .EXEC when we always want to create ${.TARGET}, rather than
perform an non-file-based operation (.PHONY is for the latter).
2004-01-27 01:52:06 +00:00