svn commit: r240972 - stable/8/usr.sbin/sysinstall
Devin Teske
dteske at FreeBSD.org
Wed Sep 26 20:14:05 UTC 2012
Author: dteske
Date: Wed Sep 26 20:14:04 2012
New Revision: 240972
URL: http://svn.freebsd.org/changeset/base/240972
Log:
Add new DEBUG kernel distribution.
Submitted by: Rick Miller <vmiller at hostileadmin dit com>
Reviewed by: adrian (co-mentor)
Approved by: adrian (co-mentor)
Modified:
stable/8/usr.sbin/sysinstall/dist.c
stable/8/usr.sbin/sysinstall/dist.h
stable/8/usr.sbin/sysinstall/menus.c
Modified: stable/8/usr.sbin/sysinstall/dist.c
==============================================================================
--- stable/8/usr.sbin/sysinstall/dist.c Wed Sep 26 20:09:48 2012 (r240971)
+++ stable/8/usr.sbin/sysinstall/dist.c Wed Sep 26 20:14:04 2012 (r240972)
@@ -102,6 +102,7 @@ static Distribution KernelDistTable[] =
#ifdef WITH_SMP
DTE_TARBALL("SMP", &KernelDists, KERNEL_SMP, "/boot"),
#endif
+ DTE_TARBALL("DEBUG", &KernelDists, KERNEL_DEBUG, "/boot"),
DTE_END,
};
Modified: stable/8/usr.sbin/sysinstall/dist.h
==============================================================================
--- stable/8/usr.sbin/sysinstall/dist.h Wed Sep 26 20:09:48 2012 (r240971)
+++ stable/8/usr.sbin/sysinstall/dist.h Wed Sep 26 20:14:04 2012 (r240972)
@@ -73,6 +73,7 @@
/* Subtypes for KERNEL distribution */
#define DIST_KERNEL_GENERIC 0x00001
#define DIST_KERNEL_SMP 0x00002
+#define DIST_KERNEL_DEBUG 0x00004
#define DIST_KERNEL_ALL 0xFFFFF
/* Canned distribution sets */
Modified: stable/8/usr.sbin/sysinstall/menus.c
==============================================================================
--- stable/8/usr.sbin/sysinstall/menus.c Wed Sep 26 20:09:48 2012 (r240971)
+++ stable/8/usr.sbin/sysinstall/menus.c Wed Sep 26 20:14:04 2012 (r240972)
@@ -1032,6 +1032,8 @@ DMenu MenuKernelDistributions = {
{ " SMP", "GENERIC symmetric multiprocessor kernel configuration",
dmenuFlagCheck, dmenuSetFlag, NULL, &KernelDists, '[', 'X', ']', DIST_KERNEL_SMP },
#endif
+ { " DEBUG", "DEBUG kernel configuration",
+ dmenuFlagCheck, dmenuSetFlag, NULL, &KernelDists, '[', 'X', ']', DIST_KERNEL_DEBUG },
{ NULL } },
};
More information about the svn-src-stable-8
mailing list