diff options
author | André Fabian Silva Delgado <andre@pc-01.localdomain> | 2012-04-19 23:17:27 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <andre@pc-01.localdomain> | 2012-04-19 23:17:27 -0300 |
commit | 1e46ef5f410e41214b7e4e3ff4880967303e6380 (patch) | |
tree | 8d7808ba1a36b28acda882ca16a50ba246fe6e53 /kernels/linux-libre-rt/linux-libre-rt.install | |
parent | 340366ca7a7dfb2ec14f1159c37470c25c9e5c2b (diff) | |
download | abslibre-1e46ef5f410e41214b7e4e3ff4880967303e6380.tar.gz abslibre-1e46ef5f410e41214b7e4e3ff4880967303e6380.tar.bz2 abslibre-1e46ef5f410e41214b7e4e3ff4880967303e6380.zip |
linux-libre-rt-3.2.15_rt26-1: updated version
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 |