mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-09 04:51:27 +02:00
pentoo-updater: make sure modules built, not just kernel
This commit is contained in:
parent
3337ecda50
commit
1198700974
1 changed files with 1 additions and 1 deletions
|
|
@ -67,7 +67,7 @@ update_kernel() {
|
|||
currkern="$(uname -r)"
|
||||
if [ "${currkern}" != "${bestkern}" ]; then
|
||||
printf "Currently running kernel ${currkern} is out of date.\n"
|
||||
if [ -x "/usr/src/linux-${bestkern}/vmlinux" ]; then
|
||||
if [ -x "/usr/src/linux-${bestkern}/vmlinux" ] && [ -r "/lib/modules/${bestkern}/modules.dep" ]; then
|
||||
printf "Kernel ${bestkern} appears ready to go, please reboot when convenient.\n"
|
||||
else
|
||||
printf "Updated kernel ${bestkern} available, building...\n"
|
||||
|
|
|
|||
Loading…
Reference in a new issue