History log of /freebsd-9.3-release/usr.sbin/sysinstall/dist.h
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 267654 19-Jun-2014 gjb

Copy stable/9 to releng/9.3 as part of the 9.3-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 225736 22-Sep-2011 kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by: re (implicit)


# 213386 03-Oct-2010 nwhitehorn

Extend sysinstall to handle powerpc64 by teaching it that powerpc64 has
a lib32 distribution, and that the GENERIC kernel is named GENERIC64.
More modifications will be required later for installations from ftp due
to the shared platform name with 32-bit powerpc, but this is enough for
snapshot CDs to work.

Reviewed by: brucec


# 195132 28-Jun-2009 blackend

- release/* update to use freebsd-doc-* packages instead of building
FreeBSD docset during 'make release' this will speed up release
builds;
- sysinstall(8) has also been updated to use these packages with a new
menu allowing people to choose what localized doc to install;
- mention in UPDATING that docs from the FreeBSD Documentation project
are now installed in /usr/local/share/doc/freebsd instead of
/usr/share/doc.

Approved by: re (kensmith)


# 186152 15-Dec-2008 kensmith

Stop treating Xorg as a distribution in the mainline portion of sysinstall
and leave it to be handled in the packages section (or post-install
completely) along with all the other packages.


# 181731 14-Aug-2008 kensmith

Catch up with the removal of /usr/src/compat.

MFC after: 3 days


# 175029 01-Jan-2008 kensmith

Change sysinstall's handling of X11 stuff. Doing it in pieces was
probably the right thing to do a while ago but xorg has progressed
to the point that for novice users (who are the ones expected to think
installing X11 during an install...) it's best to just install the
whole x11/xorg metaport for them. This removes the X11 sub-menus
and sets it up so you just select whether or not you want X11. While
here garbage collect an X11 configuration menu I missed removing when
I removed support for attempting xorg configuration from inside sysinstall
a while ago.

Discussed with: rwatson, kris
No objection from: re
Release build tested by: rwatson

MFC after: 1 week


# 174725 17-Dec-2007 kensmith

A few more adjustments needed because of changes in xorg. Just installing
xorg-server doesn't include any video drivers so install xorg-drivers as
well. And if font-alias isn't installed the X server won't start,
complaining it can't find the font "fixed".

Insta-MFC coming, this was tested with a RELENG_6_3 release build and
the necessary packages as part of the first round of testing for 6.3-RC2.


# 173510 10-Nov-2007 kensmith

xorg-printserver still exists in the ports tree but it's marked as
depreciated and scheduled to be removed.

Confirmed by: kris
MFC after: 3 days


# 173498 09-Nov-2007 ru

Teach source installation shell script and sysinstall(8) about
the 'scompat' source dist that holds src/compat/.

Reported by: Mars G Miro


# 173453 08-Nov-2007 kensmith

Update X11 dists for xorg-7.3 layout.

X-MFC-after: Insta-MFC may be coming so this can get into 6.3-BETA2.


# 171081 28-Jun-2007 jhb

Teach sysinstall about the 'scddl' source dist.

Approved by: re (kensmith)


# 156436 08-Mar-2006 sam

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.


# 147425 16-Jun-2005 ru

Provide 32-bit runtime support on amd64 as a separate distribution, lib32.

Prodded by: obrien
Nodded by: peter
Approved by: re


# 134491 29-Aug-2004 obrien

Start the de-orbital burn of our previous FreeBSD version compat libs
living in usr/src. We need to use them from ports to record dependencies.

Discussed with: re(scottl)


# 134286 25-Aug-2004 obrien

No longer do special handling of Perl. FreeBSD users have all of 5.x
to get used to the fact that Perl is no longer part of the base system.
It is practically impossible to install any useful package and not get
Perl automatically pulled in as a dependency. So the typical user will
get their Perl.

This change greatly reduces the amount of manual labor in building the
miniinst.iso in release building.


# 133441 10-Aug-2004 cperciva

Teach sysinstall about the "srescue" distribution, which contains the
contents of /usr/src/rescue. Until now, the files were shipped with
releases but sysinstall would ignore them (resulting in a non-buildable
source tree).

Sanity checked by: jhb


# 133421 10-Aug-2004 kensmith

Initial pass at shifting sysinstall(8) to install X.org instead of XFree86.
There are still a few nits to work out (graphical config non-functional).

Patches by: anholt@, adapted slightly
Reviewed by: 'make release'


# 133196 06-Aug-2004 cperciva

Join the 21st century: Cryptography is no longer an optional component
of releases. The -DNOCRYPT build option still exists for anyone who
really wants to build non-cryptographic binaries, but the "crypto"
release distribution is now part of "base", and anyone installing from a
release will get cryptographic binaries.

Approved by: re (scottl), markm
Discussed on: freebsd-current, in late April 2004


# 121479 24-Oct-2003 jhb

- Renumber the skerberos4 dist to fill in the gaps left when krb4 was axed.
- Update the DIST_CRYPTO_ALL value to match reality.


# 119152 19-Aug-2003 obrien

Remove the vestiges of the old pre-"X_AS_PKG" way we used to handled the
installing XFree86 (version 3.3.6 and before).

Reviewed by: jhb


# 115236 22-May-2003 ru

The "krb5" distribution was merged with "crypto", record the death.

Reviewed by: jhb
Approved by: re (jhb)


# 109434 17-Jan-2003 jhb

- Rename installFixupBin to installFixupBase to finish up the 'bin' to
'base' dist rename.
- Rework struct dist to allow for different types of dists. There are
currently three types of dists: DT_TARBALL, the traditonal gzipped and
split tar file; DT_PACKAGE, a package; and DT_SUBDIST, a meta-dist in
the tree that has its own array of dists as its contents. For example,
the 'base' dist is a DT_TARBALL dist, the 'perl' dist is a DT_PACKAGE
dist, and the 'src' dist is a DT_SUBDIST dist with its own dist table
that contains 'sbase', 'ssys', etc.
- Add helper macros for defining array entries for the different types of
dists to try and make the statically defined dist table in dist.c more
readable.
- Split the logic to deal with a DT_TARBALL dist out of distExtract()
and into its own distExtractTarball() function. distExtract() now
calls other functions to extract each dist.
- Tweak the percentage complete calculation in distExtractTarball() to
do the multiply prior to the divide so it doesn't have to use floating
point.
- Axe the installPackage() function along with the special handling for
the perl and XFree86 dists in distExtractAll() since distExtract()
handles package dists directly now.
- Add back in subdists for the X packages based on the split up packages
that XFree86-4 uses that as closely map to the X dists we used with
X 3.3.x.
- Lots of things like distSetX() and the X dist masks are no longer
#ifndef X_AS_PKG since we use them in both cases now.
- Make the entire installFixupXFree() function #ifndef X_AS_PKG, we only
call it in that case anyways, and it's not suitable for the X_AS_PKG
case.
- Add in X dist menus for the X_AS_PKG case.

Approved by: re


# 107561 03-Dec-2002 jhb

- Convert the installation of the X package to using installPackage()
rather than installX11package().
- Add a perl psuedo-dist that installs the perl package. The perl
distribution is selected by default when a User distribution set is
selected. It is not selected when a Minimal distribution set is
selected. The perl distribution may be toggled manually in the
custom menu just as other distributions.

Approved by: re


# 107330 27-Nov-2002 jhb

Expand X_AS_PKG so that we don't declare distribution bitmasks or menus
for the X distributions if X_AS_PKG is defined.

Tested on: i386
Approved by: re


# 99273 02-Jul-2002 jhb

Alpha does indeed have a COMPAT4X distribution on current. 4-stable
already has this correct.


# 95327 23-Apr-2002 obrien

Change the name of the 'bin' distribution to 'base'.
This is done since it contains much more than /bin, and also gets in the
way when making a combined install+fixit CD.

OK'ed by: jkh


# 72249 09-Feb-2001 murray

Teach sysinstall about the `compat4x' distribution.

Approved by: jkh


# 67621 26-Oct-2000 jkh

More explicitly set crypto bits.

Partially submitted by: Jeff Kletsky <jeff@spotlife.com>


# 65950 16-Sep-2000 jkh

Enable crypto by default with "canned" distributions (it can still
be deselected or simply not chosen in a custom install).


# 57613 29-Feb-2000 jkh

Revise this for the brave new world of "crypto"

Submitted by: markm
Approved by: me!


# 57076 09-Feb-2000 jkh

Support the extraction of /usr/src/tools
Submitted by: "John W. DeBoskey" <jwd@unx.sas.com>


# 55394 04-Jan-2000 jkh

Remove references to now-obsolete XFree86 source collection (use the
port, it's far better).


# 54587 14-Dec-1999 jkh

Completely rip-out and redesign sysinstall's refresh model as well
as redoing all the menus to have proper, or at least non-hallucinogenic,
keyboard accelerators.

This requires my recent update to libdialog to work properly and will
probably also exhibit some other "interesting" behavior while the last
few missing screen clears are found (which is why I'm not going to MFC
immediately). At least now, however, sysinstall does not gratuitously
redraw random screens at the drop of a hat and drive serial console
installers out of their minds.


# 54582 13-Dec-1999 jkh

Make kerberos4 conditional.


# 51437 19-Sep-1999 markm

Prepare for K5.


# 50780 01-Sep-1999 jkh

Oh crud, did I ever screw the pooch! Rather than sync this with -stable,
I backed-out the changes in -current and didn't touch stable at all (I
thought I had my patch order reversed, not what actually happened).
AIEEE! I can't even blame the crack for this one since I broke my
crack pipe a few weeks ago. I think sleep deprivation gets the blame
for this one.

Medal for noticing this one goes to: Jim Bloom <bloom@acm.org>


# 50725 01-Sep-1999 jkh

MFC: Catch 3.2-stable sysinstall up to 4.0-current level functionality,
bringing in DHCP support. The only thing I left out were Poul-Henning's
newfs changes since I'm not sure if he's brought the rest of that support
into -stable yet. If it turns out that this is the case, I'll MFC those
changes too.


# 50479 27-Aug-1999 peter

$Id$ -> $FreeBSD$


# 49442 05-Aug-1999 sos

Add a local distribution under the "costum distribution" menu.
This allows to add local additions on install time..


# 49014 23-Jul-1999 jkh

More changes for the Alpha X support - don't list PC98 servers since they make
no sense here but list the TGA server, since it does.


# 48848 16-Jul-1999 jkh

Don't offer compat dists on alpha since it makes no sense to do so.

Suggested by: msmith


# 48437 02-Jul-1999 jkh

Fix stupid error where more bits where set than actual distributions
used. Doh!

Embarassingly-pointed-out-by: Brian Dean <brdean@unx.sas.com>


# 47165 14-May-1999 jkh

Yikes! I almost left out the 3D Labs server. :)


# 46653 07-May-1999 jkh

Don't install compat22 by default.
Add some more safety belts to package foo.


# 45901 21-Apr-1999 obrien

Add Id.


# 45896 21-Apr-1999 obrien

Add compat3x to the mix.

Reviewed by: jkh


# 43739 07-Feb-1999 jkh

SMAILCF distro no longer exists.


# 43577 04-Feb-1999 jkh

Add compat22 distribution in anticipation of its appearance.


# 42345 06-Jan-1999 peter

Remove some remaining references to LKM's. Snaps were trying to unpack
slkm* etc, among other things.


# 39595 23-Sep-1998 jkh

MF22: Important fixes for loading XFree86 distributions I forgot to
merge after 2.2.7 (I was wondering why that bug looked so familiar!).
Also update some docs accordingly.


# 34442 10-Mar-1998 jkh

Update to XFree86 3.3.2 - I had to remove the entries for the VFB and
PRT servers since the extra PC98 servers have eaten all my flag bits.
Time to redo the way distribution masks are calculated, definitely, but
for now I guess people can always install those two components by hand
if they really want them.


# 34431 09-Mar-1998 jkh

Remove deprecated XIG support - that project never
happened.


# 30100 04-Oct-1997 jkh

Un-nuke krb and do what I *meant* to do, darn it.


# 30099 04-Oct-1997 jkh

Adapt for new crypto source layout.


# 25052 20-Apr-1997 jkh

Sync with 2.2 and clean up some tortured english that was added.


# 23516 08-Mar-1997 jkh

YAMF22


# 21009 29-Dec-1996 jkh

Add a "catpages" distribution for the catman stuff.

Submitted-By: joerg


# 20208 08-Dec-1996 jkh

Several areas of improvement:
o Incorporate some of Tatsumi's bug fixes.
o Remove the xperimnt and commerce distribution items; they haven't
been actual distributions for awhile.
o Try to sanitize the device checking code a little more.
o Cosmetic work on the network code.


# 19518 07-Nov-1996 jkh

More cosmetic tweaks, get the prefixes adjusted properly to XFree86 3.2's
new packaging scheme.


# 19509 07-Nov-1996 jkh

Complete switch-over to XF86 3.2.


# 19469 06-Nov-1996 jkh

Update to XFree86 3.2


# 18852 10-Oct-1996 jkh

Ahem. It might be nice if I included /usr/src/contrib in with the other
src dists. This alone is a good reason to re-roll the SNAP before putting
it on CD.


# 17039 09-Jul-1996 jkh

Take compat dists out of the canned set - they seem to do more harm
than good, actually, and those who actually need them can select them.


# 16828 29-Jun-1996 jkh

Put my changes back - Thanks, Peter! Boy, an errant Tag sure can mess
you up! :-)


# 16825 29-Jun-1996 jkh

Sync with 2.1-stable (I commited my changes there first by mistake due to
an errant CVS tag file).


# 16823 29-Jun-1996 jkh

Copy the documentation files up into the release area - I've been doing
this by hand all along. Silly.


# 15416 27-Apr-1996 jkh

Bump snapshot release date - looks like I was off by a couple
of days!

More display fixes to sysinstall and assorted tweaking.


# 15383 25-Apr-1996 jkh

Quite a few changes:

1. Fix the last display bugs (I hope) by use of dialog rebuilds at stategic
points.
2. Clean up the distributions menus so that everybody (that's reasonable)
has All and Clear options for setting/clearing things en-masse.
3. Various attempts at display optimization.
4. Change the wording of the `Don't use Write!' dialogs to make them more
explicitly define when and when not to use the option.


# 15091 07-Apr-1996 jkh

Major surgery.

1. Use new dialog menu hacks (no strings, just arrays of dialogMenuItem structs)
so that I can create composite menus with radio/checkbox/... items in them,
removing some long-standing UI bogons in various menus. This work isn't
finished yet, but will be done in two phases. This is phase one.

2. Remove all the script installation stuff. I never got time to document it,
it was arcane and it just complicated much of the code. There are better
ways of doing this if I want to do auto-driven installations later.

3. Remove much dead code and otherwise attempt to remove as much historical
grot as possible so that this code is easier to hack on. This is also
a two-stage process, phase one of which is now complete.


# 13846 02-Feb-1996 jkh

Understand about the doc distribution.


# 12661 07-Dec-1995 peter

Update the -current sources from the 2.1 branch.

Approved (in spirit) by: jkh


# 10882 18-Sep-1995 peter

This mega-commit brings in Jordan's latest sysinstall version..
This looks like it was developed offline, and is being spammed over the
top of the existing. "That's fine by me! I dont really care how you do
it, just get it in there..." said Jordan in a conversation a short while
ago...


# 9202 11-Jun-1995 rgrimes

Merge RELENG_2_0_5 into HEAD


# 8705 23-May-1995 jkh

1. Bring in the first cut of Poul's ftp routines. We still don't
use them yet, but it's close (we're working on the last wrinkles
in the CD install for now).
2. Complete the CDROM installation strategy code.
3. Simplify the distribtuion loading code.
4. General error message cleanup.
5. Write the /etc/fstab file now and split those routines into config.c
6. Clean up the menus a little more.


# 8632 19-May-1995 jkh

Make _DIST_USER use the right flag.


# 8629 19-May-1995 jkh

1. Incorporate Nickolay's ammended patches for Russian screenmap support
as per Andrey's letter. Make a few modifications for correctness.

2. Add Language menu back to first menu - it was too buried in the
Options menu.

3. Add size information to all distributions.

4. Add a compat20 distribution (we need to make one of these!! Any takers? Please?)

Submitted by: Nickolay N. Dudorov <nnd@gw.itfs.nsk.su> & jkh


# 8405 10-May-1995 jkh

Fold in all my recent changes.
Do another clean-up pass over this, making the generic menu handler much
more powerful (now handles multiple dispatch). A few more menus fleshed
out and the beginnings of the distribution handler committed. Should
be transfering full distributions over in the next commit.