diff options
author | Márcio Silva <marcio@pc-02.localdomain> | 2012-06-08 17:13:55 -0300 |
---|---|---|
committer | Márcio Silva <marcio@pc-02.localdomain> | 2012-06-08 17:13:55 -0300 |
commit | 1b5bde5448c7eeec91c9e2b15e91f6cf26f24601 (patch) | |
tree | 801be2e4aaff9d57930b544a7a308fac63c5cc38 /kernels/linux-libre-rt/linux-libre-rt.install | |
parent | 21c0554290cb194d7b00e645a2fbf1b28f92f758 (diff) | |
parent | 1063a1e2f30d9fa3a6373e2f73887d2dbc0b946e (diff) | |
download | abslibre-1b5bde5448c7eeec91c9e2b15e91f6cf26f24601.tar.gz abslibre-1b5bde5448c7eeec91c9e2b15e91f6cf26f24601.tar.bz2 abslibre-1b5bde5448c7eeec91c9e2b15e91f6cf26f24601.zip |
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 | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/kernels/linux-libre-rt/linux-libre-rt.install b/kernels/linux-libre-rt/linux-libre-rt.install index 5f73fb8fb..407bf32c1 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.16-1-rt27-LIBRE-RT +KERNEL_VERSION=3.2.19-1-rt30-LIBRE-RT post_install () { # updating module dependencies @@ -28,7 +28,7 @@ post_install () { post_upgrade() { pacman -Q grub &>/dev/null hasgrub=$? - pacman -Q grub2 &>/dev/null + pacman -Q grub2-common &>/dev/null hasgrub2=$? pacman -Q lilo &>/dev/null haslilo=$? @@ -44,12 +44,8 @@ post_upgrade() { echo ">>>" fi - 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 + 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 |