summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcperciva <cperciva@FreeBSD.org>2006-05-24 03:34:57 +0000
committercperciva <cperciva@FreeBSD.org>2006-05-24 03:34:57 +0000
commit3e9495198daae2fcb1b294d5462f1b79e6cb77f7 (patch)
treec17c95ebd8a43b59dbb3fac6ac1d13b6fe634485
parent72d76006ecbb7d9b4691e7856afdf9e20aec1539 (diff)
downloadFreeBSD-src-3e9495198daae2fcb1b294d5462f1b79e6cb77f7.zip
FreeBSD-src-3e9495198daae2fcb1b294d5462f1b79e6cb77f7.tar.gz
If the user asks for "kernel sources" to be installed, extract the
SRC_BASE package (src/[A-Z]*) as well as SRC_SYS (src/sys/*). This allows users who only install the kernel source code to use the modern "make buildkernel" approach. Discussed with: re (scottl, kensmith) MFC after: 3 days
-rw-r--r--usr.sbin/sysinstall/dist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/sysinstall/dist.c b/usr.sbin/sysinstall/dist.c
index 2dcd8c1..b1eb018 100644
--- a/usr.sbin/sysinstall/dist.c
+++ b/usr.sbin/sysinstall/dist.c
@@ -254,7 +254,7 @@ distSetKernDeveloper(dialogMenuItem *self)
distReset(NULL);
Dists = _DIST_DEVELOPER;
- SrcDists = DIST_SRC_SYS;
+ SrcDists = DIST_SRC_SYS | DIST_SRC_BASE;
KernelDists = selectKernel();
i = distMaybeSetPorts(self);
distVerifyFlags();
OpenPOWER on IntegriCloud