summaryrefslogtreecommitdiff
path: root/kernels/linux-libre-rt/linux-libre-rt.install
diff options
context:
space:
mode:
authorNicolás Reynolds <apoyosis@correo.inta.gob.ar>2012-03-14 15:28:02 -0300
committerNicolás Reynolds <apoyosis@correo.inta.gob.ar>2012-03-14 15:28:02 -0300
commit7d94535d8322ebe30fc575682634c30a1cc4f6f3 (patch)
treecf8da8477216e1a18c3b5bac4b3b25566c997d1b /kernels/linux-libre-rt/linux-libre-rt.install
parent3614509ad64cb8ba726450bf148a67df93f420e3 (diff)
parent1dbc1f2d8eaf0b2ba703cc12d9992e0e0bd75f7c (diff)
downloadabslibre-7d94535d8322ebe30fc575682634c30a1cc4f6f3.tar.gz
abslibre-7d94535d8322ebe30fc575682634c30a1cc4f6f3.tar.bz2
abslibre-7d94535d8322ebe30fc575682634c30a1cc4f6f3.zip
Merge branch 'master' of ssh://gparabola/abslibre
Diffstat (limited to 'kernels/linux-libre-rt/linux-libre-rt.install')
-rw-r--r--kernels/linux-libre-rt/linux-libre-rt.install6
1 files changed, 3 insertions, 3 deletions
diff --git a/kernels/linux-libre-rt/linux-libre-rt.install b/kernels/linux-libre-rt/linux-libre-rt.install
index 5c40a32e9..79c6aea4d 100644
--- a/kernels/linux-libre-rt/linux-libre-rt.install
+++ b/kernels/linux-libre-rt/linux-libre-rt.install
@@ -1,8 +1,8 @@
# arg 1: the new package version
# arg 2: the old package version
-KERNEL_NAME=
-KERNEL_VERSION=3.2.2-LIBRE
+KERNEL_NAME=-rt
+KERNEL_VERSION=3.2.6-2-LIBRE-RT
post_install () {
# updating module dependencies
@@ -12,7 +12,7 @@ post_install () {
mkinitcpio -p linux-libre${KERNEL_NAME}
# compat symlinks for the official kernels only
- if [ -z "${KERNEL_NAME}" -o "${KERNEL_NAME}" = "-lts" ]; then
+ if [ -z "${KERNEL_NAME}" -o "${KERNEL_NAME}" = "-rt" ]; then
loaders="$(find /boot -name syslinux.cfg -or -name extlinux.conf -or -name grub.cfg -or -name menu.lst)"
[ -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