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:
parent
1f6676cf8f
commit
15b7ca11cd
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=156516
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user