Commit Graph

40 Commits

Author SHA1 Message Date
marcel
28918016b4 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
ru
c7f10c0b18 boot2 does not exist on some platforms. 2002-04-30 11:31:25 +00:00
ru
8ad1c2807b Milestone #1 in cross-arch make releases.
Do not install games and profiled libraries to the ${CHROOTDIR}
with the initial installworld.

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

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

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

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

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

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

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

Inline createBOOTMFS target.

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

Assorted fixes:

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

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

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

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

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

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

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

Fast build machine provided by: Igor Kucherenko <kivvy@sunbay.com>
2002-04-26 17:55:27 +00:00
jhb
0a1ce0426b Don't print out 0xaa55 at the end of a vnconfig disk and use the
"canonical" disk name when calling disklabel so that disklabel auto works.
2002-01-16 07:24:38 +00:00
jhb
07e6e051e2 - Remove the -T from the 4.x newfs as well.
- Don't write out 0xaa55 to the end of the filesystem as md(4) doesn't
  generate that warning and it breaks 'disklabel mdX auto'.
- Use the 'canonical' disk name mdX instead of /dev/mdX to disklabel so
  we can use disklabel auto for mfsroot filesizes that aren't a standard
  size in /etc/disktab.
2001-11-20 20:25:12 +00:00
jhb
aed3440b5d The -T argument to newfs is only needed if teh disk isn't already labeled.
Since we run disklabel before newfs, this doesn't apply in this case.
2001-11-20 20:06:21 +00:00
nyan
5732bd6864 Use the md device not olny a version of the system is 5 but 5 and over.
Requested by:	matusita
MFC after:	1 day
2001-11-16 03:01:50 +00:00
nyan
f8089d0911 Use the vn driver on a stable system. 2001-11-15 07:27:25 +00:00
obrien
c86966a7ca Add FreeBSD IDs to some files and make the others consistent in style. 2001-04-08 23:09:21 +00:00
obrien
d8b0f44230 Everyone that has commented seems to agree `-m 0' will cause no problems. 2001-03-10 17:10:48 +00:00
obrien
bacfc8e3b1 Remove tunefs'ing that was OBE by rev 1.30.
Submitted by:	bde
2001-03-09 12:33:53 +00:00
obrien
dfc9db7b20 newfs with `-m 1'
This is needed even with `-o space' as the kernel decides to be "helpful"
and not really do space optimization.  Looking at src/sys/ufs/ffs/ffs_alloc.c
we see why:		if (fs->fs_minfree <= 5 ||
		            fs->fs_cstotal.cs_nffree >
		            (off_t)fs->fs_dsize * fs->fs_minfree / (2 * 100))
			            break;
	            log(LOG_NOTICE, "%s: optimization changed from SPACE to TIME\n"

I have picked `1' vs. `0' just incase some code somewhere has the assumption
the %free can never be `0'.

Helped with understanding why -m 1 made a different:	imp
2001-03-09 01:03:15 +00:00
phk
de48d40100 Use mdconfig/md instead of vn. 2001-01-31 22:58:39 +00:00
obrien
986d880de4 Using `r'aw device name is out of vogue now. 2000-11-27 09:19:18 +00:00
jkh
4b40d9a5b5 MFS: comment character and readability fixes. 2000-11-05 22:49:15 +00:00
hosokawa
2c647e68e4 Moved driver modules for some PCI NICs and PCCARD-only NICs to mfsroot.flp.
http://people.freebsd.org/~hosokawa/driver-floppy/ for details.

Reviewed by:	current@FreeBSD.org
2000-10-31 07:39:07 +00:00
phk
9763842f9f We don't do blockdevices any more.
XXX: should use /dev/MAKEDEV
2000-07-08 07:46:01 +00:00
jkh
25b59a777c don't mknod stuff without making sure it's not there first. 1999-12-16 00:51:38 +00:00
phk
2f018faacf Make it possible to make release on archaic kernels. 1999-11-27 18:48:10 +00:00
jkh
c6b1939fc8 1. Adjust fs sizes to get floppies back under control.
2. Viciously slash all CD support out of boot.flp.  It's basically just
   a net boot floppy now.
1999-01-26 15:14:11 +00:00
msmith
27dd626f9b Replace /mnt with ${MNT}
PR:		misc/7965
Submitted by:	Junji SAKAI sakai@jp.freebsd.org
1999-01-12 22:12:12 +00:00
jkh
4a468ee66d Hammer on the boot floppy generation bits some more. This is looking
a little better.
1999-01-05 03:44:08 +00:00
jkh
a76e356b82 Update this to deal with new boot block placement.
Reported by:	"John W. DeBoskey" <jwd@unx.sas.com>
1999-01-02 23:15:20 +00:00
jkh
3b716d369c 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. :)
1998-12-06 04:06:39 +00:00
jkh
f1d0c96ef8 Updates for Alpha. 1998-10-13 21:03:56 +00:00
jkh
45b3ff6f4d Whoops, correct brain-o. 1998-10-03 14:16:06 +00:00
jkh
4dc29bfedc Add a tweak for the alpha. 1998-10-03 14:10:28 +00:00
jhay
4b4f1b5abd 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.
1998-03-22 18:39:42 +00:00
jkh
b12cb65847 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.
1997-02-05 04:29:53 +00:00
joerg
facb673a9a Simplify the disklabel trickery, and thus avoid the dreaded
``Operation not supported by device''.

Requested by:	jkh
1996-12-01 17:19:29 +00:00
phk
7a88ca4da6 Try to impreve DD mode.
Try to make 4Mb floppies work again.
1996-11-27 22:52:34 +00:00
jkh
e0d772d463 Purely cosmetic cleanup. 1996-11-09 09:24:30 +00:00
jkh
49e94fab07 Installation cleanup, round II. 1996-10-01 12:13:29 +00:00
jkh
c3e53b9512 Some release changes I've had to make in dealing with the floppy space
crisis.
1996-07-09 16:52:53 +00:00
joerg
859c177be5 Make the reduction algorithm to tune the file system size less
aggressive, in order to avoid /mnt: file system full problems.

Introduce a deadlock counter.

Turn off echoing again, it's cluttering the screen/log.

Gross hack to avoid the `vn0: invalid primary partition table: no magic'
warning.

Seems that doFS.sh is now doing the job...
1996-01-21 17:24:54 +00:00
joerg
7d4c7f2cfa Remove phk's errr... interesting idea of slicing a floppy into 10
cylinder groups. :)
1996-01-21 15:09:25 +00:00
phk
4b351aa8eb I belive this works now. 1996-01-14 19:10:16 +00:00
phk
f6fba8512c Shrink BOOTMFS kernel further. Make doFS.sh more intelligent.
boot4.flp should work fine as far as I can tell.
1996-01-13 23:31:46 +00:00
phk
0e24496fa7 Don't make the fs-image in /dev :-) 1996-01-10 06:32:22 +00:00
phk
30806f728b 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.
1996-01-08 22:13:50 +00:00