From nobody@FreeBSD.org  Tue Aug 29 10:25:34 2006
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id B5E8616A4DA
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 29 Aug 2006 10:25:34 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 84D4C43D4C
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 29 Aug 2006 10:25:34 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k7TAPY0t082958
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 29 Aug 2006 10:25:34 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id k7TAPYYa082956;
	Tue, 29 Aug 2006 10:25:34 GMT
	(envelope-from nobody)
Message-Id: <200608291025.k7TAPYYa082956@www.freebsd.org>
Date: Tue, 29 Aug 2006 10:25:34 GMT
From: Artis Caune <Artis.Caune@latnet.lv>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [PATCH] sysinstall - custom dist set always install SMP kernel
X-Send-Pr-Version: www-2.3

>Number:         102638
>Category:       bin
>Synopsis:       [patch] sysinstall(8): custom dist set always install SMP kernel
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-sysinstall
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 29 10:30:20 GMT 2006
>Closed-Date:    Fri Mar 15 23:29:56 UTC 2013
>Last-Modified:  Fri Mar 15 23:29:56 UTC 2013
>Originator:     Artis Caune
>Release:        6.1
>Organization:
>Environment:
>Description:
During install, when selecting custom distribution set and both GENERIC AND SMP kernels, sysinstall always install SMP kernel.

p.s. this is update to bin/97888.
>How-To-Repeat:

>Fix:
--- install.c.orig      Tue Aug 29 13:15:03 2006
+++ install.c   Tue Aug 29 13:17:03 2006
@@ -910,7 +910,12 @@
         */
        vsystem("rm -rf /boot/kernel");
 #if WITH_SMP
-       if (dists & DIST_KERNEL_SMP)
+       if ((dists & DIST_KERNEL_SMP) && (dists & DIST_KERNEL_GENERIC))
+               if (NCpus > 1)
+                       vsystem("mv /boot/SMP /boot/kernel");
+               else
+                       vsystem("mv /boot/GENERIC /boot/kernel");
+       else if ((dists & DIST_KERNEL_SMP) && !(dists & DIST_KERNEL_GENERIC))
                vsystem("mv /boot/SMP /boot/kernel");
        else
 #endif

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-qa 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Tue Aug 29 22:38:09 UTC 2006 
Responsible-Changed-Why:  
Over to maintainer(s). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=102638 

From: Gavin Atkinson <gavin.atkinson@ury.york.ac.uk>
To: bug-followup@FreeBSD.org, Artis.Caune@latnet.lv
Cc:  
Subject: Re: bin/102638: [sysinstall] [patch] sysinstall - custom dist set
	always install SMP kernel
Date: Wed, 23 May 2007 12:01:16 +0100

 Hi,
 
 Should the patch in this PR be applied in addition to the one in
 bin/97888, or is it in addition to?
 
 Thanks,
 
 Gavin
State-Changed-From-To: open->feedback 
State-Changed-By: remko 
State-Changed-When: Wed May 23 11:16:28 UTC 2007 
State-Changed-Why:  
Gavin asked for feedback, reflect that 

http://www.freebsd.org/cgi/query-pr.cgi?pr=102638 

From: Artis Caune <Artis.Caune@latnet.lv>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: bin/102638: [sysinstall] [patch] sysinstall - custom dist set
 always install SMP kernel
Date: Wed, 23 May 2007 14:39:35 +0300

 This patch must be applied alone.
 Sorry for ambiguity.
 
 
 I'll submit followup to close bin/97888.
State-Changed-From-To: feedback->open 
State-Changed-By: gavin 
State-Changed-When: Thu Jun 28 17:42:02 UTC 2007 
State-Changed-Why:  
Feedback was received. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=102638 
Responsible-Changed-From-To: freebsd-bugs->matteo 
Responsible-Changed-By: matteo 
Responsible-Changed-When: Lun 4 Feb 2008 20:50:18 UTC 
Responsible-Changed-Why:  
I found the will to work on easy sysinstall PR's 

http://www.freebsd.org/cgi/query-pr.cgi?pr=102638 
State-Changed-From-To: open->patched 
State-Changed-By: brucec 
State-Changed-When: Sun Apr 25 15:01:06 UTC 2010 
State-Changed-Why:  
The SMP kernel has been removed in 8.0, so only GENERIC is  
available. 


Responsible-Changed-From-To: matteo->brucec 
Responsible-Changed-By: brucec 
Responsible-Changed-When: Sun Apr 25 15:01:06 UTC 2010 
Responsible-Changed-Why:  
Grab. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=102638 
Responsible-Changed-From-To: brucec->freebsd-sysinstall 
Responsible-Changed-By: brucec 
Responsible-Changed-When: Sun Jan 23 21:00:53 UTC 2011 
Responsible-Changed-Why:  
Back to the pool. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=102638 
State-Changed-From-To: patched->closed 
State-Changed-By: eadler 
State-Changed-When: Fri Mar 15 23:29:55 UTC 2013 
State-Changed-Why:  
MFCed/fixed by now or it will never be MFCed 

http://www.freebsd.org/cgi/query-pr.cgi?pr=102638 
>Unformatted:
