Date: Tue, 29 Aug 2006 10:25:34 GMT From: Artis Caune <Artis.Caune@latnet.lv> To: freebsd-gnats-submit@FreeBSD.org Subject: bin/102638: [PATCH] sysinstall - custom dist set always install SMP kernel Message-ID: <200608291025.k7TAPYYa082956@www.freebsd.org> Resent-Message-ID: <200608291030.k7TAULqe041798@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 102638 >Category: bin >Synopsis: [PATCH] sysinstall - custom dist set always install SMP kernel >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Aug 29 10:30:20 GMT 2006 >Closed-Date: >Last-Modified: >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: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608291025.k7TAPYYa082956>