aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/sysinstall/dist.c
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2002-04-23 22:16:41 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2002-04-23 22:16:41 +0000
commit01df2ec3284983bfe28031d1c86c13ffd4a21b7e (patch)
tree3eee8dd61f995528c0a9e5d0ffb9521208186643 /usr.sbin/sysinstall/dist.c
parent046eb0421efae11e9abc90815592fe370c77c8e6 (diff)
downloadsrc-01df2ec3284983bfe28031d1c86c13ffd4a21b7e.tar.gz
src-01df2ec3284983bfe28031d1c86c13ffd4a21b7e.zip
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
Notes
Notes: svn path=/head/; revision=95327
Diffstat (limited to 'usr.sbin/sysinstall/dist.c')
-rw-r--r--usr.sbin/sysinstall/dist.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/sysinstall/dist.c b/usr.sbin/sysinstall/dist.c
index 7c94073d5dbe..722fe67dd47d 100644
--- a/usr.sbin/sysinstall/dist.c
+++ b/usr.sbin/sysinstall/dist.c
@@ -65,7 +65,7 @@ extern Distribution XF86ServerDistTable[];
/* The top-level distribution categories */
static Distribution DistTable[] = {
-{ "bin", "/", &Dists, DIST_BIN, NULL },
+{ "base", "/", &Dists, DIST_BASE, NULL },
{ "doc", "/", &Dists, DIST_DOC, NULL },
{ "games", "/", &Dists, DIST_GAMES, NULL },
{ "manpages", "/", &Dists, DIST_MANPAGES, NULL },
@@ -359,7 +359,7 @@ int
distSetMinimum(dialogMenuItem *self)
{
distReset(NULL);
- Dists = DIST_BIN | DIST_CRYPTO;
+ Dists = DIST_BASE | DIST_CRYPTO;
CRYPTODists |= DIST_CRYPTO_CRYPTO;
distVerifyFlags();
return DITEM_SUCCESS | DITEM_REDRAW;
@@ -688,7 +688,7 @@ distExtract(char *parent, Distribution *me)
total = 0;
(void)gettimeofday(&start, (struct timezone *)0);
- if (me[i].my_bit == DIST_BIN && RunningAsInit && !Fake) {
+ if (me[i].my_bit == DIST_BASE && RunningAsInit && !Fake) {
unmounted_dev = 1;
unmount("/dev", MNT_FORCE);
} else
@@ -904,7 +904,7 @@ distExtractAll(dialogMenuItem *self)
dialog_clear_norefresh();
/* Only do bin fixup if bin dist was successfully extracted */
- if ((old_dists & DIST_BIN) && !(Dists & DIST_BIN))
+ if ((old_dists & DIST_BASE) && !(Dists & DIST_BASE))
status |= installFixupBin(self);
#ifndef X_AS_PKG
if (old_dists & DIST_XF86)