1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00

missed a case that needs WITH_SMP

Noticed by:	kensmith
This commit is contained in:
Sam Leffler 2006-03-09 21:54:32 +00:00
parent 1f6676cf8f
commit 15b7ca11cd
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=156516
2 changed files with 4 additions and 0 deletions

View File

@ -909,9 +909,11 @@ installFixupKernel(dialogMenuItem *self, int dists)
* already and the /boot/kernel we remove is empty.
*/
vsystem("rm -rf /boot/kernel");
#if WITH_SMP
if (dists & DIST_KERNEL_SMP)
vsystem("mv /boot/SMP /boot/kernel");
else
#endif
vsystem("mv /boot/GENERIC /boot/kernel");
}
return DITEM_SUCCESS | DITEM_RESTORE;

View File

@ -909,9 +909,11 @@ installFixupKernel(dialogMenuItem *self, int dists)
* already and the /boot/kernel we remove is empty.
*/
vsystem("rm -rf /boot/kernel");
#if WITH_SMP
if (dists & DIST_KERNEL_SMP)
vsystem("mv /boot/SMP /boot/kernel");
else
#endif
vsystem("mv /boot/GENERIC /boot/kernel");
}
return DITEM_SUCCESS | DITEM_RESTORE;