diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-01-05 22:51:26 -0500 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-01-05 22:51:26 -0500 |
commit | 9120886b119a1d60704f67e26509d05dd301649a (patch) | |
tree | 3069190208ab662db21a36269f66af314e765fa7 /libre/kernel26-libre-lts/kernel26-libre-lts.install | |
parent | 52281f6006c5a93b3d5fd1fec4f48c6591f91f91 (diff) | |
parent | 7166e2302ae1b95734a166b65f432cb1706779a4 (diff) |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/abslibre
Diffstat (limited to 'libre/kernel26-libre-lts/kernel26-libre-lts.install')
-rw-r--r-- | libre/kernel26-libre-lts/kernel26-libre-lts.install | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/libre/kernel26-libre-lts/kernel26-libre-lts.install b/libre/kernel26-libre-lts/kernel26-libre-lts.install index 8bc94634d..0e4b44fa3 100644 --- a/libre/kernel26-libre-lts/kernel26-libre-lts.install +++ b/libre/kernel26-libre-lts/kernel26-libre-lts.install @@ -2,7 +2,7 @@ # arg 2: the old package version KERNEL_NAME=-lts -KERNEL_VERSION=2.6.32-lts +KERNEL_VERSION=2.6.32.50-1-lts post_install () { # updating module dependencies @@ -17,7 +17,7 @@ post_install () { echo ">>> http://wiki.archlinux.org/index.php/Mkinitcpio" echo "" echo ">>> Generating initial ramdisk, using mkinitcpio. Please wait..." - /sbin/mkinitcpio -p kernel26${KERNEL_NAME} + mkinitcpio -p kernel26${KERNEL_NAME} } post_upgrade() { @@ -41,9 +41,8 @@ post_upgrade() { if grep "/boot" /etc/fstab 2>&1 >/dev/null; then if ! grep "/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" + echo "WARNING: /boot appears to be a seperate partition but is not mounted." + echo " You probably just broke your system. Congratulations." fi fi @@ -124,11 +123,11 @@ post_upgrade() { echo "" echo ">>> Generating initial ramdisk, using mkinitcpio. Please wait..." if [ "`vercmp $2 2.6.19`" -lt 0 ]; then - /sbin/mkinitcpio -p kernel26${KERNEL_NAME} -m "ATTENTION:\nIf you get a kernel panic below + mkinitcpio -p kernel26${KERNEL_NAME} -m "ATTENTION:\nIf you get a kernel panic below and are using an Intel chipset, append 'earlymodules=piix' to the kernel commandline" else - /sbin/mkinitcpio -p kernel26${KERNEL_NAME} + mkinitcpio -p kernel26${KERNEL_NAME} fi if [ "`vercmp $2 2.6.21`" -lt 0 ]; then echo "" |