Commit Graph

61 Commits

Author SHA1 Message Date
sam
fa1fbfedc2 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.
2006-03-08 18:02:32 +00:00
iedowse
0b71e714c9 Remove usbd(8) and all references to it. It is no longer necessary
since devd(8) now provides the same functionality.

Submitted by:	Anish Mistry
2005-12-15 01:04:51 +00:00
ru
0664528982 Keep each prog on its own line so that diffs between various
*_crunch.conf files are easier to read.
2004-10-01 07:54:37 +00:00
ru
4b3aeae7bd Take away unused libraries. 2004-10-01 07:33:09 +00:00
ru
ff705e5860 Clean up after revision 1.55. 2004-01-28 09:38:40 +00:00
ru
a054a38b1a tunefs now requires -lufs. 2003-01-23 08:30:48 +00:00
matusita
f025958c72 Since NEWCARD is the default pccard subsystem, pccard[cd] is no
longer needed.  Note that pc98 uses OLDCARD so this is only for i386
(thanks nyan-san).

OKed by: imp
2002-10-19 14:23:18 +00:00
jkh
b73c1714a8 Back out previous commit - I didn't realize that ifconfig(8) dealt
properly with 802.11 configuration now.

Noted by:	jhb
2002-05-16 06:00:57 +00:00
jkh
6188dfa360 Add wicontrol to boot floppy until such time as this support is part
of ifconfig.
PR:		misc/21886
2002-05-13 20:16:06 +00:00
joerg
2dc04e9ce0 Include camcontrol(8) (in its minimalistic form) into the boot floppy.
This change should/could be merged into other arch's release build
areas (PC98, Alpha), but since i cannot test a "make release" there, i
won't do this myself.

MFC after:	1 week
2002-01-17 20:28:10 +00:00
matusita
bf87628039 Sysinstall cleanups for installation:
1) Use devfs to mount filesystems.  If mounting devfs is fail,
           fallback to old code.
        2) When fscking filesystems, use 'fsck_ffs' explicitly.  As a
           result, we no longer need 'fsck' the wrapper program.

Reviewed by:	jkh
2001-12-02 04:47:46 +00:00
matusita
d9139c0d02 Add fsck tool for UFS to /stand tools (again).
Actually src/release/i386/boot_crunch.conf rev 1.45 does this change,
but unfortunately there is no src/sbin/fsck_4.2bsd directory, but
src/sbin/fsck_ffs.

This commit replaces 'fsck_4.2bsd' to 'fsck_ffs', and add a link to
'fsck_4.2bsd' and 'fsck_ufs'.  Note that 4-stable's fsck(8) have an
ability of fsck_ffs also, there is no need to MFC at least now.

Tested only for: i386 (but I believe this doesn't break for other archs)
2001-11-19 14:43:29 +00:00
obrien
aa2b67828c + Build with lint' defined to cut out some of the rcsid's (binaries' code
only, the libs will still have the `rcsid's in them).
+ mount_mfs is OBE.
+ Do not need libipx as I have conditionally diked that functional out of
  ifconfig(8).
2001-07-21 17:28:21 +00:00
ru
b678fccb99 Cleanup: sort by directory/program, remove unused libraries. 2001-04-03 13:43:25 +00:00
ru
5e971cadf9 Moved -DRELEASE_CRUNCH into crunchgen(1) config files. 2001-03-31 17:02:37 +00:00
jkh
9cfbee6c5c Add tunefs to the mfsroot floppy 2001-03-10 19:52:12 +00:00
jkh
9280a4f849 Add fsck_4.2bsd to boot crunch target. This returns the ability to
actually fsck (and upgrade) a box from boot media again.
2001-02-25 08:02:46 +00:00
jhb
dd438a218a Now that sysinstall lives in /usr/src/usr.sbin, we don't need to pull it
from /usr/src/release.
2001-01-17 07:11:05 +00:00
ume
7d6550f688 IPv6 support.
IPv6 configuration is only done by rtsol.  Does someone really
need manual configuration? :-)
You can specify IPv6 DNS server as well.
We have only one server ftp7.jp.freebsd.org that speaks IPv6
in this time.  ftp7.jp speaks IPv4 as well and also listed as
Japan #7.

Approved by:	jkh
2000-07-14 08:33:10 +00:00
nyan
4a257138c5 - Removed machine dependent directory and command from
src/release/{boot,fixit}_crunch.conf.
- Added machine specific fixit_crunch.conf for PC/AT and PC-98 to
  src/release/$MACHINE.
- Use config file in src/release/$MACHINE if exist. If it does not exist,
  use in src/release.
2000-06-29 13:34:54 +00:00
nyan
6a7aa7f3d9 - Remove obsolete PC-card boot.flp hack. It was for making both PC-card
boot.flp and plain boot.flp.
- Clean up crunchgen related routine.

- Add PC-98 support.
  TODO:
    o Documentation
    o Fix some messages for PC-98
    o Decrease the size of fixit.flp to 1.2MB
    o I18N (See: http://www.jp.FreeBSD.org/BootAsia/index.html)

No response from jkh
2000-06-05 13:17:23 +00:00
hosokawa
e7989bf7f2 Removed unused boot_crunch.conf 1999-06-29 23:49:31 +00:00
markm
6491ecd71a Add bits of PAO that are non-controversial.
Submitted by: Tatsumi HOSOKAWA
1999-06-17 19:04:56 +00:00
jkh
f8729de024 Add dhclient to mfsroot floppy - changes to sysinstall to follow. 1999-05-01 11:30:55 +00:00
jkh
2b29fdee59 Try #2 with minigzip. Now that John Hay has made it behave more properly
like gzip, we should be able to use it here.
1998-09-29 04:58:17 +00:00
jkh
a51c5aa8c3 Remove support for floppy tape installs. I'm sorry, we're outta
space, and it's either this or the DOS installs.  I think that the
DOS installs are somehow more important. :)
1998-09-26 17:05:08 +00:00
jkh
00d538c115 Revert my change to use minigzip. Apparently, this thing is too "mini"
to actually work in this application.  Urk.  This probably explains the
problems people have been having with installing -snap.  My bad.  Will
fix and upload a new beta snap to ftp.freebsd.org.
Noted by:	jhay
1998-09-22 00:16:23 +00:00
jkh
ab84014a07 Try using minigzip instead of gzip; can't hurt! 1998-09-19 01:47:07 +00:00
brian
c73933598a 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
1998-01-17 14:21:21 +00:00
jkh
b81e85c065 Sigh - add libz to libs. Brian just keeps adding stuff to ppp. :) 1997-12-04 14:22:01 +00:00
jkh
fb9cd79beb There appears to be no way around linking with DES for the
moment - the compile-time options are useless since the object
files are being used from ppp to build the crunched image, and
the ppp objects include DES at this stage since they were last
built that way to make the secure distribution.  Hmmmm!
1997-09-30 23:58:24 +00:00
jkh
dbed72990f Remove -ldes again; Brian's latest fix should deal with it. 1997-09-28 20:35:54 +00:00
jkh
8a0c7c5ebe Add (ick) -ldes to the boot floppy so that ppp can link again.
Not sure what this does to exportability but it's probably not
good.
1997-09-27 00:33:48 +00:00
jkh
96bfd8e939 Add -lalias for ppp now. 1997-05-24 09:03:28 +00:00
peter
83b3c2c161 Revert $FreeBSD$ to $Id$ 1997-02-22 14:13:04 +00:00
jkh
808a36ef65 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.
1997-01-14 07:20:47 +00:00
jkh
0450208ebc Whoops, add -lftpio 1996-12-11 10:13:31 +00:00
jkh
3c16d249ef Add -lcrypt for new ppp changes. 1996-10-07 04:16:36 +00:00
phk
d49fe28340 ppp now requires -lmd 1996-02-08 18:02:51 +00:00
joerg
61c04a04af Sheesh. I've added -lipx to the wrong crunch config file.
While i've been here, added the ``-s labels'' flag to vnconfig.
1996-01-03 23:41:03 +00:00
peter
03382d7ccd Update the -current sources from the 2.1 branch.
Approved (in spirit) by: jkh
1995-12-07 10:34:59 +00:00
rgrimes
1b1ee55538 Merge RELENG_2_0_5 into HEAD 1995-06-11 19:33:05 +00:00
jkh
73f2e484c4 Add mount_nfs so that we can do NFS installs. 1995-05-30 05:13:07 +00:00
jkh
0fe7556fa5 Shrink the boot floppy by removing all extraneous stuff. Also increase
number of inodes.

Fix various bugs reported by Poul.  Implement VTY switching.
1995-05-29 00:50:05 +00:00
jkh
0212caaf3f 1. Remove slattach from the root_crunch floppy and stick it on the boot
floppy (for slip install).
2. Try to work around a bodge in the ftp extraction loop where FtpEOF() was
   being called more than once.  Also fix a problem where the URL was getting
   smashed in the environment by copying it to a temporary area before we
   jump up and down on it.
1995-05-27 20:49:59 +00:00
jkh
245d61268c Add ping to the boot floppy; it's too useful for problem diagnosis to
leave off.
1995-05-27 11:18:52 +00:00
jkh
9d2760a66b Move ppp back to root floppy; we need it to load the cpio floppy,
potentially.
1995-05-26 21:15:50 +00:00
jkh
f2fac040f8 Rename boot.flp to root.flp 1995-05-25 18:48:07 +00:00
jkh
9770049e29 Whoops! Forgot libkvm. 1995-05-23 23:06:22 +00:00
jkh
4daafd9af9 Remove some extraneous junk from the boot floppy. Put ifconfig and route
on there.
1995-05-23 22:59:08 +00:00