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 | |
parent | da3e14b1c0836ab3facc47d4645942d92b2f4760 (diff) |
kernels/linux-libre-xen
-rw-r--r-- | kernels/linux-libre-xen/PKGBUILD | 2 | ||||
-rw-r--r-- | kernels/linux-libre-xen/linux-libre-xen.install | 4 |
2 files changed, 3 insertions, 3 deletions
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 |