From ca06c41d7d8e5d38284de9048372ab45dcd8b2fb Mon Sep 17 00:00:00 2001 From: root Date: Tue, 13 Mar 2012 03:06:43 +0000 Subject: Tue Mar 13 03:06:43 UTC 2012 --- kernels/linux-libre-xen/PKGBUILD | 2 +- kernels/linux-libre-xen/linux-libre-xen.install | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'kernels') diff --git a/kernels/linux-libre-xen/PKGBUILD b/kernels/linux-libre-xen/PKGBUILD index 1dd0325fd..38205d2aa 100644 --- a/kernels/linux-libre-xen/PKGBUILD +++ b/kernels/linux-libre-xen/PKGBUILD @@ -8,7 +8,7 @@ pkgbase=linux-libre-xen pkgname=('linux-libre-xen' 'linux-libre-xen-headers') # Build stock -LIBRE kernel with Xen guest support # pkgname=linux-custom # Build kernel with a different name -_kernelname=${pkgname#linux-libre} +_kernelname=-LIBRE-XEN _basekernel=3.2 pkgver=${_basekernel}.9 pkgrel=2 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 -- cgit v1.2.3-54-g00ecf