summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/dist.c
diff options
context:
space:
mode:
authormurray <murray@FreeBSD.org>2001-02-09 19:01:49 +0000
committermurray <murray@FreeBSD.org>2001-02-09 19:01:49 +0000
commit3326a20d0bf164eabe4aefb8f6cb8b07774449c9 (patch)
tree11b661e721ffc7cc0f836eae26e7cb852c99edab /usr.sbin/sysinstall/dist.c
parent13332bdbc74963ea7e58a010e05551120a244cfa (diff)
downloadFreeBSD-src-3326a20d0bf164eabe4aefb8f6cb8b07774449c9.zip
FreeBSD-src-3326a20d0bf164eabe4aefb8f6cb8b07774449c9.tar.gz
Teach sysinstall about the `compat4x' distribution.
Approved by: jkh
Diffstat (limited to 'usr.sbin/sysinstall/dist.c')
-rw-r--r--usr.sbin/sysinstall/dist.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/usr.sbin/sysinstall/dist.c b/usr.sbin/sysinstall/dist.c
index d564618..bb00b9a 100644
--- a/usr.sbin/sysinstall/dist.c
+++ b/usr.sbin/sysinstall/dist.c
@@ -79,6 +79,7 @@ static Distribution DistTable[] = {
{ "compat21", "/", &Dists, DIST_COMPAT21, NULL },
{ "compat22", "/", &Dists, DIST_COMPAT22, NULL },
{ "compat3x", "/", &Dists, DIST_COMPAT3X, NULL },
+{ "compat4x", "/", &Dists, DIST_COMPAT4X, NULL },
#endif
{ "ports", "/usr", &Dists, DIST_PORTS, NULL },
{ "local", "/", &Dists, DIST_LOCAL, NULL },
@@ -224,6 +225,9 @@ distVerifyFlags(void)
#if __FreeBSD__ > 3
Dists |= DIST_COMPAT3X;
#endif
+#if __FreeBSD__ > 4
+ Dists |= DIST_COMPAT4X;
+#endif
#endif
}
if (isDebug())
OpenPOWER on IntegriCloud