Commit Graph

816 Commits

Author SHA1 Message Date
matusita
1db8894aba Set hint.acpi.0.disable to 1 in /boot/loader.rc of {boot,kern}.flp,
since we have no ACPI feature in the installation kernel at this time.

Without having this, we'll see

	ACPI no autoload failed -- no such file or directory

message at boot time, and it makes some confusion to the users.  We can
backout this change if installation kernel has ACPI feature.

PR:		36911 (partly)
2002-04-09 01:17:47 +00:00
matusita
abc9671573 Fix recent fixit.flp flood:
- don't make device files since we are in the DEVFS era.
	  (for the last resort, fixit.flp still has /dev/MAKEDEV.)
	- increase FIXITINODE size to 10 times (40000).

After this change, we have 42kbytes of free space, and 38
of free inodes (confirmed with 5.0-CURRENT-20020327-JPSNAP).

Since 4-stable doesn't have DEVFS, we can't MFC this (except FIXITINODE).
2002-04-02 15:07:34 +00:00
murray
77d700702c Make it easier to specify a custom kernel configuration for the boot
floppies.

PR:		misc/36032
Submitted by:	David Yeske <dyeske@yahoo.com>
MFC after:	1 week
2002-03-31 17:21:29 +00:00
murray
8b64ecbffc Bump MFSSIZE to the value used by i386 and pc98. This larger MFS
filesystem will still compress below the 1.44 megabyte threshold for
the floppy image.
2002-03-30 02:31:17 +00:00
murray
6085f75ded Alpha does not support PCCARD installs, so we do not need the 58k
/etc/defaults/pccard.conf.  Assume for now that only
MACHINE_ARCH=="i386" wants to do PCCARD installs.  We're still using
too much space, but this is a big help.
2002-03-29 22:22:34 +00:00
ru
702cd91226 Teach sysinstall(8) how to read boot managers out of /boot
instead of hardcoding them into the binary.  This replaces
the work-around in usr.sbin/sysinstall/Makefile,v 1.121.

Suggested by:	jhb
MFC in:		1 week
2002-03-28 08:23:33 +00:00
jhb
6de60b2636 Remove all traces of write_mfs_in_kernel from the base system release
area.

Requested by:	joe
2002-03-26 18:12:26 +00:00
murray
284b7db51d Remind developers to update release(7) if they make substantial
changes to this file.
2002-03-17 07:34:12 +00:00
peter
97f502664b Supply -DNO_WERROR to the kernel build during release. 2002-02-25 21:53:18 +00:00
matusita
b78ee9d6aa Typo fix: missing ;.
Pointed out by: Manfred Antar <null@pozo.com>
Pointy hat to: matusita
2002-02-25 05:35:39 +00:00
matusita
9a70288cc2 Mkdir ${CHROOTDIR}/usr/ports/distfiles if RELEASEDISTFILES is not set.
We ensure that 'ports.tgz' tarball should have ports/distfiles directory.

At first, ${CHROOTDIR}/usr/ports is empty (rm -rf ports), then extract
ports files from CVS repository.  Then if RELEASEDISTFILES is defined,
${CHROOTDIR}/usr/ports/distfiles directory is created by cp(1).  However,
if you don't specify RELEASEDISTFILES, there is no chance to create
${CHROOTDIR}/usr/ports/distfiles directory.

Submitted by:	{ushi,tora}.jp.FreeBSD.org
MFC after:	5 days
2002-02-12 16:56:06 +00:00
matusita
8083cc2777 Change variable name from DOCDISTFILES to RELEASEDISTFILES. Respect
DOCDISTFILES if defined.  No impact should happen with this change.

DOCDISTFILES is introduced by rev. 1.541, to point the directory that
contains the distfiles for ports/textproc/docproj.  It's good, but
we also build ports/sysutils/mkisofs during the release (if MAKE_ISOS
is defined).  It is natural that cdrtools tarball is prefetched, then
copy it under ${CHROOTDIR}/usr/ports/distfiles.

As a result, DOCDISTFILES variable is somewhat abused for non-doc
tarballs; *DOC*DISTFILES is no longger appropriate name for that.

PR:		16843
PR:		34194
Submitted by:	murray
MFC after:	6 days
2002-02-03 07:00:37 +00:00
matusita
fdc99f4021 In revision 1.351, All files/directories in ${CHROOTDIR}/usr/ports/distfiles
are removed, because ports.tgz includes distfiles by accident.

However, removing files/directories is *not* mandatory.  The only
requirement is "ports.tgz doesn't include distfiles/* but distfiles
directory itself".  If this is correct, the right way is to set an
option to tar(1), not to include these files.

This commit is based on PR: 34194, but a little bit of modification
is made by me (original patch doesn't include 'distfiles' directory).

PR:		34194
Reviewed by:	Adrian Steinmann <ast@marabu.ch> (PR submitter)
MFC after:	9 days
2002-01-31 00:38:09 +00:00
matusita
4969904c0d MFS 1.536.2.52 (partial) and 1.536.2.70: kgzip loader if i386 (only).
5.0-CURRENT-20020121-JPSNAP was failed to build since kern.flp has no
space.  There is already a hack to kgzip loader, and it makes:

-r-xr-xr-x  1 root  wheel  163840 Jan 21 07:40 loader*
-r-xr-xr-x  1 root  wheel   90121 Jan 21 08:06 loader.kgz*

73719 bytes of free spaces to us.
2002-01-20 23:17:52 +00:00
joerg
f49b6f89b4 Include /dev/xpt0 into the list of devices to go onto the boot floppy, so
camcontrol can get a handle to initiate a rescan or reset.

MFC after:	1 week
2002-01-17 20:29:02 +00:00
bmah
959e9dac6d Modify the release-building process so the srelease distribution
doesn't get spammed by RELNOTESng files.

Previously, we built the RELNOTESng files "in place" and then
populated the media (e.g. floppy, cdrom, ftp) areas from the build
directories.  However, the distributions got rolled after the
RELNOTESng build, and thus picked up the rendered RELNOTESng files.

Now, we install the RELNOTESng documents to R/stage/release.doc, then
clean out the original directories in src/release/doc.  We use the
renditions in the staging area to populate the media areas.

PR:		33141
MFC after:	3 days
		(plus re approval)
2001-12-28 17:21:28 +00:00
bmah
3664910955 At least I'm consistent. Back out the last accidental rev to this file on
HEAD too.

Noticed by:		ben
Another pointy hat to:	bmah
2001-12-27 22:32:33 +00:00
bmah
d9b94dd6a7 New release notes found while trying to catch-up RELENG_4 to reality:
whois(1) -c, pkg_delete -r, rc.conf(5) support for IPFilter state tables.
2001-12-27 21:18:36 +00:00
green
d2ce088d88 set TMPDIR to /tmp 2001-12-18 20:05:20 +00:00
nyan
f312390d6f Set a BOOTABLE variable to "-b" if MACHINE is not pc98, and use it for
mkisoimages.sh instead of "-b" directly.

MFC after:	1 week
2001-11-25 16:43:45 +00:00
nyan
10d48dc5d0 PC98 boxes cannot boot from CD-ROM. 2001-11-24 05:21:53 +00:00
nyan
a518818140 Search ${MACHINE}/drivers.conf instead of ${MACHINE_ARCH}/drivers.conf.
The previous commit is not completely.
2001-11-23 14:08:25 +00:00
nyan
9e91ed5c4e Use a separate drivers.conf between i386 and pc98. 2001-11-22 11:04:12 +00:00
jhb
6c22923ab0 Switch to using a standard /boot directory including the GENERIC kernel
on CD's 1 and 2.  Create a simple /boot/loader.conf on each CD that loads
/boot/mfsroot.gz as a mfs_root image.  The mfsroot moved from /mfsroot.gz
to /boot/mfsroot.gz so that all of the boot stuff is in /boot.  This allows
a full kernel to be used when installing from CD on all architectures
that support CD booting.  Note that on x86, this requires using
/boot/cdboot as a no-emulation boot image instead of /floppies/boot.flp.
2001-11-22 04:02:09 +00:00
nyan
631f226f43 Increase the size of a mfsroot floppy for pc98 to 4320. 2001-11-21 09:42:06 +00:00
jhb
c015c290ed Bump the mfsroot up from 2880 to 3200 for Alpha so it fits again. Use
a label of auto instead of the fixed size minimum2 so that the bump in
size actually has an effect.
2001-11-20 20:27:54 +00:00
jhb
4401006774 Use modules-depend instead of kernel-depend for doing the depend stage
in doMODULES.
2001-11-19 21:42:08 +00:00
jhb
f4e936a83c Split the mfsroot out from the kernel for the 2.88 boot floppy and the
Alpha CD.  This makes it easier to customize ISO's locally by being able
to replace either the mfsroot or the kernel w/o having to do both.  It also
allows us to switch to using the full GENERIC kernel when booting from CD
on the Alpha and on x86 when using cdboot.  We don't do this yet, however.

Tested on:	x86, alpha
2001-11-19 21:27:00 +00:00
bmah
f572bcd0cf Add a comment that the chroot area cannot reside on a "nodev"-mounted
filesystem.

PR:		12712
Submitted by:	Sergei Laskavy <laskavy@Berkeley.Gambit.Msk.SU>
2001-11-17 19:54:22 +00:00
nyan
1587368e88 Make CD-ROM distributions at the pc98 release target.
MFC after:	3 days
2001-10-29 16:25:13 +00:00
bmah
35e45efa1a The README file in the floppies/ directory of a distribution should
come from the installation document (of the release documentation)
not the readme.  The installation document is the one that has the
content of the old FLOPPIES.TXT.

Pointy hat to:	bmah
2001-09-23 22:32:09 +00:00
murray
0b95b15b7a 'make release' should install docproj ports with BATCH=yes so that your
release builds don't stop in the middle of the night asking for user
input about which Ghostscript drivers to install.
2001-09-13 06:44:36 +00:00
obrien
13be009ee5 Cause an error condition to be sensed by make(1) if we have trouble
making the ISO.
2001-09-03 20:27:03 +00:00
jkh
b3ac075229 Use sh to execute scripts and just check that the script is readable.
I guess I pooched the permissions on the scripts before committing them
since they're not executable and now it's too late to change (I think -
I suppose you could chmod the ,v files and it might inheirit but I don't
feel like asking the repomeisters to try that).

Noticed by:	Dirk Froemberg <dirk@freebsd.org>
2001-09-02 19:05:27 +00:00
obrien
f44504864a + back out my `iso' target
+ allows one to set _R so one can more easily make an iso after the fact,
  in the directory `make release' was issued in
+ changes name from miniboot to miniinst since we make other bootable ISOs
  also (and we might confuse someone)

Approved by:	jkh
2001-08-20 21:22:01 +00:00
obrien
b088bbf863 Add an `iso' target to create ISO images properly for each platform. 2001-08-15 20:57:08 +00:00
jkh
845119946b Add scripts and Makefile support for building ISO images automatically
as part of the release if MAKE_ISOS is set.  Will also build the
first CD with packages (in addition to the "minimal" CD) if CD_EXTRA_BITS
points to them.  This probably need a bit more work to get fully useful,
but it at least covers the basics for now.
2001-07-23 09:01:46 +00:00
obrien
f7cd7de431 dokern.sh was repo copied from src/release/scripts to
src/release/${MACHINE_ARCH}
2001-07-21 17:21:52 +00:00
phk
27eac06362 Use quotes around ${RELEASETAG} to allow values like
-r RELENG_4 -D "2001-07-17 12:00"
2001-07-18 05:40:30 +00:00
bmah
a843b4b30a When building an FTP area, put the CSS file for the release documentation
in the FTP area, not the CDROM area.

MFC after:	3 days
2001-07-05 22:14:25 +00:00
imp
d4e98f543a Fix make release for new kernel locations 2001-06-30 17:20:12 +00:00
jkh
68b1382980 Fix crypto targets to be user-overridable and also obey the
NO_SENDMAIL flag if set.  The whole NO_FOO mechanism in /usr/src
is pretty bogus and needs to be re-examined in the context of a
larger argument about modularity, but that's something for another
time.

Submitted by:		Peter Pentchev <roam@orbitel.bg>
2001-06-25 00:43:10 +00:00
bmah
02db62f4db Put docbook.css in the ftp and cdrom areas of a release build because
they have HTML renderings of the release documentation.
2001-06-22 01:15:43 +00:00
peter
2f740bb0d0 Temporarily disable INTRO_USERCONFIG for the moment.
Noted by:  Dave Cornejo <dave@dogwood.com>
2001-06-14 23:48:13 +00:00
ache
3e928e7e2b ISO_ -> ISO 2001-06-11 02:00:33 +00:00
bmah
587ef528e5 Use WITHOUT_X11, not NO_X, as the standardized way of turning off doc
ports' dependencies on X Windows during release builds.
2001-06-05 14:16:50 +00:00
dd
bb4bc6150a Remove unused VNDEVICE variable. 2001-06-03 01:36:06 +00:00
bmah
fd590e5a69 Fold the functionality of NORELNOTES into NODOC. There is now only
one Makefile variable to control the building/installation of both
the DocProj documents and RELNOTESng.

Suggested by:  obrien, dd
Tested by:  John Hay <jhay@icomtek.csir.co.za>
2001-05-30 17:05:15 +00:00
bmah
b7d266ab87 Unbreak make release (didn't completely account for removal of *.TXT
files).

Another diff will be forthcoming to fold the functionality of
NORELNOTES into NODOC.

Tested by:  John Hay <jhay@icomtek.csir.co.za>
Pointy hat to:  bmah
2001-05-29 17:14:59 +00:00
bmah
d9a12d0566 RELNOTESng is now the default for -CURRENT release builds. (Floppy
images get TXT renderings only; CDROM and FTP areas get TXT and HTML.)

Remove the old *.TXT release documentation files, as they
have been subsumed into RELNOTESng.  The new layout will greatly
facilitate their maintenence and help keep them internally consistent.
2001-05-25 18:01:34 +00:00
bmah
76d662958a Update comment: We don't use vn(4) anymore in -CURRENT, we use md(4). 2001-05-21 18:15:01 +00:00
joerg
32a17f0271 Add infrastructure that allows to build docs and RELNOTESng without
the need to also create the entire ports tree during a `make release'.
The main motivation behind this is that handling the ports tree still
takes a huge amount of time due to the large number of directories
involved, even on modern disks.

The solution is to establish a list of dependent ports that are
minimally required.  This list needs to be manually maintained in case
the doc ports toolchain changes, and has thus been broken out into a
separate file Makefile.inc.docports.  (release/Makefile has gotten
overly lengthy already anyway.)

Discussed with:	bmah, nik
Reviewed by:	bmah
2001-05-04 19:50:34 +00:00
bmah
0b059bcc42 First commit of RELNOTESng, the rewrite of the *.TXT documentation
files.

src/release/doc/README has additional information.

Reviewed by:	-current, -doc
2001-04-27 21:28:02 +00:00
obrien
0ac832ea12 Allow the `release' target to work if one disables the debug kernel build.
Submitted by:	jhb
2001-04-22 16:54:01 +00:00
obrien
25ef5bec44 Optimize make invocations by using multiple targets. 2001-04-17 18:32:35 +00:00
obrien
a6174f3ea3 Grrr, get the right change from the the machine I tested this on. 2001-04-16 15:17:27 +00:00
obrien
c7790304de Turn on kernel debugging support (DDB, INVARIANTS, INVARIANT_SUPPORT, WITNESS)
by default while SMPng is still being developed.

Submitted by:	jhb
2001-04-15 19:37:28 +00:00
jkh
21f19f6d89 Get the crypto checksums in the right file. This bug has been
around for a very long time and it's my fault.  Sorry. :)

PR:		20311
Submitted by:	Makoto MATSUSHITA <matusita@jp.freebsd.org>
2001-04-14 22:29:31 +00:00
obrien
11b2b4beea Missed one in rev 1.608. 2001-04-11 06:16:52 +00:00
obrien
63ac1d62cc Properly set `KERNEL' w/in the "doSTDKERNEL:" target.
Reviewed by:	jhb
2001-04-11 02:21:13 +00:00
obrien
11e3cce4ba Fix typo in error message. 2001-04-08 23:02:12 +00:00
obrien
9ea685aeff Strip comments from the MFSROOT's /stand/etc files. 2001-04-07 01:53:14 +00:00
obrien
1c83993e80 Blow away all the help files on the MFSROOT for the Alpha.
Someone did something that really blew up the size of the crunchgen'ed
sysinstall+friends.
2001-04-07 01:48:55 +00:00
obrien
bf4f00187a Correct a bug in rev 1.589. The `make obj' that was removed for
sysinstall was also effectively a `make obj' for src/release.
2001-04-06 19:06:19 +00:00
obrien
38d0dc1d2e Don't need to preload the vn' KLD anymore as we use md' for release
building.
2001-04-05 22:36:41 +00:00
ru
7ac0ff015f Put back required ')'.
Submitted by:	jhay
2001-04-04 12:15:52 +00:00
ru
d042566442 Drop support for -DRELEASE_BUILD_FIXIT and -DCRUNCHED_BINARY in
${CFLAGS}.  The only supported method thus is -DRELEASE_CRUNCH.
2001-04-03 13:34:35 +00:00
ru
5e971cadf9 Moved -DRELEASE_CRUNCH into crunchgen(1) config files. 2001-03-31 17:02:37 +00:00
obrien
f14a467f59 Add ttyd0 which is needed on the Alpha when using the fix-it CDROM
over a serial console.
2001-03-27 01:06:58 +00:00
jkh
5f3d327c27 The early compat dists only make sense on the i386 2001-03-23 21:43:47 +00:00
alfred
24af4863f0 This adds /etc/netconfig to the list of files that get copied to
/stand/etc on the mfsroot, and hence to /etc on the install target
disk for use during the install. It also links netconfig and services
into /etc on the mfsroot so that they are available to a fixit
shell.

Submitted by: iedowse
2001-03-21 23:53:40 +00:00
jkh
8cbc9f88db Set NO_X during release build so the doc ports don't try to build XFree86. 2001-03-07 07:39:32 +00:00
ru
3e8d7346e8 setlocale(3) has been fixed to match POSIX standard:
LC_ALL takes precedence over other LC_* envariables.
2001-03-02 16:52:14 +00:00
jkh
5ec338f4cc Put the kerberos checksum information into the correct CHECKSUM file,
fixing a long-standing bogon with this.

PR:		24264
Submitted by:	Alec Wolman <wolman@cs.washington.edu>
2001-02-21 23:01:59 +00:00
asmodai
924f5f5520 Actually make sure the make release line at the top isn't misleading.
CVSROOT is mandatory.  Also note what CVSROOT has to be set to.

Found by:	local make release hacking
2001-02-19 14:23:49 +00:00
murray
13332bdbc7 Add the `compat4x' distribution to the release Makefile.
Approved by:	jkh
2001-02-09 19:00:50 +00:00
jkh
83ab63b539 Ack, that will teach me to grep for "symbolic link" as well as "symlink" in
the commit logs - I just found the reason for the self-pointing symlink, as
documented in revision 1.517 by phk, who committed the change over a year
ago.  Accordingly, put the feature back and drop all plans to MFC the previous
"fix".
2001-02-06 08:36:00 +00:00
jkh
4e0608cba3 Remove the annoying ftp area symlink pointing at ourselves - people keep
asking what it's for and I can't answer since I can't see any conceivable
use for it.  Unless someone corrects that impression, I'll also MFC this
change in a few days.
2001-02-06 08:27:56 +00:00
jhb
ef2b685ba1 - sysinstall now gets built as part of world, so don't throw in extra
commands to build sysinstall manually during release.
- Get the sysinstall help files from /usr/src/usr.sbin/sysinstall/help
  rather than ${.CURDIR}/sysinstall/help.
2001-01-17 07:13:40 +00:00
peter
c44da00be1 Further tidy up the sbin/init and release builds. 2001-01-01 21:39:00 +00:00
peter
117ae0dab3 Merge into a single US-exportable libcrypt, which only provides
one-way hash functions for authentication purposes.  There is no more
"set the libcrypt->libXXXcrypt" nightmare.
- Undo the libmd.so hack, use -D to hide the md5c.c internals.
- Remove the symlink hacks in release/Makefile
- the algorthm is set by set_crypt_format() as before.  If this is
  not called, it tries to heuristically figure out the hash format, and
  if all else fails, it uses the optional auth.conf entry to chose the
  overall default hash.
- Since source has non-hidden crypto in it there may be some issues with
  having the source it in some countries, so preserve the "secure/*"
  division.  You can still build a des-free libcrypt library if you want
  to badly enough.  This should not be a problem in the US or exporting
  from the US as freebsd.org had notified BXA some time ago.  That makes
  this stuff re-exportable by anyone.
- For consistancy, the default in absence of any other clues is md5.  This
  is to try and minimize POLA across buildworld where folk may suddenly
  be activating des-crypt()-hash support.  Since the des hash may not
  always be present, it seemed sensible to make the stronger md5 algorithm
  the default.
All things being equal, no functionality is lost.

Reviewed-by: jkh

(flame-proof suit on)
2000-12-28 10:32:02 +00:00
marcel
da4d2f75d9 Fix release, broken by the perl cross-build fixes.
The distribute target is basicly the same as an install. For
perl, this means that miniperl is needed. Since miniperl is
only present in the object directory, we need to make sure
the path is set correctly. To do this, we have make release
use a new distribworld target that sets the path before doing
a make distribute.
2000-11-21 04:37:30 +00:00
jkh
3110b2627a Stop using AUXRELEASETAG for everything and use PORTSRELEASETAG and
DOCRELEASETAG in the appropriate places instead.

Submitted by:	asami
2000-11-12 11:04:11 +00:00
jkh
4b40d9a5b5 MFS: comment character and readability fixes. 2000-11-05 22:49:15 +00:00
truckman
6a92765ad4 Ignore chflags failure so that doMFSKERN won't abort on an NFS mounted
filesystem.
2000-11-05 15:38:05 +00:00
truckman
f8f09a580e Change MAKEDEV so that it prepends /sbin:/bin to $PATH instead of totally
overwriting $PATH, and find mknod $PATH instead of hardcoding /sbin so
that the copy of MAKEDEV on the fixit floppy is usable, since mknod and
expr live in /mnt2/stand when the fixit floppy is running.

Get rid of the sed invokation in release/Makefile that attempts to
delete the PATH setting stuff from MAKEDEV on the fixit floppy.  This
hasn't worked since a long ago change to MAKEDEV caused the sed
expression to no longer match.

PR:		misc/21241
2000-11-05 15:34:58 +00:00
hosokawa
0400173d45 Better way to ensure vn.ko is loaded.
This does not affect the kernel that vn is linked statically.
2000-11-02 15:14:27 +00:00
hosokawa
aa1e0359f9 Revert 1.574 (maybe dummy vnconfig is better)
Requested by:	jkh@FreeBSD.org
2000-11-02 13:22:25 +00:00
hosokawa
92dd888996 Merge from RELENG_4 (1.536.2.24 to 1.536.2.25).
Ensure vn.ko is loaded.

Submitted by:	obrien@FreeBSD.org
2000-11-02 12:29:22 +00:00
hosokawa
2c647e68e4 Moved driver modules for some PCI NICs and PCCARD-only NICs to mfsroot.flp.
http://people.freebsd.org/~hosokawa/driver-floppy/ for details.

Reviewed by:	current@FreeBSD.org
2000-10-31 07:39:07 +00:00
jwd
da2e3f3aa2 Always need to 'load /kernel', it's the 'read' that needs to
be isolated out for the 2 floppy install.

5.0-20001026-SNAP cdrom now boots correctly.

Reviewed by:	Mike Smith <msmith@FreeBSD.org>
2000-10-26 15:22:47 +00:00
obrien
330477ffb8 Remove /boot/boot[12] from the MFS installation floppies.
This saves us 8KB.

Submitted by:	Makoto MATSUSHITA <matusita@jp.FreeBSD.org>
Reviewed by:	jhb
2000-10-24 19:05:39 +00:00
gshapiro
a98dcfa204 Fix up the build for the STARTTLS version of sendmail (again). This method
mimics that of tcpdump in that for normal builds, sendmail will only be
built once.  For 'make release', it is built once for the bin dist and
once for the crypto dist.  This method also removes the need for two separate
Makefiles (which could become out of sync).

Suggested by: bde
Assisted by: kris
2000-10-24 16:04:56 +00:00
gshapiro
1c304223e1 Remove obsolete setting. The directory src/usr.sbin/sendmail/cf hasn't
existing since sendmail was moved to contrib.  Also, we now provide the cf
subdirectory in /usr/share/sendmail/cf/.
2000-10-22 05:57:50 +00:00
obrien
7e5a5e20d0 Seems ${RD}/trees/bin/boot/kernel can exist before the `release.6:' target
runs.  So perform a copy that take that into account.
2000-10-07 05:52:41 +00:00
obrien
da9b1783be This change adds:
/boot/GENERIC/kernel
    /boot/kernel/kernel
    /boot/kernel/*.ko
and removes:
    /kernel.GENERIC
from the bin dist.

Approved by:	jkh
2000-10-05 06:51:56 +00:00
jhb
5e357e63ec - Revert gratuitous reinstall -> install change in previous commit.
- Don't try to build modules when compiling a kernel during release.
2000-09-07 16:51:23 +00:00
obrien
fbcd630f09 The kernel is now known as `kernel.ko' and it and its matching modules
live in ``/boot/kernel/''.  So tweak the release build to match previous
assumptions and expectations.
2000-09-07 05:52:43 +00:00
jhb
cd4f482f28 Revert back to the previous i-node values for the fixit floppy. 2000-08-28 23:16:14 +00:00
jhay
9f9dc2077e The fixit floppy needs a few more inodes. 2000-08-28 14:25:53 +00:00
jkh
6a1213dadf Use consistent timezone so date information can be meaningfully compared. 2000-08-22 09:43:12 +00:00
jhb
697e7b86dd Touch ftp.1 and cdrom.1 when those stages are done to speed up make
rerelease when a release dies very late.
2000-08-21 22:42:09 +00:00
nyan
006afab40e Decrease the size of mfsroot.flp for PC-98 to 1.2MB. 2000-08-16 09:30:47 +00:00
nyan
e72bf3c884 - Make both 1.2MB and 1.44MB floppy images for PC-98.
- Rename BIGBOOT to FDSIZE for the floppy image size.
2000-08-12 14:21:33 +00:00
jkh
b0a549b505 Fix a paste-o error which broke the build
Pointy-hat to:	jhb
2000-07-26 12:19:14 +00:00
jhb
e18207aa84 Take a lesson from picoBSD: symlink /bin and /sbin to /stand in the mfsroot
and install dhclient-script in stand/.
2000-07-26 04:28:21 +00:00
jhb
fdea3541f6 Grrr, build a non-crypto version of tcpdump to stick in the bin distribution.
Submitted by:	kris
2000-07-25 22:30:09 +00:00
jkh
ed876f8da4 Actually make the date printing hack work. 2000-07-25 08:16:10 +00:00
marcel
510255570c Backout addition of -L switch to mtree. Using -L breaks the
build process in too many cases. Adding mtree to bootstrap-tools
to solve this breaks the upgrade path because mtree needs a
libc that has strtofflags and fflagstostr.
2000-07-23 16:33:00 +00:00
jhb
64eb7674fb - Don't use quotes for the MD_ROOT_SIZE option when generating the BOOTMFS
kernel config file.
- Add WORLD_FLAGS and KERNEL_FLAGS so you can build world and kernel with
  extra make options such as -jX to speed up release builds.
- When building kernels, allow their hints to tag along, and use this to
  install hints onto the boot floppy.  Since the boot floppy doesn't load
  loader.4th, we have to change device.hints to strip comments and change
  each line to an explicit set command.
2000-07-20 03:07:29 +00:00
jkh
15babb9dc4 Add descriptive start/stop time information to make release. Now
you can just ``grep >>> release.log'' and get all the highlights.
2000-07-17 04:50:28 +00:00
ache
5a01c965c6 Forget to add -L to one mtree call 2000-07-16 08:20:54 +00:00
ache
af1818f0c3 Add -L to mtree calls since default changed back 2000-07-16 08:02:48 +00:00
jhb
30db5ecf83 - Add in some sanity checking. If NOPORTS is set but NODOC is not set,
print an error message and die immediately rather than an hour later.
2000-07-14 18:03:32 +00:00
ume
7d6550f688 IPv6 support.
IPv6 configuration is only done by rtsol.  Does someone really
need manual configuration? :-)
You can specify IPv6 DNS server as well.
We have only one server ftp7.jp.freebsd.org that speaks IPv6
in this time.  ftp7.jp speaks IPv4 as well and also listed as
Japan #7.

Approved by:	jkh
2000-07-14 08:33:10 +00:00
jhb
25b55aa149 - Build modules with world so that modules are back in the bin dist.
- Small cleanups to kernel installs.
- Don't install kernel.config and loader.config on the boot floppy since
  they haven't been used in quite some time.
2000-07-01 21:48:05 +00:00
nyan
4a257138c5 - Removed machine dependent directory and command from
src/release/{boot,fixit}_crunch.conf.
- Added machine specific fixit_crunch.conf for PC/AT and PC-98 to
  src/release/$MACHINE.
- Use config file in src/release/$MACHINE if exist. If it does not exist,
  use in src/release.
2000-06-29 13:34:54 +00:00
alex
f506b9bb04 Fix doc: RELENG_4 is -stable now.
PR:		19474
Submitted by:	Bruce A. Mah <bmah@cisco.com>
2000-06-23 17:49:54 +00:00
nyan
be52742f2e Set BASE=5.0 2000-06-23 12:22:08 +00:00
nyan
6a7aa7f3d9 - Remove obsolete PC-card boot.flp hack. It was for making both PC-card
boot.flp and plain boot.flp.
- Clean up crunchgen related routine.

- Add PC-98 support.
  TODO:
    o Documentation
    o Fix some messages for PC-98
    o Decrease the size of fixit.flp to 1.2MB
    o I18N (See: http://www.jp.FreeBSD.org/BootAsia/index.html)

No response from jkh
2000-06-05 13:17:23 +00:00
joe
ed202d13d9 Disable colour support in ls when building the fixit floppy, and make
a note of it in the release Makefile.
2000-06-05 02:25:55 +00:00
jkh
f6670dbaec Add a new release variable, AUTO_KEYBOARD_DETECT. If you set it to
1, the -P flag is used on the boot floppies.  If not, don't.  The new
default is to not use it.
2000-06-04 04:41:41 +00:00
jkh
4e96ce387c Make the ports readmes and foreign docs more optional.
Submitted by:	Ben Smithurst <ben@scientia.demon.co.uk>
2000-06-01 02:43:55 +00:00
jhb
c97d9a50e8 Add USB devices to /dev on the install floppy.
Add usbd.conf to /etc on the install floppy.
2000-05-12 02:58:59 +00:00
jhb
be5c6ddb30 Actually, overriding DISTFILES at all is just a bad idea, so remove the
variable all together.

PR:		misc/14104
Submitted by:	Don Croyle <croyle@gelemna.ft-wayne.in.us>
2000-05-09 21:21:42 +00:00
jhb
19ea12d3ec Add a DOCDISTFILES variable to point to a directory containing the
distfiles to build the docproj port during release.  Prior to this, the
distfiles were copied froom ${DISTFILES}.  However, if like me, you needed
to store the distfiles in some directory other than /usr/ports/distfiles,
for example /usr/docdistfiles, then when you overrode ${DISTFILES} it broke
the release build when it tried to build docproj port in the chroot'd
release area.  To preserve backwards compatibility, DOCDISTFILES defaults
to the value of DISTFILES.

Ok'd by:	jkh
2000-05-08 22:21:17 +00:00
jkh
40ecaff4ed make release builds a bit more error-resistant 2000-04-22 09:00:51 +00:00
iwasaki
64c6ec839f Create mfsfd/etc/defaults/ first before copying etc/defaults/pccard.conf. 2000-04-17 05:13:27 +00:00
iwasaki
89a9d59b8d Fix the location of pccard.conf,
etc/pccard.conf.sample -> etc/defaults/pccard.conf.

Submitted by:	Makoto MATSUSHITA <matusita@jp.freebsd.org>
2000-04-17 03:09:05 +00:00
asami
3f47f4c57c Convert "RELENG_ver_RELEASE" to "RELEASE_ver" and use it to check out
the ports and doc trees.  There is no change if we are not building a
release (i.e., we are not using a tag of the form RELENG_ver_RELEASE
--e.g., a RELENG_ver tag used to build a snapshot).

This should allow the ports and doc freezes during the release cycles
to be somewhat shorter, as commits to those (non-branched) trees can
resume as soon as the tags are laid down.

Reviewed by:	nik
Approved by:	jkh
2000-04-06 10:00:20 +00:00
jkh
c1a2463a8d Add USA_RESIDENT to release make variables; can't hurt.
Submitted by:	Tatsumi Hosokawa <hosokawa@itc.keio.ac.jp>
2000-03-12 19:19:31 +00:00
jhay
1aaf1d9ecd Fix a copy and paste error. Make release should be operational again.
Reviewed by:	markm
2000-03-03 20:39:22 +00:00
jkh
8c76f66ee9 release glue to support s/des/crypto/
Submitted by:	markm
2000-02-29 11:26:24 +00:00
obrien
a037c1293d Forgot to setup disc2 (the livefs) for booting also. 2000-01-29 01:15:52 +00:00
obrien
881c9a0d6e Setup cdrom/disc1/ for booting in the Alpha case. 2000-01-29 00:26:41 +00:00
obrien
1185e08dc4 Remove historical vestage from the days when there was 1 boot floppy for
i386 and 2 for the Alpha.

Ok'ed by:	JKH
2000-01-25 07:07:32 +00:00
obrien
3d91d4b50e In the "cdrom" target it is best to write to the CDROM stage area, *NOT*
the FTP stage area.
2000-01-24 01:22:30 +00:00
wilko
1818873ed7 missing ] in if at cdrom.1 target 2000-01-23 10:03:21 +00:00
wilko
8e0bff79d7 Check if the various .TXT files exist before trying to copy them.
Oh why did I select a first project that needed to touch release/Makefile..
The fact that my release-building Alpha panics on me does not help either :(
2000-01-22 18:33:24 +00:00
wilko
9f03ccf8af Allow automatic 'pulling in' of machdep *.TXT files from ./texts/[alpha,i386]
and concat these  to the corresponding generic *.TXT living in ./texts
This is currently aimed at HARDWARE.TXT but works for things like RELNOTES.TXT
too.

Reviewed by: jkh
2000-01-19 22:48:50 +00:00
phk
c0ef5c03d2 Fix !crypto releases once more. 2000-01-16 17:21:28 +00:00
hosokawa
5955c7b344 Eliminate PC-card installation floppy and add PC-card support for
generic installation floppy.
2000-01-14 02:17:57 +00:00
imp
59b416572e Use GENERIC for both pccard and non-pccard disks now that GENERIC is
(or should be) everything that PCCARD is.
2000-01-10 16:27:32 +00:00
peter
06cb64b59a - Revert --strip-all of /kernel on a new installed system (it would work
with kld etc just fine, but tracebacks would have less information and
nm /kernel wouldn't be so good).
- Just strip the kernel on the boot disk. This does not affect kld or
module loading, there are two symbol tables in a kernel.  There is the
dynamic linking one (.dynsym+.strtab) with just global symbols and a user
symbol table (.symtab+.strtab) with all symbols.  BTW; objdump lies and
hides the second one.  There's a good half a meg or so that can be saved
from an average kernel by stripping it.
2000-01-10 06:15:43 +00:00
jkh
a360b452ef Strip even more unneeded symbols.
Suggested by:	peter
2000-01-09 08:23:17 +00:00
jkh
c9fa7d9f73 nuke debugging symbols from kern.flp kernels. 2000-01-03 09:59:37 +00:00
phk
6a0bba96a2 Don't barf on the releasename symlink in the ftp area on make rerelease. 1999-12-22 18:56:14 +00:00
jkh
c1c6d497b5 Copy the loader.help file to the boot floppy. 1999-12-16 00:58:58 +00:00
joerg
28f8af6c91 Step #2 of fixing the fixit floppy.
Kill duplicates for programs that have been in the boot crunched image
as well as on the fixit floppy (pwd, newfs, hostname, test).  Our
space is really too valuable to have them around there twice.  I doubt
pwd needs to be there at all since it's a builtin into sh(1) anyway
(oh, and the same applies to test(1) IIRC), but heck, leave them by
now.

Use the new `fixit' target in MAKEDEV to create the /dev nodes on
the floppy, instead of including the kitchensink...

Finally, tune the values used for creating the floppy.  I currently
end up with

Filesystem  1K-blocks     Used    Avail Capacity iused   ifree  %iused
/dev/vnn0c       1363     1301      -47   104%     368      14    96%

...which is not quite ideal yet, but at least a working configuration
again.
1999-12-14 22:41:09 +00:00
phk
4ca01ca668 Create a symbolic link in the ftp directory, so that the user can
enter the URL directly to the FTP directory without worrying about
the BUILD_NAME.

Remove some extra quoting in a kernel config file.
1999-11-27 14:32:27 +00:00
nsayer
46994cbf2d Reverse order of krb4 and des build so that SRA telnet does not
overwrite Kerberos Telnet.
1999-10-07 22:56:16 +00:00
phk
796028356c Fix building non-crypto releases. 1999-10-03 06:43:57 +00:00
jkh
a9675102dc Guard against an rm returning non-zero status.
Noticed by:		Makoto MATSUSHITA
1999-09-23 18:40:54 +00:00
markm
9c29053eed Prepare for K5. 1999-09-19 22:30:39 +00:00
jkh
7ab42b2253 Make trash removals less chatty. 1999-09-19 02:05:52 +00:00
jkh
3ef83ac32b MF3: various small tweaks. 1999-09-17 09:32:22 +00:00
jkh
190e4bc3ed Some minor cosmetics: make mkdir less chatty in the output and stop making /R
magic.
1999-09-16 08:44:22 +00:00
peter
e2715abf66 Make the fixit floppy 2.88MB as a temporary "solution" to get the nightly
snaps re-running.  This is not a fix.  (The alpha already does this)
1999-09-13 19:06:21 +00:00
jkh
16f9b4552c Allow flags to be passed to patch when using LOCAL_PATCHES 1999-09-07 20:47:42 +00:00
jkh
ee1384a267 Fix an old reference to the old docs directories. Looks like
this one went completely uncaught for months!

Caught by:	jack <jack@germanium.xtalwind.net>
1999-09-06 03:30:38 +00:00
jkh
9a3770b7e5 MFS: I found a few bogons here which were fixed in -stable (!) but not
-current.
1999-09-04 08:47:15 +00:00
peter
efabb9ccb1 $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
nik
c3f2c4e2a9 Handle the new Makefile infrastructure in the doc/ repository.
Set ALLLANG to install all the languages, otherwise set DOC_LANG
to just the languages (and encodings) you want to install.

Default to building the html-split (lots of small HTML files, with
links to go between them), html (one big honking HTML file), and plain
text versions of the documentation.  Does not compress any of the docs
prior to doing the installation.

Testing and feedback:   Jack O'Neill <jack@germanium.xtalwind.net>,
Cockups and typos:      nik
1999-08-26 19:50:14 +00:00
jkh
faee7df917 I was clearly smoking crack when I committed the change to allow for
architecture-specific docs on the boot floppy and CDROM.  Do it right this
time.

Noticed by:	jhay
1999-08-05 08:37:31 +00:00
jkh
e38551e9fa Turn docs back on - ache was very quick. 1999-08-05 01:28:00 +00:00
jkh
340cfc8163 Turn docs off by default again - somebody has broken the docproj port. 1999-08-04 17:30:00 +00:00
jkh
50a739edfc Add INSTALL.TXT back. 1999-07-31 19:15:29 +00:00
jkh
802275f6c6 Get bpf0 onto the MFS image. 1999-07-20 05:00:00 +00:00
jkh
362c174f0e Another batch of fixes for dhcp support in sysinstall, now dragging
in some code from C. Stone to parse the lease information.  This is still
a WIP and this commit is largely intended to allow others to sync up; the
dhclient code still only works when doing dhcp configuration post-install
and requires a bit more work on the boot floppy before it will truly
work in the minimal bootstrapping role.
1999-07-19 10:06:18 +00:00
jkh
4dc9548875 Miscellaneous fixes for dhcp client support. 1999-07-18 02:20:56 +00:00
hosokawa
ced172e8ec Added a short README to PC-card boot.flp directory.
(please check English grammer...:-) )
1999-07-06 13:07:51 +00:00
hosokawa
726ba02e48 Use #include <pccard_conf.h> instead of -DPCCARD.
Now we don't have to make clean before make boot.flp's.
1999-07-06 09:16:00 +00:00
hosokawa
ce4c3d5a3f Exclude CHECKSUM.MD5 itself from CHECKSUM.MD5 in PC-card floppy directory. 1999-07-06 08:24:35 +00:00
hosokawa
aa73d31300 My last modification for PC-card boot.flp was incomplete, and one more patch
is needed.
This seems a sort of quick-hack, but it's hard to fix it in proper way.
I'll do it later.
1999-07-05 07:15:42 +00:00
hosokawa
84d49b35c9 make release (actually, make floppies) makes PC-card boot.flp automatically. 1999-07-04 13:31:05 +00:00
markm
6491ecd71a Add bits of PAO that are non-controversial.
Submitted by: Tatsumi HOSOKAWA
1999-06-17 19:04:56 +00:00
jkh
932326ab45 Don't put CVS files in ports. It's kinda useful for cvs updating
a ports tree which was installed initially with the system later,
but this is probably not the general case (user CVSups the repository
rather than the checked-out bits) and it's penalizing everyone else
with excessive inode consumption.
1999-05-29 00:42:05 +00:00
brian
66a6cb8739 Use RELENG_3 as an example, not RELENG_2_2. 1999-05-23 20:01:20 +00:00
phk
c0bcaf4af8 More crypto bogosity.
(I just built a current snap-shot)
1999-05-16 12:21:54 +00:00
phk
b72d5cc0d2 INSTALL.TXT is gone in -current (despite what Jordan says :-)
kerberisIV requires crypto as well.
1999-05-16 08:07:34 +00:00
phk
e181872474 cp ${KERNEL} instead of cp kernel 1999-05-15 19:05:40 +00:00
jkh
13644a2bd2 target is ${KERNEL}, not kernel.
Noticed by:	"John W. DeBoskey" <jwd@unx.sas.com>
1999-05-15 11:51:39 +00:00
jkh
3274538263 fix stupid typo. 1999-05-13 02:49:23 +00:00
jkh
ef8e0e87fe Support divergent docs for different architectures. 1999-05-12 08:19:54 +00:00
obrien
71c8afa0dd Turn on compat22 dist. 1999-05-09 17:00:04 +00:00
max
1c84deb9ca Install boot.config with `-P' in it in the i386 boot floppy.
Also, let the bigboot floppy to have /boot/loader.rc with
  echo \007\007
  autoboot 10
1999-05-02 17:43:45 +00:00
jdp
9b7add1cb8 pppd/Makefile:
Enable MS-CHAP support.

release/Makefile:
  Build a separate NOCRYPT version of pppd, to keep This Great
  Nation's top-secret cryptographic tools out of the filthy hands
  of those evil furriners.
1999-04-29 17:56:28 +00:00
max
d3809450ef echo ^G^G -> echo \007\007 in loader.rc in kern.flp. 1999-04-27 05:09:43 +00:00
max
9e1b368fd6 Change the loader.rc in the boot floppy to:
1. Enable use of serial console for installation by using autoboot
  instead of boot.

2. Beep when the mfs root floppy needs to be placed in the fdd.

3. Beep again when mfs root image is loaded and the loader waits
  for ten seconds before it starts booting for any input.  (Serial
  console users can say " boot -h" here.)
1999-04-25 16:42:46 +00:00
obrien
2e2562a8e3 Add the compat3x dist. 1999-04-20 11:41:59 +00:00
sada
f9cfb2497d Make release would fail for lack of /etc/resolv.conf or $DISTFILES/
PR:	misc/9913
Submitted by:	YAMAMOTO Shigeru <shigeru@bremen.or.jp>
1999-03-31 11:18:52 +00:00
nik
db044d396d If ALLLANG is not set then ensure that DOC_LANG=en is, so that
the English Handbook is built (it's not built by default any more).
1999-03-27 16:02:04 +00:00
markm
c97ae836f7 Bitrot. Remove objlink as it is not pleasant to be downwind.
PR:		8071
Reviewed by:	Sheldon Hearn <sheldonh@iafrica.com>
1999-03-14 20:41:14 +00:00
jkh
8b554b3ae8 We don't use this anymore - nuke it. 1999-03-10 03:50:38 +00:00
des
e158dd910e Ignore errors from chflags. This makes it possible to make installworld
with DESTDIR set to an NFS-mounted file system.
1999-02-14 13:56:15 +00:00
jkh
1a0dc12e91 Install the correct rc.conf file. 1999-02-10 09:15:27 +00:00
msmith
9436d32fb2 The loader doesn't use '@' to suppress command lines anymore. 1999-02-10 01:57:38 +00:00
jkh
ca736467f9 BASE=4.0 1999-02-06 06:51:30 +00:00
jkh
84b7ab73bf Bump MFS up to 2.88MB. Now there's room for quite a bit more stuff
(like a dhcp client?).
1999-02-05 10:09:11 +00:00
jkh
7b02e986fb Whoops, don't break the alpha release build in copying the boot
images - be smarter about it.
1999-02-01 18:08:07 +00:00