diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-05-06 21:39:39 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-05-06 21:39:39 -0400 |
commit | 38dbfc58450f5064f8534435ccc7b4c005bbfa68 (patch) | |
tree | 829e9c277a024cf520db2b7bfaf7d5cb4fe5ba45 /kernels/linux-libre-rt/linux-libre-rt.install | |
parent | e1f7b97ab1603aea664ee3f392f6263fd7812b3c (diff) | |
parent | d48da3adb2e5eaab66403aa3f0fce2d78f3ecd12 (diff) |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
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..5f73fb8fb 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.16-1-rt27-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 |