[arch-commits] Commit in kernel26/trunk (kernel26.install)
Thomas Bächler
thomas at archlinux.org
Sun Dec 12 18:49:28 UTC 2010
Date: Sunday, December 12, 2010 @ 13:49:28
Author: thomas
Revision: 102889
Fix /boot detection, fixes FS#22069
Modified:
kernel26/trunk/kernel26.install
------------------+
kernel26.install | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
Modified: kernel26.install
===================================================================
--- kernel26.install 2010-12-12 18:31:56 UTC (rev 102888)
+++ kernel26.install 2010-12-12 18:49:28 UTC (rev 102889)
@@ -39,8 +39,8 @@
echo ">>>"
fi
- if grep "^[^#]*/boot" /etc/fstab 2>&1 >/dev/null; then
- if ! grep "/boot" /etc/mtab 2>&1 >/dev/null; then
+ 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"
@@ -144,4 +144,4 @@
post_remove() {
rm -f /boot/kernel26${KERNEL_NAME}.img
rm -f /boot/kernel26${KERNEL_NAME}-fallback.img
-}
\ No newline at end of file
+}
More information about the arch-commits
mailing list