Commit graph

69 commits

Author SHA1 Message Date
Xin LI 241e22a783 Reorder to have -lcrypto after -larchive. Our linker doesn't seem to like
the current ordering :(
2010-05-26 18:55:40 +00:00
Xin LI 8755e33a57 libarchive now needs libcrypto and liblzma. 2010-05-25 17:48:17 +00:00
John Baldwin 0c61f21af5 Remove slattach from the install mfsroot since it doesn't exist anymore
to quiet a warning from crunchgen.

MFC after:	1 week
2010-01-26 15:28:00 +00:00
Jamie Gritton 014c191ae6 Add libjail to the boot_crunch binaries (for ifconfig).
PR:		136071
Submitted by:	Scot Hetzel
Approved by:	re (kensmith), bz (mentor)
2009-06-29 13:59:30 +00:00
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
Yoshihiro Takahashi fe91068c3c Disable an SMP detection on pc98. 2006-03-10 12:18:41 +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
Yoshihiro Takahashi 819766797e Switch from OLDCARD to NEWCARD on pc98. 2005-09-27 13:10:24 +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 3a125d8e18 Put slattach(8) onto the MFS root file system now that we always
use the GENERIC kernel for installs which has the sl(4) support.
2004-01-28 10:18:54 +00:00
Ruslan Ermilov f1eab2912b tunefs now requires -lufs. 2003-01-23 08:30:48 +00:00
Yoshihiro Takahashi fda7c25a9b Remove the slattach command from the mfsroot floppies. 2002-10-20 15:40:09 +00:00
Yoshihiro Takahashi 32a8cd6cdd Remove usbd and usbdevs. 2002-10-16 14:50:46 +00:00
Yoshihiro Takahashi 30f0d81114 MFi386: revision 1.52: add camcontrol 2002-01-18 03:35:51 +00:00
Makoto Matsushita 57c307da7c Forget to remove fsck from src/release/{alpha,pc98}/boot_crunch.conf,
which should be done with src/release/i386/boot_crunch.conf rev 1.51
and src/usr.sbin/sysinstall/install.c rev 1.311.

Spotted by:	nyan (via ReichaNet)
2001-12-02 04:58:40 +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
Yoshihiro Takahashi 67f706dbc5 Correct typo. 2001-07-22 00:58:15 +00:00
David E. O'Brien 597dd1b581 I think this is OK for PC98, someone please check.
As was done to i386/boot_crunch.conf:
+ 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:55:38 +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