From 37f40db76b3632ae6766a6ab6beb1a5affd345d3 Mon Sep 17 00:00:00 2001 From: jc_gargma Date: Sat, 9 Dec 2017 12:47:58 -0800 Subject: Updated to 4.9.67, synced partly with upstream --- linux.install | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'linux.install') diff --git a/linux.install b/linux.install index 40aeaea..0462775 100644 --- a/linux.install +++ b/linux.install @@ -5,18 +5,19 @@ post_install () { } post_upgrade() { + if findmnt --fstab -uno SOURCE /boot &>/dev/null && ! mountpoint -q /boot; then + echo "WARNING: /boot appears to be a separate partition but is not mounted." + fi + # updating module dependencies echo ">>> Updating module dependencies. Please wait ..." depmod %KERNVER% - if findmnt --fstab -uno SOURCE /boot &>/dev/null && ! mountpoint -q /boot; then - echo "WARNING: /boot appears to be a separate partition but is not mounted." - fi - if [ $(vercmp $2 3.13) -lt 0 ]; then - echo ">>> WARNING: AT keyboard support is no longer built into the kernel." - echo ">>> In order to use your keyboard during early init, you MUST" - echo ">>> include the 'keyboard' hook in your mkinitcpio.conf." - fi + if [ $(vercmp $2 3.13) -lt 0 ]; then + echo ">>> WARNING: AT keyboard support is no longer built into the kernel." + echo ">>> In order to use your keyboard during early init, you MUST" + echo ">>> include the 'keyboard' hook in your mkinitcpio.conf." + fi } post_remove() { -- cgit v1.2.1