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
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. * already and the /boot/kernel we remove is empty.
*/ */
vsystem("rm -rf /boot/kernel"); vsystem("rm -rf /boot/kernel");
#if WITH_SMP
if (dists & DIST_KERNEL_SMP) if (dists & DIST_KERNEL_SMP)
vsystem("mv /boot/SMP /boot/kernel"); vsystem("mv /boot/SMP /boot/kernel");
else else
#endif
vsystem("mv /boot/GENERIC /boot/kernel"); vsystem("mv /boot/GENERIC /boot/kernel");
} }
return DITEM_SUCCESS | DITEM_RESTORE; 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. * already and the /boot/kernel we remove is empty.
*/ */
vsystem("rm -rf /boot/kernel"); vsystem("rm -rf /boot/kernel");
#if WITH_SMP
if (dists & DIST_KERNEL_SMP) if (dists & DIST_KERNEL_SMP)
vsystem("mv /boot/SMP /boot/kernel"); vsystem("mv /boot/SMP /boot/kernel");
else else
#endif
vsystem("mv /boot/GENERIC /boot/kernel"); vsystem("mv /boot/GENERIC /boot/kernel");
} }
return DITEM_SUCCESS | DITEM_RESTORE; return DITEM_SUCCESS | DITEM_RESTORE;