missed a case that needs WITH_SMP
Noticed by: kensmith
This commit is contained in:
parent
1f6676cf8f
commit
15b7ca11cd
@ -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;
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user