Commit Graph

64 Commits

Author SHA1 Message Date
Ken Smith
1ec675a25a Recent work on the gnu cpio seems to have introduced some bugs, it
complains about "Malformed numbers" while unpacking the dists and
what winds up on the disk isn't correct.  Use this as an opportunity
to switch over to bsdcpio since at this point we don't even build
and install the gnu cpio by default.  Note sysinstall needed to be
tweaked a bit (dropping tape block size setting) because it seems
bsdcpio doesn't do anything with block sizes, at least as far as
reading from archives goes.  That wasn't really a problem since
installations from tape have been broken for a while and the rest
of sysinstall's tape support code will be removed shortly.
2008-08-20 13:35:39 +00:00
Andrew Thompson
dbef86ad30 libbsdxml is now required by ifconfig(8).
Submitted by:	Florian Smeets
2008-04-22 18:20:05 +00:00
Ken Smith
a1435ad491 In 'fixit mode' running "fsck /dev/ad0s1a" typically complains that it
can't find fsck_4.2bsd because there was no fstab file saying what
filesystem type it is looking at so it got the filesystem type from
the disk's label.  When that fails admins who haven't been in this
situation before are most likely to try "fsck -t ufs /dev/ad0s1a" because
ufs is the type used in fstab files on working systems but that also fails
complaining it can't find fsck_ufs.

This just sets it up so /stand in the MFS image (/sbin is a symlink
to /stand) includes hard links pointing fsck_4.2bsd and fsck_ufs to
fsck_ffs which is what is present in /sbin on installed systems.

Prodded by:	obrien
MFC after:	1 day
2008-01-22 16:35:10 +00:00
Sam Leffler
9fe7600bbe 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
Ian Dowse
2e46a159cc 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
Ruslan Ermilov
3f68119c9a 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
Ruslan Ermilov
5131c5866e Take away unused libraries. 2004-10-01 07:33:09 +00:00
Ruslan Ermilov
cae8c47975 Clean up after revision 1.55. 2004-01-28 09:38:40 +00:00
Ruslan Ermilov
f1eab2912b tunefs now requires -lufs. 2003-01-23 08:30:48 +00:00
Makoto Matsushita
42de95691d 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
Jordan K. Hubbard
9c7c210d3b 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
Jordan K. Hubbard
ebfbe4e7fb 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 Wunsch
961cff1566 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
Makoto Matsushita
bbcb3e0620 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
Makoto Matsushita
25337c6246 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
David E. O'Brien
5b3d192e30 + 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
Ruslan Ermilov
98b901eee9 Cleanup: sort by directory/program, remove unused libraries. 2001-04-03 13:43:25 +00:00
Ruslan Ermilov
c3a205ef0b Moved -DRELEASE_CRUNCH into crunchgen(1) config files. 2001-03-31 17:02:37 +00:00
Jordan K. Hubbard
a17b3742f6 Add tunefs to the mfsroot floppy 2001-03-10 19:52:12 +00:00
Jordan K. Hubbard
b4540ce2ea 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
John Baldwin
cad23515ec 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
Hajimu UMEMOTO
2931df8a40 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
Yoshihiro Takahashi
7ec62217f0 - 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
Yoshihiro Takahashi
a40915d750 - 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
Tatsumi Hosokawa
cc6c55a640 Removed unused boot_crunch.conf 1999-06-29 23:49:31 +00:00
Mark Murray
1a95b917f0 Add bits of PAO that are non-controversial.
Submitted by: Tatsumi HOSOKAWA
1999-06-17 19:04:56 +00:00
Jordan K. Hubbard
80a75bddbb Add dhclient to mfsroot floppy - changes to sysinstall to follow. 1999-05-01 11:30:55 +00:00
Jordan K. Hubbard
d15f150dfb 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
Jordan K. Hubbard
eb0ffee8a1 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
Jordan K. Hubbard
1e3badb305 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
Jordan K. Hubbard
c17109adb1 Try using minigzip instead of gzip; can't hurt! 1998-09-19 01:47:07 +00:00
Brian Somers
ced716c30f 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
Jordan K. Hubbard
fe8cc63f6d Sigh - add libz to libs. Brian just keeps adding stuff to ppp. :) 1997-12-04 14:22:01 +00:00
Jordan K. Hubbard
2ce18d2da7 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
Jordan K. Hubbard
b0a117a8bc Remove -ldes again; Brian's latest fix should deal with it. 1997-09-28 20:35:54 +00:00
Jordan K. Hubbard
85ae221049 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
Jordan K. Hubbard
e2c00c8eec Add -lalias for ppp now. 1997-05-24 09:03:28 +00:00
Peter Wemm
b97fa2ef50 Revert $FreeBSD$ to $Id$ 1997-02-22 14:13:04 +00:00
Jordan K. Hubbard
1130b656e5 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
Jordan K. Hubbard
06e9f945df Whoops, add -lftpio 1996-12-11 10:13:31 +00:00
Jordan K. Hubbard
581eec05b8 Add -lcrypt for new ppp changes. 1996-10-07 04:16:36 +00:00
Poul-Henning Kamp
296a2cc62f ppp now requires -lmd 1996-02-08 18:02:51 +00:00
Joerg Wunsch
c8e2dc5a38 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 Wemm
40b0c0d936 Update the -current sources from the 2.1 branch.
Approved (in spirit) by: jkh
1995-12-07 10:34:59 +00:00
Rodney W. Grimes
d3628763db Merge RELENG_2_0_5 into HEAD 1995-06-11 19:33:05 +00:00
Jordan K. Hubbard
d1de348dff Add mount_nfs so that we can do NFS installs. 1995-05-30 05:13:07 +00:00
Jordan K. Hubbard
fdb4b4b383 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
Jordan K. Hubbard
81048a555a 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
Jordan K. Hubbard
5d76714744 Add ping to the boot floppy; it's too useful for problem diagnosis to
leave off.
1995-05-27 11:18:52 +00:00
Jordan K. Hubbard
f39a013b8a Move ppp back to root floppy; we need it to load the cpio floppy,
potentially.
1995-05-26 21:15:50 +00:00