diff options
author | André Fabian Silva Delgado <andre@pc-01.localdomain> | 2012-03-12 23:12:31 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <andre@pc-01.localdomain> | 2012-03-12 23:12:31 -0300 |
commit | e6b2bfbb9577b30eb69b459d1a6199bf61015d95 (patch) | |
tree | 494da24d139ab67741aec057859002bf57ac85a9 /kernels/linux-libre-xen/linux-libre-xen.install | |
parent | da3e14b1c0836ab3facc47d4645942d92b2f4760 (diff) | |
download | abslibre-e6b2bfbb9577b30eb69b459d1a6199bf61015d95.tar.gz abslibre-e6b2bfbb9577b30eb69b459d1a6199bf61015d95.tar.bz2 abslibre-e6b2bfbb9577b30eb69b459d1a6199bf61015d95.zip |
kernels/linux-libre-xen
Diffstat (limited to 'kernels/linux-libre-xen/linux-libre-xen.install')
-rw-r--r-- | kernels/linux-libre-xen/linux-libre-xen.install | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernels/linux-libre-xen/linux-libre-xen.install b/kernels/linux-libre-xen/linux-libre-xen.install index 63985389f..609bf0a79 100644 --- a/kernels/linux-libre-xen/linux-libre-xen.install +++ b/kernels/linux-libre-xen/linux-libre-xen.install @@ -2,7 +2,7 @@ # arg 2: the old package version KERNEL_NAME=-xen -KERNEL_VERSION=3.2.9-1-LIBRE-XEN +KERNEL_VERSION=3.2.9-2-LIBRE-XEN 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}" = "-xen" ]; 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 |