History log of /freebsd-10.2-release/release/Makefile
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 285830 23-Jul-2015 gjb

- Copy stable/10@285827 to releng/10.2 in preparation for 10.2-RC1
builds.
- Update newvers.sh to reflect RC1.
- Update __FreeBSD_version to reflect 10.2.
- Update default pkg(8) configuration to use the quarterly branch.[1]

Discussed with: re, portmgr [1]
Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 285322 09-Jul-2015 gjb

MFC r276383, r276400:

r276383:
Delay dropping to the mountroot prompt for 10 seconds
in case the root device is not yet ready.

r276400:
Use the correct loader.conf(5) entry for deferring the
mountroot prompt.

Approved by: re (marius)
Reminded by: hrs
Sponsored by: The FreeBSD Foundation


# 279558 03-Mar-2015 gjb

MFC r279249, r279250, r279257:

r279249:
Add 'cloudware-install' target to handle copying cloud
disk images to a directory within DESTDIR.

Add CLOUDINSTALL variable to automatically generate the
actual list of install targets. While here, rename the
cloud-specific names from 'vm-' to 'cw-' to avoid naming
collisions.

Add AZURE_DISK, GCE_DISK, and OPENSTACK_DISK output file
variables.

Add 'cloudware-install' to the 'install' target.

r279250:
Remove a stale comment.

r279257:
Add a CLOUDPACKAGE variable to contain a list of targets for
post-install packaging cloud provider images.

Add a 'gce-package.sh' script to generate the final output
image ready for upload to the GCE platform. Right now, this
is the only image that has a specific output format (GNU-tar),
and this implementation is expected to be temporary.

This is not directly connected to the other release targets.

Sponsored by: The FreeBSD Foundation


# 278985 19-Feb-2015 gjb

MFC r277458, r277536, r277606, r277609, r277836, r277839,
r278118, r278119, r278206, r278502:

r277458:
Move virtual machine / cloud provider targets and
options from release/Makefile to their own Makefile.

Add glue to allow enabling building cloud provider VM images
by default.

Add a 'vm-cloudware' target, used to drive all targets in
CLOUDTARGETS.

Add examples for WITH_CLOUDWARE to release.conf.sample.
Add WITH_CLOUDWARE evaluation to RELEASE_RMAKEFLAGS.

Rewrite to consolidate VM image build scripts into one.

Fix duplicated mkimg(1) call in vm_create_disk().

Add primitive (untested) PowerPC/PowerPC64 VM image support.

Note: As it is currently written, the /boot/pmbr and
/boot/{gptboot,boot1.hfs} use the build host and not the
target build. Fixing this is likely going to be a hack in
itself.

mount(8) and umount(8) devfs(5) as needed.

Change path for mk-vmimage.sh from ${TARGET}/ to scripts/ now that
it is consolidated into one file.

Fix paths for the base image and output disk image files.

Set the boot partition type to 'apple-boot' for powerpc.

In vm_install_base(), copy the host resolv.conf into the build
chroot before attempting to do anything that requires working DNS
(i.e., pkg bootstrap).

In vm_extra_pre_umount(), remove the resolv.conf before the disk
image is unmounted from the backing md(4).

Silence errors when umounting the chroot's /dev, since it probably
doesn't exist when we're running this.

Unmount filesystems before attempting to destroy the md which
holds them.

Unmount filesystem and destroy md before we read the vnode from
disk and package it into a disk image. Otherwise we end up
packaging an unclean filesystem.

Merge duplicative vm-CLOUDTYPE targets before additional duplication
gets added by the impending arrival of ec2 and gcloud.

Add NOSWAP option which can be set by a vmimage.conf file to specify
that no swap space should be created in the image. This will be used
by EC2 builds, since FreeBSD/EC2 allocates swap space on "ephemeral"
disks which are physically attached to the Xen host node.

In vm_extra_install_packages(), only bootstrap pkg(8) if
VM_EXTRA_PACKAGES is empty.

In vm_extra_pre_umount(), cleanup downloaded packages if pkg(8) was
bootstrapped earlier.

In vm_extra_install_base(), do not install waagent in the openstack
image, because it is not used. This appears to be a copy mistake.

Remove vm_extra_install_base() from the openstack.conf entirely,
since it does not need to be overridden.

Enable password-less sudo for openstack images.

Update the VM_EXTRA_PACKAGES list for the openstack images.

Remove vm_extra_install_base() for the Azure image, now that the
waagent exists in the ports tree.

Add sysutils/azure-agent to the VM_EXTRA_PACKAGES list.

In vm_extra_pre_umount(), remove the explicit pkg(8) install
list, as dependencies are resolved by sysutils/azure-agent.

Add a 'list-cloudware' target to print the list of supported CLOUDWARE
values and a description.

Add the AZURE_DESC and OPENSTACK_DESC descriptions.

Update release(7)

Add 'list-vmtargets' target, which produces a list of all supported
VM and cloud provider images.

Add VHD_DESC, VMDK_DESC, QCOW2_DESC, RAW_DESC image descriptions.

Update release(7) to document the list-vmtargets target.

Add initial support for the GCE (Google Compute Engine) cloud hosting
provider image.

Remove the console setting from rc.conf(5), which is not used there.
While here, set console to include vidconsole in the loader.conf(5).

Remove the pkg-clean(8) call from vm_extra_pre_umount() since the
function is often overridden.

Add vm_extra_pkg_rmcache() to call pkg-clean(8) to avoid duplicated
code.

Move resolv.conf(5) removal back to vm_extra_pre_umount() where it
belongs.

The GCE image needs resolv.conf(5) to exist (created as part of the
image setup), so it cannot be removed.

Comment the line that configures ttys(5) to 'off', which makes it
impossible to test that the image boots.

Add a note explaining why the line is commented, and not (yet) removed
entirely.

Move the 'install' bits that are specific to virtual machine images
from the Makefile to Makefile.vm.

Rename the 'install' target to 'release-install', and add a new
'vm-install' target.

Add a new 'install' target that invokes the new targets.

Add WITH_CLOUDWARE to the list of make(1) variables for the release
build.

Remove hw.vga.textmode=1 from the VM image loader.conf, which was
included during test builds and not intended to be included when
merging this project branch back to head.

Remove mk-azure.sh, which is no longer needed.

r277536:
Rename the 'release' target to 'real-release', and add two targets,
'vm-release' and 'cloudware-release', that are invoked if
WITH_VMIMAGES and WITH_CLOUDWARE are not empty.

This fixes an issue where 'make release' would not build the cloud
provider targets because CLOUDWARE was not yet set.

Move the WITH_VMIMAGES and WITH_CLOUDWARE targets to Makefile.vm.

Note: There is no 'cloudware-install' target yet, since some of the
disk image names may need to be specific to the provider, so this is
probably best handled by the build scripts.

r277606:
Provide a recipe of "true" for building the "release" target once
its prerequisites are satisfied, in order to avoid having an implicit
rule triggered by the presence of release.sh.

r277609:
When iterating through VMFORMATS, the VMBASE file is not removed
or truncated to a zero-size file, which if used to create more
than one disk image format, can result in accidental pollution of
the target formatted disk image.

Instead of using a single VMBASE image (vm.img, by default), use
a single base file for each format, named as VMFORMAT.img, which
produces VMBASE.VMFORMAT as the final formatted image.

r277836:
Rename the 'system' target to 'disc1', which is specific to the
disc1.iso installer image.

Replace 'system' with 'release' in CLEANFILES, and add 'disc1'
to CLEANDIRS.

Ensure the 'dvd' target depends on 'packagesystem'.

Fix 'mini-memstick.img' prerequisite, which should be the 'bootonly'
target, not 'disc1' (previously 'system').

Use .TARGET as the target installation directory for the disc1.iso
and bootonly.iso images, which now expand to 'disc1' and 'bootonly'
respectively, mimicking the behavior of the 'dvd' target.

Remove '@true' from the 'release' target, and instead use
'touch ${.TARGET}' to prevent multiple iterations of
'make release' from clobbering previously-built installer
medium.

r277839:
Update release(7) to reflect renaming the 'system' target to 'disc1'.

r278118:
Move service_enable="YES" rc.conf(5) additions to VM_RC_LIST and
deduplicate.

Evaluate if firstboot_freebsd_update should be enabled based on
UNAME_r, because it is not supported for the -CURRENT or -STABLE
branches.

r278119:
Use ifconfig_DEFAULT="" instead of hard-coding vtnet(4)

r278206:
Bump copyright after r277458.

r278502:
In scripts/mk-vmimage.sh, prevent incorrect usage() by defaulting
VMCONFIG to /dev/null, and additionally ensuring VMCONFIG is not
a character device before it is sourced.

While here, be sure to exit if usage() is called.

This should effectively be no-op, but the usage() output was
discovered while investigating a larger issue.

* Several changes local to stable/10 were needed in order to handle
UEFI images that are specific to this branch.

Tested with: stable/10@r278906
Sponsored by: The FreeBSD Foundation


# 274102 04-Nov-2014 gjb

MFC r274095:
Fix VOLUME_LABEL when BRANCH contains '-' and '.'
characters, in particular '-' and '.'.

Insta-MFC ok: re (hrs)
Sponsored by: The FreeBSD Foundation


# 273698 26-Oct-2014 gjb

MFC r273653:
Fix a few issues with creating VOLUME_LABEL for the
installation ISOs:

- TYPE, BRANCH, and REVISION are only defined if
OSRELEASE is not defined, so in situations where
one might set OSRELEASE for an in-house ISO build,
VOLUME_LABEL would be empty.

- makefs(8) limits the volume label to 32 characters,
which for the powerpc64 case, OSRELEASE expands to
FreeBSD-11.0-CURRENT-powerpc-powerpc64. Even with
removing the prefixing 'FreeBSD-', the string is 30
characters long, leaving zero room for suffixing the
type of ISO media (BO for bootonly, CD for cdrom, and
DVD for dvdrom).

Resolve these by defining VOLUME_LABEL when defining
OSRELEASE if unset. If OSRELEASE is defined by the
builder, use the OSRELEASE from that definition as the
VOLUME_LABEL.

In addition, for cases where both TARGET and TARGET_ARCH
are used for the VOLUME_LABEL, use TARGET_ARCH if it
differs from TARGET.

There are probably a few sharp edges here yet, but these
problems are going to affect the powerpc/powerpc64 builds
for 10.1-RELEASE, so the immediate concern is fixing the
underlying problem at hand quickly, and less so about the
elegance of the fix.

Insta-MFC ok: re (kib)
Sponsored by: The FreeBSD Foundation


# 273355 21-Oct-2014 gjb

Fix label for the UEFI bootonly cd.

Sponsored by: The FreeBSD Foundation


# 273354 21-Oct-2014 gjb

MFC r273204:
Add more descriptive metadata to the ISO images.

Sponsored by: The FreeBSD Foundation


# 273198 16-Oct-2014 gjb

MFC r273093, r273096:

r273093:
Merge the following from ^/projects/release-vmimage:
r272436, r272437, r272792:

r272436:
Remove the first argument to panic(), which was initially
intended to be the exit code, however when a non-zero exit
code was returned to release/Makefile, this would prevent
any remaining (and possibly successful) stages from being
attempted.

r272437:

If the vm-base target fails, prevent the vm-image target
from being run since it cannot possibly succeed.

r272792:

Add /usr/local/bin and /usr/local/sbin to PATH, needed
if third-party software needs to use utilities outside
of the base system during post-install stages (indexinfo
is one culprit).

r273096:
Merge the following from ^/projects/release-vmimage:
r273076, r273077, r273079, r273095:

r273076:
Add a separate make(1) target to release/Makefile to
build FreeBSD virtual machine disk images for use on
the Microsoft Azure service.

For now, this target is not directly connected to the
build, however can be manually invoked.

The 'vm-azure' target invokes {amd64,i386}/mk-azure.sh,
which does the heavy lifting to produce proper VHDs.
mk-azure.sh uses a configuration file, defaulting to
tools/azure.conf if otherwise unset.

r273077:
Clear VM_RC_LIST.

r273079:
Fix signal list to trigger umount(8).

r273095:
Output an informational message when mkimg(1) runs, so it
does not appear that the process has stopped while waiting
for a 'y/n' response when waagent is deprovisioned.

Relnotes: yes
Sponsored by: The FreeBSD Foundation


# 273080 14-Oct-2014 gjb

MFC r272414:
Merge the following revisions from ^/projects/release-vmimage:

r272234, r272236, r272262, r272264, r272269, r272271, r272272,
r272277, r272279, r272376, r272380, r272381, r272392, r272234,
r272412:

r272234:
Initial commit to include virtual machine images as part
of the FreeBSD release builds.

This adds a make(1) environment variable requirement,
WITH_VMIMAGES, which triggers the virtual machine image
targets when not defined to an empty value.

Relevant user-driven variables include:

o VMFORMATS: The virtual machine image formats to create.
Valid formats are provided by running 'mkimg --formats'

o VMSIZE: The size of the resulting virtual machine
image. Typical compression is roughly 140Mb, regardless
of the target size (10GB, 15GB, 20GB, 40GB sizes have been
tested with the same result).

o VMBASE: The prefix of the virtual machine disk images.
The VMBASE make(1) environment variable is suffixed with
each format in VMFORMATS for each individual disk image, as
well as '.img' for the source UFS filesystem passed to
mkimg(1).

This also includes a new script, mk-vmimage.sh, based on how
the VM images for 10.0-RELEASE, 9.3-RELEASE, and 10.1-RELEASE
were created (mk-vmimage.sh in ^/user/gjb/thermite/).

With the order in which the stages need to occur, as well as
sanity-checking error cases, it makes much more sense to
execute a shell script called from make(1), using env(1) to
set specific parameters for the target image than it does to
do this in make(1) directly.

r272236:
Use VMBASE in place of a hard-coded filename in the CLEANFILES
list.

r272262:
Remove a 'set -x' that snuck in during testing.

r272264:
release/Makefile:
Connect the virtual machine image build to the release
target if WITH_VMIMAGES is set to a non-empty value.

release/release.sh:
Add WITH_VMIMAGES to RELEASE_RMAKEFLAGS.

release/release.conf.sample:
Add commented entries for tuning the release build if the
WITH_VMIMAGES make(1) environment variable is set to
a non-empty value.

r272269:
release/Makefile:
Include .OBJDIR in DESTDIR in the vm-base target.

release/release.sh:
Provide the full path to mddev.

r272271:
Fix UFS label for the root filesystem.

r272272:
Remove comments left in accidentally while testing, so the
VM /etc/fstab is actually created.

r272277:
Remove the UFS label from the root filesystem since it is added
by mkimg(1) as a gpt label, consistent with the fstab(5) entry.

r272279:
Comment cleanup in panic() message when mkimg(1) does not support
the requested disk image format.

r272376:
Separate release/scripts/mk-vmimage.sh to machine-specific
scripts, making it possible to mimic the functionality for
non-x86 targets.

Move echo output if MAKEFLAGS is empty outside of usage().

Remove TARGET/TARGET_ARCH evaluation.

r272380:
Avoid using env(1) to set values passed to mk-vmimage.sh,
and instead pass the values as arguments to the script,
making it easier to run this by hand, without 'make release'.

Add usage_vm_base() and usage_vm_image() usage helpers.

r272381:
After evaluating WITH_VMIMAGES is non-empty, ensure
the mk-vmimage.sh script exists before running it.

r272392:
Add WITH_COMPRESSED_VMIMAGES variable, which when set enables
xz(1) compression of the virtual machine images.

This is intentionally separate to allow more fine-grained
tuning over which images are compressed, especially in cases
where compressing 20GB sparse images can take hours.

r272412:
Document the new 'vm-image' target, and associated release.conf
variables.

r272413:
Remove two stray comments added during the initial iterations
of testing, no longer needed.

Sponsored by: The FreeBSD Foundation


# 272727 08-Oct-2014 gjb

Revert r272724:
Features not yet available in stable/10 are needed in
mkimg(1), and it is more dangerous to tweak these changes
in stable/10 directly without explicitly testing certain
failure cases.

Re-addition of this change is imminent.

Sponsored by: The FreeBSD Foundation


# 272724 08-Oct-2014 gjb

MFC r272414:

Merge the following revisions from ^/projects/release-vmimage:

r272234, r272236, r272262, r272264, r272269, r272271, r272272,
r272277, r272279, r272376, r272380, r272381, r272392, r272234,
r272412:

r272234:
Initial commit to include virtual machine images as part
of the FreeBSD release builds.

This adds a make(1) environment variable requirement,
WITH_VMIMAGES, which triggers the virtual machine image
targets when not defined to an empty value.

Relevant user-driven variables include:

o VMFORMATS: The virtual machine image formats to create.
Valid formats are provided by running 'mkimg --formats'

o VMSIZE: The size of the resulting virtual machine
image. Typical compression is roughly 140Mb, regardless
of the target size (10GB, 15GB, 20GB, 40GB sizes have been
tested with the same result).

o VMBASE: The prefix of the virtual machine disk images.
The VMBASE make(1) environment variable is suffixed with
each format in VMFORMATS for each individual disk image, as
well as '.img' for the source UFS filesystem passed to
mkimg(1).

This also includes a new script, mk-vmimage.sh, based on how
the VM images for 10.0-RELEASE, 9.3-RELEASE, and 10.1-RELEASE
were created (mk-vmimage.sh in ^/user/gjb/thermite/).

With the order in which the stages need to occur, as well as
sanity-checking error cases, it makes much more sense to
execute a shell script called from make(1), using env(1) to
set specific parameters for the target image than it does to
do this in make(1) directly.

r272236:
Use VMBASE in place of a hard-coded filename in the CLEANFILES
list.

r272262:
Remove a 'set -x' that snuck in during testing.

r272264:
release/Makefile:
Connect the virtual machine image build to the release
target if WITH_VMIMAGES is set to a non-empty value.

release/release.sh:
Add WITH_VMIMAGES to RELEASE_RMAKEFLAGS.

release/release.conf.sample:
Add commented entries for tuning the release build if the
WITH_VMIMAGES make(1) environment variable is set to
a non-empty value.

r272269:
release/Makefile:
Include .OBJDIR in DESTDIR in the vm-base target.

release/release.sh:
Provide the full path to mddev.

r272271:
Fix UFS label for the root filesystem.

r272272:
Remove comments left in accidentally while testing, so the
VM /etc/fstab is actually created.

r272277:
Remove the UFS label from the root filesystem since it is added
by mkimg(1) as a gpt label, consistent with the fstab(5) entry.

r272279:
Comment cleanup in panic() message when mkimg(1) does not support
the requested disk image format.

r272376:
Separate release/scripts/mk-vmimage.sh to machine-specific
scripts, making it possible to mimic the functionality for
non-x86 targets.

Move echo output if MAKEFLAGS is empty outside of usage().

Remove TARGET/TARGET_ARCH evaluation.

r272380:
Avoid using env(1) to set values passed to mk-vmimage.sh,
and instead pass the values as arguments to the script,
making it easier to run this by hand, without 'make release'.

Add usage_vm_base() and usage_vm_image() usage helpers.

r272381:
After evaluating WITH_VMIMAGES is non-empty, ensure
the mk-vmimage.sh script exists before running it.

r272392:
Add WITH_COMPRESSED_VMIMAGES variable, which when set enables
xz(1) compression of the virtual machine images.

This is intentionally separate to allow more fine-grained
tuning over which images are compressed, especially in cases
where compressing 20GB sparse images can take hours.

r272412:
Document the new 'vm-image' target, and associated release.conf
variables.

r272413:
Remove two stray comments added during the initial iterations
of testing, no longer needed.

Sponsored by: The FreeBSD Foundation


# 271481 12-Sep-2014 gjb

Include the 'mini' (bootonly) UEFI memstick image
in the list of IMAGES.

This is a direct commit to stable/10.

Approved by: re (marius)
Sponsored by: The FreeBSD Foundation


# 271477 12-Sep-2014 gjb

Connect the UEFI-capable disc1.iso and dvd1.iso variants
to the build.

This is a direct commit to stable/10.

Approved by: re (marius)
Sponsored by: The FreeBSD Foundation


# 271334 09-Sep-2014 gjb

Connect the UEFI-capable memstick.img to the build.

This is a direct commit to stable/10, as the script
in head/ does UEFI by default.

Approved by: re (rodrigc)
Sponsored by: The FreeBSD Foundation


# 267417 12-Jun-2014 gjb

MFC r267326, r267327:

r267326:
Add empty pkg-stage file to CLEANFILES if WITH_DVD=1.

r267327:
Fix indentation level.

Sponsored by: The FreeBSD Foundation


# 264245 08-Apr-2014 gjb

MFC r264027, r264028, r264029, r264030, r264046, r264073:

r264027:
Add a new release build variable, WITH_COMPRESSED_IMAGES.

When set to a non-empty value, the installation medium is
compressed as part of the 'install' target in the release/
directory.

r264028:
Clean up trailing whitespace in release/Makefile.

r264029:
Fix logic error.

r264030:
If WITH_COMPRESSED_IMAGES is set, add the compressed images
to the CLEANFILES list.

r264046:
Use xz(1) instead of gzip(1) to compress release images
when WITH_COMPRESSED_IMAGES is used.

r264073:
Allow overriding xz(1) path.

Sponsored by: The FreeBSD Foundation


# 263015 11-Mar-2014 jhay

MFC r262036

etcupdate should use the src tree from where the release is built, not
the default (/usr/src) tree.


# 262761 05-Mar-2014 gjb

MFC r262499, r262505, r262507, r262509:

r262499:
release.sh:
- Add a VCSCMD variable that defaults to 'svn checkout',
and update places 'svn co' is used directly.
- After sourcing a configuration file, prefix SRCBRANCH,
PORTBRANCH, and DOCBRANCH with the SVNROOT.
- Properly capitalize 'FreeBSD.org' in the default SVNROOT.
- Update Copyright.

release.conf.sample:
- Add an example to use git instead of svn, by nullifying
SVNROOT, and setting SRCBRANCH, DOCBRANCH, and PORTBRANCH
to the URL fo a git repository.

release.7:
- Document VCSCMD.

r262505:
In release/Makefile, remove exclusion of CVS directories in the
src/ and ports/ distributions.

While I am thinking about it, exclude .git directories for src/
and ports/, as somewhat of a followup to r262499.

r262507:
Chase r262505, and remove CVS exclusion from picobsd builds.

r262509:
Rework how WORLD_FLAGS and KERNEL_FLAGS are set, to remove an
unnecessary expr(1) call.

Sponsored by: The FreeBSD Foundation


# 260781 16-Jan-2014 gjb

MFC r260772:
Update the pkg-stage target to be more compatible with pkg-1.2:

- Add a release-dvd.conf pkg(8) configuration file to override
the default FreeBSD.conf configuration.
- Remove architecture-specific pkg-stage.conf files, consolidate,
and move their contents to scripts/pkg-stage.sh.
- Use 'pkg -vv' to determine the ABI, which is used as the
cache directory.

Prior to these changes, it would be possible for pkg-stage to fetch
conflicting binary packages from multiple repositories.

Tested against: head@r260522, stable/10@r260522

Sponsored by: The FreeBSD Foundation


# 259861 25-Dec-2013 gjb

MFC r259729:
Bootstrap etcupdate(8) as part of the release build, similar
to what is done for mergemaster(8). This allows etcupdate(8)
to work out-of-box after the first upgrade of a system.

Sponsored by: The FreeBSD Foundation


# 259533 18-Dec-2013 gjb

MFC r259426, r259427:
r259426:
Add a pkg(8) repository configuration file for cdrom-based package
installation.

As part of the 'pkg-stage' target, copy the configuration file
to the 'packages/repos/' directory on the DVD filesystem.

r259427:
Export 'REPOS_DIR' when the selected source medium for package
installation is cdrom. This enables bsdconfig(8) to make use
of the on-disc pkg(8) repository configuration, which fixes
package selection and installation from the dvd installer.

Sponsored by: The FreeBSD Foundation


# 259492 17-Dec-2013 gjb

MFC r258770 (hrs):
Add NOPKG to disable pkg-stage.

Sponsored by: The FreeBSD Foundation


# 259401 14-Dec-2013 gjb

MFC r259400:
Reduce disc1.iso size by 74MB by removing lib32 libraries, sendmail,
and atf.

Sponsored by: The FreeBSD Foundation


# 259399 14-Dec-2013 gjb

MFC r256430:
Reduce disc1.iso image size by installing the userland with
the WITHOUT_PROFILE=1 option set, trimming 56MB from the image.

This change was somehow lost during the 10.0-RELEASE cycle, and
is intended for MFC to releng/10.0.

Sponsored by: The FreeBSD Foundation


# 259225 11-Dec-2013 gjb

MFC r257805, r257806, r257807, r257942:

r257805:
Add a 'mini-memstick.img' release target, which will use the
'bootonly.iso' components to create a smaller memory stick image.

This is useful for system recovery, where a full memstick.img image
is not necessarily needed (or wanted). In addition, it is possible
to do bootonly-style installation, where the base.txz, kernel.txz,
etc. are fetched from a remote source.

Provide backwards-compatible target (mini-memstick), to keep in sync
with the targets documented in release/Makefile.

r257806:
Remove extra target from 'memstick' that I forgot to remove before
previous commit.

r257807:
Update release(7) to include 'mini-memstick'.

r257942:
Fix a few style nits.

Sponsored by: The FreeBSD Foundation


# 258952 05-Dec-2013 gjb

MFC r258786, r258796, r258797, r258847, r258853, r258949:

r258786:
Move OPTIONS_UNSET outside of the PBUILD_FLAGS variable, otherwise
the textproc/docproj port build fails.

r258796 (hrs):
- Prevent TARGET and TARGET_ARCH from being defined as empty when
TARGET="" and/or TARGET_ARCH="" is specified.
- Remove extra ().

r258797 (hrs):
Use standard CLEANFILES/CLEANDIRS and clean target in bsd.obj.mk.

r258847:
Provide reproducibility between builds by building pkg(8) from ports,
instead of using pkg-bootstrap.

This should resolve a problem that was discovered during 10.0-BETA4
freebsd-update(8) builds,

r258853:
Turn off the dvdrom target by default. dvd1.iso is now built by
specifying 'WITH_DVD=1' during 'make release'.

This caused some problems during the freebsd-update builds for
10.0-BETA4.

r258949:
Ensure WITH_DVD is not empty to prevent 'WITH_DVD= ' from evaluating
to true.

Approved by: re (hrs)
Sponsored by: The FreeBSD Foundation


# 258761 30-Nov-2013 gjb

MFC r258669:
Document the dvdrom target and NODVD variable.

Approved by: re (delphij)
Sponsored by: The FreeBSD Foundation


# 258415 21-Nov-2013 gjb

MFC r258305, r258307, r258308, r258309, r258310, r258314, r258317,
r258319, r258320:

r258305:
Use the IMAGES variable to determine which image files to remove
as part of 'make -C /usr/src/release clean'.

r258307:
Add a script and configuration files to fetch pre-built packages
from pkg.FreeBSD.org for inclusion on release medium (dvd1.iso).

r258308:
Unconditionally copy the build host /etc/resolv.conf into
the chroot directory, since hostname resolution may be
needed in the case of building a dvd image (with packages)
and also setting 'NOPORTS=1'.

r258309:
Set the PKG_CACHEDIR directory to 'dvd/' instead of 'release/'
in preparation of adding a 'dvd1.iso' target.

r258310:
Add the 'dvd1.iso' target. This mimics the 'release.iso' target,
with the additional step of fetching packages for inclusion on the
dvd image.

The 'pkg-stage' target is used to run 'scripts/pkg-stage.sh' if
the '${TARGET}/pkg-stage.conf' configuration file exists (currently
only amd64 and i386).

Allow dvd1.iso to be skipped if NODVD=1.

r258314:
Fix how ABI is evaluated so it matches more than a dot-zero
case.

r258317:
Document the 'dvdrom' target.

r258319:
Remove WITHOUT_PROFILE=1 for the dvd1.iso medium.

r258320:
Simplify PKG_ABI for pkg-stage.sh.

Approved by: re (hrs)
Sponsored by: The FreeBSD Foundation


# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


# 255949 30-Sep-2013 des

Remove BIND.

Approved by: re (gjb)


# 253542 22-Jul-2013 gjb

For consistency with previous releases, name the cdrom install
cd 'disc1.iso'.

Discussed with: re@ team
Approved by: kib (mentor)
MFC after: 3 days
X-MFC-To: stable/9 only


# 253513 21-Jul-2013 gjb

Create memstick images with the '.img' filename extension.

Requested by: many
Approved by: kib (mentor)
MFC after: 3 days
X-MFC-To: stable/9 only


# 251250 02-Jun-2013 tijl

Convert old make variable modifiers :U and :L to bmake :tu and :tl.

Reviewed by: sjg


# 246283 03-Feb-2013 hrs

- Add CHECKSUM.* support in Makefile[1].
- Use ln -fs to create a symlink.
- Remove pkgadd for docports.
- Use WITHOUT_JADETEX=yes instead of WITH_JADETEX=no.
- Add {WORLD,KERNEL}_FLAGS to [BTWK]MAKE.
- Use makefs(8) and gpart(8) for sparc64 ISO image[2].
- Add publisher option to makefs(8)[2].

Based on work by: gjb[1]
Discussed with: marius, nwhitehorn[2]


# 242897 11-Nov-2012 gjb

Prevent including .zfs snapshot directories in the src.txz
distribution. This can happen if the src/ tree checkout is
within its own ZFS dataset, and the 'snapdir' ZFS property
is set to 'visible.'

Approved by: hrs
MFC after: 3 days
X-MFC-To: stable/9 only


# 241596 15-Oct-2012 emaste

Exclude potential circular symlink

This does not occur with normal release builds but can happen when reusing
these release parts for other purposes.


# 241451 11-Oct-2012 emaste

Exclude potential circular symlink when creating src tarball.

Normal release builds are not affected by this but it can happen if using
these release bits against a work tree.

Sponsored by: ADARA Networks


# 232714 09-Mar-2012 nwhitehorn

Make sure not to tar up CVS directories if this ports tree is a CVS
checkout.

PR: bin/165868
MFC after: 5 days


# 232679 08-Mar-2012 hrs

- Clean up extra ${.OBJDIR}.
- Add ${IMAGE} for the supported image files. This fixes the install target
on FreeBSD/pc98.
- Use "mkdir -p" instead of "-mkdir" consistently.

Reviewed by: nwhitehorn


# 230127 15-Jan-2012 glebius

Restore functionality to pack several kernels into release. All
kernels specified by KERNCONF are built and packed into release.
The first one is packed into kernel.txz, all others to
kernel.CONFIG.txz.

The first one is installed on bootables in /boot.


# 224978 18-Aug-2011 sbruno

Allow release generation from a WORLDDIR that is not /usr/src

PR: misc/159666
Submitted by: Test Rat <ttsestt@gmail.com>
Reviewed by: Nathan Whitehorn <nwhitehorn@freebsd.org>
Approved by: re (kib)


# 223897 09-Jul-2011 nwhitehorn

Per request of the docs team, install docs as packages, instead of via
the normal distfile mechanism. Thanks to Marc Fonvieille for the patch and
for putting up with me taking entirely too long to commit this!

Submitted by: blackend


# 223133 16-Jun-2011 nwhitehorn

Make the bootonly CD smaller by discarding static libraries that are not
useful without a toolchain.


# 223129 15-Jun-2011 nwhitehorn

Do not install the rescue tools onto the install CD. Since it is read
only, they are very unlikely to be needed and take up a great deal of
space.


# 222074 18-May-2011 nwhitehorn

As requested by many people, with final prodding from Jason Hall, fix this
so that running make release causes make obj to be run before doing
anything. This fixes a bug wherein, when run for the first time, and
without -DNOSRC, make release would attempt to recursively tar up the src
directory including its own output and enter an infinite loop.

While here, make the cross-building stuff work a little more the way it
should if only one of TARGET/TARGET_ARCH is specified.


# 220776 18-Apr-2011 nwhitehorn

Mention the memstick target here.


# 220540 11-Apr-2011 nwhitehorn

Add an install target to release/Makefile instead of grubbing around
(and requesting that users grub around) in /usr/obj. Also make sure that
make clean removes the bootonly media and clean up that target a little.


# 220081 27-Mar-2011 nwhitehorn

Add infrastructure for generation of boot-only ISO images. These have a
reduced world, though still reasonably complete for fixit purposes.


# 220037 26-Mar-2011 nwhitehorn

Cause the release target to set up its object directory. It is designed
to be a meta-target, and having it do this avoids it spewing files all
over the source tree by default (and possible recursive tarring if
distributing a src tarball).


# 219856 22-Mar-2011 nwhitehorn

Use labels to find release media instead of hard-coded device paths. This
makes booting more reliable (and working at all on USB sticks). While here,
move responsibility for setting up fstab into the various platform mk-*.sh
scripts.

Suggested by: many


# 219641 14-Mar-2011 nwhitehorn

Thanks to sysinstall for its 15 years of service. And now to sleep,
perchance to dream...


# 219177 02-Mar-2011 nwhitehorn

Improve the distributeworld target in Makefile.inc1 and update the release
infrastructure to use it. make distributeworld can now be used without
preparing its environment first and installs games into its distribution
using the regular make distribute logic instead of post-processing with
a script.

Also add two new targets, packageworld and packagekernel, that tar up the
results of distributeworld and distributekernel (also new), respectively.


# 210097 15-Jul-2010 nwhitehorn

Get powerpc64 install CDs a little closer: some powerpc things should be
used on powerpc64 as well (build scripts, for instance), and the MFS root
must be adjusted upward on powerpc64 as well.

This doesn't completely solve things: sysinstall stil needs some
persuasion to deal with a default kernel named GENERIC64.


# 210024 13-Jul-2010 nwhitehorn

Connect powerpc64 to the build. It is not presently part of make universe,
which will be added soon.

Reviewed by: imp


# 206423 09-Apr-2010 kensmith

Shift the version of perl used by the release build process over to
perl-5.10. This aligns the release build process with the current
default version of perl in the ports tree.

I'll MFC this to all active branches.

MFC after: 3 days


# 206422 09-Apr-2010 kensmith

Pass the HTTP_PROXY and FTP_PROXY environment variables through in addition
to FTP_PASSIVE_MODE so release building works for a machine that needs
to use a proxy.

PR: misc/137688
Submitted by: Michael Leun
MFC after: 2 weeks


# 201391 02-Jan-2010 nyan

Do kgzip to the loader on pc98, too. Now pc98's boot2 works for ELF.

MFC after: 2 week


# 200775 21-Dec-2009 kensmith

Add "FreeBSD-" to the beginning of the filenames for the ISO images.
People who collect ISOs from more than just us have been requesting
this for a while.

MFC after: 1 week


# 197313 18-Sep-2009 kensmith

Have sparc64 join the separate livefs crowd. Including the docs packages
on disc1 (needed now by sysinstall) overflows the target CDROM iso size.

MFC after: 3 days


# 196588 27-Aug-2009 blackend

Update some comments to match the removal of the docset compilation
during the release build.


# 196522 24-Aug-2009 jhb

Invoke the recently added mm-mtree.sh release script to store a pre-built
mergemaster mtree database in the 'base' dist.

MFC after: 3 days


# 196521 24-Aug-2009 jhb

Fix a few issues with the lib32 dist so that it includes ldd32.
- Use a better find invocation to purge empty directories from all the dist
trees during a release build. The previous version did not purge
directories whose contents were all empty directories.
- Explicitly blacklist a few files from the lib32 dist instead of using a
whitelist. A better longterm solution is to fix the few offenders to not
install data files during a lib32 install.

MFC after: 3 days


# 196432 22-Aug-2009 kensmith

Make head 9.0-CURRENT in preparation for lifting code freeze.

Approved by: re (implicit)


# 196221 14-Aug-2009 jhb

Add the ability to build a release from an SVN checkout instead of a CVS
checkout. If SVNROOT is specified, then the source tree will be checked
out from that SVN repository instead of using CVS. ports and docs still
use CVS. If SVNROOT is not specified, then the source tree will be checked
out using CVS. An explicit SVN branch can be specified using SVNBRANCH
(e.g. SVNBRANCH=stable/8). If SVNBRANCH is not set but RELEASETAG is set
to a CVS branch (such as RELENG_8) the appropriate SVN branch will be
inferred from the CVS branch using svnbranch.awk.

Note that there are still several open questions about using SVN instead
of CVS in the release process. However, this does enable one to build a
release from an SVN repository if needed.

Approved by: re (kensmith)


# 195132 28-Jun-2009 blackend

- release/* update to use freebsd-doc-* packages instead of building
FreeBSD docset during 'make release' this will speed up release
builds;
- sysinstall(8) has also been updated to use these packages with a new
menu allowing people to choose what localized doc to install;
- mention in UPDATING that docs from the FreeBSD Documentation project
are now installed in /usr/local/share/doc/freebsd instead of
/usr/share/doc.

Approved by: re (kensmith)


# 194940 25-Jun-2009 marcel

Make a DVD for ia64.


# 188607 14-Feb-2009 nyan

Restore MAKE_FLOPPIES for pc98.


# 188439 10-Feb-2009 kensmith

Turn off the parallel make options accidentally turned on by the previous
commit. Sigh.

Noticed by: rdivacky


# 188437 10-Feb-2009 kensmith

Turn off the building of boot floppies for amd64/i386.


# 184905 13-Nov-2008 kensmith

This is being committed from a sparc64 (US-III, thanks Marius!) that
was installed from a DVD so apparently it works... :-)

Enable building DVDs for sparc64.


# 184145 21-Oct-2008 kensmith

Move an echo that accidentally got put under the .if defined(MAKE_DVD).

Pointy hat: kensmith


# 184144 21-Oct-2008 kensmith

Oops, add missing @.


# 183860 14-Oct-2008 kensmith

The thought of making more than one DVD image for a release really
freaks me out. But it turns out we might be able to generalize
a few of the other things RE uses to assemble the package trees
for releases if the DVDs use a naming theme close to what is used
for the CDROMS (disc1, disc2, etc). So change the name to dvd1.
Hopefully this way src/release/scripts/{package-split.py,package-trees.sh}
can be generalized instead of copied-and-hacked.

MFC after: 5 days


# 183772 12-Oct-2008 kensmith

Add a build knob MAKE_DVD to control on a per-architecture basis whether
or not to build a tree used for the creation of a DVD image. If that is
enabled set up a DVD tree by installing everything we normally install
to the individual CDROM trees into the one DVD tree. The result is one
image with all the install bits, livefs bits, and doc bits suitable for
burning to a DVD instead of CDROM.

Enable building the DVD for amd64 and i386.

MFC after: 1 week


# 180350 07-Jul-2008 marcel

When making release with NOPORTS, we'll checkout only the
mininal set of ports required to make the docs. However,
we also need ports/sysutils/cdrtools in order to make the
ISO images. When a platform doesn't have packages, the
release will fail in that case. Add ports/sysutils/cdrtools
to RELEASEPORTSMODULE for the DOMINIMALDOCPORTS case to
handle the NOPORTS release build.

Note that this change doesn't try to handle the NOPORTS with
NODOC case. For we have NOPORTSATALL set and it seems wrong
to check out a ports module in that case.


# 180012 25-Jun-2008 ru

Enable GCC stack protection (aka Propolice) for userland:
- It is opt-out for now so as to give it maximum testing, but it may be
turned opt-in for stable branches depending on the consensus. You
can turn it off with WITHOUT_SSP.
- WITHOUT_SSP was previously used to disable the build of GNU libssp.
It is harmless to steal the knob as SSP symbols have been provided
by libc for a long time, GNU libssp should not have been much used.
- SSP is disabled in a few corners such as system bootstrap programs
(sys/boot), process bootstrap code (rtld, csu) and SSP symbols themselves.
- It should be safe to use -fstack-protector-all to build world, however
libc will be automatically downgraded to -fstack-protector because it
breaks rtld otherwise.
- This option is unavailable on ia64.

Enable GCC stack protection (aka Propolice) for kernel:
- It is opt-out for now so as to give it maximum testing.
- Do not compile your kernel with -fstack-protector-all, it won't work.

Submitted by: Jeremie Le Hen <jeremie@le-hen.org>


# 176430 21-Feb-2008 marcel

Don't use disklabel for the MFS root. The DoFS.sh script creates
a bogus partition table and puts the file system on the whole
partition. geom_part doesn't expose the 'c' partition as it's an
artifact of the BSD label and not to be used. Secondly, gpart(8)
is the preferred tool for partitioning disks on ia64.


# 174474 09-Dec-2007 obrien

Make it easier to experiment with alternate compression.

Reviewed by: kensmith


# 174243 04-Dec-2007 kensmith

When compiled with the combination of flags used to build crunched
binaries for the fixit floppy bin/ed/main.c causes a gcc warning
message about argc possibly being clobbered by longjmp or vfork.
We have threatened to ditch floppies for 8.0 but I don't want to
do quite that much rototilling yet so for now turn off -Werror while
building ed (and everything else) for the fixit floppy.

Thanks to jb for pointing out NO_WERROR.


# 173847 22-Nov-2007 simon

Remove kernel and module symbol files from disc1 (and the livecd if it
is enabled). This saves around 80MB (for i386) on the ISO images.

Note that this is only from the install media, not the installed
system where the symbols are still installed, if part of the release.

Should anybody want the symbols which match disc1/livecd, they can
just be extracted from the kernel distribution files.

Reviewed by: kensmith


# 173669 16-Nov-2007 kensmith

The i386 disc1 size wandered above what fits on 650Mb media which has been
our target previously. So i386 joins the others that have switched over
to a separate livefs iso image.


# 173503 09-Nov-2007 nyan

pccard.conf is gone.


# 172531 11-Oct-2007 kensmith

To honor the birth of RELENG_7 bump HEAD to 8.0-CURRENT.

Approved by: re (implicit)


# 171874 17-Aug-2007 bmah

Remove one more reference to the installation notes, this time in the
floppies directory.

Pointed out by: kensmith
Approved by: re (blanket for installation notes removal)


# 171845 14-Aug-2007 bmah

Don't copy the installation guide to the release media (i.e.
floppies or ISO images). We retain the concept of MD
release documentation for now, although it's fairly unlikely
that we'll ever do this again.

Approved by: re (blanket for installation guide removal)


# 169440 10-May-2007 kensmith

The amd64 monthly snapshots began overflowing disc1 (and that's without any
packages...).


# 166781 16-Feb-2007 bmah

Reflect that the hardware notes is now an MI document.


# 166401 01-Feb-2007 kensmith

Boot floppy for i386 overflowed during Jan. 2007 snapshot build, fix
it before Feb. 2007 snapshot build...


# 164950 06-Dec-2006 bmah

Teach release builds and release documentation snapshots that release
notes are no longer MD documents.


# 164347 16-Nov-2006 kensmith

Move the documentation to its own separate disc to make room for more
packages on disc2. This will also let users decide if they want to
have a CD of the docs at all - unless they're disconnected from the
net they will probably find the Web site more useful.

Reviewed by: ru
MFC after: 3 days


# 164206 11-Nov-2006 ru

Enforce RELEASENOUPDATE if EXTSRCDIR is used.

Suggested by: jb


# 163670 24-Oct-2006 ru

The AUTO_KEYBOARD_DETECT is useful on amd64 as well.


# 163669 24-Oct-2006 ru

Remove hint.atkbd.0.flags="0x1" from the installation device.hints;
kbdmux(4) is available during install and should take care of USB
keyboards.


# 162213 11-Sep-2006 ru

Make it possible again to build -CURRENT snapshots on -STABLE.

Reported by: Angelo Turetta


# 162164 08-Sep-2006 ru

Stop cutting the tarball names to eight symbols. This makes
it possible to e.g. distribute kernels with config names larger
than eight symbols, without the clash. Previousy, LALALALA
and LALALALA-SMP would be the same tarball. (I think this
comes from the old days where tarballs were put on the MS-DOS
formatted diskettes.)

MFC after: 3 days


# 161526 22-Aug-2006 ru

Remove alpha left-overs.


# 159449 09-Jun-2006 cperciva

When deleting empty directories prior to building the release tarballs,
pass the "-empty" flag to find(1). This change has no effect other
than to get rid of a few pages of "rmdir: ...: Directory not empty"
error messages. (Note that the "-empty" flag has been supported by
find(1) since 4.3-RELEASE.)


# 158650 16-May-2006 nyan

Make a bootable CD on pc98.


# 158146 29-Apr-2006 nyan

Fix the acpi.ko path for boot.flp.

PR: misc/96466
Submitted by: Nobuyuki Koganemaru
MFC after: 1 day


# 157035 23-Mar-2006 ru

Assert that /dev/null is a character device in a chroot early. Otherwise,
we might get surprises later, like /dev/null having error in the 4th line
reported by make(1). :-)

Tested by: Dmitriy Kirhlarov (who attempted to make release in a jail)


# 156958 21-Mar-2006 sam

make sure install scripts are executable

Submitted by: Ceri Davies


# 156854 18-Mar-2006 ru

Convert NO_PROFILE and NO_LIB32 to new style.


# 156813 17-Mar-2006 ru

Reimplementation of world/kernel build options. For details, see:

http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html

The src.conf(5) manpage is to follow in a few days.

Brought to you by: imp, jhb, kris, phk, ru (all bugs are mine)


# 156802 17-Mar-2006 ru

Remove NO_SENDMAIL leaked from the days when building non-crypto
stuff for release was evil.


# 156577 11-Mar-2006 sam

fix handling of default kernels

Reviewed by: ru


# 156511 09-Mar-2006 ru

Fix this to what I've actually submitted.


# 156507 09-Mar-2006 sam

handle KERNELS as before

Submitted by: ru, andrew


# 156436 08-Mar-2006 sam

Revamp base system packaging of kernels to enable up/smp selection
at runtime and to support distributing additional kernels:
o remove kernel from the base tarball
o add new kernel tarballs
o build + package both SMP and GENERIC kernels when an <arch>/conf/SMP
config file is present
o add sysinstall support for multiple kernels
o update sysinstall to probe for the number of cpus on a system
and auto-select smp/up kernel accordingly
o add a post-kernels install hook to fixup /boot/kernel
o add -ldevinfo to boot crunch for sysinstall's cpu probing logic

Notes:
1. On HEAD this code is not currently used because GENERIC kernels
include SMP. This work is mainly intended for RELENG_6 where the
GENERIC kernel is UP. If HEAD changes to match then just enable
WITH_SMP in sysinstall/Makefile.
2. The cpu probing support is done with acpi and MPTable; this means
some systems will require work for auto-detection to work.
3. The handling of /boot/kernel may need to be revisited; for now
we rename one kernel at the last moment (SMP if installed, otherwise
GENERIC). There are other, possibly better, approaches.

Lots of help from ru, emaste, scottl, and jhb.


# 155457 08-Feb-2006 hrs

Fix a bug which puts an incorrect checksum of CHECKSUM.MD5
into the CHECKSUM.MD5 file itself.

Approved by: re (scottl)
MFC after: 3 days


# 155054 30-Jan-2006 kensmith

Enable splitting up the MFSROOT floppy on amd64, the contents now overflow
one floppy's worth of space.


# 155010 29-Jan-2006 marcel

Fix the missing CD_VOLUME=1 in the cdrom.inf file on disc1 for the
livecd != disc1 case (i.e. ia64). The line was appended to the
non-existing cdrom.inf file, which was created only later. Move the
line to after the file is created.

MFC after: 1 day


# 154030 04-Jan-2006 jhb

Enable boot floppies for amd64. I just copied the needed variables over
from i386.

Tested by: Markus Trippelsdorf markus at trippelsdorf dot de
Approved by: scottl
MFC after: 1 week


# 153971 02-Jan-2006 nyan

Add EXTPORTSDIR like EXTSRCDIR and EXTDOCDIR.

PR: misc/83287
Submitted by: Gabor Kovesdan
MFC after: 1 week


# 153962 02-Jan-2006 nyan

Request boot floppy after loading mfsroot floppy because beastie.4th exists
in boot floppy.

Submitted by: Nobuyuki Koganemaru < n-kogane at syd dot odn dot ne dot jp >
MFC after: 1 week


# 153433 15-Dec-2005 iedowse

Remove one more reference to usbd.conf.


# 151996 03-Nov-2005 ru

Be cross-arch friendly.


# 151646 25-Oct-2005 ru

Refactor (some more) installation of kernel and module objects.

Try to make everyone happy: David (to have debug kernels installed
by default), Warner (to be able to override that), and myself (for
actually making it all work and to be consistent).

Now, if kernel was configured for debugging (through DEBUG=-g in
the kernel config file or "config -g"), doing "make install" will
install debug versions of kernel and module objects with their
canonical names,

kernel.debug -> /boot/kernel/kernel
if_fxp.ko.debug -> /boot/kernel/if_fxp.ko

Installing a kernel not configured for debugging, or debug kernel
with INSTALL_NODEBUG variable defined, will install non-debug
kernel and module objects.

Also, restore the install.debug and reinstall.debug targets that
are part of the existing API (they cause some additional gdb(1)
scripts to be installed).


# 150680 28-Sep-2005 kensmith

Add SHA256 checksums to the release build.

Requested by: cperciva (so)
Reviewed/improved by: ru
MFC after: 2 days


# 149843 07-Sep-2005 marcel

Unbreak release builds. Now that NO_INFO also affects the installation
of texinfo and we need makeinfo to build world, we cannot have NO_INFO
anymore when we populate the chroot.


# 147931 11-Jul-2005 kensmith

Adjust for HEAD being 7.0 now.

Approved by: re (implicit)


# 147903 11-Jul-2005 scottl

Adapt the mfsroot environment of sysinstall to the needs of the new dhclient.
This involves having passwd bits available so that seteuid("_dhcp") work,
and creating /var/empty so that chroot(_VAR_EMPTY) works. My gut feeling
is that the better solution is to make privsep and chroot optional in
dhclient, but this works well for now and is low-risk.

Approved by: re


# 147425 16-Jun-2005 ru

Provide 32-bit runtime support on amd64 as a separate distribution, lib32.

Prodded by: obrien
Nodded by: peter
Approved by: re


# 146511 23-May-2005 grehan

Make the liveCD separate ala ia64 - the combined live/install is
too large.


# 146320 17-May-2005 ru

Strip the initial world some more.


# 145812 03-May-2005 marcel

Allow specifying which INDEX file to use by setting PKG_INDEX. By default
the INDEX file is taken from the package source tree as defined by the
PKG_TREE variable. This change allows using the (possibly incomplete)
packages on pointyhat.

MFC after: 2 days


# 144401 31-Mar-2005 jhb

- Move the doc project docs over to disc2 to free up some room for future
bloat on disc1.
- Output a message letting the user know that we are generating MD5 sums
during the long pause after the last mkisofs invocation in the iso.1
target.

MFC after: 3 days


# 144022 23-Mar-2005 jhb

What should be the last major changes to the ISO layout:
- When a separate livefs ISO is used, change the name of the tree directory
to be R/cdrom/livefs and change the name of the iso to livefs.iso rather
than using disc2. Instead, disc2 is now always going to be the packages
disc regardless of the presence of a separate livefs which makes things
simpler.
- Build a very simple disc2 tree under R/cdrom that just includes the
cdrom.inf file that the packages need. Also, build a disc2.iso image
in the iso.1 target. Disc 2's volume label is "FreeBSD_Packages".
- Retire CD_EXTRA_BITS and replace it with CD_PACKAGE_TREE. CD_EXTRA_BITS
was specific to disc1, but CD_PACKAGE_TREE instead should point to a
directory that has disc1 and disc2 subdirectories that contain the extra
bits for each image.
- Rename the bootonly volume label to "FreeBSD_bootonly" and just hardcode
the disc1 and livefs volume names and iso suffixes.


# 143999 23-Mar-2005 avatar

The live CD itself no longer has /stand since a long time ago; however,
there are still a couple of places under src/release such like fixit.profile
assumed that system binary can be retrivied from /stand(ex: boot with the
live CD and run "disklabel -e" in the fixit CD shell).

Since /stand is still functional in fixit floppy, and there are more than
one places in src/release needs to be updated(document for example) if we
want to make use of something like /mnt2/rescue/vi. This commit try to
deal with aforementioned inconsistency with minimal effort by simply
create a symbolic link to /rescue.

Reviewed by: jhb, sam (mentor)


# 143938 21-Mar-2005 jhb

Add a new package splitting mechanism to replace print-cdrom-packages.sh.
The new system tries to be more automated so that there is less work for
the re's to do. It also no longer uses a /usr/ports tree as its input,
but uses the generated package build including its INDEX file as its input.
It parses the INDEX file, determines which packages should go on which ISO
images, and then builds full-fledged trees of packages that can be added
as an argument to mkisofs along with the tree built by 'make release' to
build a full CD image. The INDEX files in the populated trees are
generated with volume media number to make use of sysinstall's multiple
volume support so that the user is kindly prompted to insert the
appropriate disc for a package if it is not on the current disc. There is
still some more tweaking to be done here, but this part needs to be
committed. This stuff will all be used to prep the 5.4 release as well.

Tested by: kensmith, others on re@
Reviewed by: re


# 143887 20-Mar-2005 bmah

When building release documentation for release builds or for
release documentation snapshots, force URLS_ABSOLUTE. This
allows us to relocate HTML renderings anywhere without worrying
about breaking relative links to pages on the Web site. This can
happen when we use &base; as part of a URL.

I wonder if we should do this for all release documentation builds,
but I'm not quite sure what all the cases are.


# 143138 04-Mar-2005 jhb

Always use a separate disc for the livefs on ia64 since the merged image
doesn't fit on one disc.

Tested by: marcel
X-MFC after: 30 seconds


# 143066 02-Mar-2005 jhb

Rework how we layout the CD/DVD ISO images for releases. Note that this
is only the first stage and does not yet handle packages (which will move
to their own disc(s)).
- By default, include the live filesystem on disc1, so that disc1 is now
both an install disc and a fixit disc. The images can still be split
into two separate discs by specifying SEPARATE_LIVEFS=yes.
- Remove /usr/ports from the live filesystem disc as the merged images
do not fit on even i386 otherwise. Also, the merged image already
contains a tarball of the entire ports tree, so /usr/ports was a
duplicate anyway.
- Stop building port READMES for the release sinc they are no longer used
(/usr/ports in the live filesystem was the last remaining user).
- Split cdrom.1 into three targets. cdrom.1 builds the live filesystem
image. cdrom.2 builds the disc1 image. Note that if SEPARATE_LIVEFS
is not specified these both write to the same area. cdrom.3 builds
the bootonly image and the UFS miniroot.
- The various distribution directories are now in a <buildname>
subdirectory of disc1 rather than being in the root so that the merged
image's root is not quite as cluttered.
- The disc1 image is now called disc1.iso and we no longer build a
miniinst.iso image. If CD_EXTRA_BITS is defined, then the iso.1 target
will simply include those bits in the disc1 image that it builds.

MFC after: 1 day
Requested by: re (scottl, etc.)


# 143038 02-Mar-2005 jhb

Use the shiny, new top-level 'distribution' target when populating the
chroot area. This fixes make release of HEAD on systems that have a
/usr/src with bsd.endian.mk and a matching /usr/obj but haven't installed
the world in /usr/obj and thus have no bsd.endian.mk /usr/share/mk.


# 140167 13-Jan-2005 ru

Safer version of the chflags command.


# 139122 21-Dec-2004 ru

NOCLEAN -> NO_CLEAN
NOCLEANDIR -> NO_CLEANDIR


# 139119 21-Dec-2004 ru

NOHTML -> NO_HTML


# 139114 21-Dec-2004 ru

NOGAMES -> NO_GAMES


# 139112 21-Dec-2004 ru

NOSHARED -> NO_SHARED


# 139106 21-Dec-2004 ru

NODOCCOMPRESS -> NO_DOCCOMPRESS
NOINFO -> NO_INFO
NOINFOCOMPRESS -> NO_INFOCOMPRESS
NOLINT -> NO_LINT
NOPIC -> NO_PIC
NOPROFILE -> NO_PROFILE


# 139103 21-Dec-2004 ru

Start the dreaded NOFOO -> NO_FOO conversion.

OK'ed by: core


# 137125 02-Nov-2004 ru

Actually put hint.atkbd.0.flags="0x1" in /boot/device.hints on CD-ROMs.
(Brought to my attention by Brooks while sitting together on the floor
in "Kairo".)


# 136736 21-Oct-2004 ru

Pass WORLD_FLAGS down to the distributeworld target, so it's
possible to build releases with customizations such as with
NOPROFILE.

Problem found and fix tested by Roman Neuhauser.


# 135997 30-Sep-2004 kensmith

It turns out the ia64 architecture's disc2 overflows if we put the
ports/ tree on it. This makes putting the ports/ tree on disc2 at
all dependent on the NOPORTREADMES knob as well as the NOPORT knob
(at the moment NOPORT may be set while NOPORTREADMES isn't, that
should probably be revisited). And it hardcodes ia64 for NOPORTREADMES
by request the ia64 release builder.

While here really get rid of the temp file 'make index' leaves behind.

Tested by: i386 and ia64 'make release'
Reviewed by: marcel
MFC after: 1 day


# 135694 24-Sep-2004 kensmith

Fix-ups for a few problems reported with how ports are handled in the
release:

- run 'make index' as part of release build, INDEX* files in
CVS no longer updated and likely to be removed from CVS soon
- don't include README.html files in ports.tgz tarball because
they cause cvsup problems for users later
- put a copy of /usr/ports on disc2 that does include README.html
files so users have access to them

Reviewed by: ru (found one bug, several clean-up suggestions)
Tested by: 'make release'
MFC before: BETA6 build (this isn't likely to be tested in -current
anyway...)


# 135404 17-Sep-2004 bmah

Don't attempt to install the (obsolete and disconnected) Early Adopters
Guide on release media.


# 135395 17-Sep-2004 keramida

The early-adopter doesn't exist in HEAD anymore. The source is there,
but it's disconnected from the build. Remove it from the architecture
independent release documentation set, because it breaks "make release"
when NODOC is undefined.

Reviewed by: hrs


# 135257 15-Sep-2004 brooks

Use "cp -f" instead of "rm" and "cp" to break the hardlink to
device.hints.

Submitted by: ru


# 135204 14-Sep-2004 brooks

Add 'hint.atkbd.0.flags="0x1"' back to /boot/device.hints on the
install media on i386 and amd64. While the current default is very
useful in server environments, the ability to use USB keyboards is
vastly more important then the ability to use PS/2 keyboards the admin
forgot to plug in during the install process.

PR: kern/71443


# 134935 08-Sep-2004 ru

Correct a typo in a comment.

Submitted by: Xin LI


# 134902 07-Sep-2004 ru

Document the following knobs: CD_EXTRA_BITS, EXTRA_SRC, HTTP_PROXY
and FTP_PROXY. Removed bitrot (BOOT_CONFIG).

PR: misc/71465
Submitted by: Jon Passki <cykyc@yahoo.com>


# 134491 29-Aug-2004 obrien

Start the de-orbital burn of our previous FreeBSD version compat libs
living in usr/src. We need to use them from ports to record dependencies.

Discussed with: re(scottl)


# 134353 26-Aug-2004 ru

Fixed the shell arithmetic to work with 4.x /bin/sh.

Tested by: make release of HEAD on 4.10-STABLE


# 134008 19-Aug-2004 ru

Meet the new era of 6.0-CURRENT.


# 133952 18-Aug-2004 grehan

PPC definitions required for 'make release'

Reviewed by: ru
Submitted by: ssouhlal


# 133838 16-Aug-2004 obrien

Bring back 'NO_FLOPPIES', but as a user external knob.
The internal logic knob remains MAKE_FLOPPIES.

Suggested by: ru


# 133828 16-Aug-2004 obrien

Follow 'MAKE_ISOS' in naming and s/FLOPPIES/MAKE_FLOPPIES/g

Submitted by: ru


# 133824 16-Aug-2004 obrien

Accept the fact that floppies either aren't applicable or relevant on most
platforms. So make the floppy logic easier to read.


# 133224 06-Aug-2004 marcel

Now that make(1) passes variables that were given on the command line
to subordinate make(1) invocations through MAKEFLAGS, we cannot add
CFLAGS onto the make(1) command line. This will conflict with the
individual makefiles wanting to append to it, which is not respected
when CFLAGS is given on the command line. Hence build breakage.
So, put CFLAGS in the environment instead.


# 133202 06-Aug-2004 ru

Clean up after mechanical renumbering.


# 133199 06-Aug-2004 cperciva

Crypto is now part of the "base" distribution, and the old "release.3"
target no longer exists. Renumber the old release.[4-9] targets to
release.[3-8].

Reminded by: ru


# 133196 06-Aug-2004 cperciva

Join the 21st century: Cryptography is no longer an optional component
of releases. The -DNOCRYPT build option still exists for anyone who
really wants to build non-cryptographic binaries, but the "crypto"
release distribution is now part of "base", and anyone installing from a
release will get cryptographic binaries.

Approved by: re (scottl), markm
Discussed on: freebsd-current, in late April 2004


# 132181 15-Jul-2004 jhb

Remove some serious foot-shooting potential from the release Makefile. For
some unknown reason, when LOCAL_PATCHES and LOCAL_SCRIPT were originally
added, they were silently ignored if the actual file did not exist. As a
result, if one mistyped the pathname to a patch or script, then the release
silently succeeded. However, it was not built with the desired changes and
no warning was given to inform the builder either. This commit explicitly
checks to see that all of the defined patches and scripts exist up front
and bails if any of them do not exist. I lost several hours of valuable
sleeping time this evening due to this "feature" so I've finally gone and
ripped out. I've tripped over this in the past several other times as
well.

Glanced at by: scottl


# 130309 10-Jun-2004 brian

Die if make buildworld fails -- don't wait 'till installworld can't find
what it needs.


# 128959 05-May-2004 hrs

Add URLS_ABSOLUTE=YES into the doc.1 target.


# 128755 30-Apr-2004 kensmith

Sorry for doing this backwards, but as with most release related stuff
we only pay attention to it during release time and at the moment it's
a -stable release in progress.

This is a MFS I guess, moving rev 1.536.2.113 to HEAD. I ran out of
time to follow through with doing this last night. Sorry for the delay.

Adding a couple of variables to make tweaking the CD-ROM label and .iso
filenames easier.


# 127418 25-Mar-2004 jhb

- Only build a fixit floppy on i386 and pc98.
- Reenable boot floppies for Alpha.


# 125406 03-Feb-2004 jhb

- Use a stock loader with forth support on the boot floppies.
- Use the regular forth scripts including the stock device.hints file on
the boot floppies.
- gzip all the various text files on the boot floppy that are larger than
one sector to save on space.
- Generate a loader.conf to load the kernel, acpi.ko, and mfsroot making
use of the 'module_before' variables to prompt for a floppy to be entered
when required and use a stock loader.rc. This enables the beastie menu
on i386.
- PC98 has been changed to split the mfsroot for now so that the floppies
fit. When the PC98 bootstrap is updated to work with ELF files (which
needs to happen anyway), then SPLIT_MFSROOT can be turned off for PC98.


# 125213 29-Jan-2004 jhb

- Tweak order of arch fs options to stick all floppy options together and
all MFS root options together and in the same order on all archs.
- Drop support for using the no longer existing 2.88 floppy image for CD
booting on i386 via the EMUL_BOOT variable.
- Use a stock loader on the boot floppy rather than one without forth.
- Force the gzip of the mfsroot in release.9 to succeed. This is useful
when doing lots of rereleases when testing floppy changes.
- If an acpi kernel module exists, stick it on the boot floppy and for
now always load it after the kernel.


# 125206 29-Jan-2004 ru

Two nits from rev. 1.835:

- Fixed spelling of NO_FLOPPIES to unbreak snapshot building on
architectures that don't support them (as installation source).

- Don't rely on CVS setting execution bits on the shell script.
(This is also consistent with the rest of this makefile.)

Reviewed by: jhb


# 125201 29-Jan-2004 nyan

The name of small boot floppy should be boot-small.flp to avoid conflicting
normal size floppy.

Reviewed by: jhb


# 125139 28-Jan-2004 ru

Revert revision 1.833 -- the reinstallkernel.debug target calls the
installkernel.debug target (in the kernel build directory) which is
only defined if the kernel was configured for debugging which it is
not the case for GENERIC kernels on release branches.


# 125138 28-Jan-2004 ru

Only i386 and Alpha have the compat4x distribution.


# 125052 26-Jan-2004 jhb

Overhaul our boot floppy generation system so that it scales better and
requires minimal care and feeding for future releases.
- Consolidate multitude of floppy related constants down to a normal
FLOPPY set for 1.44 floppies and on PC98 a SMALLFLOPPY set for 1.2
floppies. Also, cleanup the i386 arch section by not duplicating
constants that are the same on both machine types (i386 and pc98).
- Update the ZIPNSPLIT macro to generate a file chunks that will actually
fit onto 1.44 floppies formatted with UFS1. Unfortunately, split(1)
seems to be somewhat buggy, so the files generated are slightly larger
than the argument passed to split.
- Split the release.10 target into 3 targers: floppies.1, floppies.2 and
floppies.3 that are added to EXTRAS only if NOFLOPPIES is defined.
floppies.1 builds the install floppies, floppies.2 builds the fixit
floppy, and floppies.3 generates the md5 sums and READMEs for the
floppies/ directory.
- Drop the by now largely obsolete and less useful boot.flp picture. This
was more useful when the mfsroot lived inside the kernel rather than
being loaded from a separate file by the loader.
- Only build a single mfsroot containing no modules that is used for all
installation methods.
- Use split-file.sh to split up a gzipped GENERIC kernel into however many
floppies it takes for the boot kernel. Currently, a stock 5.2 GENERIC
kernel including WITNESS, INVARIANTS, DDB, and other assorted bloat fits
onto 2 additional floppies besides the boot floppy with some room to
spare.
- If SPLIT_MFSROOT is defined, the mfsroot.gz file is similar split into
however many floppies are needed. Currently it is not defined as the
mfsroot.gz fits onto the current boot.flp with room to spare.
- Add a 'makeFloppySet' target which builds a floppy set for a file that
was split using split-file.sh.
- Rename the doMFSKERN target to 'buildBootFloppy' as that more closely
matches what it does now. We no longer build a custom BOOTMFS kernel for
each boot floppy.
- We no longer build a 2.88 boot.flp image to use with emulated CD booting.
The non-emulated cdboot works for almost everyone who boots off of CD and
if it doesn't work on a particular machine, the user can always boot from
the 1.44 floppy images.
- We no longer build a driver floppy or stick kernel modules in the mfsroot
since we now use a stock kernel when booting from floppy.


# 124831 22-Jan-2004 ru

- Run makewhatis(1) in etc/Makefile at the end of "install".
- Removed redundant and undocumented NO_MAKEDB_RUN knob.


# 124777 21-Jan-2004 ru

Use the reinstallkernel.debug target, now that we have it.


# 124715 19-Jan-2004 matusita

Fix "5.x release on 4.x box" support.

It is required to check /etc/rc.d/ldconfig before use, because
${CHROOT} sandbox is sometimes 4.x world. If /etc/rc.d/ldconfig
is not there, run ldconfig(8) directly.

Discussed with: imp, obrien, ru


# 124638 17-Jan-2004 ru

Once upon a time we had both "crypto" and "krb5" distributions,
and rebuilt some bits with crypto but without Kerberos support
(most notably SSH) during "make release", to put them into the
"crypto" distribution.

Now that we don't ship the separate "krb5" distribution anymore
(it's now part of the "crypto" distribuion), don't waste time
recompiling SSH bits without crypto and without Kerberos support
in an attempt to put them in the "base" distribution -- it just
doesn't work as SSH always uses crypto code.

We avoid this by not rebuilding KPROGS from kerberos5/Makefile in
release/Makefile and adding "libpam" to SPROGS in secure/Makefile
to ensure it's still rebuilt without crypto support for the "base"
distribution. (Disabling crypto (NOCRYPT) also disables building
of Kerberos-related PAM modules, and it's OK to depend on this.)

This should be a no-op change saving some "make release" time.


# 124636 17-Jan-2004 ru

MFRELENG_5_2: Default the snapshot versioning to 5.2.

PR: misc/61402
Submitted by: Chris Knight


# 124549 15-Jan-2004 nyan

Add missing '\' in previous change.


# 124493 13-Jan-2004 obrien

* if-like-constructs now use <TAB>body consistently.
* Long statements with '\' continuation now use <4 spaces>continuation
consistently.
* wraps some long lines
* More consistent on how very simular repeated commands are wrapped.


# 124418 12-Jan-2004 nyan

Use /etc/rc.d/ldconfig script rather than the ldconfig command directly.

Submitted by: matusita


# 124376 11-Jan-2004 nyan

Run ldconfig in the chroot environment to find shared libraries in
/usr/local/lib.


# 123084 01-Dec-2003 obrien

Automatically generate the CHECKSUM.MD5 file for ISO's.

Approved by: scottl


# 122734 15-Nov-2003 kuriyama

Generate minimal /etc/group file for mfsroot tree.

This fixes newfs failures at installation.

Reviewed by: re (scottl)


# 122650 14-Nov-2003 kuriyama

Fix ${LOCAL_PATCHES} (chdir was ignored).


# 121793 31-Oct-2003 ru

Combining "all" and "install" in one invocation is a very bad idea as
conditional evaluation is done only once in this case, and this may
not account for the fact that some conditionals would be evaluated
differently if "all" has already been run, like is the case with the
loader.help existance check in sys/boot/alpha/common/Makefile.common,
beforeinstall target. This should fix Alpha snapshot builds.


# 120855 06-Oct-2003 ru

Correct the description of what the release.3 stage does nowadays.


# 120310 21-Sep-2003 ru

Make LOCAL_PATCHES accept multiple patch files, as its name suggests.


# 120225 19-Sep-2003 ru

For boot floppies, build a lightweight version of loader(8)
without Forth support. Saves 28K of kern.flp and boot.flp
on i386.

Reviewed by: jhb


# 118763 11-Aug-2003 obrien

2nd part of making the name of the release running script overrideable.


# 118720 10-Aug-2003 obrien

Make the name of the release running script overrideable.


# 118674 08-Aug-2003 ru

Added the new knob MINIROOT that, when set, causes the creation
of the bootable UFS image, miniroot.ufs, fully identical to the
contents of the "bootonly" CD-ROM. The image is made available
on FTP as miniroot/miniroot.ufs.gz, for resemblance with NetBSD.

This replaces the boot.flp image for sparc64, making the latter
as coming with NO_FLOPPIES.

Reviewed by: jhb
Tested by: hrs


# 118628 07-Aug-2003 ru

- Eliminate the "rm" command that was causing us trouble in rev. 1.799.

- Normalize doRELEASE to avoid seeing "`ftp.1' is up to date." warning
when doing "make rerelease", and ftp.1 was already built.

Reviewed by: jhb


# 118525 06-Aug-2003 ru

- Unbreak Alpha snapshots (we were still attempting to build a
no longer existing "fixit" crunched binary).

- Simplify the CRUNCH_TARGETS variable's initialization.

- Simplify the release.5 logic a bit by accounting for the fact
that release/*_crunch.conf files were removed two years ago.


# 118458 05-Aug-2003 ache

Back out LC_ALL=C since tr here supposed to run under clean env -i
environment always.

Pointed by: ru


# 118449 04-Aug-2003 ache

LANG->LC_ALL

Pointed by: ru


# 118436 04-Aug-2003 ache

Prepend LANG=C to all tr 'a-z' 'A-Z' and vice versa.
Note: this is POSIX requirement, c-c ranges are portable only in POSIX locale


# 118393 03-Aug-2003 ru

- Removed vestiges of the IA64 boot floppy support.
- Fixed the bootable CD-ROM support for IA64.

Reviewed by: marcel
Tested by: marcel


# 118363 02-Aug-2003 ru

- 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


# 118250 31-Jul-2003 ru

From now on, Alpha releases will come with NO_FLOPPIES.

Approved by: consensus on freebsd-alpha

A replacement (miniboot.iso) is currently under development.


# 118249 31-Jul-2003 ru

Revert last delta, sys/conf/kern.pre.mk,v 1.33 does the job.

OK'ed by: scottl


# 118210 30-Jul-2003 ru

The -Os kernel build with GCC 3.3.1 also requires -fno-strict-aliasing
to survive.

Discussed with: bde
Tested on: i386 and pc98


# 118209 30-Jul-2003 ru

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.


# 118200 30-Jul-2003 ru

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.


# 118198 30-Jul-2003 ru

Moved the MFS root floppies creation code from release.10 to
doMFSKERN (where it logically belongs).


# 118180 29-Jul-2003 ru

Make IA64 a second port that comes with NO_FLOPPIES.

Reviewed by: marcel


# 118044 26-Jul-2003 scottl

Bah, I go and get all preachy, and then commit from the wrong branch. Revert
the use of '-j8'.

Apologies to: ru


# 118043 26-Jul-2003 scottl

Fix the release build with a forgotten '-f'.


# 118014 25-Jul-2003 ru

Make the PC98 small boot floppy usable again.

Spotted by: nyan
Reviewed by: nyan


# 118007 25-Jul-2003 ru

The RELEASE9 knob is now OBE.

OK'ed by: jhb


# 118006 25-Jul-2003 ru

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


# 117974 24-Jul-2003 markm

Get the correct set of cryptographically-infected binaries
automagically from the (secure|kerberos5)/Makefile:[KS]PROG.


# 117969 24-Jul-2003 ru

Replaced the hardcoded target names in the touch(1) commands with
${.TARGET}, to ease maintenance.


# 117939 23-Jul-2003 ru

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


# 117923 23-Jul-2003 ru

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.


# 117919 23-Jul-2003 ru

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


# 117915 23-Jul-2003 ru

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


# 117913 23-Jul-2003 ru

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


# 117874 22-Jul-2003 ru

/floppies/boot.flp is no longer necessary on bootable i386 CD-ROMs.

Forgotten by: jhb


# 117230 04-Jul-2003 ru

Fixed the last-minute bug I made in previous commit.


# 117229 04-Jul-2003 ru

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.


# 116879 26-Jun-2003 ru

MFRELENG_5_1: Default the release makefile to 5.1.


# 116878 26-Jun-2003 ru

Be laconic.


# 116853 26-Jun-2003 peter

Add amd64 support


# 115860 04-Jun-2003 peter

TARGET_ARCH == amd64 also has /boot/mbr.


# 115808 04-Jun-2003 marcel

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.


# 115725 02-Jun-2003 jhb

Add some missing items to the make clean target.


# 115218 21-May-2003 obrien

Remove alpha-specific floppy build target for now.

Approved by: re(jhb)


# 115174 20-May-2003 scottl

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


# 115139 18-May-2003 jmallett

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)


# 115106 17-May-2003 ru

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)


# 114828 08-May-2003 obrien

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)


# 114709 05-May-2003 markm

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.


# 114693 05-May-2003 murray

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


# 114304 30-Apr-2003 markm

KerberosIV removal. Also crunch down the "krb5" distribution into
"secure".


# 114002 25-Apr-2003 kuriyama

Removing comment in some text files for fixit floppy overflow.

Approved by: re (murray)


# 113899 23-Apr-2003 ru

Presumably fix sparc64 "make release". (The breakage was due to
sunlabel(8) no longer being linked to disklabel(8).)

Reviewed by: phk


# 113645 18-Apr-2003 jwd

continuation not needed


# 113511 15-Apr-2003 ru

Don't play with MAKEFLAGS in one other place too; it's dangerous.


# 113505 15-Apr-2003 ru

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


# 112863 31-Mar-2003 ru

Revert revision 1.639 -- the "nodev" mount(8) option restriction
does not apply to ${CHROOTDIR} file system since revision 1.712.


# 112862 31-Mar-2003 ru

Strip the .comment section out from the BOOTMFS kernel.


# 112506 23-Mar-2003 obrien

s/loaded as a module/available as a module/g

Submitted by: ru


# 112459 21-Mar-2003 ru

Use the target arhitecture's disktab(5) file.


# 112453 20-Mar-2003 ru

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.


# 112348 17-Mar-2003 obrien

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.


# 112345 17-Mar-2003 ru

Unbreak iso.1.


# 112331 17-Mar-2003 obrien

Use positive logic rather than harder-to-read negative logic.


# 112325 16-Mar-2003 obrien

Make PREFETCHDISTFILES the default. Set NO_PREFETCHDISTFILES if you don't
like this. Also make it easier to issue the distfile fetching on command.


# 112323 16-Mar-2003 obrien

Add PORTREADMES_FLAGS which can really speed up the build on SMP machines
when set to -j<3*#CPU's>


# 111983 08-Mar-2003 markm

KerberosIV de-orbit burn continues. Disconnect from "make release".


# 111980 08-Mar-2003 marcel

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.


# 111554 26-Feb-2003 ru

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? :-)


# 111341 23-Feb-2003 ru

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.)


# 111294 23-Feb-2003 jwd

mk file needed for 'make obj' done by $CHROOTDIR/mk


# 111228 21-Feb-2003 ru

Fixed synopsis.
Mention that md(4) should be active (from release(7)).
Yet, this has nothing to do with bsd.prog.mk.


# 110984 16-Feb-2003 matusita

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)


# 110332 04-Feb-2003 ru

Run kgzip(8) in a right environment and pass it the correct loader object.


# 110034 29-Jan-2003 ru

Part 2/3 of unbreaking cross releases:

Use the right strip(1) binary.


# 109516 19-Jan-2003 obrien

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..


# 109386 16-Jan-2003 scottl

Fix 'make release' from erroring out if this is an arch without driver
floppies.

Submitted by: nyan
Reviewed by: jhb


# 109334 15-Jan-2003 jhb

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)


# 109117 11-Jan-2003 obrien

Make iso.1 more readable.


# 108571 02-Jan-2003 imp

Backout phk's backout of obrien's change.

Hat: core


# 108505 31-Dec-2002 phk

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.


# 108502 31-Dec-2002 phk

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.


# 108348 28-Dec-2002 nyan

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>


# 108283 26-Dec-2002 ru

MFS: Split export list.


# 107991 17-Dec-2002 obrien

Split files into 1.44MB chunks rather than a tiny, high-ftp overhead size.

Approved by: rwatson


# 107990 17-Dec-2002 obrien

Strip out any .comment ELF sections from crunchgen'ed binaries.


# 107810 13-Dec-2002 murray

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


# 107732 10-Dec-2002 bmah

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


# 107712 09-Dec-2002 murray

Only create the DRIVERS.TXT file on i386 for now.

Approved by: re


# 107711 09-Dec-2002 murray

Create DRIVERS.TXT file to describe the contents of drivers.flp.

Approved by: re


# 107539 03-Dec-2002 des

Add lib/libfetch and usr.bin/fetch to FIXCRYPTO since they need the crypto
libraries for SSL support.

Approved by: re (rwatson)


# 107056 18-Nov-2002 nyan

Export NO_CPU_CFLAGS and NO_CPU_COPTFLAGS to chroot.


# 107009 17-Nov-2002 nyan

Copy from ${EXTLOCALDIR} to ${CHROOTDIR}/usr/local if EXTLOCALDIR is defined.


# 106963 15-Nov-2002 jhb

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)


# 106961 15-Nov-2002 jhb

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>


# 106819 12-Nov-2002 ru

release.9 for ia64 cannot be currently cross-built -- gpt(8)
is built on ia64 only.


# 106487 06-Nov-2002 marcel

Don't ever disable ACPI on ia64. We cannot life without it.


# 106471 05-Nov-2002 marcel

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.


# 106457 05-Nov-2002 ru

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.


# 106455 05-Nov-2002 nyan

Make a small (1.2M) fixit floppy image for pc98.


# 106448 05-Nov-2002 ru

Use ${TARGET_ARCH} for ia64 tests.


# 106413 04-Nov-2002 jhb

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


# 106409 04-Nov-2002 nyan

Use ${RD}/trees/base/boot/loader for kern.flp instead of /boot/loader.


# 106391 04-Nov-2002 marcel

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.


# 106327 02-Nov-2002 jwd

Add CVSARGS for cvs arguments (vs. cvs subcommand arguments).
Allow the cvs command to be prefixed by using CVSPREFIX.


# 106311 01-Nov-2002 jhb

- 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


# 105975 26-Oct-2002 bmah

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.


# 105851 24-Oct-2002 nyan

Remove unneeded variables.


# 105630 21-Oct-2002 ru

Make floppy-making part of release.9 conditional on *BOOTSIZE
rather than on "pc98" (rev. 1.710) and "sparc64" (rev. 1.711).


# 105529 20-Oct-2002 matusita

Nuke pccard.conf from FreeBSD/i386 mfsroot (no longer needed).

Suggested by: nyan


# 105461 19-Oct-2002 sam

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


# 105207 16-Oct-2002 jake

Add support for building sparc64 releases.

Reviewed by: murray


# 105111 14-Oct-2002 nyan

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.


# 104901 11-Oct-2002 ru

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)


# 104144 29-Sep-2002 nyan

Don't make an error even if drivers.conf does not exist.

Tested on: snapshots.pc98.jp.FreeBSD.org


# 103860 23-Sep-2002 ru

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


# 103699 20-Sep-2002 matusita

Kernel MIB name for disabling ACPI was changed.

Pointed out by: iwasaki


# 103436 17-Sep-2002 peter

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


# 103184 10-Sep-2002 nyan

Use ${TARGET}/dokern.sh instead of ${TARGET_ARCH}/dokern.sh.
(pc98/dokern.sh is (repository) copied from i386/dokern.sh.)


# 101873 14-Aug-2002 ru

Collapsed the export list, added CD_EXTRA_BITS to it.


# 101836 13-Aug-2002 ru

Two more variables to export: KERNELS and AUTO_KEYBOARD_DETECT.

Submitted by: Alan Judge <Alan.Judge@eircom.net>


# 101565 09-Aug-2002 jhay

Remove a stray ';'.


# 101564 09-Aug-2002 jhay

Remove a '-' that is not needed.

Submitted by: ru


# 101563 09-Aug-2002 jhay

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


# 101392 05-Aug-2002 ru

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


# 101391 05-Aug-2002 ru

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>


# 101227 02-Aug-2002 ru

Catch up to the rev. 1.694 changes; WITHOUT_X11 is not anymore set in
the environment.


# 100760 27-Jul-2002 jhb

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


# 100710 26-Jul-2002 ru

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


# 100671 25-Jul-2002 ru

Braino in the 1.672 commit: scripts/games-make.sh expects the
"manpages" and "catpages" dists to be already built.


# 100633 24-Jul-2002 ru

Copy the right dhclient-script(8).


# 99876 12-Jul-2002 ru

Fix ${TMAKE} to use the correct .mk files.
Removed stray -DNO_WERROR's.


# 99776 11-Jul-2002 ru

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.)


# 99496 06-Jul-2002 ru

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.


# 99369 03-Jul-2002 trhodes

Fix a typo: s/und/and/

Not Reviewed by: re@


# 98438 19-Jun-2002 matusita

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


# 98027 08-Jun-2002 matusita

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


# 97814 04-Jun-2002 nyan

Install MD documentations in ${TARGET} directory instead of ${TARGET_ARCH}.


# 97344 27-May-2002 ru

Change the ">>> make release ..." output to also include ${TARGET}.


# 97343 27-May-2002 ru

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.


# 97285 25-May-2002 ru

PC98 creates different BOOTMFS configs for different floppy sizes.

Broken in: rev. 1.672
Spotted by: nyan


# 97239 24-May-2002 ru

Convert Perl scripts to awk(1).


# 96827 18-May-2002 bmah

Build ports needed for release documentation WITHOUT_PYTHON.


# 96587 14-May-2002 ru

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").


# 96586 14-May-2002 ru

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.)


# 96585 14-May-2002 ru

GC now redundant BOOTSTRAPUTILS stuff.


# 95793 30-Apr-2002 ru

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'.


# 95731 29-Apr-2002 ru

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.


# 95558 27-Apr-2002 matusita

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)


# 95520 26-Apr-2002 ru

If we are making a "release", we can obviously use -DNOCLEAN buildworld,
to save some time, because ${CHROOTDIR}/usr/obj does not even exist.


# 95509 26-Apr-2002 ru

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>


# 95363 24-Apr-2002 ru

Build the catpages distribution in a more natural way.


# 95361 24-Apr-2002 ru

The chrooted environment isn't nearly pristine, so reset
MAKEOBJDIRPREFIX to the canonical /usr/obj while there.


# 95327 23-Apr-2002 obrien

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


# 95307 23-Apr-2002 ru

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.


# 94255 09-Apr-2002 matusita

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)


# 93671 02-Apr-2002 matusita

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).


# 93479 31-Mar-2002 murray

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


# 93406 30-Mar-2002 murray

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.


# 93398 29-Mar-2002 murray

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.


# 93322 28-Mar-2002 ru

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


# 93236 26-Mar-2002 jhb

Remove all traces of write_mfs_in_kernel from the base system release
area.

Requested by: joe


# 92477 17-Mar-2002 murray

Remind developers to update release(7) if they make substantial
changes to this file.


# 91252 25-Feb-2002 peter

Supply -DNO_WERROR to the kernel build during release.


# 91230 25-Feb-2002 matusita

Typo fix: missing ;.

Pointed out by: Manfred Antar <null@pozo.com>
Pointy hat to: matusita


# 90571 12-Feb-2002 matusita

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


# 90129 03-Feb-2002 matusita

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


# 90004 31-Jan-2002 matusita

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


# 89596 20-Jan-2002 matusita

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.


# 89473 17-Jan-2002 joerg

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


# 88580 28-Dec-2001 bmah

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)


# 88557 27-Dec-2001 bmah

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


# 88549 27-Dec-2001 bmah

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.


# 88148 18-Dec-2001 green

set TMPDIR to /tmp


# 86887 25-Nov-2001 nyan

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


# 86846 24-Nov-2001 nyan

PC98 boxes cannot boot from CD-ROM.


# 86821 23-Nov-2001 nyan

Search ${MACHINE}/drivers.conf instead of ${MACHINE_ARCH}/drivers.conf.
The previous commit is not completely.


# 86769 22-Nov-2001 nyan

Use a separate drivers.conf between i386 and pc98.


# 86759 22-Nov-2001 jhb

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.


# 86713 21-Nov-2001 nyan

Increase the size of a mfsroot floppy for pc98 to 4320.


# 86703 20-Nov-2001 jhb

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.


# 86627 19-Nov-2001 jhb

Use modules-depend instead of kernel-depend for doing the depend stage
in doMODULES.


# 86626 19-Nov-2001 jhb

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


# 86506 17-Nov-2001 bmah

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>


# 85693 29-Oct-2001 nyan

Make CD-ROM distributions at the pc98 release target.

MFC after: 3 days


# 83865 23-Sep-2001 bmah

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


# 83390 13-Sep-2001 murray

'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.


# 82887 03-Sep-2001 obrien

Cause an error condition to be sensed by make(1) if we have trouble
making the ISO.


# 82806 02-Sep-2001 jkh

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>


# 81996 20-Aug-2001 obrien

+ 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


# 81734 15-Aug-2001 obrien

Add an `iso' target to create ISO images properly for each platform.


# 80183 23-Jul-2001 jkh

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.


# 80094 21-Jul-2001 obrien

dokern.sh was repo copied from src/release/scripts to
src/release/${MACHINE_ARCH}


# 79844 18-Jul-2001 phk

Use quotes around ${RELEASETAG} to allow values like
-r RELENG_4 -D "2001-07-17 12:00"


# 79340 05-Jul-2001 bmah

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


# 79033 30-Jun-2001 imp

Fix make release for new kernel locations


# 78742 25-Jun-2001 jkh

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>


# 78579 22-Jun-2001 bmah

Put docbook.css in the ftp and cdrom areas of a release build because
they have HTML renderings of the release documentation.


# 78228 14-Jun-2001 peter

Temporarily disable INTRO_USERCONFIG for the moment.

Noted by: Dave Cornejo <dave@dogwood.com>


# 78041 11-Jun-2001 ache

ISO_ -> ISO


# 77763 05-Jun-2001 bmah

Use WITHOUT_X11, not NO_X, as the standardized way of turning off doc
ports' dependencies on X Windows during release builds.


# 77641 03-Jun-2001 dd

Remove unused VNDEVICE variable.


# 77493 30-May-2001 bmah

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>


# 77401 29-May-2001 bmah

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


# 77188 25-May-2001 bmah

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.


# 76938 21-May-2001 bmah

Update comment: We don't use vn(4) anymore in -CURRENT, we use md(4).


# 76278 04-May-2001 joerg

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


# 76082 27-Apr-2001 bmah

First commit of RELNOTESng, the rewrite of the *.TXT documentation
files.

src/release/doc/README has additional information.

Reviewed by: -current, -doc


# 75827 22-Apr-2001 obrien

Allow the `release' target to work if one disables the debug kernel build.

Submitted by: jhb


# 75623 17-Apr-2001 obrien

Optimize make invocations by using multiple targets.


# 75547 16-Apr-2001 obrien

Grrr, get the right change from the the machine I tested this on.


# 75528 15-Apr-2001 obrien

Turn on kernel debugging support (DDB, INVARIANTS, INVARIANT_SUPPORT, WITNESS)
by default while SMPng is still being developed.

Submitted by: jhb


# 75520 14-Apr-2001 jkh

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>


# 75413 11-Apr-2001 obrien

Missed one in rev 1.608.


# 75405 11-Apr-2001 obrien

Properly set `KERNEL' w/in the "doSTDKERNEL:" target.

Reviewed by: jhb


# 75327 08-Apr-2001 obrien

Fix typo in error message.


# 75278 07-Apr-2001 obrien

Strip comments from the MFSROOT's /stand/etc files.


# 75277 07-Apr-2001 obrien

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.


# 75270 06-Apr-2001 obrien

Correct a bug in rev 1.589. The `make obj' that was removed for
sysinstall was also effectively a `make obj' for src/release.


# 75251 05-Apr-2001 obrien

Don't need to preload the `vn' KLD anymore as we use `md' for release
building.


# 75173 04-Apr-2001 ru

Put back required ')'.

Submitted by: jhay


# 75126 03-Apr-2001 ru

Drop support for -DRELEASE_BUILD_FIXIT and -DCRUNCHED_BINARY in
${CFLAGS}. The only supported method thus is -DRELEASE_CRUNCH.


# 75040 31-Mar-2001 ru

Moved -DRELEASE_CRUNCH into crunchgen(1) config files.


# 74833 27-Mar-2001 obrien

Add ttyd0 which is needed on the Alpha when using the fix-it CDROM
over a serial console.


# 74706 23-Mar-2001 jkh

The early compat dists only make sense on the i386


# 74611 21-Mar-2001 alfred

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


# 73943 07-Mar-2001 jkh

Set NO_X during release build so the doc ports don't try to build XFree86.


# 73349 02-Mar-2001 ru

setlocale(3) has been fixed to match POSIX standard:
LC_ALL takes precedence over other LC_* envariables.


# 72823 21-Feb-2001 jkh

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>


# 72697 19-Feb-2001 asmodai

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


# 72248 09-Feb-2001 murray

Add the `compat4x' distribution to the release Makefile.

Approved by: jkh


# 72078 06-Feb-2001 jkh

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".


# 72077 06-Feb-2001 jkh

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.


# 71149 17-Jan-2001 jhb

- 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.


# 70565 01-Jan-2001 peter

Further tidy up the sbin/init and release builds.


# 70419 28-Dec-2000 peter

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)


# 68987 21-Nov-2000 marcel

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.


# 68633 12-Nov-2000 jkh

Stop using AUXRELEASETAG for everything and use PORTSRELEASETAG and
DOCRELEASETAG in the appropriate places instead.

Submitted by: asami


# 68373 05-Nov-2000 jkh

MFS: comment character and readability fixes.


# 68364 05-Nov-2000 truckman

Ignore chflags failure so that doMFSKERN won't abort on an NFS mounted
filesystem.


# 68363 05-Nov-2000 truckman

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


# 68248 02-Nov-2000 hosokawa

Better way to ensure vn.ko is loaded.
This does not affect the kernel that vn is linked statically.


# 68241 02-Nov-2000 hosokawa

Revert 1.574 (maybe dummy vnconfig is better)
Requested by: jkh@FreeBSD.org


# 68238 02-Nov-2000 hosokawa

Merge from RELENG_4 (1.536.2.24 to 1.536.2.25).
Ensure vn.ko is loaded.

Submitted by: obrien@FreeBSD.org


# 68048 31-Oct-2000 hosokawa

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


# 67626 26-Oct-2000 jwd

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>


# 67516 24-Oct-2000 obrien

Remove /boot/boot[12] from the MFS installation floppies.
This saves us 8KB.

Submitted by: Makoto MATSUSHITA <matusita@jp.FreeBSD.org>
Reviewed by: jhb


# 67502 24-Oct-2000 gshapiro

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


# 67426 22-Oct-2000 gshapiro

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/.


# 66780 07-Oct-2000 obrien

Seems ${RD}/trees/bin/boot/kernel can exist before the `release.6:' target
runs. So perform a copy that take that into account.


# 66665 05-Oct-2000 obrien

This change adds:
/boot/GENERIC/kernel
/boot/kernel/kernel
/boot/kernel/*.ko
and removes:
/kernel.GENERIC
from the bin dist.

Approved by: jkh


# 65579 07-Sep-2000 jhb

- Revert gratuitous reinstall -> install change in previous commit.
- Don't try to build modules when compiling a kernel during release.


# 65562 07-Sep-2000 obrien

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.


# 65180 28-Aug-2000 jhb

Revert back to the previous i-node values for the fixit floppy.


# 65161 28-Aug-2000 jhay

The fixit floppy needs a few more inodes.


# 64933 22-Aug-2000 jkh

Use consistent timezone so date information can be meaningfully compared.


# 64900 21-Aug-2000 jhb

Touch ftp.1 and cdrom.1 when those stages are done to speed up make
rerelease when a release dies very late.


# 64700 16-Aug-2000 nyan

Decrease the size of mfsroot.flp for PC-98 to 1.2MB.


# 64556 12-Aug-2000 nyan

- Make both 1.2MB and 1.44MB floppy images for PC-98.
- Rename BIGBOOT to FDSIZE for the floppy image size.


# 63885 26-Jul-2000 jkh

Fix a paste-o error which broke the build

Pointy-hat to: jhb


# 63871 26-Jul-2000 jhb

Take a lesson from picoBSD: symlink /bin and /sbin to /stand in the mfsroot
and install dhclient-script in stand/.


# 63857 25-Jul-2000 jhb

Grrr, build a non-crypto version of tcpdump to stick in the bin distribution.

Submitted by: kris


# 63835 25-Jul-2000 jkh

Actually make the date printing hack work.


# 63776 23-Jul-2000 marcel

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.


# 63593 20-Jul-2000 jhb

- 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.


# 63294 17-Jul-2000 jkh

Add descriptive start/stop time information to make release. Now
you can just ``grep >>> release.log'' and get all the highlights.


# 63260 16-Jul-2000 ache

Forget to add -L to one mtree call


# 63258 16-Jul-2000 ache

Add -L to mtree calls since default changed back


# 63161 14-Jul-2000 jhb

- 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.


# 63118 14-Jul-2000 ume

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


# 62364 01-Jul-2000 jhb

- 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.


# 62258 29-Jun-2000 nyan

- 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.


# 62016 23-Jun-2000 alex

Fix doc: RELENG_4 is -stable now.

PR: 19474
Submitted by: Bruce A. Mah <bmah@cisco.com>


# 62004 23-Jun-2000 nyan

Set BASE=5.0


# 61277 05-Jun-2000 nyan

- 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


# 61269 05-Jun-2000 joe

Disable colour support in ls when building the fixit floppy, and make
a note of it in the release Makefile.


# 61236 04-Jun-2000 jkh

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.


# 61145 01-Jun-2000 jkh

Make the ports readmes and foreign docs more optional.

Submitted by: Ben Smithurst <ben@scientia.demon.co.uk>


# 60416 12-May-2000 jhb

Add USB devices to /dev on the install floppy.
Add usbd.conf to /etc on the install floppy.


# 60288 09-May-2000 jhb

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>


# 60211 08-May-2000 jhb

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


# 59486 22-Apr-2000 jkh

make release builds a bit more error-resistant


# 59314 17-Apr-2000 iwasaki

Create mfsfd/etc/defaults/ first before copying etc/defaults/pccard.conf.


# 59306 17-Apr-2000 iwasaki

Fix the location of pccard.conf,
etc/pccard.conf.sample -> etc/defaults/pccard.conf.

Submitted by: Makoto MATSUSHITA <matusita@jp.freebsd.org>


# 59068 06-Apr-2000 asami

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


# 57938 12-Mar-2000 jkh

Add USA_RESIDENT to release make variables; can't hurt.

Submitted by: Tatsumi Hosokawa <hosokawa@itc.keio.ac.jp>


# 57745 03-Mar-2000 jhay

Fix a copy and paste error. Make release should be operational again.

Reviewed by: markm


# 57621 29-Feb-2000 jkh

release glue to support s/des/crypto/

Submitted by: markm


# 56779 29-Jan-2000 obrien

Forgot to setup disc2 (the livefs) for booting also.


# 56775 29-Jan-2000 obrien

Setup cdrom/disc1/ for booting in the Alpha case.


# 56577 25-Jan-2000 obrien

Remove historical vestage from the days when there was 1 boot floppy for
i386 and 2 for the Alpha.

Ok'ed by: JKH


# 56500 24-Jan-2000 obrien

In the "cdrom" target it is best to write to the CDROM stage area, *NOT*
the FTP stage area.


# 56434 23-Jan-2000 wilko

missing ] in if at cdrom.1 target


# 56401 22-Jan-2000 wilko

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 :(


# 56299 19-Jan-2000 wilko

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


# 56116 16-Jan-2000 phk

Fix !crypto releases once more.


# 55942 14-Jan-2000 hosokawa

Eliminate PC-card installation floppy and add PC-card support for
generic installation floppy.


# 55776 10-Jan-2000 imp

Use GENERIC for both pccard and non-pccard disks now that GENERIC is
(or should be) everything that PCCARD is.


# 55711 10-Jan-2000 peter

- 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.


# 55641 09-Jan-2000 jkh

Strip even more unneeded symbols.
Suggested by: peter


# 55330 03-Jan-2000 jkh

nuke debugging symbols from kern.flp kernels.


# 55007 22-Dec-1999 phk

Don't barf on the releasename symlink in the ftp area on make rerelease.


# 54660 16-Dec-1999 jkh

Copy the loader.help file to the boot floppy.


# 54616 14-Dec-1999 joerg

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.


# 53746 27-Nov-1999 phk

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.


# 52003 07-Oct-1999 nsayer

Reverse order of krb4 and des build so that SRA telnet does not
overwrite Kerberos Telnet.


# 51897 03-Oct-1999 phk

Fix building non-crypto releases.


# 51615 23-Sep-1999 jkh

Guard against an rm returning non-zero status.

Noticed by: Makoto MATSUSHITA


# 51437 19-Sep-1999 markm

Prepare for K5.


# 51380 19-Sep-1999 jkh

Make trash removals less chatty.


# 51350 17-Sep-1999 jkh

MF3: various small tweaks.


# 51331 16-Sep-1999 jkh

Some minor cosmetics: make mkdir less chatty in the output and stop making /R
magic.


# 51246 13-Sep-1999 peter

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)


# 51066 07-Sep-1999 jkh

Allow flags to be passed to patch when using LOCAL_PATCHES


# 50981 06-Sep-1999 jkh

Fix an old reference to the old docs directories. Looks like
this one went completely uncaught for months!

Caught by: jack <jack@germanium.xtalwind.net>


# 50876 04-Sep-1999 jkh

MFS: I found a few bogons here which were fixed in -stable (!) but not
-current.


# 50479 28-Aug-1999 peter

$Id$ -> $FreeBSD$


# 50425 26-Aug-1999 nik

Handle the new Makefile infrastructure in the doc/ repository.

Set ALLLANG to install all the languages, otherwise set DOC_LANG
to just the languages (and encodings) you want to install.

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

Testing and feedback: Jack O'Neill <jack@germanium.xtalwind.net>,
Cockups and typos: nik


# 49431 05-Aug-1999 jkh

I was clearly smoking crack when I committed the change to allow for
architecture-specific docs on the boot floppy and CDROM. Do it right this
time.

Noticed by: jhay


# 49424 05-Aug-1999 jkh

Turn docs back on - ache was very quick.


# 49411 04-Aug-1999 jkh

Turn docs off by default again - somebody has broken the docproj port.


# 49327 31-Jul-1999 jkh

Add INSTALL.TXT back.


# 48921 20-Jul-1999 jkh

Get bpf0 onto the MFS image.


# 48893 19-Jul-1999 jkh

Another batch of fixes for dhcp support in sysinstall, now dragging
in some code from C. Stone to parse the lease information. This is still
a WIP and this commit is largely intended to allow others to sync up; the
dhclient code still only works when doing dhcp configuration post-install
and requires a bit more work on the boot floppy before it will truly
work in the minimal bootstrapping role.


# 48873 18-Jul-1999 jkh

Miscellaneous fixes for dhcp client support.


# 48633 06-Jul-1999 hosokawa

Added a short README to PC-card boot.flp directory.
(please check English grammer...:-) )


# 48625 06-Jul-1999 hosokawa

Use #include <pccard_conf.h> instead of -DPCCARD.
Now we don't have to make clean before make boot.flp's.


# 48623 06-Jul-1999 hosokawa

Exclude CHECKSUM.MD5 itself from CHECKSUM.MD5 in PC-card floppy directory.


# 48575 05-Jul-1999 hosokawa

My last modification for PC-card boot.flp was incomplete, and one more patch
is needed.
This seems a sort of quick-hack, but it's hard to fix it in proper way.
I'll do it later.


# 48552 04-Jul-1999 hosokawa

make release (actually, make floppies) makes PC-card boot.flp automatically.


# 47983 17-Jun-1999 markm

Add bits of PAO that are non-controversial.

Submitted by: Tatsumi HOSOKAWA


# 47591 29-May-1999 jkh

Don't put CVS files in ports. It's kinda useful for cvs updating
a ports tree which was installed initially with the system later,
but this is probably not the general case (user CVSups the repository
rather than the checked-out bits) and it's penalizing everyone else
with excessive inode consumption.


# 47438 23-May-1999 brian

Use RELENG_3 as an example, not RELENG_2_2.


# 47252 16-May-1999 phk

More crypto bogosity.

(I just built a current snap-shot)


# 47246 16-May-1999 phk

INSTALL.TXT is gone in -current (despite what Jordan says :-)
kerberisIV requires crypto as well.


# 47233 15-May-1999 phk

cp ${KERNEL} instead of cp kernel


# 47217 15-May-1999 jkh

target is ${KERNEL}, not kernel.

Noticed by: "John W. DeBoskey" <jwd@unx.sas.com>


# 47092 13-May-1999 jkh

fix stupid typo.


# 47053 12-May-1999 jkh

Support divergent docs for different architectures.


# 46812 09-May-1999 obrien

Turn on compat22 dist.


# 46323 02-May-1999 max

Install boot.config with `-P' in it in the i386 boot floppy.

Also, let the bigboot floppy to have /boot/loader.rc with
echo \007\007
autoboot 10


# 46179 29-Apr-1999 jdp

pppd/Makefile:
Enable MS-CHAP support.

release/Makefile:
Build a separate NOCRYPT version of pppd, to keep This Great
Nation's top-secret cryptographic tools out of the filthy hands
of those evil furriners.


# 46109 27-Apr-1999 max

echo ^G^G -> echo \007\007 in loader.rc in kern.flp.


# 46065 25-Apr-1999 max

Change the loader.rc in the boot floppy to:

1. Enable use of serial console for installation by using autoboot
instead of boot.

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

3. Beep again when mfs root image is loaded and the loader waits
for ten seconds before it starts booting for any input. (Serial
console users can say " boot -h" here.)


# 45863 20-Apr-1999 obrien

Add the compat3x dist.


# 45182 31-Mar-1999 sada

Make release would fail for lack of /etc/resolv.conf or $DISTFILES/
PR: misc/9913
Submitted by: YAMAMOTO Shigeru <shigeru@bremen.or.jp>


# 45061 27-Mar-1999 nik

If ALLLANG is not set then ensure that DOC_LANG=en is, so that
the English Handbook is built (it's not built by default any more).


# 44755 14-Mar-1999 markm

Bitrot. Remove objlink as it is not pleasant to be downwind.

PR: 8071
Reviewed by: Sheldon Hearn <sheldonh@iafrica.com>


# 44623 10-Mar-1999 jkh

We don't use this anymore - nuke it.


# 43994 14-Feb-1999 des

Ignore errors from chflags. This makes it possible to make installworld
with DESTDIR set to an NFS-mounted file system.


# 43834 10-Feb-1999 jkh

Install the correct rc.conf file.


# 43823 10-Feb-1999 msmith

The loader doesn't use '@' to suppress command lines anymore.


# 43699 06-Feb-1999 jkh

BASE=4.0


# 43658 05-Feb-1999 jkh

Bump MFS up to 2.88MB. Now there's room for quite a bit more stuff
(like a dhcp client?).


# 43504 01-Feb-1999 jkh

Whoops, don't break the alpha release build in copying the boot
images - be smarter about it.


# 43464 31-Jan-1999 jkh

Well, we've blown out boot.flp again. Time to go to 2.88MB format
for those folks with large floppy drives, LS-120s or CDROMs. Everyone
else will now have to use kern.flp & mfsroot.flp to install from.
We've held this off as long as possible and there's just no more fat
to trim. :( I'll look at increasing the mfsroot size too later, depending
on how well it compresses.


# 43452 31-Jan-1999 jkh

Be more selective about installing things from /boot; no telling
what might wind up there in the future to overflow us again.


# 43440 30-Jan-1999 jkh

1. Install /boot/loader correctly on boot.flp

2. Back up old rc.conf.site if it exists.


# 43392 29-Jan-1999 jkh

More support for Alpha installs.

Submitted by: dfr


# 43238 26-Jan-1999 jkh

OK, now the boot floppies work again. Also collapse some common
build cases.


# 43181 25-Jan-1999 jkh

Play with MFS size a little.


# 42921 20-Jan-1999 jkh

Set JADETEX=no on ports build line.

Prompted by: nik


# 42739 16-Jan-1999 jkh

More floppy size adjustments - I thought I'd already committed these, whoops!


# 42658 14-Jan-1999 abial

(Fix null log in previous commit).

Change /boot/boot.conf to /boot/loader.rc - this name reflects what it
really is.

Agreed upon by: jkh, msmith and many others


# 42635 13-Jan-1999 abial

*** empty log message ***


# 42588 12-Jan-1999 joerg

Allow chflags(1) to fail inside the chroot environment for /R. This
can happen iff ${CHROOTDIR} is NFS-mounted.


# 42502 11-Jan-1999 jkh

Try some new floppy sizes.


# 42495 10-Jan-1999 rnordier

No longer install obsolete boot.help file.


# 42445 09-Jan-1999 gpalmer

Really delete the netboot image off the alpha floppy. I think Jordan
got his paths confused :)


# 42415 09-Jan-1999 jkh

Adios, kzip - you don't work on ELF kernels.


# 42389 08-Jan-1999 jkh

Copy only the boot1 and boot2 (if exists) files into mfs/boot since
we don't need the others there.


# 42388 08-Jan-1999 jkh

DTRT with gzip'd alpha kernels.

Submitted by: dfr


# 42355 06-Jan-1999 jkh

copy resolv.conf to chroot area.


# 42345 06-Jan-1999 peter

Remove some remaining references to LKM's. Snaps were trying to unpack
slkm* etc, among other things.


# 42312 05-Jan-1999 jkh

Whoops, missed an instance of the old image naming.


# 42302 05-Jan-1999 jkh

Remove legacy boot.config file.


# 42300 05-Jan-1999 jkh

Hammer on the boot floppy generation bits some more. This is looking
a little better.


# 42299 05-Jan-1999 jkh

Fix bogon in docfile placement.


# 42298 05-Jan-1999 jkh

Conditionalize make world in release.


# 42297 05-Jan-1999 jkh

Do some serious beating on the floppy generation code to try and
simplify it, name things more descriptively and get the kernel back
on boot.flp where it should be.


# 42261 03-Jan-1999 jkh

Clean up some more residual /usr/mdec references. I left all the
extra rbootd/boot rom cruft pointing at /usr/mdec since it either
doesn't exist or doesn't work anyway, so who cares? :)


# 42142 29-Dec-1998 jkh

gzip the kern.flp kernel, don't kzip it.


# 42041 24-Dec-1998 jkh

Turn off NODOC again; apparently this problem was fixed.


# 42037 24-Dec-1998 jkh

Turn NODOCS on for now.


# 41979 21-Dec-1998 jkh

Just fetch distfiles from a single location. The change to textproc/docproj
broke my fetch heuristic anyway.


# 41919 18-Dec-1998 jkh

Now that textproc/docproj works properly, use it instead of the long
list of ports.


# 41618 09-Dec-1998 jkh

Don't create unpacked ports on disc2 anymore.


# 41593 08-Dec-1998 jkh

DOH! Name the mfsroot contents properly.

Noticed by: "Sean O'Connell" <sean@stat.Duke.EDU>


# 41552 06-Dec-1998 jkh

Put mfsroot.gz on yet another filesystem so that the boot blocks
can really read it. Hmm. I have no idea *how* this worked in our
earlier tests on the x86. :)


# 41548 06-Dec-1998 jkh

Now that John has kindly repo-moved these files, nuke the original
copies and update the Makefile.


# 41310 24-Nov-1998 jkh

Finally eliminate evil version.h smashing in sysinstall. sysinstall
gets the initial release information from sysctl.


# 41115 12-Nov-1998 jkh

Simplify call to dokern.sh - now the no MFS case is the default.


# 41084 11-Nov-1998 jkh

We've overflowed boot.flp again. Go to a boot.flp which contains
a bit less legacy hardware support, that all still remaining a supported
option with kern.flp (and a two-floppy install). This will be documented
in the release notes, I promise.


# 41020 08-Nov-1998 jkh

Whoops, properly compress doc files again.


# 40968 06-Nov-1998 jkh

TEST -> test


# 40967 06-Nov-1998 jkh

Alpha loader lives in /boot now; no need for a special hack.


# 40868 03-Nov-1998 msmith

USERCONFIG_BOOT -> INTRO_USERCONFIG


# 40840 03-Nov-1998 jkh

Copy appropriate docs into help/ directory of boot floppy.


# 40839 03-Nov-1998 jkh

Use the new doc locations.


# 40564 22-Oct-1998 gpalmer

s/boot2/loader/ on the alpha


# 40449 16-Oct-1998 jkh

Use the same boot.conf file for alpha, now that it works.


# 40384 15-Oct-1998 jkh

More attempts to DTRT for the alpha, based on what I now know about boot2.


# 40345 14-Oct-1998 jkh

Use more rational inode sizes.


# 40331 14-Oct-1998 jkh

Fix more bogons revealed by building alpha boot floppies.


# 40316 13-Oct-1998 jkh

whoops, correct patch-o in last commit.


# 40315 13-Oct-1998 jkh

More alpha patches.


# 40312 13-Oct-1998 jkh

Properly conditionalize more stuff for the ALPHA.


# 40277 13-Oct-1998 jdp

Update comment. The release tree needs about 1000 MB of free space
now.


# 40166 10-Oct-1998 jkh

Adjust for new MFS root code.


# 40105 09-Oct-1998 jkh

Small refinements to boot script.


# 40100 09-Oct-1998 jkh

Initialize boot configuration files on floppy correctly. We now
support 3 kinds of floppies: boot+mfs (standard), boot, mfs.


# 40062 08-Oct-1998 jkh

Finally settle on a name for the mfsroot image.


# 40061 08-Oct-1998 jkh

Only install boot blocks if !MFSKERN. Too big otherwise!


# 40059 08-Oct-1998 jkh

Add boot bits to boot floppy.


# 40057 08-Oct-1998 jkh

Final cleanup pass over boot floppy changes.


# 40055 08-Oct-1998 jkh

Remove a gratuitous copy.


# 40048 07-Oct-1998 jkh

Unreverse a conditional and gzip the mfs image by default.


# 40047 07-Oct-1998 jkh

Support 3 floppy images as standard now: boot kernel, mfs image and
kernel+mfs image.


# 40046 07-Oct-1998 jkh

Fix typo.


# 40044 07-Oct-1998 jkh

Add MFSKERN flag to enable the combining of kernel and MFS fs.
At some point, it will always be off from the user's POV and used
only internally to build (optionall) both mfskern floppies and
ones where mfs root and kernel go in separate places.


# 40022 07-Oct-1998 jkh

Remove hard-coded constants being passed to doFS.sh and add in a 386/alpha
configuration section.


# 40019 07-Oct-1998 jkh

Turn ALLLANG back on.


# 39956 04-Oct-1998 jkh

Add a symbol to aid in release debugging.


# 39946 04-Oct-1998 jkh

Collapse doRELEASE target back to being the same for alpha/i386 now
that unzip is fixed and we should hopefully be able to build the docs.


# 39939 04-Oct-1998 jkh

Commit some more updates for the alpha release build. This may be
a bit ambitious for the moment, but the only way out is through! :)


# 39936 04-Oct-1998 jkh

Don't write the fsimage in the kernel on alpha - the combined
kernel + fsimage is far too large to fit on a single floppy.
Copy it out for the later creation of a root floppy image instead.


# 39854 01-Oct-1998 jkh

Urk!! At some point, CFLAGS got set to -O2 rather than -O (which
has always been our "recommended optimization flag") and this causes
problems on the Alpha in addition to being generally wrong.
Noticed by: dfr


# 39840 30-Sep-1998 jkh

Finally conditionalize the SCSI frobbing code properly. This
should return kernel config saving (under the current a.out system)
to its former functionality.


# 39721 28-Sep-1998 jkh

Nuke ft0 device on boot floppy also since we don't need it now.


# 39612 24-Sep-1998 jkh

Put MSDOSFS back - I'm going to try and find space another way.


# 39608 24-Sep-1998 jkh

Trim more stuff off the boot floppy - we're overflowing again! :(

Partially suggested by: abial


# 39589 23-Sep-1998 gpalmer

Build the GENERIC kernel on the alpha too. And don't expect a MFS kernel
yet, nor will fbsdboot.exe be too useful :)

Reviewed by: jkh


# 39517 20-Sep-1998 jkh

Turn NODOC off again; now that releases are releasing again, it's time to
try and unbreak docs.


# 39483 19-Sep-1998 jkh

Turn off ALLLANG; the docs are currently in spanish and none of the docs
folks seem to have worked out why yet, so I'm switching back to english
and only english by default for now. :)


# 39417 17-Sep-1998 jkh

Temporary hacks to get releases working again:

o Remove MSDOSFS until I find some other way of gaining some space.
This *totally disables* the use of DOS partitions in installation
so it's truly just a temporary measure.

o Set NODOC=YES since docs are broken right now (they try and install
into the bindist rather than the docdist - need to figure out why).


# 39273 15-Sep-1998 jhay

Comment out NODOC and NOPORTS again. It got uncommented by mistake a few
days ago.


# 39253 15-Sep-1998 gibbs

We don't need the CAM application pass-thru driver on installation boot
floppies. Also kill the sense and command strings to save space.


# 39182 14-Sep-1998 jkh

Until lkm and mdec gets populated again by some other means, do it
here.
Forgotten by: jkh
Submitted by: jhay


# 39175 14-Sep-1998 jkh

Nuke gratuitous use of OBJFORMAT
Submitted by: jhay


# 39132 13-Sep-1998 phk

Use -R argument to cvs, this lets us work with a read-only repository,
at least to the extent that cvs bugs allow us to.


# 39110 12-Sep-1998 jhay

Add the missing file, printf to a directory does not work.


# 39001 09-Sep-1998 jkh

Remove perl5 from list of ports to build now that it's in the base system.


# 38929 07-Sep-1998 jkh

Do an installworld rather than install to populate the chroot tree.
Recommended by: jb


# 38844 05-Sep-1998 jkh

Set CHROOTDIR's initial object type also.
Suggested by: jb


# 38841 05-Sep-1998 jkh

Add OBJFORMAT to list of variables passed into /mk script since it seems
to think you're using aout otherwise (and emits a rather confusing and
inaccurate diagnostic about OBJFORMAT being set in /etc/make.conf when
it most demonstrably is not set there).


# 38829 05-Sep-1998 msmith

Escape the \ characters so that the intended beep at the end of the
boot.help message is actually appended correctly.


# 38826 04-Sep-1998 jkh

Actually *looking* at this file now, I see that a good deal more
can be eliminated. :)


# 38801 04-Sep-1998 jkh

Just nuke the aout bootstrap stuff since we don't need it anymore.
Simplify accordingly for ELF.
Convinced by: jb


# 38795 04-Sep-1998 jkh

Only move a.out libs if we're building for a.out.


# 38758 02-Sep-1998 max

Add ^G to the end of boot.help on the installation floppy so that it
beeps when the Boot: prompt appears on the screen and people installing
FreeBSD onto PC without display monitor can tell when to hit `-h'.


# 38722 01-Sep-1998 jkh

Put MSDOSFS back and look for something else to trim.


# 38635 30-Aug-1998 jb

BINFORMAT -> OBJFORMAT ready for E-day.


# 38481 23-Aug-1998 gpalmer

First cut (aka hack) at getting make release building on the alpha. Don't
build floppies or kernels. The i386 release process should be unaffected.


# 38355 16-Aug-1998 jkh

Make provisions for a pre-build script that one can use to frob the
chroot tree right after everything has been checked out and we're ready
to go.


# 38350 16-Aug-1998 jkh

Trim more out of the boot floppy so that it fits in 1.44MB again.


# 38282 12-Aug-1998 jkh

Bump this one more time before going on a witch hunt for space.


# 38281 12-Aug-1998 jkh

Bring proflibs distro back from the dead - taught about BINFORMAT.


# 38240 11-Aug-1998 jkh

Bump BOOTINODE value a bit more.


# 37749 19-Jul-1998 jkh

A few size tweaks to try and get the -current boot floppy back under
control


# 37698 16-Jul-1998 jkh

MF22: Copy up new doc files.


# 37697 16-Jul-1998 jkh

MF22: Add prototype errata file.


# 37531 09-Jul-1998 des

Use four-digit year in SNAP name. We're eighteen months from the next
millenium, fer cryin' out loud...


# 37175 26-Jun-1998 brian

Don't make clean after building the crunch file. Build
a des & non-des version of ppp in the same way as init
and ed.


# 37150 25-Jun-1998 brian

Fix syntax error from last commit


# 37130 24-Jun-1998 brian

Clean the crunchgen targets after creating the crunch binary.
This *should* avoid the -DRELEASE_CRUNCH polution that's
mis-building user-ppp.


# 36777 08-Jun-1998 jdp

My previous change could conceivably succeed at removing CHROOTDIR.
Ignore errors from the chflags command that follows it, just in case.


# 36742 07-Jun-1998 jdp

Speed up the cleaning of CHROOTDIR by almost a factor of two, by
replacing two monstrous file tree walks with one monstrous tree walk
and two miniscule ones.


# 36687 06-Jun-1998 jkoshy

-DALLLANG is now obsolete in "src/Makefile"; move to "src/release/Makefile".

PR: 6685


# 36471 30-May-1998 jkh

A bit of additional ELF changeover stuff I forgot to conditionalize earlier.
Todo: revisit and make work with either aout or ELF.


# 36468 29-May-1998 jkh

Do the aout libs if they exist in preference to the older ones in /usr/lib


# 36237 20-May-1998 jkh

Don't pack distfiles left over from docs builds into ports.tgz.


# 35960 12-May-1998 jkh

Go back to 240640 split size. Interesting experiment but somebody
still needs to figure out the 1.2MB floppy problem before we touch
(or possibly eliminate) this value.


# 35842 08-May-1998 jkh

Try experimenting with the split size a little in an effort to
move our installation structure a little further into the 20th century
(just before it's over).
Instigated by: Dag-Erling Coidan <dag-erli@ifi.uio.no>


# 35213 15-Apr-1998 msmith

Allow the CVS modules from which the source, doc and ports collections are
checked out to be overridden.

PR: misc/6309
Submitted by: "Greg A. Woods" <woods@zeus.leitch.com>


# 34958 30-Mar-1998 jkh

Use the correct templates file.

PR: 6135
Submitted by: Ruslan Ermilov <ru@ucb.crimea.ua>


# 34782 22-Mar-1998 jhay

Make the vn device that is being used to build the floppies configurable.
You can now do something like "make release VNDEVICE=vn1". This makes it
possible to do something else with vn0, for instance building another
release.


# 34475 10-Mar-1998 jkh

MF22: don't snip SYSVSHM


# 34139 06-Mar-1998 jkh

DOH! Forgot a backslash.


# 34079 06-Mar-1998 jkh

Go to reduced device set now that "make-unders" work.


# 33586 18-Feb-1998 eivind

... since config no long have a -n option in -current either, do the
obvious thing. (-n gone).


# 33331 13-Feb-1998 jkh

MF22: Optimize DOC bootstrap.


# 32965 01-Feb-1998 pst

Remove INTCVSROOT, no longer needed thanks to cvsup


# 32843 28-Jan-1998 jkh

Collapse 2 settings of PATH into one (didn't notice the 1st one before).


# 32831 27-Jan-1998 jkh

Tweak PATH for ports build. I have no idea why this worked on my test
machine but not on the -current build box.


# 32815 27-Jan-1998 jkh

Temporary work-around for a ports building problem I really don't
understand just yet.


# 32731 24-Jan-1998 jkh

Clean up doc bootstrap ports afterwards.
Small stylistic cleanup.


# 32718 23-Jan-1998 jkh

Bring back handbook and FAQ by adding a mechanism for bootstrap ports
to the build. This will need more review as we go into it, but it should
do the basic job for now.


# 32621 19-Jan-1998 jkh

Add a missing \ the previous committer omitted from the crunch target.


# 32589 17-Jan-1998 brian

Remove the necessity of -ldes and -lalias etc from release/Makefile.
When building a release, RELEASE_CRUNCH is defined for a `make' of
the objects required by the crunch of each program. The object list
is still obtained in the same way, so you must make sure that all
objects are built (empty if necessary) by this make. ppp/Makefile
provides an example.

Reviewed by: jkh


# 30610 20-Oct-1997 joerg

MF22: rev 1.246.2.65, put the bootstrap files onto the fixit floppy.


# 30133 05-Oct-1997 jkh

Turn NODOC back on - this is going to take a bit more work to get right.


# 30114 05-Oct-1997 jkh

Remove NODOC setting - time to figure out how to get this working again.


# 30109 04-Oct-1997 jkh

Fix syntax error I introduced earlier. :)


# 30101 04-Oct-1997 jkh

Support crypto and kerberos source dists.


# 30079 03-Oct-1997 jkh

Install boot.help differently.


# 30076 03-Oct-1997 markm

The eBones src distribution is gone, and crypto is here. So remove
references to sebones.* and bring in scrypto.*.


# 30034 01-Oct-1997 jkh

kerberos4 -> kerberosIV
Submitted by: Akira Watanabe <akira@myaw.ei.meisei-u.ac.jp>


# 29996 30-Sep-1997 jkh

Fix kerberos breakage for release.
Submitted by: markm


# 29642 20-Sep-1997 joerg

Don't gratuitously drop termcap.db and vgrindefs.db from the installed
set of files.

Reviewed by: jkh


# 29640 20-Sep-1997 joerg

Perform a `make distrib-dirs distribution' inside the chroot tree
before trying to `make world', so to become less dependant from the
correctness of the environment hosting the `make release'. The recent
addition of a group `network' made this problem apparent.


# 29223 08-Sep-1997 jkh

Do a make install in sysinstall so that its man page gets added to the
manpages dist.


# 29104 04-Sep-1997 jkh

Yikes! Whomever put the non-overridable setting of BUILDNAME in
here, don't do that!


# 29099 04-Sep-1997 jkh

Copy the boot.help file also into the MFS image so that the installer
can find it later and copy it over.


# 29081 03-Sep-1997 jkh

Skip contrib-crypto


# 27795 31-Jul-1997 jkh

Make README.TXT for floppies reference work.


# 27793 31-Jul-1997 jkh

Touch a default kernel.config file to shut the boot blocks up about it
when not present.


# 27626 23-Jul-1997 jkh

Turn off doc.1 distribution until we figure out what we're going to do with
it.


# 27348 13-Jul-1997 jkh

OK, *this* is how the ports stuff should have been built to begin
with. ;-)


# 27291 09-Jul-1997 jkh

Move ports distribution copying for ftp dist into the correct place.


# 27170 02-Jul-1997 jkh

Split section 6 catpages/manpages out into games dist.


# 27070 29-Jun-1997 jkh

Protect against CVSROOT not being set.
Submitted by: fenner


# 27034 28-Jun-1997 jkh

endif -> .endif (from BOOT_CONFIG changes).


# 27030 28-Jun-1997 pst

Reorder things and import NOSHARED.


# 26909 24-Jun-1997 jkh

YAMF22
Submitted by: pst


# 26822 23-Jun-1997 jkh

Do ports.1 earlier.


# 26817 22-Jun-1997 jkh

Argh - 3rd time's a charm. Move doc even further in the distribution chain.


# 26813 22-Jun-1997 jkh

The doc dist was being made too early - move it.


# 26799 22-Jun-1997 jkh

Bag previous behavior of making all BIN_DISTS get a set of /etc files.
If a bindist clone wants etc files, it can clone them from bin. If it
doesn't, now it won't. :)


# 26788 22-Jun-1997 jkh

Reshuffle some of the distribution names to make them
easier to remember & allow overrides.


# 26774 21-Jun-1997 jkh

Make docs go to the right place finally.


# 26765 21-Jun-1997 jkh

Whoops, get the proper rev of this.


# 26761 21-Jun-1997 jkh

Change the way distributions are built such that they can be built
either in the Makefile or by an external script. Move some of the
existing stuff into scripts.


# 26578 12-Jun-1997 jkh

Whoops - add boot.foo files to the outside of the MFS, not the inside. :)
Brain engaged now.


# 26577 12-Jun-1997 jkh

Copy boot.help file onto boot.flp and write zero-length boot.config
there to shut the boot blocks' whining little face up.


# 26562 11-Jun-1997 jkh

Make readmes in ports.
Submitted by: asami


# 26461 06-Jun-1997 brian

Make install in include before making world.

Without this, if you try to build a 2.2 release
on -current, it falls on its face here because
/usr/include contains your "make install"d headers
where the /usr/include/* symlinks point to the
RELENG_2_2 headers.

Reviewed by: jkh


# 26331 01-Jun-1997 joerg

Create the release name of SNAPs automagically.


# 26103 24-May-1997 jkh

Add rules for building doc back into releases, conditionalized on NODOC.
Also clean up some of the comments at the top. It's 12 o'clock, and
that is all.


# 25415 03-May-1997 danny

Spelling/typo fix.


# 25132 25-Apr-1997 jkh

Eliminate a small redundancy with ALL_DISTS
Submitted by: John-Mark Gurney <jmg@hydrogen.nike.efn.org>


# 24905 13-Apr-1997 joerg

``Ooops'' :-)


# 24864 13-Apr-1997 joerg

Add more bootstrapping bandaids: copy over some of the host system
dependent utilities to /bootstrap inside the chroot tree, so the
hosting and targeted environment are not required the same. By now,
mount/umount (due to the Lite2 changes) and cpio (due to lchown) make
it there. This should allow building a 3.0-current release from
inside a 2.2 vintage system, and visa verse.

Isn't lchown also a reason for a shared lib version number bump?

PR:
Reviewed by: jkh


# 24842 12-Apr-1997 joerg

Sync this up with RELENG_2_2. Du-oh, i've totally spammed rev 1.278,
and quite a number of smaller fixes from 2.2 were missing as well.


# 23912 15-Mar-1997 joerg

Brain-o. BUILNAME is more important, RELEASETAG ain't even mandatory
at all (so protect it with .if defined).


# 23909 15-Mar-1997 joerg

Properly export RELEASETAG and NO_PORTS (if set) into the chrooted
make process via /mk.

2.2 candidate but i'll defer this for an hour until my test buld
proved that it works. This should just fit Jordan's deadline. ;-)


# 23883 14-Mar-1997 joerg

Fix Jordan's botched revision 1.280 (looks like cut&paste spamming)


# 23803 12-Mar-1997 joerg

Do not spam our distributions accidentally with BOOTMFS files.


# 23756 12-Mar-1997 jkh

NO_PORTS changes...


# 23750 12-Mar-1997 jkh

Bring in split-CDROM changes from 2.2


# 23741 11-Mar-1997 joerg

Drop a copy of cdrom.inf in the ftp area as well, so people who wanna
cut the FTP distribution onto their own CD-R won't bite the bullet.

Jordan, it seems -current misses the disc1/disc2 split still.


# 23697 11-Mar-1997 joerg

YAMF22 (rev 1.246.2.29: bootstrapping aid)


# 23633 11-Mar-1997 jkh

Add support for ports collection distribution.


# 23434 06-Mar-1997 joerg

Reincarnate one occurance of RELEASEDIR, since the build depends on
it inside some Makefiles. (Duh-oh, i've once included these references
there myself! :)

Noticed by akira@silvia.myaw.ei.meisei-u.ac.jp (Akira WATANABE), and by
my yesterday's build.


# 23257 02-Mar-1997 joerg

. Remove the ${RELEASEDIR} variable, it turned out to be a constant
anyway.

. Add /usr/share/misc/scsi_modes to the fixit floppy, and set the
appropriate env variable.

. Cleanup the (commented out) tags in the entry section a little, to
be more up-to-date.


# 23054 23-Feb-1997 joerg

Do a `make >> ${CHROOTDIR}/mk' for etc when bootstrapping, too.
Othrwise, our chroot tree ends up with the /etc from the bootstrapping
environment, as opposed to the target environment.


# 22988 22-Feb-1997 peter

Revert $FreeBSD$ to $Id$


# 22268 05-Feb-1997 jkh

1. Sync ABOUT.TXT changes.
2. Go back to using a filesystem on the boot floppy; the rawboot boot blocks
were just too non-functional for other things.


# 21686 14-Jan-1997 jkh

Copy ABOUT.TXT properly to the CD also.


# 21673 14-Jan-1997 jkh

Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.


# 21374 06-Jan-1997 jkh

DTRT for the 2nd CDROM and cdrom.inf automatically.


# 21192 02-Jan-1997 jkh

Use the right dd conversion options for whacking on the sysinstall commands.


# 21152 01-Jan-1997 jkh

Make CHECKSUM.MD5 files automatically.


# 21040 30-Dec-1996 jkh

argh!! I thought I stomped these two lines already.. :(


# 21036 30-Dec-1996 jkh

More properly call objlink target than use `obj OBJLINK=yes'; the latter
form seems broken these days anyway.


# 21010 29-Dec-1996 jkh

Support the use of the 2nd CDROM as a fixit aid. Also put the EHS
into a submenu in case you need to start it again (or at some other point
in the installation).

Submitted-By: joerg


# 21009 29-Dec-1996 jkh

Add a "catpages" distribution for the catman stuff.

Submitted-By: joerg


# 21008 29-Dec-1996 jkh

Make sure sysinstall gets its obj directory made. This should close
PR#2308, but I need to test it.


# 20846 23-Dec-1996 peter

Build the compat dists via the standard build with the rest of the tree
rather than as a special case.

Reviewed by: jkh


# 20485 14-Dec-1996 jkh

Merge from 2.2


# 20371 12-Dec-1996 jkh

Allocate more inodes for general use now that we have the room.


# 20332 11-Dec-1996 jkh

Stomp the 4MB boot floppy and punt on 1.2MB floppy images. It's a battle
we're constantly losing and will concede for now. Brilliant ideas
taken at the front desk.


# 20221 08-Dec-1996 joerg

Another fixit improvement: add a lame script that pretends to be
tar(1), but actually uses cpio(1). Many people are getting confused
about the lack of a tar on the fixit floppy, and simply don't know
that cpio can basically handle tar format fine (or they simply don't
know how to invoke cpio).


# 19992 27-Nov-1996 phk

Try to impreve DD mode.
Try to make 4Mb floppies work again.


# 19818 16-Nov-1996 joerg

Comment out the setting of PATH in /dev/MAKEDEV on the fixit floppy.
It's entirely useless there.

Observed by: andreas

Make the pre-existance of /R/stage/dists/compat* non-fatal, so
`make rerelease' won't fall over.


# 19799 15-Nov-1996 jkh

Fix a bogon in my new release.10 target.
Submitted-By: John Hay <jhay@mikom.csir.co.za>


# 19746 14-Nov-1996 andreas

Add a note, that vn driver has to be compiled into the kernel.


# 19715 13-Nov-1996 jkh

I'm feeling charitable, so I'll save the bloatists some valuable wind:

BLOAT! BLOAT! BLOAT! BLOAT!

Yes, but where else to put these stinking compat distributions. I, for one,
am bone tired of creating them by hand and then having everyone tell me I left
something out/in. Now any commiter can adjust the list as necessary, and I
forsee this as being so seldom necessary that I've simply committed the
uuencoded tarballs - these are from the last SNAP, and nobody complained
(for once) about that set.


# 19688 12-Nov-1996 jkh

Bump BOOTMFSSIZE.


# 19679 12-Nov-1996 phk

Save some time.


# 19571 09-Nov-1996 joerg

Several improvements to the `fixit' configuration:

. Don't gzip the crunched binary by now; it just fits, and execution is
a lot faster this way (it's truly demand-paged again).

. Add more(1), ft(8), protocols(5), a stripped down services(5).

. Improve the .profile, and make sysinstall actually use it again.

Still no go for a 4 MB configuration though. :-(


# 19542 08-Nov-1996 jkh

Remove a mkdir in doTARBALL which, as far as I can tell, is not needed
for anything.


# 19506 07-Nov-1996 joerg

Merge my vi hack^H^H^H^Hframework into HEAD, so the various revisions
should be in sync again. It's an env variable only, hence it's
harmless and ignored without the actual changes in vi's Makefile.

Suggested by: jkh


# 19362 03-Nov-1996 joerg

Make `make release' fail if crunchgen failed.


# 19354 03-Nov-1996 joerg

`make release' was checking out the new source code into $CVSROOT
which i figure is probably not what was intended. :-)


# 19333 02-Nov-1996 jkh

Add cmd to prototype services file so rrestore can work.
Suggested-By: Andrew Heybey <ath@bellcore.com>


# 18923 14-Oct-1996 jkh

Adjust the boot-time userconfig options to match reality.


# 18852 10-Oct-1996 jkh

Ahem. It might be nice if I included /usr/src/contrib in with the other
src dists. This alone is a good reason to re-roll the SNAP before putting
it on CD.


# 18707 05-Oct-1996 jkh

OK, *now* the symbol file is being generated in the correct place.


# 18702 05-Oct-1996 jkh

Multiple changes stacked as one commit since they all depend on one another.

First, change sysinstall and the Makefile rules to not build the kernel
nlist directly into sysinstall now. Instead, spit it out as an ascii
file in /stand and parse it from sysinstall later. This solves the chicken-n-
egg problem of building sysinstall into the fsimage before BOOTMFS is built
and can have its symbols extracted. Now we generate the symbol file in
release.8.

Second, add Poul-Henning's USERCONFIG_BOOT changes. These have two
effects:

1. Userconfig is always entered, rather than only after a -c
(don't scream yet, it's not as bad as it sounds).

2. Userconfig reads a message string which can optionally be
written just past the boot blocks. This string "preloads"
the userconfig input buffer and is parsed as user input.
If the first command is not "USERCONFIG", userconfig will
treat this as an implied "quit" (which is why you don't need
to scream - you never even know you went through userconfig
and back out again if you don't specifically ask for it),
otherwise it will read and execute the following commands
until a "quit" is seen or the end is reached, in which case
the normal userconfig command prompt will then be presented.

How to create your own startup sequences, using any boot.flp image
from the next snap forward (not yet, but soon):

% dd of=/dev/rfd0 seek=1 bs=512 count=1 conv=sync <<WAKKA_WAKKA_DOO
USERCONFIG
irq ed0 10
iomem ed0 0xcc000
disable ed1
quit
WAKKA_WAKKA_DOO


Third, add an intro screen to UserConfig so that users aren't just thrown
into this strange screen if userconfig is auto-launched. The default
boot.flp startup sequence is now, in fact, this:

USERCONFIG
intro
visual

(Since visual never returns, we don't need a following "quit").

Submitted-By: phk & jkh


# 18700 05-Oct-1996 jkh

Correct a misuse of the GENERIC kernel where I should have referenced
the BOOTMFS kernel instead.


# 18699 05-Oct-1996 jkh

Fix bogon with kernel name.


# 18683 04-Oct-1996 jkh

Syncronize my tree so Eric can access the latest code.


# 18499 26-Sep-1996 pst

When doing a rerelease, cvs update from within the source directory so we
pick up the old CVSROOT if we don't have the environment variable set.

If /usr/src/release/install.cfg is present, put it out onto
the root filesystem of the boot floppy. It may optionally be
used to pre-configure sysinstall with custom values. (See next
batch of commits).


# 18491 25-Sep-1996 pst

Fix a typo in phk's rawboot conversion


# 18382 19-Sep-1996 phk

Use rawboot for boot floppies.


# 18195 09-Sep-1996 pst

Turn off KTRACE on MFS boot floppy.


# 18091 07-Sep-1996 pst

Add support for CVSROOT/INTCVSROOT as simple makefile variables.

Reviewed by: jkh


# 17402 03-Aug-1996 jkh

Don't stick CD distributions under dists/ directory.


# 17392 02-Aug-1996 pst

Add optional support for separate international CVS repository


# 17061 10-Jul-1996 markm

libgcc.so.261.0 is moving to the compat20 dist.
OKed by: jkh


# 17041 09-Jul-1996 jkh

Some release changes I've had to make in dealing with the floppy space
crisis.


# 17031 09-Jul-1996 jkh

Merge


# 16984 05-Jul-1996 jkh

Bump value for MFSINODE


# 16977 05-Jul-1996 jkh

Compress the doc files.


# 16823 29-Jun-1996 jkh

Copy the documentation files up into the release area - I've been doing
this by hand all along. Silly.


# 16776 26-Jun-1996 jkh

Correct minor syntactical error.


# 16743 26-Jun-1996 jkh

Fix another obj-misusage bogon. This will all get revisited for
2.2-release (and this file beaten on with a crowbar, as it so richly
deserves).


# 16346 13-Jun-1996 jkh

Ok, NOW the install.sh scripts are installed correctly!


# 16340 13-Jun-1996 jkh

Correct a small typo in the Makefile.


# 16329 12-Jun-1996 jkh

Automatically add install.sh scripts to dists.


# 16291 11-Jun-1996 jkh

Come up with a scheme for stamping the FreeBSD version number on CDs,
allowing sysinstall to automagically detect, mount and select an
appropriate FreeBSD CDROM as the installation media. Defining "appropriate"
also requires that you check the version numbers since an older FreeBSD
CD could be in the drive, which is the purpose of this patch.


# 16237 08-Jun-1996 jkh

Finally get this back into shape following my incorporation of Garrett's
enhancements.


# 16169 07-Jun-1996 jkh

Various fixes, take power.uu out as it was causing overflows. We'll
need to fetch it dynamically rather than keep it in the source tree
(subject of a follow-up commit).


# 16156 06-Jun-1996 jkh

Allow user to selectively redo any given part of the release in `rerelease'.
Create smaller BOOTMFS kernel with more sane sed command rather than fgrep/sed
Make it possible to generate multiple kernels with the KERNELS variable.
Add mtree generated distribution signatures to dists.


# 15974 29-May-1996 jkh

Put .inf files directly into distributions so that sysinstall can find them.


# 15972 29-May-1996 jkh

Sha-ZAM!

The root floppy is now gone. I shall not mourn its passing.
Everything we need is on boot.flp or the bindist.


# 15786 16-May-1996 jkh

Simply comment-out BUILDNAME and CHROOTDIR - they should be set at the time of
make's invocation.


# 15526 02-May-1996 jkh

Yow! /dev/wcd0c got omitted from the boot.flp somehow. Guess that explains
why ATAPI CDROMs were broken in the last (and this!) SNAPSHOT.. :-(
Oh well, next SNAP I guess.


# 15513 01-May-1996 jkh

Might as well be factual. Sigh!


# 15455 29-Apr-1996 jkh

Face the truth and bump the 2.2-960428-SNAP to 2.2-960430; that's the
last bump, I promise!


# 15452 29-Apr-1996 jkh

Add an extra line to the floppies target which will make it refresh
the distribution area's floppy images.


# 15416 28-Apr-1996 jkh

Bump snapshot release date - looks like I was off by a couple
of days!

More display fixes to sysinstall and assorted tweaking.


# 14687 19-Mar-1996 jkh

Move libdisk to its new home.


# 14277 27-Feb-1996 jkh

Get rid of the MIRROR.SITES file. It was a gratuitous duplication
of effort.


# 14085 13-Feb-1996 joerg

Ooops, i've botched a backslash in my previous commit.

Also, move the "ammunition" block above, so it's handled before the
man pages are bing moved out to their own distribution.


# 14079 13-Feb-1996 joerg

Special fixup to build and install the non-des ed(1) and init(8) into
the "bin" distribution.


# 13621 24-Jan-1996 joerg

Create symlinks for the MD5 libcrypt's in the bindist.

Jordan, this and my previous commit to lib/Makefile should
re-establish the libcrypt for our releases now. :-)

Well, not sure, perhaps init(8) is linked against the wrong libcrypt
in the bindist. :-(


# 13425 14-Jan-1996 phk

I belive this works now.


# 13418 13-Jan-1996 phk

Shrink BOOTMFS kernel further. Make doFS.sh more intelligent.
boot4.flp should work fine as far as I can tell.


# 13391 11-Jan-1996 phk

A new cleaned up Makefile.


# 13370 10-Jan-1996 phk

Remember to make the kernels dir.


# 13352 08-Jan-1996 phk

Moved doFS into shell-script so we can be more smart about it.
make two boot floppies, one without help files for 4MB systems.
Mine's loading one now. :-) -O2 may be needed.


# 13275 06-Jan-1996 joerg

Use partition `a' for the vn device. Also vn-unconfig the vn device
after usage.

I think this has been the last show-stopper that prevented me from doing
a successful ``make release''. Jordan, go for the 2.2-SNAP! :)


# 13207 03-Jan-1996 joerg

Sheesh. I've added -lipx to the wrong crunch config file.

While i've been here, added the ``-s labels'' flag to vnconfig.


# 13133 31-Dec-1995 joerg

Hopefully the last bogons that prevented me from running a successful
`make release':

. the `doc' distribution was missing, so the FAQ and handbook files
couldn't be installed (Q: why did the psd etc. files install, only
that the dirs had the wrong ownership?)

. the crunched binaries do need now -lipx


# 13124 30-Dec-1995 joerg

2.1.0R is over and out. Comment out the tags for it from the release
Makefile (so release builds in -current require to set it from the
command line).

Make the cleanup of ${CHROOTDIR} non-fatal. Otherwise, it stops
immediately if the ${CHROTDIR} is on a separately mounted file system.


# 12661 07-Dec-1995 peter

Update the -current sources from the 2.1 branch.

Approved (in spirit) by: jkh


# 9712 25-Jul-1995 jkh

Sync this again with Mark M's changes so that he and I can diagnose
the common problems.


# 9202 11-Jun-1995 rgrimes

Merge RELENG_2_0_5 into HEAD


# 8881 30-May-1995 rgrimes

Remove trailing whitespace.


# 8836 29-May-1995 jkh

Nuke kernel out of root.flp; it's not necessary since there's already one
in the bindist. This brings root.flp down to 392K!


# 8830 29-May-1995 phk

Actually put something in help.tgz :-)


# 8829 29-May-1995 phk

Get help files form /stand/help.tgz


# 8826 29-May-1995 phk

Increase size of MFS filesystem. (You need to remake release.3)
Remove unused devices (*[sw]d*[bdefgh]).
Dont gzip boot_crunch. (This SAVES space on a 4 MB machine, since the
file can be segment can be paged from now.
This (with the kzip patch) makes a 4M machine boot and run again.
Margin in my build is 22 blocks and 9 inodes.
I will look at tgz'ing the help files, we need that.


# 8825 29-May-1995 jkh

Shrink the boot floppy by removing all extraneous stuff. Also increase
number of inodes.

Fix various bugs reported by Poul. Implement VTY switching.


# 8806 28-May-1995 phk

Reduce the size of the MFS filesystem by 250 Kbyte.
Use && instead of ; a lot of places.


# 8797 27-May-1995 jkh

Move /etc/protocols, /etc/services and /etc/sysconfig onto boot floppy.


# 8782 26-May-1995 jkh

Remove fixit floppy (release.10) from targets until Poul fixes it.


# 8779 26-May-1995 jkh

Crunch Poul's changes down to fit on a floppy again. gah.


# 8778 26-May-1995 jkh

Bring in Poul's patch to make the boot floppy more stand-alone in nature.


# 8759 26-May-1995 jkh

Fix a bug in the /etc populating copy.

Change root.flp from a new format CPIO archive to a tar archive.
Unless we're willing to change the main tarballs from tar format to
"newc" (or, even better, "crc") cpio format, we need to use one common
one for all and that's tar for now. Install will now grab "root floppy"
from an ftp site if that's what you've got set.

Fix even more gripes from Poul's list.


# 8750 25-May-1995 jkh

Rename boot.flp to root.flp


# 8744 25-May-1995 phk

Fix boot.flp and floppies targets.
Make cpio floppy to temp file first.


# 8741 25-May-1995 jkh

Eliminate much redundant cruft from cpio floppy.
Make more vty devices for us to use.


# 8739 25-May-1995 jkh

Put back some changes that were smashed in yesterday's release tree
shoot-down.


# 8725 24-May-1995 gpalmer

Move testftp: to release/sysinstall/Makefile where it should have
been in the first place.


# 8720 24-May-1995 jkh

Adjust targets to populate info files into distributions.


# 8714 24-May-1995 jkh

Add rule to generate the info files.
Submitted by: gpalmer


# 8711 23-May-1995 jkh

Cleanup pass. Remove some grit left over from ripping out
the scripts.


# 8710 23-May-1995 jkh

Remove the last vestiges of the old installation method.


# 8706 23-May-1995 gpalmer

The stand/scripts directory is obsolete. Don't create it in the cpio
floppy area.


# 8703 22-May-1995 jkh

wt0 -> rwt0


# 8701 22-May-1995 jkh

Clean up the cpio floppy target, remove the fixit floppy from my
"floppies" target - don't need to build that every time for testing.


# 8695 22-May-1995 jkh

Remove rst1 - it's not made by default.


# 8691 21-May-1995 jkh

Add tape devices to boot floppy.


# 8684 21-May-1995 jkh

Nuke out all the NEWVERS stuff; we don't need or use it anymore.
Add Gary's info files to the cpio floppy.


# 8682 21-May-1995 jkh

1. Remove the scripts from the boot floppy - we don't need them anymore
and it saves us a fair bit of space.

2. Remove adduser and tzsetup as well - they're not needed.

3. Move ft from the boot floppy to the cpio floppy.


# 8675 21-May-1995 jkh

Correct a stupid typo I introduced in adding CD devices.


# 8673 21-May-1995 jkh

Add device entries for CDROM devices to boot floppy.
Increase number of inodes slightly.


# 8666 21-May-1995 phk

Make a fixit.flp target too.
Improve the search code for the -u # argument to newfs.


# 8663 20-May-1995 phk

Now cpio works for me. (it was Mostly confusion about when the chroot
happened)
Make vsystem crunch aware in an intelligent fashion.
make the boot.flp target more specific (and faster).


# 8648 20-May-1995 jkh

Make Gary happy.


# 8647 20-May-1995 jkh

Reviewed by:
Submitted by:
Obtained from:


# 8598 18-May-1995 jkh

Ahem. It's late. Make my floppies target actually work.


# 8597 18-May-1995 jkh

Make a little convenient "floppies" target for myself.


# 8497 13-May-1995 rgrimes

Very minor rework to eliminate useage of - operator by checking for
existance of ${CHROOTDIR}.

Remove -k option from make install for building chroot tree, makes it
error out early if you forgot to populate the pre-chroot obj tree.

Reviewed by: phk


# 8445 11-May-1995 jkh

Drop the inode count down a bit - we ran out of inodes with the help files.


# 8444 11-May-1995 jkh

Argh! Get the args to tar right. It's late. I'm sleepy.


# 8442 11-May-1995 jkh

1. Fix a cd which somehow got capitalized.
2. Don't put CVS files on the floppy.


# 8440 11-May-1995 jkh

Dump the help files onto the new floppy.


# 8439 11-May-1995 jkh

Put a shell on the boot floppy.


# 8414 10-May-1995 jkh

Reviewed by:
Submitted by:
Obtained from:


# 8413 10-May-1995 jkh

Remove ncftp from cpio - we don't need it any more.
Adjust boot floppy to (hopefully) include libdisk in the crunch.


# 8371 09-May-1995 jkh

Use absolute path for release dir.


# 8367 09-May-1995 jkh

Make a less expensive re-release target.


# 8366 09-May-1995 jkh

Don't go build sbin/sysinstall anymore; it's obsolete.


# 8200 01-May-1995 jkh

Rename secure to DES. This isn't a 100% accurate renaming since some
of the eBones stuff is in there too, but it's better than `secure', which
implies that the user will be insecure without it.


# 8182 30-Apr-1995 phk

Missing -r flag on rm


# 8036 24-Apr-1995 phk

install "compat20" (libgcc.so.261.0) into the bindist.
cc/ld does the right thing.


# 8034 23-Apr-1995 phk

Add the stuff to munge the name of the release/snap/whatever we build.


# 7954 20-Apr-1995 phk

A major cleanup. Move more over to a "pull" model than a "push" model,
this will eventually allow us to add meaningfull dependencies.

Add mount_{msdos,nfs,cd9660} and chroot to the fixit.flp.


# 7941 19-Apr-1995 phk

Put a kzip'ed GENERIC on the boot.flp and fixit.flp instead of BOOTFLP,
now that we have the space.
If this works out to our liking, we will kill BOOTFLP.
Now, if only we could extract the kernel, incl symbols from a kzip'ed kernel...


# 7940 19-Apr-1995 phk

Thanks to the dynamic duo of John & David, ("meanwhile in the VM-cave"), we
can use the vn-driver instead of physical floppies, thanks guys !
Add the fixit-floppy back now that kzip made it fit again.
Don't make the gzip'ed *.flp files anymore.


# 7931 19-Apr-1995 phk

kzip the kernels on the boot.flp and fixit.flp, and buy us more space...
*** This definitively kills installs on machines with less than 4Mb ***
*** the kzip stuff loads a the 3Mb line. This is Just Too Bad (TM) ***


# 7805 13-Apr-1995 jkh

Remove fixit floppy from things to build until Poul makes it work again.


# 7793 13-Apr-1995 phk

Reduce inode count on floppies a bit again


# 7790 13-Apr-1995 phk

Even more inodes on the floppies...


# 7781 12-Apr-1995 phk

added a missing '; \'


# 7772 12-Apr-1995 phk

Add bad144 to fixit floppy.
Remove kernel compile directories.
Put all *[sw]d* devices on floppies
Make more inodes on floppies as function of the above.


# 7732 10-Apr-1995 phk

Sanitize the making of kernels a bit, and make the BOOTCDROM kernel too.
If we can get away with it, it will always just be the GENERIC kernel
with a different name.


# 7688 09-Apr-1995 jkh

Add etc/sysconfig to list of files stuck on the cpio floppy. I thought
we did this already?!?


# 7679 08-Apr-1995 phk

Don't choke if secure bits are not available.


# 7664 08-Apr-1995 phk

Fix the bug which removes all empty dirs from distribution. Sorry Jordan...


# 7651 07-Apr-1995 phk

Various changes:
tip removed from cpio.flp (!) crunch chokes on it after the latest changes.
source for secure & eBones moved into securedist.


# 7450 28-Mar-1995 phk

Remove kernel compilation directories after use.
Move stray "info" files into info dist.


# 7445 28-Mar-1995 phk

Save /etc/sysconfig from destruction.
Don't put termcap.db and vgrinddefs.db in the tarballs when they are so
easy to generate and take up so much space...


# 7323 24-Mar-1995 phk

Fix cdrom.1 target.


# 7313 24-Mar-1995 phk

Fix srcdist names. Fix structure in ftp-area.


# 7311 24-Mar-1995 phk

A whole slew of changes relating to the generation of src-dists.


# 7309 24-Mar-1995 phk

Make src-tarballs in one level. Don't tar things named 'obj'


# 7252 22-Mar-1995 phk

Make /usr/include directories...

Submitted by: rgrimes


# 7226 21-Mar-1995 jkh

Update for new FAQ file locations.


# 7107 17-Mar-1995 phk

Dont install DES bits in cdrom area.


# 7100 16-Mar-1995 phk

Remove imutable bits, they will not survive anyway. First cut at cdrom
make rule.


# 7080 16-Mar-1995 phk

Well, it seems like the vn driver is pretty hosed still, so don't use it :(


# 7079 16-Mar-1995 phk

Code to use vndevice instead of floppy to build floppy images.


# 7063 15-Mar-1995 phk

I belive the floppies work as expected now. (incl the fixit)


# 7052 13-Mar-1995 phk

Added a fixit floppy to the rules.


# 6787 28-Feb-1995 phk

Move a -P


# 6786 28-Feb-1995 phk

cvs export doesn't like a explicit '-P'


# 6784 28-Feb-1995 phk

More bugfixes.


# 6746 26-Feb-1995 phk

Various things, bits and pieces to make this maybe work next time.


# 6723 26-Feb-1995 phk

Various changes to make this work.


# 6718 25-Feb-1995 phk

New and better "make release" rules.


# 6310 11-Feb-1995 phk

/var/games -> games dist.


# 6294 10-Feb-1995 phk

A better fix for the newfs floppy problem


# 6293 10-Feb-1995 jkh

Merge in some cosmetic changes - clean the two kernel images we depend
on when a `make clean' is done - prevents a Feb 2nd BOOTFLP kernel going
onto a Feb 10th boot.flp, as now almost happened.. :-)


# 6291 10-Feb-1995 phk

A bit of unexpected fallout from the newfs change.
newfs'ing a floppy fails now, unless we tell it geometry. I thought at
disktype would take precedence.


# 6260 09-Feb-1995 jkh

Andreas Schulz asks:
I have seen two strange things in it :-).
The first: in CLEANFILES is CPIO3 referenced, that leads to the
deletion of half of the scripts that are in the source. Intended ?
Second: The comment above the CPIO3= line says that bininst must be
the last on the floppy, but setup follows it now ?
And I reply:
This was all wrong! Fixed! Thanks!
Submitted by: ats


# 6130 02-Feb-1995 jkh

A better clean rule.


# 6123 02-Feb-1995 ache

Create directory symlinks neccesary for locale because mtree
can't create symlinks.
Suggested by Rod.


# 6114 02-Feb-1995 jkh

Argh! I left the setup script off the floppy. Time to re-roll it.


# 6099 01-Feb-1995 jkh

Don't forget to make the gzip'd boot floppy.


# 6094 01-Feb-1995 jkh

Take out my previous change to update the src tree first - that was
stupid.. :-)


# 6029 30-Jan-1995 jkh

Make jkhdist also update the tree.


# 6023 30-Jan-1995 phk

1.44 floppies considered evil now. Real kernel on cpio.flp.
added explicit "OK" file.
Nuked vn support, doesn't work second time around :-(


# 6011 29-Jan-1995 phk

Make sure the scripts/* files have 'x' bits.


# 6005 29-Jan-1995 phk

Change the boot.flp rule to use the "vn" device. Much faster :-)

remove bootsd and sdboot from the boot.flp, the matching change to
sysinstall will arrive later this evening.


# 5995 28-Jan-1995 jkh

Copy the src tarballs' script to the right place.


# 5983 28-Jan-1995 jkh

Make the check for a precompiled kernel correct.


# 5970 28-Jan-1995 jkh

Update everyone's paths to point properly into /stand/scripts.


# 5957 27-Jan-1995 jkh

Make the gzip commands more rational.


# 5955 27-Jan-1995 jkh

Get the src rule right.


# 5953 27-Jan-1995 jkh

Adjust some of these extract scripts.


# 5950 27-Jan-1995 jkh

Don't build src tarball by default.


# 5949 27-Jan-1995 jkh

Change a few more mkdirs to mkdir -p's.


# 5947 27-Jan-1995 jkh

Add a -p to mkdir.


# 5689 17-Jan-1995 jkh

Move all the src tarball stuff from etc/Makefile into here.


# 5635 15-Jan-1995 jkh

Submit srcdist changes


# 5612 14-Jan-1995 jkh

Add my own custom target for now.


# 5602 14-Jan-1995 jkh

Try out my new idea for making the srcdist..


# 5600 14-Jan-1995 jkh

Change the way the srcdist is generated.


# 5589 14-Jan-1995 jkh

Be neat - put bininst in scripts directory too.


# 5586 14-Jan-1995 jkh

Further review for scripts/ dir renaming.


# 5584 14-Jan-1995 jkh

Make the whole *dist naming structure halfway orthogonal.


# 5570 13-Jan-1995 gibbs

Remove extra leading tabs that made this thing blow up.


# 5569 13-Jan-1995 jkh

I must be hallucinating. Back out the previous change. Um. Drat,
how to do this?


# 5568 13-Jan-1995 jkh

Add conv=osync to the boot flop. You know, this might explain those
mysterious rawrite problems! :-)


# 5547 12-Jan-1995 jkh

A slicker way of eliminating bogus quotes.
Ask less questions about the temporary directory if instructed to.


# 5538 12-Jan-1995 jkh

Efficiency tweaks to Makefile,
add missing regexp lib for grep (cpio floppy).


# 5533 12-Jan-1995 jkh

Prepare for next snapshot.


# 5424 07-Jan-1995 jkh

1. Add bump release number nag to start of release rule. Thx to Philippe
for suggestion!
2. Add Thailand to list of mirrors.


# 5200 23-Dec-1994 jkh

Whoops! I buggered up the tape dialog. Fixed. These changes allow
you to specify your tape drive device for the cases when the user
has more than one.


# 5198 23-Dec-1994 jkh

Even more bogons eradicated. My, there are a lot of them in here! :-)


# 5194 22-Dec-1994 jkh

Whoops, another lurking bogon!


# 5189 22-Dec-1994 jkh

Fix a slight bogon with a directory not being made before it was used.


# 5175 21-Dec-1994 jkh

Tweaks for the upcoming 2.1 installation.


# 5149 18-Dec-1994 jkh

Move some obnoxious files: airport, birthtoken, flowers, na.phone & zipcodes
to the "dict" dist.
This is belived to reduce the risk of heart attacks in some european countries.
phk ristede runen.


# 5137 17-Dec-1994 jkh

Add a sanity-check for those building their own releases.


# 4887 01-Dec-1994 jkh

Add gzips for the real floppy images.


# 4886 01-Dec-1994 jkh

Remove gratuitous gzip of boot.flp


# 4879 30-Nov-1994 jkh

Build both 1.2MB and 1.44MB floppies now. this all needs a good re-think,
but this at least works for now.
Reviewed by:
Submitted by:
Obtained from:


# 4805 24-Nov-1994 phk

Finally commit the tzsetup thing :-)
Delete old cksum stuff before remaking it.


# 4760 22-Nov-1994 phk

Various hackeries.


# 4746 21-Nov-1994 phk

syntax error


# 4734 21-Nov-1994 phk

More hacks from the last 20 hours...


# 4716 20-Nov-1994 wollman

Add krb (Kerberos) to EXTRADISTRIBUTIONS.


# 4710 20-Nov-1994 phk

add extract.sh to dists


# 4700 20-Nov-1994 jkh

o Add Michael Reifenberger's mini-adduser script.
o Optionally invoke tzsetup or adduser from the last stage.
o Add tzsetup and friends to cpio floppy.


# 4693 20-Nov-1994 phk

Make "games" dist by moving everything relevant out of bindist.


# 4691 20-Nov-1994 phk

/usr/share/games belong in "games dist"


# 4690 20-Nov-1994 phk

Make the tarballs target work.


# 4585 18-Nov-1994 phk

dd conv=osync. More distributions.


# 4559 17-Nov-1994 jkh

Yow! Ok, distributions should now be fully auto-checksumming, provided
that Poul builds the rest of the dists properly. I'll run this over the
XFree86 dist, but the rest will be up to him. Check bindist rule for
the single line to add - it's trivial.


# 4556 17-Nov-1994 jkh

Add extra scripts to the Makefile. Add another mirror site to
instdist.sh


# 4539 17-Nov-1994 jkh

Add a line to automatically generate CKSUMS file for the bindist.


# 4538 17-Nov-1994 jkh

Add cksum to the cpio floppy - automated checksumming of the *dist
tarballs is just one step away.


# 4492 15-Nov-1994 jkh

Add back tar - I'm not sure where it went again! I know that
cpio reads tar files, but this gives you "tar" in its old familar
way, which is important for those trying to read the old extract.sh'd
bindist.


# 4487 14-Nov-1994 phk

Final changes. Now "make distribute" should work as advertised.


# 4415 13-Nov-1994 jkh

Disable the building of the evil floppy images. We blew through the
1.2MB barrier again. I tell ya, Poul, it's a losing game! You shave
50 bytes off, the next change takes 100 back, and this is just ALPHA!
The 1.2MB weenies will _just have to buy new drives_!


# 4413 13-Nov-1994 jkh

Change the name of the TROUBLE-2.0 file to TROUBLESHOOTING; it just makes
more sense.


# 4407 12-Nov-1994 jkh

Install the soon-to-be-written troubleshooting file.


# 4404 12-Nov-1994 jkh

Add dmesg.


# 4388 12-Nov-1994 jkh

When this is run manually, the myname protection stuff probably isn't
needed in all cases. Guard against this.


# 4380 12-Nov-1994 phk

Try to align to floppy image to a number of sectors to avoid people
making bad floppies.


# 4372 12-Nov-1994 jkh

Point to new README file location.


# 4365 11-Nov-1994 jkh

Add basename to to the cpio floppy. Thanks, Lars!


# 4360 11-Nov-1994 jkh

Whoops! cu == tip.


# 4358 11-Nov-1994 jkh

Add cu (and cu slip dialog) so that poor SLIP users can dial their modems
before initiating a slip transfer.


# 4348 10-Nov-1994 jkh

Experimental floppy-tape suport.


# 4340 10-Nov-1994 jkh

Enable support for Lucifer's floppies.
More stylistic drick-drack in bininst.


# 4327 09-Nov-1994 phk

Really build bindist...


# 4324 09-Nov-1994 phk

some things Jordan forgot...


# 4290 08-Nov-1994 jkh

Add full support for NFS installation. Add support for CD installation,
even though we don't use it yet (I may burn some one-offs tonite though! :-).


# 4283 08-Nov-1994 jkh

It *is* OK to strip the kernel after all. Poul has one in his bindist
that overwrites this one anyway, so..


# 4271 08-Nov-1994 jkh

Make sure the extract.sh gets into the bindist.


# 4269 08-Nov-1994 jkh

11th hour fixes to get the install just right. Fix some bugs
in how ftp transfers were done, make sure all output goes to /dev/ttyv1
for debugging, add in the parallel-IP support so Poul will stop
squeaking (for the moment, anyway).


# 4238 07-Nov-1994 jkh

Fix a botch Poul introduced.


# 4233 07-Nov-1994 jkh

Remove extract.sh from CPIO3 - there's no reason for it on the cpio dist.
It's supposed to come with a package or *dist.


# 4228 07-Nov-1994 phk

cleanup


# 4222 07-Nov-1994 phk

Get us back on fd1200 floppies. Fix extract.sh to right filenames.


# 4219 06-Nov-1994 phk

Add extract-script.


# 4211 06-Nov-1994 jkh

Default boot floppies are 1.44MB again - I ran out of space. HOWEVER,
there is an extra target now for creating a 1.2MB floppy at the cost
of a few of the doc files. Just do a `make small.floppies' instead of
a `make floppies' to make a small set.


# 4198 06-Nov-1994 jkh

1. The gzip'd docs aren't going to work - there's no scroll-back for
process output dialogs (or any way to stop the output, for that matter!).
2. Install the very first cut of my bininst stage6 script. VERY rough,
it doesn't actually do anything just yet, but I need to make sure that
it's at least executed for the moment.


# 4196 06-Nov-1994 jkh

Make a link for gzip so we actually have it available on the boot floppy.


# 4191 06-Nov-1994 jkh

Don't strip kernel after all - perhaps a bad idea. People may be stuck
with it for awhile.


# 4184 06-Nov-1994 jkh

Twiddle newfs parameters to select for space optimization. We're
back under 1.2MB again.


# 4183 06-Nov-1994 jkh

Strip kernel before installation. Anything to bum a few more bytes..


# 4176 05-Nov-1994 jkh

Install docs gzip'd.


# 4164 05-Nov-1994 jkh

Add ncftp. I needed it for "hands-free" ftp operation from the install
script.


# 4161 05-Nov-1994 jkh

Add the release notes, so I can have the user read these too.


# 4159 05-Nov-1994 jkh

Add new mount_* commands.


# 4158 05-Nov-1994 jkh

Add slattach.


# 4150 05-Nov-1994 phk

put the DISKSPACE.FAQ on the boot.flp


# 3993 29-Oct-1994 phk

The latest hacks to make a release with.


# 3959 28-Oct-1994 jkh

But just a little more merciless.


# 3958 28-Oct-1994 jkh

Make CLEANFILES just a little bit less psychotic.


# 3884 26-Oct-1994 phk

Will make two-floppy set now.


# 3469 09-Oct-1994 rgrimes

1. Remove comments about broken procfs, it has been fixed.

2. Remove comments about exit status of 2 from mtree, that won't
happen any more.

3. Update mtree commands to use new -U option.


# 3030 23-Sep-1994 rgrimes

Spell hierarchy correctly :-(.


# 3027 23-Sep-1994 rgrimes

This is the very small start of moving all the make release related stuff
from etc/Makefile to release/Makefile. Right now this has one
target (hieriarchy:) that replaces distrib-dirs:.