Commit Graph

748 Commits

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

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

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

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

This is MFC candidate.

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

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

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

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

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

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

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

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

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

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

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

Moved miibus network module to the drivers floppy.

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

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

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

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

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

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

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

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

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

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

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

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