Commit graph

245 commits

Author SHA1 Message Date
Glen Barber 0bc9be5e74 Avoid using env(1) to set values passed to mk-vmimage.sh,
and instead pass the values as arguments to the script,
making it easier to run this by hand, without 'make release'.

Add usage_vm_base() and usage_vm_image() usage helpers.

Sponsored by:	The FreeBSD Foundation
2014-10-01 19:13:42 +00:00
Glen Barber fadf2a24fe Separate release/scripts/mk-vmimage.sh to machine-specific
scripts, making it possible to mimic the functionality for
non-x86 targets.

Move echo output if MAKEFLAGS is empty outside of usage().

Remove TARGET/TARGET_ARCH evaluation.

Sponsored by:	The FreeBSD Foundation
2014-10-01 17:05:40 +00:00
Nathan Whitehorn 7fad9ac96c Now that GENERIC can boot on UEFI systems (r268158), switch the build to use
UEFI-compatible images. These will boot as before on BIOS systems, but will
boot using the UEFI loader on UEFI-aware systems.
2014-07-02 15:23:13 +00:00
Nathan Whitehorn faecd0da18 loader's GPT support on BIOS does not seem to like the root filesystem
being the last filesystem on the disk for some reason when made by this
script. Add a vestigial swap partition to allow this to boot with QEMU
BIOS.
2014-04-27 16:34:59 +00:00
Nathan Whitehorn 457b8af283 Add script to setup bootable CD ISOs for both BIOS and EFI systems. Tested
and working on QEMU. Actually using this script as the regular image
generator, like with the memstick one, will require that the kernel support
EFI too. In particular, the following two things are required:
1. vt(9) be the default console driver
2. vt_efifb and vt_vga be able to coexist usefully in the same kernel

One other note here is that this requires newfs_msdos and mdconfig, which is
really ugly. NetBSD's makefs at least seems to support FAT now. If that
actually works, it should be imported and we can get rid of the mdconfig mess.
2014-04-27 01:06:02 +00:00
Nathan Whitehorn be583ba69d Make a dual-boot BIOS/UEFI memstick image. Testing required before this gets
renamed make-memstick.sh.
2014-04-27 00:40:18 +00:00
Glen Barber ed785830d7 Add a separate script to build the memstick.img and the
mini-memstick.img with UEFI support.

As the comments in the file suggest, 1) there must
be existing ${.OBJDIR}/usr/src/release/{release,bootonly};
2) TARGET/TARGET_ARCH must be amd64; and 3) it must be
a vt(4)-enabled kernel with vt_efifb (*not* vt_vga).

This script is not hooked into release/Makefile in any way
until further testing is complete.

Sponsored by:	The FreeBSD Foundation
2014-04-25 21:11:00 +00:00
Glen Barber a29123a849 Fix indentation for diff reduction with commits to follow.
Sponsored by:	The FreeBSD Foundation
2014-04-25 19:43:18 +00:00
Glen Barber cac71a6495 Revert r264907 and r264908:
Restore make-memstick.sh back to its original state to
unbreak booting for machines that do not support GPT.

I have in-progress work to keep the MBR layout and add
the EFI partition, but it is not yet ready, and does
need at least one full release build to be certain it
does not break.

Sponsored by:	The FreeBSD Foundation
2014-04-25 18:46:54 +00:00
Glen Barber ad22db2755 Style cleanup
- Indent 1 full tab where needed
 - Use $() for shell exec
 - Insert a space between '$(( ))' parens

MFC After:	1 week
X-MFC-With:	r264907
Sponsored by:	The FreeBSD Foundation
2014-04-25 01:55:14 +00:00
Glen Barber 6dceb683a7 Refactor make-memstick.sh to avoid creating the 'dangerously
dedicated' partition scheme, reported to cause the memstick.img
to fail to boot.

Similar to how make-memstick.sh worked on stable/8, use makefs(8)
to create the actual filesystem.  Then calculate the size of the
resulting image file, create the GPT partition scheme, then dd(1)
the filesystem created with makefs(8) to the freebsd-ufs GPT
partition.

This was tested on a known-working machine[1] for regression, and
a known-not-working machine[2] to ensure the boot issue has been
resolved.

Testers:	myself [1], db [2]
MFC After:	1 week
Sponsored by:	The FreeBSD Foundation
2014-04-25 01:38:57 +00:00
Glen Barber 6f50c4ea71 Update the pkg-stage target to be more compatible with pkg-1.2:
- Add a release-dvd.conf pkg(8) configuration file to override
   the default FreeBSD.conf configuration.
 - Remove architecture-specific pkg-stage.conf files, consolidate,
   and move their contents to scripts/pkg-stage.sh.
 - Use 'pkg -vv' to determine the ABI, which is used as the
   cache directory.

Prior to these changes, it would be possible for pkg-stage to fetch
conflicting binary packages from multiple repositories.

Tested against:	head@r260522, stable/10@r260522

MFC after:	3 days
X-Insta-MFC:	possibly
Sponsored by:	The FreeBSD Foundation
2014-01-16 16:12:09 +00:00
Glen Barber df6fb2b5b3 Simplify PKG_ABI for pkg-stage.sh.
Submitted by:	hrs
MFC after:	3 days
X-MFC-With:	r258310
Sponsored by:	The FreeBSD Foundation
2013-11-18 20:01:52 +00:00
Glen Barber 6d86d28981 Fix how ABI is evaluated so it matches more than a dot-zero
case.

MFC after:	3 days
X-MFC-With:	r258310
Sponsored by:	The FreeBSD Foundation
2013-11-18 17:52:18 +00:00
Glen Barber 1d9e5a791b Set the PKG_CACHEDIR directory to 'dvd/' instead of 'release/'
in preparation of adding a 'dvd1.iso' target.

MFC after:	3 days
X-MFC-With:	r258305, r258307, r258308
Sponsored by:	The FreeBSD Foundation
2013-11-18 16:11:19 +00:00
Glen Barber 042a51f641 Add a script and configuration files to fetch pre-built packages
from pkg.FreeBSD.org for inclusion on release medium (dvd1.iso).

The script sources ${.CURDIR}/${TARGET}/pkg-stage.conf, which sets
several environment variables, such as the pkg(8) ABI, PACKAGESITE,
PKG_DBDIR, and PKG_CACHEDIR.  PKG_CACHEDIR is set to the directory
on the release medium used by bsdconfig(8) (/packages/${ABI}).  ABI
is determined by output of 'make -C /usr/src/release -V REVISION'.
See pkg.conf(5) for descripton on other variables set here.

The list of packages to include are set within the configuration
file.

The script and configuration files are intended to be run by the
'make dvd' target within the release directory, and assume the
release is built within a chroot environment (such as by using
release.sh).

Relevant updates to release/Makefile will follow.

Sponsored by:	The FreeBSD Foundation
2013-11-18 15:22:55 +00:00
Hiroki Sato de17cbcc7e - Add CHECKSUM.* support in Makefile[1].
- Use ln -fs to create a symlink.
- Remove pkgadd for docports.
- Use WITHOUT_JADETEX=yes instead of WITH_JADETEX=no.
- Add {WORLD,KERNEL}_FLAGS to [BTWK]MAKE.
- Use makefs(8) and gpart(8) for sparc64 ISO image[2].
- Add publisher option to makefs(8)[2].

Based on work by:	gjb[1]
Discussed with:		marius, nwhitehorn[2]
2013-02-03 10:26:24 +00:00
Hiroki Sato 0e4b6f5ed7 ISO 9660 specification allows only "d-characters" and "a-characters" in the
Volume Descriptor (section 7.4).  In short, upper-case alphanumeric + some
symbols only.  While the makefs utility automatically converts the characters,
$LABEL should be consistent in the scripts.
2013-01-08 21:13:58 +00:00
Nathan Whitehorn 986e0c7801 Use UFS labels and bsdlabels (like the 8.x memsticks) instead of GPT to
fix problems with some BIOSes.

MFC after:	3 days
2011-10-09 16:23:04 +00:00
Nathan Whitehorn e59e2d8ec7 Farewall, sysinstall! You served us well for many years, but 10.0 is one
digit beyond your time.

Various sysinstall dependencies (e.g. libftpio, libdisk, libodialog, etc.)
will be cleaned up in coming days. Some will take longer than others due to
a few other consumers (tzsetup and sade).
2011-10-03 15:13:09 +00:00
Nathan Whitehorn 86354c8d38 Mount memsticks read-only by default to prevent them being filled by
user modifications and subsequently preventing a functioning installation.

Approved by:	re (kib)
2011-07-30 00:51:36 +00:00
Nathan Whitehorn eadacd1328 Garbage collect some unused variables and stray debug code.
Submitted by:	marius
2011-05-05 13:55:43 +00:00
Nathan Whitehorn cf6ba592c5 Repair release CD generation on PC98 and sun4v after release building
changes, and backport the new logic (ISO images are TARGET dependant, not
TARGET_CPUARCH dependant) to Makefile.sysinstall. While modifying ISO
image scripts, change several archs to use makefs (from base) instead of
mkisofs (from ports) which makes release CD generation both faster and
self-hosting.
2011-05-04 23:41:11 +00:00
Nathan Whitehorn 0877c11eda Use labels to find release media instead of hard-coded device paths. This
makes booting more reliable (and working at all on USB sticks). While here,
move responsibility for setting up fstab into the various platform mk-*.sh
scripts.

Suggested by:	many
2011-03-22 01:14:53 +00:00
Nathan Whitehorn 89033280b7 Add generation of memstick images to the bsdinstall release makefile for
i386 and amd64. This involved moving the memstick generation script to
the arch directories from scripts/, in analogy to mkisoimages.sh. This
script was never called from /usr/src/release/Makefile, so that hasn't
been updated.
2011-03-13 01:38:24 +00:00
Yoshihiro Takahashi 9f9569662f Fix making a release. The old libdialog was renamed to libodialog. 2011-01-14 10:56:44 +00:00
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
Andrew Thompson a091d2a525 Install libusb20.so.1 as libusb.so.1, there will be a followup commit to the
ports tree so that programs use libusb from the base by default. Thanks to
Stanislav Sedov for sorting out the ports build.

Bump __FreeBSD_version to 800069

Help and testing by:	stas
2009-03-09 17:05:31 +00:00
Yoshihiro Takahashi 1a598e6201 Catch up with USB2 change.
Remove the usbdevs and add the usbconfig.

Spotted by:     hrs
Tested on:      i386
2009-03-03 09:04:18 +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
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
Ken Smith 9253618760 The current version of mkisofs is warning us that the -P option will
be changing with the next version, and we should be using -publisher
instead.

Also warned by:	trhodes
MFC after:	1 week
2005-01-30 21:10:52 +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
Murray Stokely f009648120 Add a publisher variable with the URL for the FreeBSD Project, and put
this into the ISO headers by specifying the -P option to mkisofs.

Obtained from: share/examples/worm/makecdfs.sh
2004-07-15 09:28:03 +00:00
Kris Kennaway 57a3bc4163 Set BATCH=yes to avoid bumping into interactivity in the port builds.
XXX /usr/ports is still hardcoded, should be ${PORTSDIR}
2004-07-12 07:59:25 +00:00
Marius Strobl 156b04cce4 mkisofs(8) is now installed by sysutils/cdrtools.
This will be instantly MFC'ed.
2004-06-02 22:21:15 +00:00
Ruslan Ermilov cae8c47975 Clean up after revision 1.55. 2004-01-28 09:38:40 +00:00
Ruslan Ermilov d3e8a78512 amd64 will not provide floppies. 2003-07-23 05:55:02 +00:00
Peter Wemm 9be4e09089 For amd64, delete the IA32 option for the boot kernel since it needs
SYSV*, which is also removed.
2003-06-26 00:58:57 +00:00
Scott Long b5568efe33 Enable the MUTEX_NOINLINE option for the BOOTMFS kernel for ia32, pc98, and
alpha.  This shaves 36-50k off of the compressed kernel size.

Submitted by:	jhb
2003-05-18 03:52:22 +00:00
Ruslan Ermilov 5795760c45 disklabel(8) is spelled bsdlabel(8) or sunlabel(8) these days.
Also make sure bsdlabel(8) (along with the disklabel(8) compat
link) still appear on the fixit floppies of platforms that use
it natively (alpha, i386, and pc98).

Approved by:	re (scottl)
2003-05-17 19:16:28 +00:00
Scott Long 96b040863a Revert rev 1.78 of dokern.sh. The ncv, stg, and nsp drivers aren't
specific to pc98, and it looks like space on the kernel floppy isn't
as tight as it was.
2003-05-05 02:04:55 +00:00
Scott Long 2163f9d31b pc98 has it's own release subdir, so it's safe to remove the stg, ncv, and
nsp drivers from the i386 floppies.

Suggested by:	bmah
2003-05-02 17:47:08 +00:00
Ruslan Ermilov ca7b358a91 Removed mount_devfs from progs since there is no "mount_devfs"
source directory (it's spelled mount_std nowadays), so it was
a no-op anyway, and DEVFS is now the default.
2003-04-21 19:14:32 +00:00
John Hay 20f99829c3 NO_COMPAT_FREEBSD4 is no more. 2003-04-17 06:04:44 +00:00
Ruslan Ermilov 4c9fbbd687 Go for the auto-tuned `maxusers'. This at least fixes
the ``panic: timeout table full'' on Alphas.

Tested by:	wilko
2003-03-22 14:23:23 +00:00
Makoto Matsushita a9f39f60e0 Push UFS_ACL back for i386. We have 11kbytes of free space on kern.flp.
If we have no UFS_ACL kernel, users who already uses UFS1/2 attributes
get confused since no access control is performed for an update install.

Still, pc98 and alpha doesn't have UFS_ACL since I don't know about them.

Nyan-san, if kern.flp on tatsu has enough spaces (4k or more spaces),
please back UFS_ACL for pc98 also.

Data collected from: 5.0-CURRENT-20030221-JPSNAP on snapshots.jp.FreeBSD.org
2003-02-21 18:07:24 +00:00
Makoto Matsushita 9e1bbfcf67 Pushing back aacp driver to kern.flp kernel. It can be removed iff
aac is not compiled into a kernel.

After this change, kgziped kernel got about 320 bytes; it still fits a floppy.

Pointy hat to: matusita
2003-02-19 03:49:17 +00:00
Makoto Matsushita 5a09e21c81 Yet another kernel diet: remove aacp and _KPOSIX_PRIORITY_SCHEDULING.
aacp is a passthrough driver for aac, but it seems that aac kernel
module has a feature provided by aacp; so it can be removed safely.

_KPOSIX_PRIORITY_SCHEDULING provides P1003.1B realtime extension.
However, in an installation phase, it seems that it helps a little
for us, so we can remove this option from a kernel for floppy installation.

I know _KPOSIX_PRIORITY_SCHEDULING option is defined in other architecture.
However, I don't touch them at this time; I can't test it.

Anyway here's result.

	Before diet:
	-rwxr-xr-x  1 matusita  matusita  4849883 Feb 18 11:22 kernel
	-rwxr-xr-x  1 matusita  matusita  1727143 Feb 18 11:47 kernel.kgz

	After diet:
	-rwxr-xr-x  1 matusita  matusita  4840949 Feb 18 09:48 kernel
	-rwxr-xr-x  1 matusita  matusita  1723911 Feb 18 11:47 kernel.kgz

We've got extra 3232 bytes (using 5-current as of Feb/18/2003).

In cooperation with:	jwd (test ISO installation image)
Boot tested on:		several PCs around myself
Installation tested on:	VMware Workstation e.x.p build-4099
2003-02-18 12:09:20 +00:00
Ruslan Ermilov f1eab2912b tunefs now requires -lufs. 2003-01-23 08:30:48 +00:00
John Baldwin cb505683e3 Make 'agp', 'tun', and 'if_txp' be modules on the mfsroot floppy instead of
just removing them from BOOTMFS using dokern.sh.
2002-11-12 19:30:00 +00:00
Ruslan Ermilov bd9ff04bd0 Removed redundant entries (these are handled by drivers.conf). 2002-11-11 11:02:14 +00:00
Ruslan Ermilov 1b79652469 Don't attempt to strip obsolete, non-existing, or commented out
options and devices.
2002-11-11 10:53:28 +00:00
Ruslan Ermilov 4d28d2b43c Tabulate, sort. 2002-11-11 10:13:30 +00:00
Peter Wemm e0208e5320 Add NO_COMPAT_FREEBSD4.
Submitted by:	Sergey Mokryshev <mokr@mokr.net>
2002-10-27 03:41:35 +00:00
Yoshihiro Takahashi b6e566c93b - Remove the UFS_ACL option from the boot floppies.
- Remove duplicate entries.
2002-10-20 15:37:32 +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
Sam Leffler f7525b1de0 Add mount_devfs so we can remove MAKEDEV from the fixit floppy. These
two changes make stuff fit in a floppy image again.

Note: tested only for i386, but (blindly) applied to all machines
2002-10-17 18:04:53 +00:00
Sam Leffler 77cfe20dfa Strip splash, tun, and COMPAT_FREEBSD4 from the config used to build
the BOOTMFS kernel.  These help reduce the kernel size so things fit
in a floppy image.  There are more low-hanging fruit to be had here
if things fail to fit again.
2002-10-17 18:02:27 +00:00
Yoshihiro Takahashi 12ee49ef92 Remove unused code. 2002-09-10 13:08:23 +00:00
David E. O'Brien ee298a8151 Back out last commit where I moved pcn(4) off of the modules floppy back
into the install kernel.  Unfortunately pcn(4) also needs mii(4) so that
would also have to added to install kernel, which will bloat it up so that it
doesn't fit on the floppy any more.  Turns out we grew a lnc(4) module since
I last looked.  So handle it as a kld loadable module during install rather
than have it statically compiled into the kernel.
2002-09-08 23:59:38 +00:00
David E. O'Brien f31d7a5714 Statically compile pcn(4) into the install kernel vs. using as module.
lnc(4) will attach to AMD PCnet/FAST NICs if pcn(4) does not attach.
I.e. pcn(4) gets first chance.  There is a problem however in that pcn(4)
was moved out of the install kernel so that the module would be used.
This however causes bad installs if one has an AMD PCnet/FAST NIC.
2002-09-05 15:45:01 +00:00
Murray Stokely 3e7c03093a Remove the AH[CD]_REG_PRETTY_PRINT options from the boot floppies.
Discussed with:	gibbs
2002-09-02 02:57:25 +00:00
Yoshihiro Takahashi 486f5480ba Pc98 does not have the agp device. 2002-08-11 13:23:59 +00:00
John Hay 407ac59af3 Add a third floppy to releases. It will only be built if there is a
release/${TARGET}/drivers.conf file which list drivers that have to
go into the third floppy.

Also shuffle i386/drivers.conf so that the floppies don't overflow
anymore. Anybody with real/better usage statistics is welcome to
shuffle it differently.

Reviewed by:	ru
2002-08-09 07:45:42 +00:00
Eric Anholt 2690c0bb32 Add device agp to GENERIC, filter it out of floppy builds
Approved by:	des (mentor)
2002-08-04 18:35:02 +00:00
Yoshihiro Takahashi 0bf831c43e Removed the ch, sa and ses devices from 'SMALL' boot floppy image. 2002-05-23 14:15:48 +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
John Baldwin 649739635f Switch to using cdboot for booting i386 CD's by default.
Approved by:	murray
2002-04-11 16:39:13 +00:00
Yoshihiro Takahashi ec8ab20b51 - Sort some entries.
- Don't remove MATH_EMULATE and MSDOS from a 'SMALL' floppy.
- Use the pattern '<tab><device name><tab>' instead of '<device name>' to
  avoid an unexpected matching.
2002-03-03 10:38:40 +00:00
Murray Stokely e4e61f7853 Providing long filename support on the Macintosh requires over 30
megabytes of additional space on the install CD.  Given our premium
for space, I don't think this is a wise use of 30MB.  HFS support was
not provided on the FreeBSD 4.4 CDs and I received a grand total of 0
complaints.
2002-01-24 10:44:16 +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
Ian Dowse 1cb4661d56 Enable UFS_DIRHASH in the GENERIC kernel.
Suggested by:	silby
Reviewed by:	dillon
MFC after:	5 days
2001-12-14 16:27:11 +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
John Baldwin 4a68905be9 NFS_NOSERVER doesn't do anything anymore and is about to get axed so don't
use it.  Instead, remove NFSSERVER.  This was already done on i386, but
the alpha still needed the fix.
2001-11-15 15:58:01 +00:00
John Baldwin 2ac0462f16 The new libedit from a while back depends on ncurses, so put -ledit before
-lncurses so the fixit crunch binary links.

Tested on:	alpha
2001-11-14 17:48:55 +00:00
John Hay d1df08b648 src/sbin/i386 does not exist anymore. Tripped over by make release. 2001-11-05 20:56:54 +00:00
David E. O'Brien 9f770bc78c Restore MSDOSFS support to the install kernel.
Remove the `txp' `sf' `ste' network drivers instead.

Approved by:	jkh
2001-10-03 03:58:08 +00:00
Jordan K. Hubbard 66a686ee82 Try eliminating some more things from the -current installation
kernel in an attempt to get release builds working again.
2001-09-30 08:23:05 +00:00
David E. O'Brien 074aec36c2 Try to build mkisofs' first, and only pkg_add -r' if you cannot. 2001-09-03 20:29:21 +00:00
David E. O'Brien d0f44c4dad Fix my backwards logic.
Submitted by:	dirk
2001-09-03 20:23:59 +00:00
David E. O'Brien 9c2ee3164b + do not hard code where a port may be installed to
+ uses `mkisofs' rather than `mkhybrid' as the new mkisofs is the merger
  of the two
+ checks for `setcdboot's existsance and tries to pkg_add it if needed
+ removes English contraction

Approved by:	jkh
2001-08-20 21:22:33 +00:00
KATO Takenori 24906e1422 Added the txp driver into the list for SMALL kernel. 2001-07-24 11:32:18 +00:00
Jordan K. Hubbard 2ef74d2289 Add scripts and Makefile support for building ISO images automatically
as part of the release if MAKE_ISOS is set.  Will also build the
first CD with packages (in addition to the "minimal" CD) if CD_EXTRA_BITS
points to them.  This probably need a bit more work to get fully useful,
but it at least covers the basics for now.
2001-07-23 09:01:46 +00:00
David E. O'Brien 5dd6693718 Unconditionalize these now that they live in ARCH-specific directories. 2001-07-21 17:32:40 +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 aff344349b mount_msdos(8) -> mount_msdosfs(8). 2001-06-01 11:25:40 +00:00
David E. O'Brien c5e70d92ce Turn on kernel debugging support (DDB, INVARIANTS, INVARIANT_SUPPORT, WITNESS)
by default while SMPng is still being developed.

Submitted by:	jhb
2001-04-15 19:37:28 +00:00
David E. O'Brien 65d7fc7c83 Apply rev 1.48 (only dike out the `ncr' driver, not every line with the
[sub]string "ncr" in it) to the Alpha also.
2001-04-15 19:34:40 +00:00
David E. O'Brien d81349c6dd *sigh*... when trying to dike out the ncr' driver, I was getting the sym'
driver too because it had "ncr" in its comment.

Submitted by:	joerg
2001-04-14 02:10:05 +00:00
John Baldwin 43ede6218e NOBLOCKRANDOM doesn't exist anymore as a kernel option. 2001-04-10 19:01:30 +00:00