From 1198700974fabb980be7704806a85625adc15214 Mon Sep 17 00:00:00 2001 From: "Rick Farina (Zero_Chaos)" Date: Mon, 20 Aug 2018 20:11:45 +0000 Subject: [PATCH] pentoo-updater: make sure modules built, not just kernel --- scripts/pentoo-updater.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/pentoo-updater.sh b/scripts/pentoo-updater.sh index 45ecef6e7..28b30e32d 100755 --- a/scripts/pentoo-updater.sh +++ b/scripts/pentoo-updater.sh @@ -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"