summaryrefslogtreecommitdiff
path: root/libre/kernel26-libre-lts/kernel26-libre-lts.install
diff options
context:
space:
mode:
authorNicolás Reynolds <apoyosis@correo.inta.gob.ar>2012-01-05 16:15:25 -0300
committerNicolás Reynolds <apoyosis@correo.inta.gob.ar>2012-01-05 16:15:25 -0300
commit89c29a6d439b2d9a0c6752879dd2e5be24b244eb (patch)
tree8400e2558ed570db8b1374e4ac9b07c73b6c0de7 /libre/kernel26-libre-lts/kernel26-libre-lts.install
parent9f6b0e3307f40a6115482338178e41c52c8cc072 (diff)
libre/kernel26-libre-lts-2.6.32.52-1
Diffstat (limited to 'libre/kernel26-libre-lts/kernel26-libre-lts.install')
-rw-r--r--libre/kernel26-libre-lts/kernel26-libre-lts.install13
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 ""