Commit Graph

666 Commits

Author SHA1 Message Date
Bruce A. Mah
25baf47f30 Update comment: We don't use vn(4) anymore in -CURRENT, we use md(4). 2001-05-21 18:15:01 +00:00
Joerg Wunsch
dd1a1b3d6e 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
Bruce A. Mah
8ed3802bb0 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
David E. O'Brien
a37c8a520d Allow the `release' target to work if one disables the debug kernel build.
Submitted by:	jhb
2001-04-22 16:54:01 +00:00
David E. O'Brien
bb449dc283 Optimize make invocations by using multiple targets. 2001-04-17 18:32:35 +00:00
David E. O'Brien
3a1d7a55f8 Grrr, get the right change from the the machine I tested this on. 2001-04-16 15:17:27 +00:00
David E. O'Brien
c5e70d92ce 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
Jordan K. Hubbard
f9c1855801 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
David E. O'Brien
af9fb623c7 Missed one in rev 1.608. 2001-04-11 06:16:52 +00:00
David E. O'Brien
2eeee21d52 Properly set `KERNEL' w/in the "doSTDKERNEL:" target.
Reviewed by:	jhb
2001-04-11 02:21:13 +00:00
David E. O'Brien
19cc96f6a3 Fix typo in error message. 2001-04-08 23:02:12 +00:00
David E. O'Brien
64dc0a3e27 Strip comments from the MFSROOT's /stand/etc files. 2001-04-07 01:53:14 +00:00
David E. O'Brien
e4db09364d 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
David E. O'Brien
da813eae92 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
David E. O'Brien
f8a584ac49 Don't need to preload the vn' KLD anymore as we use md' for release
building.
2001-04-05 22:36:41 +00:00
Ruslan Ermilov
83c9589f7e Put back required ')'.
Submitted by:	jhay
2001-04-04 12:15:52 +00:00
Ruslan Ermilov
3c4869d927 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
Ruslan Ermilov
c3a205ef0b Moved -DRELEASE_CRUNCH into crunchgen(1) config files. 2001-03-31 17:02:37 +00:00
David E. O'Brien
0c1a06170b 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
Jordan K. Hubbard
b72008f1dd The early compat dists only make sense on the i386 2001-03-23 21:43:47 +00:00
Alfred Perlstein
a191fd1be7 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
Jordan K. Hubbard
992da98522 Set NO_X during release build so the doc ports don't try to build XFree86. 2001-03-07 07:39:32 +00:00
Ruslan Ermilov
afcf05e46a 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
Jordan K. Hubbard
d61835a9e9 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
Jeroen Ruigrok van der Werven
faec9c805b 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 Stokely
9f7604aeef Add the `compat4x' distribution to the release Makefile.
Approved by:	jkh
2001-02-09 19:00:50 +00:00
Jordan K. Hubbard
34594ab901 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
Jordan K. Hubbard
223391541f 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
John Baldwin
8cd2245c0e - 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 Wemm
623d7cd30e Further tidy up the sbin/init and release builds. 2001-01-01 21:39:00 +00:00
Peter Wemm
9886bcdf93 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 Moolenaar
0a0743b52a 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
Jordan K. Hubbard
5be3b5d994 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
Jordan K. Hubbard
c8d2a747a4 MFS: comment character and readability fixes. 2000-11-05 22:49:15 +00:00
Don Lewis
937d0d5119 Ignore chflags failure so that doMFSKERN won't abort on an NFS mounted
filesystem.
2000-11-05 15:38:05 +00:00
Don Lewis
d777543987 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
Tatsumi Hosokawa
6415544bf7 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
Tatsumi Hosokawa
caab6fc8a5 Revert 1.574 (maybe dummy vnconfig is better)
Requested by:	jkh@FreeBSD.org
2000-11-02 13:22:25 +00:00
Tatsumi Hosokawa
bbe6d0827c 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
Tatsumi Hosokawa
b98c5f70ff 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
John W. De Boskey
04063000a5 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
David E. O'Brien
9e239bc22f 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
Gregory Neil Shapiro
85e427cc94 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
Gregory Neil Shapiro
a4799e4431 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
David E. O'Brien
a00533ec57 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
David E. O'Brien
a8730a56d3 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
John Baldwin
281ec158d7 - 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
David E. O'Brien
2440c807a3 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
John Baldwin
08945429b9 Revert back to the previous i-node values for the fixit floppy. 2000-08-28 23:16:14 +00:00
John Hay
b102f2e18e The fixit floppy needs a few more inodes. 2000-08-28 14:25:53 +00:00
Jordan K. Hubbard
4dddeb4900 Use consistent timezone so date information can be meaningfully compared. 2000-08-22 09:43:12 +00:00
John Baldwin
9999fb1546 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
Yoshihiro Takahashi
b0976c1455 Decrease the size of mfsroot.flp for PC-98 to 1.2MB. 2000-08-16 09:30:47 +00:00
Yoshihiro Takahashi
7920b17f9a - 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
Jordan K. Hubbard
ce144400b0 Fix a paste-o error which broke the build
Pointy-hat to:	jhb
2000-07-26 12:19:14 +00:00
John Baldwin
dc2475c540 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
John Baldwin
1596ed11ca 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
Jordan K. Hubbard
b81dd6afa5 Actually make the date printing hack work. 2000-07-25 08:16:10 +00:00
Marcel Moolenaar
11017a687b 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
John Baldwin
fff8eb5743 - 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
Jordan K. Hubbard
4b3d3c6d79 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
Andrey A. Chernov
06eaff03b7 Forget to add -L to one mtree call 2000-07-16 08:20:54 +00:00
Andrey A. Chernov
590694fb28 Add -L to mtree calls since default changed back 2000-07-16 08:02:48 +00:00
John Baldwin
d191a99c2e - 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
Hajimu UMEMOTO
2931df8a40 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
John Baldwin
c27edf93b0 - 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
Yoshihiro Takahashi
7ec62217f0 - 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
Alexander Langer
16cca1b2bc 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
Yoshihiro Takahashi
20ffc587ec Set BASE=5.0 2000-06-23 12:22:08 +00:00
Yoshihiro Takahashi
a40915d750 - 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
Josef Karthauser
3ad254b3de 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
Jordan K. Hubbard
ce51a9fcf9 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
Jordan K. Hubbard
50ee7e6c72 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
John Baldwin
fead5c443b 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
John Baldwin
065aa0a04f 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
John Baldwin
f6ede19c6d 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
Jordan K. Hubbard
e0477e7f07 make release builds a bit more error-resistant 2000-04-22 09:00:51 +00:00
Mitsuru IWASAKI
15558ea043 Create mfsfd/etc/defaults/ first before copying etc/defaults/pccard.conf. 2000-04-17 05:13:27 +00:00
Mitsuru IWASAKI
e8bbfc060c 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
Satoshi Asami
3f17d264cd 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
Jordan K. Hubbard
871b7d1c7f 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
John Hay
0de0036736 Fix a copy and paste error. Make release should be operational again.
Reviewed by:	markm
2000-03-03 20:39:22 +00:00
Jordan K. Hubbard
470f825f69 release glue to support s/des/crypto/
Submitted by:	markm
2000-02-29 11:26:24 +00:00
David E. O'Brien
2a0bb85541 Forgot to setup disc2 (the livefs) for booting also. 2000-01-29 01:15:52 +00:00
David E. O'Brien
2a76df63e2 Setup cdrom/disc1/ for booting in the Alpha case. 2000-01-29 00:26:41 +00:00
David E. O'Brien
873bfb6396 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
David E. O'Brien
7b5036eb77 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 Bulte
f4da27bf59 missing ] in if at cdrom.1 target 2000-01-23 10:03:21 +00:00
Wilko Bulte
10c6fb3dd8 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 Bulte
8e0f26e8b8 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
Poul-Henning Kamp
e3b3872931 Fix !crypto releases once more. 2000-01-16 17:21:28 +00:00
Tatsumi Hosokawa
cb4ec7028b Eliminate PC-card installation floppy and add PC-card support for
generic installation floppy.
2000-01-14 02:17:57 +00:00
Warner Losh
968f82b738 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 Wemm
23a297f255 - 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
Jordan K. Hubbard
96fc6c7221 Strip even more unneeded symbols.
Suggested by:	peter
2000-01-09 08:23:17 +00:00
Jordan K. Hubbard
e621ac22e9 nuke debugging symbols from kern.flp kernels. 2000-01-03 09:59:37 +00:00
Poul-Henning Kamp
518aacad79 Don't barf on the releasename symlink in the ftp area on make rerelease. 1999-12-22 18:56:14 +00:00
Jordan K. Hubbard
fcc943bc7f Copy the loader.help file to the boot floppy. 1999-12-16 00:58:58 +00:00
Joerg Wunsch
7f047619e3 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
Poul-Henning Kamp
f7c8e61db6 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