Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Sep 2012 20:14:04 +0000 (UTC)
From:      Devin Teske <dteske@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r240972 - stable/8/usr.sbin/sysinstall
Message-ID:  <201209262014.q8QKE4vK085570@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 } },
 };
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209262014.q8QKE4vK085570>