summaryrefslogtreecommitdiffstats
path: root/release/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* - Use a stock loader with forth support on the boot floppies.jhb2004-02-031-17/+24
| | | | | | | | | | | | | | - 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.
* - Tweak order of arch fs options to stick all floppy options together andjhb2004-01-291-26/+13
| | | | | | | | | | | 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.
* Two nits from rev. 1.835:ru2004-01-291-2/+2
| | | | | | | | | | - 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
* The name of small boot floppy should be boot-small.flp to avoid conflictingnyan2004-01-291-2/+2
| | | | | | normal size floppy. Reviewed by: jhb
* Revert revision 1.833 -- the reinstallkernel.debug target calls theru2004-01-281-1/+1
| | | | | | 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.
* Only i386 and Alpha have the compat4x distribution.ru2004-01-281-1/+1
|
* Overhaul our boot floppy generation system so that it scales better andjhb2004-01-261-179/+175
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* - Run makewhatis(1) in etc/Makefile at the end of "install".ru2004-01-221-1/+1
| | | | - Removed redundant and undocumented NO_MAKEDB_RUN knob.
* Use the reinstallkernel.debug target, now that we have it.ru2004-01-211-1/+1
|
* Fix "5.x release on 4.x box" support.matusita2004-01-191-1/+5
| | | | | | | | 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
* Once upon a time we had both "crypto" and "krb5" distributions,ru2004-01-171-2/+1
| | | | | | | | | | | | | | | | | | | | 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.
* MFRELENG_5_2: Default the snapshot versioning to 5.2.ru2004-01-171-2/+2
| | | | | PR: misc/61402 Submitted by: Chris Knight
* Add missing '\' in previous change.nyan2004-01-151-1/+1
|
* * if-like-constructs now use <TAB>body consistently.obrien2004-01-131-85/+109
| | | | | | | * Long statements with '\' continuation now use <4 spaces>continuation consistently. * wraps some long lines * More consistent on how very simular repeated commands are wrapped.
* Use /etc/rc.d/ldconfig script rather than the ldconfig command directly.nyan2004-01-121-1/+1
| | | | Submitted by: matusita
* Run ldconfig in the chroot environment to find shared libraries innyan2004-01-111-0/+1
| | | | /usr/local/lib.
* Automatically generate the CHECKSUM.MD5 file for ISO's.obrien2003-12-011-0/+1
| | | | Approved by: scottl
* Generate minimal /etc/group file for mfsroot tree.kuriyama2003-11-151-0/+3
| | | | | | This fixes newfs failures at installation. Reviewed by: re (scottl)
* Fix ${LOCAL_PATCHES} (chdir was ignored).kuriyama2003-11-141-2/+1
|
* Combining "all" and "install" in one invocation is a very bad idea asru2003-10-311-1/+2
| | | | | | | | 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.
* Correct the description of what the release.3 stage does nowadays.ru2003-10-061-1/+1
|
* Make LOCAL_PATCHES accept multiple patch files, as its name suggests.ru2003-09-211-2/+7
|
* For boot floppies, build a lightweight version of loader(8)ru2003-09-191-3/+8
| | | | | | | without Forth support. Saves 28K of kern.flp and boot.flp on i386. Reviewed by: jhb
* 2nd part of making the name of the release running script overrideable.obrien2003-08-111-1/+1
|
* Make the name of the release running script overrideable.obrien2003-08-101-28/+28
|
* Added the new knob MINIROOT that, when set, causes the creationru2003-08-081-4/+9
| | | | | | | | | | | | 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
* - Eliminate the "rm" command that was causing us trouble in rev. 1.799.ru2003-08-071-8/+6
| | | | | | | - 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
* - Unbreak Alpha snapshots (we were still attempting to build aru2003-08-061-14/+8
| | | | | | | | | 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.
* Back out LC_ALL=C since tr here supposed to run under clean env -iache2003-08-051-11/+11
| | | | | | environment always. Pointed by: ru
* LANG->LC_ALLache2003-08-041-11/+11
| | | | Pointed by: ru
* Prepend LANG=C to all tr 'a-z' 'A-Z' and vice versa.ache2003-08-041-11/+11
| | | | Note: this is POSIX requirement, c-c ranges are portable only in POSIX locale
* - Removed vestiges of the IA64 boot floppy support.ru2003-08-031-7/+1
| | | | | | | - Fixed the bootable CD-ROM support for IA64. Reviewed by: marcel Tested by: marcel
* - Boot-only CD-ROM support (bootonly.iso).ru2003-08-021-20/+35
| | | | | | | | | | | 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
* From now on, Alpha releases will come with NO_FLOPPIES.ru2003-07-311-14/+1
| | | | | | Approved by: consensus on freebsd-alpha A replacement (miniboot.iso) is currently under development.
* Revert last delta, sys/conf/kern.pre.mk,v 1.33 does the job.ru2003-07-311-2/+1
| | | | OK'ed by: scottl
* The -Os kernel build with GCC 3.3.1 also requires -fno-strict-aliasingru2003-07-301-1/+2
| | | | | | | to survive. Discussed with: bde Tested on: i386 and pc98
* Initialize the FIXCRYPTO, BINMAKE and related variables (that useru2003-07-301-1/+3
| | | | | | | | | | | | | 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.
* Embed a simplistic version of the dokern.sh script directly intoru2003-07-301-3/+7
| | | | | | | | release/Makefile. Reviewed by: marcel The original patch also removed ia64/dokern.sh, but this was OBE.
* Moved the MFS root floppies creation code from release.10 toru2003-07-301-6/+6
| | | | doMFSKERN (where it logically belongs).
* Make IA64 a second port that comes with NO_FLOPPIES.ru2003-07-291-3/+1
| | | | Reviewed by: marcel
* Bah, I go and get all preachy, and then commit from the wrong branch. Revertscottl2003-07-261-2/+2
| | | | | | the use of '-j8'. Apologies to: ru
* Fix the release build with a forgotten '-f'.scottl2003-07-261-3/+3
|
* Make the PC98 small boot floppy usable again.ru2003-07-251-0/+4
| | | | | Spotted by: nyan Reviewed by: nyan
* The RELEASE9 knob is now OBE.ru2003-07-251-7/+1
| | | | OK'ed by: jhb
* Moved the boot floppy generation code out from release.9 to release.10.ru2003-07-251-49/+32
| | | | | | | | | | | | | | 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
* Get the correct set of cryptographically-infected binariesmarkm2003-07-241-7/+11
| | | | automagically from the (secure|kerberos5)/Makefile:[KS]PROG.
* Replaced the hardcoded target names in the touch(1) commands withru2003-07-241-15/+15
| | | | ${.TARGET}, to ease maintenance.
* Added the (undocumented) EMUL_BOOT variable (for TARGET=i386 only)ru2003-07-231-2/+6
| | | | | | | | | 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
* Added the WORLDDIR variable (defaulting to ${.CURDIR}/..) thatru2003-07-231-2/+4
| | | | | points to a directory where "make buildworld" was run. Useful for building 5.x snapshots on 4.x.
* Make NO_FLOPPIES really mean "no floppies", including not evenru2003-07-231-2/+11
| | | | | | | creating the "floppies" directory on FTP and CD-ROMs. Enforce NO_FLOPPIES on amd64. Tested for: amd64, i386 with -DNO_FLOPPIES
OpenPOWER on IntegriCloud