From 89c29a6d439b2d9a0c6752879dd2e5be24b244eb Mon Sep 17 00:00:00 2001 From: Nicolás Reynolds Date: Thu, 5 Jan 2012 16:15:25 -0300 Subject: libre/kernel26-libre-lts-2.6.32.52-1 --- libre/kernel26-libre-lts/kernel26-libre-lts.install | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'libre/kernel26-libre-lts/kernel26-libre-lts.install') 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 "" -- cgit v1.2.3