diff options
author | André Fabian Silva Delgado <andre@pc-01.localdomain> | 2012-03-27 19:40:19 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <andre@pc-01.localdomain> | 2012-03-27 19:40:19 -0300 |
commit | 60a5deef0c56fc9888c9d0d74185d141b794094e (patch) | |
tree | 65b8f0e469ca6b39845b994b0ba4ff3fb11934c1 /kernels/linux-libre-rt/linux-libre-rt.install | |
parent | f565c031769fe7b14d09996082bc31e76a85f66a (diff) | |
download | abslibre-60a5deef0c56fc9888c9d0d74185d141b794094e.tar.gz abslibre-60a5deef0c56fc9888c9d0d74185d141b794094e.tar.bz2 abslibre-60a5deef0c56fc9888c9d0d74185d141b794094e.zip |
kernels/linux-libre-rt
Diffstat (limited to 'kernels/linux-libre-rt/linux-libre-rt.install')
-rw-r--r-- | kernels/linux-libre-rt/linux-libre-rt.install | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/kernels/linux-libre-rt/linux-libre-rt.install b/kernels/linux-libre-rt/linux-libre-rt.install index 8ae1568d8..410e69aa0 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.11-1-LIBRE-RT +KERNEL_VERSION=3.2.12-1-LIBRE-RT post_install () { # updating module dependencies @@ -17,8 +17,9 @@ post_install () { [ -f /etc/lilo.conf ] && loaders="$loaders /etc/lilo.conf" if [ -n "${loaders}" ] && grep -q -e vmlinuz26 -e kernel26.img -e kernel26-fallback.img $loaders; then # add compat symlinks for the initramfs images - ln -sf initramfs-linux-libre${KERNEL_NAME}.img /boot/kernel26${KERNEL_NAME}.img - ln -sf initramfs-linux-libre${KERNEL_NAME}-fallback.img /boot/kernel26${KERNEL_NAME}-fallback.img + ln -sf initramfs-linux-libre${KERNEL_NAME}.img boot/kernel26${KERNEL_NAME}.img + ln -sf initramfs-linux-libre${KERNEL_NAME}-fallback.img \ + boot/kernel26${KERNEL_NAME}-fallback.img ln -sf vmlinuz-linux-libre${KERNEL_NAME} /boot/vmlinuz26${KERNEL_NAME} fi fi @@ -43,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 |