diff options
Diffstat (limited to 'kernels/linux-libre-rt/linux-libre-rt.install')
-rw-r--r-- | kernels/linux-libre-rt/linux-libre-rt.install | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/kernels/linux-libre-rt/linux-libre-rt.install b/kernels/linux-libre-rt/linux-libre-rt.install index 410e69aa0..a5a37437c 100644 --- a/kernels/linux-libre-rt/linux-libre-rt.install +++ b/kernels/linux-libre-rt/linux-libre-rt.install @@ -2,7 +2,7 @@ # arg 2: the old package version KERNEL_NAME=-rt -KERNEL_VERSION=3.2.12-1-LIBRE-RT +KERNEL_VERSION=3.2.15-1-LIBRE-RT post_install () { # updating module dependencies @@ -44,8 +44,12 @@ post_upgrade() { echo ">>>" fi - 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." + if grep "^[^#]*[[:space:]]/boot" etc/fstab 2>&1 >/dev/null; then + if ! grep "[[:space:]]/boot" etc/mtab 2>&1 >/dev/null; then + echo "WARNING: /boot appears to be a seperate partition but is not mounted" + echo " This is most likely not what you want. Please mount your /boot" + echo " partition and reinstall the kernel unless you are sure this is OK" + fi fi # updating module dependencies |