Commit Graph

1058 Commits

Author SHA1 Message Date
Ruslan Ermilov
8189277801 - Removed vestiges of the IA64 boot floppy support.
- Fixed the bootable CD-ROM support for IA64.

Reviewed by:	marcel
Tested by:	marcel
2003-08-03 15:06:00 +00:00
Ruslan Ermilov
6daa108fd1 - Boot-only CD-ROM support (bootonly.iso).
Submitted by:	jhb, ru

- Moved the creation of the ports distribution to release.7.
- Call MFS root floppy mfsroot.flp even on a small PC98 disk.

Submitted by:	jhb

Reviewed by:	ru, jhb
2003-08-02 18:21:02 +00:00
Ruslan Ermilov
6d44eb567d From now on, Alpha releases will come with NO_FLOPPIES.
Approved by:	consensus on freebsd-alpha

A replacement (miniboot.iso) is currently under development.
2003-07-31 07:28:58 +00:00
Ruslan Ermilov
eed31dc939 Revert last delta, sys/conf/kern.pre.mk,v 1.33 does the job.
OK'ed by:	scottl
2003-07-31 07:13:54 +00:00
Ruslan Ermilov
74345a8f83 The -Os kernel build with GCC 3.3.1 also requires -fno-strict-aliasing
to survive.

Discussed with:	bde
Tested on:	i386 and pc98
2003-07-30 14:46:46 +00:00
Ruslan Ermilov
9b72ad91bf Initialize the FIXCRYPTO, BINMAKE and related variables (that use
the != operator) only when needed.

This change allows me to check out the current version of release/
makefiles only (co -l) to /tmp/release, and use that directory to
build a release (supplying the correct WORLDDIR).

Without this, attempt to "make release" caused an endless fork bomb
while trying to evaluate FIXCRYPTO, and the only way I could get
away from this on a remote box was to "kill -INT 1", thanks to
tcsh(1) and its internal "kill" command.
2003-07-30 14:33:32 +00:00
Ruslan Ermilov
f2eeb85de6 Embed a simplistic version of the dokern.sh script directly into
release/Makefile.

Reviewed by:	marcel

The original patch also removed ia64/dokern.sh, but this was OBE.
2003-07-30 07:40:45 +00:00
Ruslan Ermilov
f8cc06bea8 Moved the MFS root floppies creation code from release.10 to
doMFSKERN (where it logically belongs).
2003-07-30 07:13:31 +00:00
Ruslan Ermilov
0902bdbe14 Make IA64 a second port that comes with NO_FLOPPIES.
Reviewed by:	marcel
2003-07-29 18:29:44 +00:00
Scott Long
2272d4a4cb Bah, I go and get all preachy, and then commit from the wrong branch. Revert
the use of '-j8'.

Apologies to:	ru
2003-07-26 06:47:40 +00:00
Scott Long
1263297ba1 Fix the release build with a forgotten '-f'. 2003-07-26 05:57:52 +00:00
Ruslan Ermilov
9dd993a7be Make the PC98 small boot floppy usable again.
Spotted by:	nyan
Reviewed by:	nyan
2003-07-25 13:39:11 +00:00
Ruslan Ermilov
a3a2d24e9c The RELEASE9 knob is now OBE.
OK'ed by:	jhb
2003-07-25 08:55:51 +00:00
Ruslan Ermilov
3d610ec8a3 Moved the boot floppy generation code out from release.9 to release.10.
The release.9 target is now responsible only for generation of MFS root
file systems, that are built for all architectures, even those that do
not provide a floppy installation option.  The release.10 target is now
responsible for creation of a set of boot, MFS root, and fixit floppies,
and the NO_FLOPPIES variable now affects only this target.

Also, replaced the FIXIT_TARGET variable with a check of whether the
*FIXITSIZE variables are present for a given architecture, similar to
how this is done when generating boot floppies.

Discussed with:	jhb
2003-07-25 08:54:41 +00:00
Mark Murray
98b2ae09c6 Get the correct set of cryptographically-infected binaries
automagically from the (secure|kerberos5)/Makefile:[KS]PROG.
2003-07-24 17:28:52 +00:00
Ruslan Ermilov
d3c93cef78 Replaced the hardcoded target names in the touch(1) commands with
${.TARGET}, to ease maintenance.
2003-07-24 13:45:05 +00:00
Ruslan Ermilov
6ebe96017d Added the (undocumented) EMUL_BOOT variable (for TARGET=i386 only)
that causes the bootable ISO images to be created using the floppy
emulation (the old method) as opposed to the new "cdboot" method.

Only copy boot.flp to the 2nd CD-ROM if this variable is defined.

Reviewed by:	murray
2003-07-23 20:53:37 +00:00
Ruslan Ermilov
00a7eeeb0e Added the WORLDDIR variable (defaulting to ${.CURDIR}/..) that
points to a directory where "make buildworld" was run.  Useful
for building 5.x snapshots on 4.x.
2003-07-23 14:40:51 +00:00
Ruslan Ermilov
1dae6ea919 Make NO_FLOPPIES really mean "no floppies", including not even
creating the "floppies" directory on FTP and CD-ROMs.  Enforce
NO_FLOPPIES on amd64.

Tested for:	amd64, i386 with -DNO_FLOPPIES
2003-07-23 12:12:53 +00:00
Ruslan Ermilov
c70692752f Revert revision 1.788, and explain a bit the intent of having
the boot.flp image on the second CD-ROM.

Explained by:	jhb
Desired by:	vendors
2003-07-23 06:00:56 +00:00
Ruslan Ermilov
aebf3f7627 Do not define BIGBOOTSIZE and the friends for amd64; it serves
no useful purpose other than wasting CPU time in "make release"
creating useless boot.flp.

Desired by:	peter
2003-07-23 05:53:52 +00:00
Ruslan Ermilov
51096483bc /floppies/boot.flp is no longer necessary on bootable i386 CD-ROMs.
Forgotten by:	jhb
2003-07-22 09:04:09 +00:00
Ruslan Ermilov
eedbbe40d1 Fixed the last-minute bug I made in previous commit. 2003-07-04 14:39:17 +00:00
Ruslan Ermilov
5dc6311712 Fixed style bugs related to parentheses in Makefile.inc1.
Submitted by:	bde

Fixed nearby bug: propagate the root Makefile's idea of
the appropriate "make" binary down to release/Makefile.
2003-07-04 14:27:06 +00:00
Ruslan Ermilov
01b198099c MFRELENG_5_1: Default the release makefile to 5.1. 2003-06-26 11:23:36 +00:00
Ruslan Ermilov
d2ae13098f Be laconic. 2003-06-26 11:21:04 +00:00
Peter Wemm
2d7d81e9fb Add amd64 support 2003-06-26 00:55:33 +00:00
Peter Wemm
c07665ebc0 TARGET_ARCH == amd64 also has /boot/mbr. 2003-06-04 22:24:43 +00:00
Marcel Moolenaar
d422eae9e8 Have the port readmes follow the same logic as buildworld. We skip
doing make readmes if /tmp/.skip_ports exists. This file is created
after a complete run, which avoids that we do the lengthy operation
again for a rerelease.
When NOPORTS or NOPORTREADMES are defined, we create the file prior
to starting the release.
2003-06-04 05:17:18 +00:00
John Baldwin
6fa3a9dd4f Add some missing items to the make clean target. 2003-06-02 20:15:12 +00:00
David E. O'Brien
5da30ee2ba Remove alpha-specific floppy build target for now.
Approved by:	re(jhb)
2003-05-21 21:19:54 +00:00
Scott Long
9f61ec8fdb Move the isp driver back to the alpha BOOTMFS kernel, and trim the size
of inodes for the alpha driver floppy.  With this patch, alpha actually
built a full release!

Submitted by:	ru
2003-05-20 01:46:09 +00:00
Juli Mallett
a4b4ec9905 For EXT*DIR, use -H in addition to -R, so that a symlink may be
used in the EXTSRCDIR case, for example, if one finds it useful
to symlink /usr/src to an actual source tree, and use /usr/src
as the EXTSRCDIR.

This has no effects on release builds not using external directories.

Reviewed by:	ru
Approved by:	scottl (re)
2003-05-18 19:34:03 +00:00
Ruslan Ermilov
5795760c45 disklabel(8) is spelled bsdlabel(8) or sunlabel(8) these days.
Also make sure bsdlabel(8) (along with the disklabel(8) compat
link) still appear on the fixit floppies of platforms that use
it natively (alpha, i386, and pc98).

Approved by:	re (scottl)
2003-05-17 19:16:28 +00:00
David E. O'Brien
65162a6169 release.9 has become the biggest festering pile of spaghetti s(*^% code.
Duplicate the target for Alpha so I can start hacking and slashing bits out.

Approved by:	re(blanket to make Alpha build)
2003-05-08 03:25:17 +00:00
Mark Murray
dbf104e68d Turn MAKE_KERBEROS5 into NO_KERBEROS by negating the logic. Some extra
cleanups were necessary in release/Makefile, and the tinderbox code
was syntax checked, not run checked.
2003-05-05 07:58:44 +00:00
Murray Stokely
98f15514b4 Move the setting of the BOOTABLE flag outside of .if MAKE_ISOS so that
bootable CDs can still be created if the iso.1 target is called
directly.

PR:		misc/47191
Submitted by:	Joost Bekkers <joost@bps.jodocus.org>
MFC after:	1 week
2003-05-05 05:29:10 +00:00
Mark Murray
bb7f32f06a KerberosIV removal. Also crunch down the "krb5" distribution into
"secure".
2003-04-30 17:54:19 +00:00
Jun Kuriyama
ef812d2f36 Removing comment in some text files for fixit floppy overflow.
Approved by:	re (murray)
2003-04-25 06:08:11 +00:00
Ruslan Ermilov
c9030dc84d Presumably fix sparc64 "make release". (The breakage was due to
sunlabel(8) no longer being linked to disklabel(8).)

Reviewed by:	phk
2003-04-23 09:01:35 +00:00
John W. De Boskey
9327e08b68 continuation not needed 2003-04-18 02:30:40 +00:00
Ruslan Ermilov
a07872b53c Don't play with MAKEFLAGS in one other place too; it's dangerous. 2003-04-15 09:54:19 +00:00
Ruslan Ermilov
10646d5f83 Makefile.inc1 rev. 1.341 broke release.5 -- the fuss with MAKEFLAGS
here interferenced with one in Makefile.inc1.  Since we can't avoid
the jugglery in Makefile.inc1 (we want -m /usr/src/tools/build/mk
to come first, before any other -m specified on the command line),
avoid it here.

Reported by:	imp
2003-04-15 06:36:38 +00:00
Ruslan Ermilov
0dbc5e389c Revert revision 1.639 -- the "nodev" mount(8) option restriction
does not apply to ${CHROOTDIR} file system since revision 1.712.
2003-03-31 11:46:49 +00:00
Ruslan Ermilov
dbc9acf4e4 Strip the .comment section out from the BOOTMFS kernel. 2003-03-31 11:16:53 +00:00
David E. O'Brien
919b002617 s/loaded as a module/available as a module/g
Submitted by:	ru
2003-03-23 04:23:10 +00:00
Ruslan Ermilov
55852204e3 Use the target arhitecture's disktab(5) file. 2003-03-21 13:41:17 +00:00
Ruslan Ermilov
e3940ce7c3 Pass the target machine architecture down to disklabel(8).
Do it so that systems without the -m option in disklabel(8),
e.g. 5.0-RELEASE, can still build current snapshots.

While here, drop the -s option from doFS.sh; we have not
been using the .size files for a long time.
2003-03-20 23:46:22 +00:00
David E. O'Brien
5262ab2453 In rev 1.603 I should have changed it to mdconfig rather than remove it.
I don't recall now, but for some reason I didn't think it was needed.
Also place the mdconfig right before the chroot call, to make it stand out
this needs to be done in the standard environment, as we've tried doing it
in the chroot environment before.
2003-03-17 18:49:46 +00:00
Ruslan Ermilov
c1fc2282ba Unbreak iso.1. 2003-03-17 17:49:57 +00:00
David E. O'Brien
30fa49841a Use positive logic rather than harder-to-read negative logic. 2003-03-17 05:46:10 +00:00
David E. O'Brien
3ea0ca53aa Make PREFETCHDISTFILES the default. Set NO_PREFETCHDISTFILES if you don't
like this.  Also make it easier to issue the distfile fetching on command.
2003-03-16 22:59:00 +00:00
David E. O'Brien
437077b04d Add PORTREADMES_FLAGS which can really speed up the build on SMP machines
when set to -j<3*#CPU's>
2003-03-16 22:42:26 +00:00
Mark Murray
0b5a594ed5 KerberosIV de-orbit burn continues. Disconnect from "make release". 2003-03-08 09:56:09 +00:00
Marcel Moolenaar
cd9568c73e o Run make readmes (ports) from within CHROOTDIR to avoid pollution
and/or breakages due to /etc/make.conf on the host. Move it after
   make world and put it in an if-block so that we can include the
   commands in the script even if we're not going to make the readmes.
o  When building docproj, make sure we propagate the setting of the
   FTP_PASSIVE_MODE environment variable. Not propagating the envvar
   may cause fetch failures. This increases the number of cases for
   which one does not have to prefetch the packages.
2003-03-08 08:51:25 +00:00
Ruslan Ermilov
b4f721685e If we are told to update the sources in "make rerelease", we also
probably want to re-buildworld.

If we are not going to rebuild (make rerelease -DRELEASENOUPDATE
and the file ${CHROOTDIR}/tmp/.world_done exists), do not touch
${CHROOTDIR}/usr/src/sys/conf/newvers.sh, as the only effect that
is has is upsetting release.2.  Hey, have you ever seen this
"touch: not found" during rerelease?  :-)
2003-02-26 15:32:12 +00:00
Ruslan Ermilov
8eb4e096d5 At least we don't need the whole <bsd.prog.mk> glue.
(I did test build the original change, but apparently
forgot to include it to LOCAL_PATCHES.  It happens.)
2003-02-23 19:15:55 +00:00
John W. De Boskey
270ee878ff mk file needed for 'make obj' done by $CHROOTDIR/mk 2003-02-23 06:27:21 +00:00
Ruslan Ermilov
dba36bb912 Fixed synopsis.
Mention that md(4) should be active (from release(7)).
Yet, this has nothing to do with bsd.prog.mk.
2003-02-21 22:37:18 +00:00
Makoto Matsushita
77d79f0c60 Pass FTP_PASSIVE_MODE, FTP_PROXY, and HTTP_PROXY variables to chroot sandbox.
These variables will be used by pkg_add, which installs mkisofs package
while MAKE_ISOS=YES.  See src/release/${arch}/mkisoimages.sh if you doubt.

No objection heard from:	current@FreeBSD.org
Suggested by:			des, nectar (about *_PROXY variables)
2003-02-16 08:34:11 +00:00
Ruslan Ermilov
c54fbe8dde Run kgzip(8) in a right environment and pass it the correct loader object. 2003-02-04 16:07:20 +00:00
Ruslan Ermilov
55ee3f14e3 Part 2/3 of unbreaking cross releases:
Use the right strip(1) binary.
2003-01-29 08:39:28 +00:00
David E. O'Brien
a177c01fae Use checksum-recursive rather than fetch-recursive-list in PREFETCHDISTFILES
so as to catch errors ASAP rather than later between the ports cvs checkout
and docs cvs checkout.  If a distfile doesn't checksum OK, it is very
hard to restart the release with "make rerelease" as that target assumes
all the cvs checkout's happened OK, and if that is not the case the cvs
update that is attempted fails..
2003-01-19 04:31:53 +00:00
Scott Long
f7ad577f4d Fix 'make release' from erroring out if this is an arch without driver
floppies.

Submitted by:   nyan
Reviewed by:   jhb
2003-01-16 16:51:52 +00:00
John Baldwin
5613943cd8 If there is a driver floppy for this arch, then add a line to the loader.rc
on the boot floppies to set the 'driver_floppy' variable in the loader so
that it ends up in the kernel environment and sysinstall will prompt for the
diskette.  Booting from CD-ROM does not use this loader.rc file, so folks
booting from CD to do an install will not be prompted.

X-MFC after:	as soon as I finish committing to current
Approved by:	re (blanket)
2003-01-15 21:49:50 +00:00
David E. O'Brien
bb6972ab6e Make iso.1 more readable. 2003-01-11 20:34:34 +00:00
Warner Losh
a3929677dd Backout phk's backout of obrien's change.
Hat: core
2003-01-02 20:18:42 +00:00
Poul-Henning Kamp
b364d93eda Reduce size of individual bits of the dists to 240640 bytes again
so snapshots can be installed.

I have no idea what breaks, but at least the passive FTP install
goes haywire.
2002-12-31 15:17:24 +00:00
Poul-Henning Kamp
f54846c3ec Setup a symlink to the distribution name in the root of the first CD image
so that it can be used as a anon-ftp area.
2002-12-31 10:27:58 +00:00
Yoshihiro Takahashi
a6c5babf64 Change 'mfsroot' filename in mfsroot-small floppies from 'mfsroot-small'
to 'mfsroot'.

This is MFC candidate.

Noticed by:	Toru Morimoto <too@os.gulf.or.jp>
2002-12-28 16:23:42 +00:00
Ruslan Ermilov
3e4ac74d53 MFS: Split export list. 2002-12-26 12:20:25 +00:00
David E. O'Brien
222d79cde9 Split files into 1.44MB chunks rather than a tiny, high-ftp overhead size.
Approved by:	rwatson
2002-12-17 20:19:37 +00:00
David E. O'Brien
1e2d480ce8 Strip out any .comment ELF sections from crunchgen'ed binaries. 2002-12-17 20:18:13 +00:00
Murray Stokely
8e414f48c1 Move the creation of the DRIVERS.TXT file to a more appropriate area
of this file, so it will be created for other platforms that use a
third floppy disk, not just i386.

Approved by:	re
2002-12-13 06:54:33 +00:00
Bruce A. Mah
e27933a498 Add ${BUILDNAME} and ${TARGET} to the filenames of ISO images
generated during release builds.

For the most part, re@ was doing this manually before putting ISO images
on ftp-master, but not always.  This should make naming more consistent
and descriptive.

Requested by:	jason andrade <jason@dstc.edu.au>, hubs@
Approved by:	re (rwatson)
MFC after:	1 month
2002-12-10 16:35:44 +00:00
Murray Stokely
9314e0a12e Only create the DRIVERS.TXT file on i386 for now.
Approved by:	re
2002-12-09 16:42:23 +00:00
Murray Stokely
fdd57f1a0c Create DRIVERS.TXT file to describe the contents of drivers.flp.
Approved by:	re
2002-12-09 16:14:46 +00:00
Dag-Erling Smørgrav
4844a5f4fc Add lib/libfetch and usr.bin/fetch to FIXCRYPTO since they need the crypto
libraries for SSL support.

Approved by:	re (rwatson)
2002-12-03 04:02:13 +00:00
Yoshihiro Takahashi
236c9d91d8 Export NO_CPU_CFLAGS and NO_CPU_COPTFLAGS to chroot. 2002-11-18 11:16:44 +00:00
Yoshihiro Takahashi
d101bd6452 Copy from ${EXTLOCALDIR} to ${CHROOTDIR}/usr/local if EXTLOCALDIR is defined. 2002-11-17 13:35:12 +00:00
John Baldwin
d9d84e0728 Rework the checking out of the doc, src, and ports trees a bit to make it
more manageable.
- Add some helper variables (CVS_{SRC,DOC,PORTS}ARGS) to be used when
  using CVS to checkout files.  We stick release tags in these helper
  variables if they are defined and then use only one cvs command instead
  of two cvs commands with an .ifdef to choose between them.
- rm the old src/doc/ports directories as separate commands from the
  CVS comands so that the rm commands don't need to be duplicated.
- Simplify the DOMINIMALDOCPORTS case by overriding RELEASEPORTSMODULE to
  be ${MINIMALDOCPORTS} thus removing yet another nearly-duplicate cvs
  command in an .ifdef.
- Add support for grabbing src/ and doc/ from external directories
  specified via EXTSRCDIR and EXTDOCDIR instead of from CVS.  The same
  is not done for ports/ quite yet as the DOMINIMALDOCPORTS case is a
  bit tricky.

The rerelease target scripts have not been changed to use the helper
variables yet, so there is still some room for improvement.

Submitted by:	kuriyama (4)
2002-11-15 22:03:25 +00:00
John Baldwin
0e25a72725 Allow a person to specify NOCDROM to skip the cdrom.1 target during a
release build.

PR:		45300
Submitted by:	David Yeske <dyeske@yahoo.com>
2002-11-15 20:51:27 +00:00
Ruslan Ermilov
0a2fffbeca release.9 for ia64 cannot be currently cross-built -- gpt(8)
is built on ia64 only.
2002-11-12 17:51:02 +00:00
Marcel Moolenaar
9cdb5b17ea Don't ever disable ACPI on ia64. We cannot life without it. 2002-11-06 04:59:22 +00:00
Marcel Moolenaar
f3fb0a6c88 o Introduce variable DOFS_SH to hold the path of the doFS.sh.
o  ia64: Set DOFS_SH to point to an alternate version.
o  ia64: Lower BIGBOOTSIZE from 120M (LS-120) to ~5M.
o  ia64: Set BIGBOOTLABEL to efi so that we can check for it
   in the alternate doFS.sh script. If the label is not efi, we
   can invoke the generic doFS.sh.
2002-11-05 18:06:01 +00:00
Ruslan Ermilov
d3b193559e Fixes to unbreak Alpha releases:
Strip ${RD}/mfsfd/stand/etc/defaults/rc.conf.

Don't copy loader.help to ${RD}/mfsfd/boot, it serves no useful purpose.

Removed the now no-op commands to copy ${RD}/trees/base/dev bits to
${RD}/mfsfd/dev, now that DEVFS is the default.

Removed UFS_ACL, PSEUDOFS, and COMPAT_FREEBSD4 options from the BOOTMFS
kernel.

Moved miibus network module to the drivers floppy.

isp(4) and mpt(4) now have corresponding modules, move them to the third
floppy as well.

Caution!  With these changes, mfsroot.flp has only 11K left, and
kern.flp has even less -- 5K.
2002-11-05 14:44:46 +00:00
Yoshihiro Takahashi
c2bed627fb Make a small (1.2M) fixit floppy image for pc98. 2002-11-05 13:54:58 +00:00
Ruslan Ermilov
73824f6bc2 Use ${TARGET_ARCH} for ia64 tests. 2002-11-05 09:30:38 +00:00
John Baldwin
70accddf26 Move the modules in the mfsroot to /modules instead of /stand/modules so
that they aren't copied over into /stand of new installations.

Submitted by:	matusita
Tested on:	i386
2002-11-04 15:44:57 +00:00
Yoshihiro Takahashi
977a68cc93 Use ${RD}/trees/base/boot/loader for kern.flp instead of /boot/loader. 2002-11-04 12:26:44 +00:00
Marcel Moolenaar
710d4ca371 Add the necessary tweaks for FreeBSD/ia64 releases. Note that this is
in no way final. A typical ia64 wart is that there are no boot blocks.
Instead, we need to create disks with EFI partitions if we want auto
boot to work. All this functionality is not present yet.
2002-11-04 00:50:01 +00:00
John W. De Boskey
d751ad7f19 Add CVSARGS for cvs arguments (vs. cvs subcommand arguments).
Allow the cvs command to be prefixed by using CVSPREFIX.
2002-11-02 06:00:06 +00:00
John Baldwin
101b8e52d9 - Copy the mfsroot.gz file to /R/stage/mfsroot/ so that the CD-ROM layout
can fetch it from there instead of looking in the boot floppy's
  directory.
- Add a NO_FLOPPIES variable that disables building of any boot floppies.

Tested on:	alpha
2002-11-01 20:53:50 +00:00
Bruce A. Mah
ce2943501f Hook the early adopter's guide into the release build. Its basename
is "EARLY", which is kind of an odd name, but I couldn't think of
anything better that fit the traditional 8.3 naming convention for
release documentation files.
2002-10-26 04:48:55 +00:00
Yoshihiro Takahashi
7323646d80 Remove unneeded variables. 2002-10-24 07:35:30 +00:00
Ruslan Ermilov
4a2d414f61 Make floppy-making part of release.9 conditional on *BOOTSIZE
rather than on "pc98" (rev. 1.710) and "sparc64" (rev. 1.711).
2002-10-21 14:21:08 +00:00
Makoto Matsushita
af09f57d85 Nuke pccard.conf from FreeBSD/i386 mfsroot (no longer needed).
Suggested by: nyan
2002-10-20 16:27:11 +00:00
Sam Leffler
6ceb41c273 Fixups to get make release going again for i386:
o mount (and unmount) devfs in the chroot'd filesystem
o handle umounting devfs in case of a keyboard interrupt
o remove MAKEDEV from the fixit floppy so things fit again (mount_devfs was
  added in a separate commit)
o explicitly remove mfsroot.gz and loader.conf when building the cd-rom area
  as otherwice cp -Rp aborts when a previous run left identical files around
o increase the number of inodes on the drivers floppy; moving drivers from
  the kernel there (to shrink it's size) caused things to overflow
o while we're increasing the driver's floppy inode config, separate out all
  parameters from the boot floppy

Approved by:	re
2002-10-19 16:44:16 +00:00
Jake Burkholder
c26d9e5a05 Add support for building sparc64 releases.
Reviewed by:	murray
2002-10-16 05:30:56 +00:00
Yoshihiro Takahashi
d1d6092340 Fixed disk full problem for pc98 distribution. Now, it makes 4 installation
floppies.

kern-small.flp and mfsroot-small.flp are for old machines that don't
support 1.44MB floppy. These floppies don't have pci related devices.

kern.flp and mfsroot.flp are normal 1.44MB floppy images.
2002-10-14 16:30:39 +00:00
Ruslan Ermilov
06b76511f0 Pass -o option to crunchgen(1) to ensure object files end up
in seperate directories.  This mostly affects RELENG_4 where
not doing so results in ${CHROOTDIR}/usr/src/release being
filled with object files, and "srelease" distribution having
them in.

PR:		misc/43825
Prodded by:	re (murray)
2002-10-11 14:05:19 +00:00
Yoshihiro Takahashi
431420173d Don't make an error even if drivers.conf does not exist.
Tested on:	snapshots.pc98.jp.FreeBSD.org
2002-09-29 13:47:01 +00:00
Ruslan Ermilov
a7042915ba ALLLANG is long dead, garbage collect it. Instead, make it possible
to use DOC_LANG to specify which languages the doc/ is built for.

Note: be aware that the DOC_LANG setting in /etc/make.conf will now
take the effect on "make release".  (This is probably the desired
behavior anyway.)

PR:		docs/42924
2002-09-23 14:33:47 +00:00
Makoto Matsushita
886ce72a3c Kernel MIB name for disabling ACPI was changed.
Pointed out by: iwasaki
2002-09-20 17:24:39 +00:00
Peter Wemm
66422f5b7a Initiate deorbit burn for the i386-only a.out related support. Moves are
under way to move the remnants of the a.out toolchain to ports.  As the
comment in src/Makefile said, this stuff is deprecated and one should not
expect this to remain beyond 4.0-REL.  It has already lasted WAY beyond
that.

Notable exceptions:
gcc - I have not touched the a.out generation stuff there.
ldd/ldconfig - still have some code to interface with a.out rtld.
old as/ld/etc - I have not removed these yet, pending their move to ports.
some includes - necessary for ldd/ldconfig for now.

Tested on: i386 (extensively), alpha
2002-09-17 01:49:00 +00:00
Yoshihiro Takahashi
12290409a2 Use ${TARGET}/dokern.sh instead of ${TARGET_ARCH}/dokern.sh.
(pc98/dokern.sh is (repository) copied from i386/dokern.sh.)
2002-09-10 13:06:53 +00:00
Ruslan Ermilov
7a7a00ad2c Collapsed the export list, added CD_EXTRA_BITS to it. 2002-08-14 16:50:50 +00:00
Ruslan Ermilov
c3a2e97634 Two more variables to export: KERNELS and AUTO_KEYBOARD_DETECT.
Submitted by:	Alan Judge <Alan.Judge@eircom.net>
2002-08-13 16:59:56 +00:00
John Hay
4ecb22fb96 Remove a stray ';'. 2002-08-09 08:22:02 +00:00
John Hay
ec60346065 Remove a '-' that is not needed.
Submitted by:	ru
2002-08-09 08:18:15 +00:00
John Hay
407ac59af3 Add a third floppy to releases. It will only be built if there is a
release/${TARGET}/drivers.conf file which list drivers that have to
go into the third floppy.

Also shuffle i386/drivers.conf so that the floppies don't overflow
anymore. Anybody with real/better usage statistics is welcome to
shuffle it differently.

Reviewed by:	ru
2002-08-09 07:45:42 +00:00
Ruslan Ermilov
93c10c2246 Stop eating all process memory if either of ${.CURDIR}/../kerberosIV
or ${.CURDIR}/../kerberos5 does not exist.

Spotted by:	Alexandr Listopad <laa@reis.zp.ua>
MFC after:	3 days
2002-08-05 16:57:43 +00:00
Ruslan Ermilov
8d785bd77c The side effect of revision 1.687 (env -i) was that many useful knobs
are no longer propagated to the chrooted environment, e.g. NOKERBEROS.
On the other hand, TMPDIR and MAKEOBJDIRPREFIX should no longer be.

Spotted by:	Alexandr Listopad <laa@reis.zp.ua>
2002-08-05 16:46:14 +00:00
Ruslan Ermilov
095b49ff6d Catch up to the rev. 1.694 changes; WITHOUT_X11 is not anymore set in
the environment.
2002-08-02 16:23:20 +00:00
John Baldwin
bb5e8f3f71 If we are building docs with this release and PREFETCHDISTFILES is defined
then download the distfiles for the ports needed to build the docs before
we enter the chroot environment.  This is useful since often times releases
get in a funk trying to download distfiles in the chroot.

Approved by:	re (murray, bmah)
MFC after:	5 days
2002-07-27 19:43:52 +00:00
Ruslan Ermilov
da037ed335 Build FDP ports with a clean runtime environment; gmake(1) somehow
uses ${TARGET_ARCH}, in a way that is incompatible with our usage.

Submitted by:	jhay, ru
2002-07-26 11:27:11 +00:00
Ruslan Ermilov
de9a18ceec Braino in the 1.672 commit: scripts/games-make.sh expects the
"manpages" and "catpages" dists to be already built.
2002-07-25 14:42:08 +00:00
Ruslan Ermilov
3cb04a4d39 Copy the right dhclient-script(8). 2002-07-24 20:37:21 +00:00
Ruslan Ermilov
74064f9fac Fix ${TMAKE} to use the correct .mk files.
Removed stray -DNO_WERROR's.
2002-07-12 15:15:35 +00:00
Ruslan Ermilov
fc6866d767 Do not override the CFLAGS with its standard value. At some point,
different architectures may choose to use different default values
for CFLAGS, for example.  (It was added in rev. 1.200 as a measure
to make boot images fit the floppies, and was never reverted.)
2002-07-11 16:27:04 +00:00
Ruslan Ermilov
c0db9f0e13 Part 2/2 of the kerberos5/doc/ "make release" breakage fix:
Make sure the "krb5" does not have the /usr/share/info/dir,
or it will clobber the "base" version on install.
2002-07-06 15:00:07 +00:00
Tom Rhodes
23ef6da7d2 Fix a typo: s/und/and/
Not Reviewed by:	re@
2002-07-03 18:04:10 +00:00
Makoto Matsushita
dafdb1b4c5 Set PATH statically, and use 'env -i' to kick chroot(8). As a result,
the second buildworld environment is fully isolated from parent's
environment variables.

Tested virtually on: snapshots.jp.FreeBSD.org
Approved by:	arch@ (silently)
MFC after:	2 weeks
2002-06-19 15:06:38 +00:00
Makoto Matsushita
04b9282ff8 Explicitly set TARGET and TARGET_ARCH in a chroot sandbox.
In fact, these variable are set as environment variables since we run
"make TARGET=xxx TARGET_ARCH=xxx"; TARGET and TARGET_ARCH are declared
in the command line arguments.  However, if you are not make(1) guy,
it is hard to understand that TARGET/TARGET_ARCH are appropriately set
in a chroot environment (as environment variables).

Now, the only environment variable need to be set explicitly is 'PATH'.
If we set PATH in /mk script, we can make pristine sandbox for release
build (i.e., "env -i /usr/sbin/chroot ${CHROOT} /mk" will work).

Valuable comments about this issue from: ru
Tested on (virtually): snapshots.jp.FreeBSD.org
MFC after:	2 weeks
2002-06-08 03:15:50 +00:00
Yoshihiro Takahashi
4ffc41abdd Install MD documentations in ${TARGET} directory instead of ${TARGET_ARCH}. 2002-06-04 12:05:29 +00:00
Ruslan Ermilov
b1a8a1813f Change the ">>> make release ..." output to also include ${TARGET}. 2002-05-27 10:59:41 +00:00
Ruslan Ermilov
2efba2d1d7 Fixed the nasty bug I introduced in rev. 1.671 that got
fatal in the previous delta.  Repeat after me: exists()
is executed at parse time.
2002-05-27 10:52:03 +00:00
Ruslan Ermilov
319f35a37c PC98 creates different BOOTMFS configs for different floppy sizes.
Broken in:	rev. 1.672
Spotted by:	nyan
2002-05-25 16:13:52 +00:00
Ruslan Ermilov
08198a0e3e Convert Perl scripts to awk(1). 2002-05-24 11:03:41 +00:00
Bruce A. Mah
2541b18f25 Build ports needed for release documentation WITHOUT_PYTHON. 2002-05-18 00:00:41 +00:00
Ruslan Ermilov
ff85b6e3eb Split release.2 into two stages. release.2 now install the base
dist, while release.3 makes and installs crypto, krb4, and krb5
dists.  This makes release.3 restartable (with "make rerelease").
2002-05-14 13:59:33 +00:00
Ruslan Ermilov
61c2d47ae5 Make sure the first ${CHROOTDIR} installworld is done for the correct
arch.  This makes "make release TARGET_ARCH=foo" really work.

(I only tested with "make rerelease" before to save some time and did
not notice the problem.)
2002-05-14 13:45:50 +00:00
Ruslan Ermilov
7758617eb4 GC now redundant BOOTSTRAPUTILS stuff. 2002-05-14 13:41:18 +00:00
Ruslan Ermilov
8f1f55e9ae Milestone #2 in cross-arch make releases. They now work!
You need to set TARGET_ARCH and possibly TARGET, the same
way you normally do it for a cross build(7).

Renamed `distribworld' to a more natutal `distributeworld'.

Put pwd_mkdb(8) under ${INSTALLTMP}; for `distributeworld'.
2002-04-30 11:50:01 +00:00
Ruslan Ermilov
58888af364 Some components of the crunched binaries may use build-tools
that are to be run on the building host.  (Currently, bin/sh
and usr.sbin/sysinstall use them.)  Make sure we build them
in the correct environment, like we do it in the buildworld.
2002-04-29 15:26:37 +00:00
Makoto Matsushita
2b3f8b22db Introduce CVSCMDARGS make variable to set command-line options for cvs.
You may want set '-D data-spec' to this variable.

PR:		31218
Submitted by:	Alexandr Listopad <laa@laa.zp.ua>
MFC after:	5 days
		(if re@ permits)
2002-04-27 14:23:32 +00:00
Ruslan Ermilov
f3fb4a79be If we are making a "release", we can obviously use -DNOCLEAN buildworld,
to save some time, because ${CHROOTDIR}/usr/obj does not even exist.
2002-04-26 19:40:45 +00:00
Ruslan Ermilov
6bde859f40 Milestone #1 in cross-arch make releases.
Do not install games and profiled libraries to the ${CHROOTDIR}
with the initial installworld.

Eliminate the need in the second installworld.  For that, make sure
_everything_ is built in the "world" environment, using the right
tool chain.

Added SUBDIR_OVERRIDE helper stuff to Makefile.inc1.  Split the
buildworld process into stages, and skip some stages when
SUBDIR_OVERRIDE is set (used to build crypto, krb4, and krb5
dists).

Added NO_MAKEDB_RUN knob to Makefile.inc1 to avoid running
makewhatis(1) at the end of installworld (used when making crypto,
krb4, and krb5 dists).

In release/scripts/doFS.sh, ensure that the correct boot blocks are
used.

Moved the creation of the "crypto" dist from release.5 to
release.2.

In release.3 and doMFSKERN, build kernels in the "world"
environment.  KERNELS now means "additional" kernels, GENERIC is
always built.

Ensure we build crunched binaries in the "world" environment.
Obfuscate release/Makefile some more (WMAKEENV) to achieve this.

Inline createBOOTMFS target.

Use already built GENERIC kernel modules to augment mfsfd's
/stand/modules.  GC doMODULES as such.

Assorted fixes:

Get rid of the "afterdistribute" target by moving the single use
of it from sys/Makefile to etc/Makefile's "distribute".

Makefile.inc1: apparently "etc" no longer needs to be last for
"distribute" to succeed.

gnu/usr.bin/perl/library/Makefile.inc: do not override the
"install" and "distribute" targets, do it the "canonical" way.

release/scripts/{man,cat}pages-make.sh: make sure Perl manpages and
catpages appear in the right dists.  Note that because Perl does
not respect the MANBUILDCAT (and NOMAN), this results in a loss of
/usr/share/perl/man/cat* empty directories.  This will be fixed
soon.

Turn MAKE_KERBEROS4 into a plain boolean variable (if it is set it
means "make KerberosIV"), as documented in the make.conf(5)
manpage.  Most of the userland makefiles did not test it for "YES"
anyway.

XXX Should specialized kerberized libpam versions be included into
the krb4 and krb5 dists?  (libpam.a would be incorrect anyway if
both krb4 and krb5 dists were choosen.)

Make sure "games" dist is made before "catpages", otherwise games
catpages settle in the wrong dist.

Fast build machine provided by: Igor Kucherenko <kivvy@sunbay.com>
2002-04-26 17:55:27 +00:00
Ruslan Ermilov
b6ea96d1d5 Build the catpages distribution in a more natural way. 2002-04-24 12:54:34 +00:00
Ruslan Ermilov
da40970fa0 The chrooted environment isn't nearly pristine, so reset
MAKEOBJDIRPREFIX to the canonical /usr/obj while there.
2002-04-24 12:51:48 +00:00
David E. O'Brien
01df2ec328 Change the name of the 'bin' distribution to 'base'.
This is done since it contains much more than /bin, and also gets in the
way when making a combined install+fixit CD.

OK'ed by:	jkh
2002-04-23 22:16:41 +00:00
Ruslan Ermilov
dcd88dc271 Do not spam initial ${CHROOTDIR} world with Texinfo and HTML docs.
For rerelease, run "make -DNOCLEAN world" instead of simple and
insufficient in some cases "make all install".  This is especially
true for cross-arch "make release"s which we don't (yet) support.
2002-04-23 09:24:00 +00:00
Makoto Matsushita
1665df2994 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
Makoto Matsushita
203f3bd49f 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 Stokely
9a0c70235d 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 Stokely
ac95fa5040 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 Stokely
37c973e3dd 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
Ruslan Ermilov
c06157d49f 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
John Baldwin
ab0235da5d 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 Stokely
0874402d9e Remind developers to update release(7) if they make substantial
changes to this file.
2002-03-17 07:34:12 +00:00
Peter Wemm
394015a422 Supply -DNO_WERROR to the kernel build during release. 2002-02-25 21:53:18 +00:00
Makoto Matsushita
d7c4abbf21 Typo fix: missing ;.
Pointed out by: Manfred Antar <null@pozo.com>
Pointy hat to: matusita
2002-02-25 05:35:39 +00:00
Makoto Matsushita
b389e7aaef 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
Makoto Matsushita
40227c902b 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
Makoto Matsushita
65718a83c9 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
Makoto Matsushita
4b60693c3c 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 Wunsch
b0b18a1cb8 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
Bruce A. Mah
febbbc6727 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
Bruce A. Mah
464af731bc 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
Bruce A. Mah
fb8f795e9b 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
Brian Feldman
e2f5b1e827 set TMPDIR to /tmp 2001-12-18 20:05:20 +00:00
Yoshihiro Takahashi
29921a60d7 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
Yoshihiro Takahashi
dfbc75ff56 PC98 boxes cannot boot from CD-ROM. 2001-11-24 05:21:53 +00:00
Yoshihiro Takahashi
d0714ae55c Search ${MACHINE}/drivers.conf instead of ${MACHINE_ARCH}/drivers.conf.
The previous commit is not completely.
2001-11-23 14:08:25 +00:00
Yoshihiro Takahashi
ea77a5b4ff Use a separate drivers.conf between i386 and pc98. 2001-11-22 11:04:12 +00:00
John Baldwin
4c8ef1e668 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
Yoshihiro Takahashi
1d91a770f9 Increase the size of a mfsroot floppy for pc98 to 4320. 2001-11-21 09:42:06 +00:00
John Baldwin
114de50e0d 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
John Baldwin
3e9fbbe1df Use modules-depend instead of kernel-depend for doing the depend stage
in doMODULES.
2001-11-19 21:42:08 +00:00
John Baldwin
839dfafeff 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
Bruce A. Mah
463a339fac 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
Yoshihiro Takahashi
142211755e Make CD-ROM distributions at the pc98 release target.
MFC after:	3 days
2001-10-29 16:25:13 +00:00
Bruce A. Mah
3e742bc8dd 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 Stokely
9b8a07ff32 '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
David E. O'Brien
2c1763d430 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
Jordan K. Hubbard
9c552a1fd7 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
David E. O'Brien
729956024e + 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
David E. O'Brien
13e7108c06 Add an `iso' target to create ISO images properly for each platform. 2001-08-15 20:57:08 +00:00
Jordan K. Hubbard
2ef74d2289 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
David E. O'Brien
a591fb0865 dokern.sh was repo copied from src/release/scripts to
src/release/${MACHINE_ARCH}
2001-07-21 17:21:52 +00:00
Poul-Henning Kamp
be1234f248 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
Bruce A. Mah
60087219de 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
Warner Losh
189c7da2ec Fix make release for new kernel locations 2001-06-30 17:20:12 +00:00
Jordan K. Hubbard
d067d730b9 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
Bruce A. Mah
4139a26885 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 Wemm
13465b1b33 Temporarily disable INTRO_USERCONFIG for the moment.
Noted by:  Dave Cornejo <dave@dogwood.com>
2001-06-14 23:48:13 +00:00
Andrey A. Chernov
22df530d11 ISO_ -> ISO 2001-06-11 02:00:33 +00:00
Bruce A. Mah
a9b6158aa7 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
Dima Dorfman
97ae8379a6 Remove unused VNDEVICE variable. 2001-06-03 01:36:06 +00:00
Bruce A. Mah
21203b38d7 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
Bruce A. Mah
13fc877343 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
Bruce A. Mah
39ab86fd8b 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
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
Nick Sayer
15ec540290 Reverse order of krb4 and des build so that SRA telnet does not
overwrite Kerberos Telnet.
1999-10-07 22:56:16 +00:00
Poul-Henning Kamp
bc8427c52d Fix building non-crypto releases. 1999-10-03 06:43:57 +00:00
Jordan K. Hubbard
cd8d8dac8c Guard against an rm returning non-zero status.
Noticed by:		Makoto MATSUSHITA
1999-09-23 18:40:54 +00:00
Mark Murray
df3819c1b4 Prepare for K5. 1999-09-19 22:30:39 +00:00
Jordan K. Hubbard
27b5e4fde7 Make trash removals less chatty. 1999-09-19 02:05:52 +00:00
Jordan K. Hubbard
eeeeec707a MF3: various small tweaks. 1999-09-17 09:32:22 +00:00
Jordan K. Hubbard
335d64e6d3 Some minor cosmetics: make mkdir less chatty in the output and stop making /R
magic.
1999-09-16 08:44:22 +00:00
Peter Wemm
9e12711016 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