summaryrefslogtreecommitdiff
path: root/kernels/linux-libre-rt/linux-libre-rt.install
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-04-20 03:43:51 +0000
committerroot <root@rshg054.dnsready.net>2012-04-20 03:43:51 +0000
commit947c2e7bbbd5942492024997d34d709d436f1c8f (patch)
tree80aab3b715b4899477e30a10a4ddb87220adaf32 /kernels/linux-libre-rt/linux-libre-rt.install
parent68572eac2031955131806e1ab066f5aaac1396e2 (diff)
Fri Apr 20 03:43:51 UTC 2012
Diffstat (limited to 'kernels/linux-libre-rt/linux-libre-rt.install')
-rw-r--r--kernels/linux-libre-rt/linux-libre-rt.install10
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