diff options
author | root <root@rshg054.dnsready.net> | 2012-03-13 03:06:43 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-03-13 03:06:43 +0000 |
commit | ca06c41d7d8e5d38284de9048372ab45dcd8b2fb (patch) | |
tree | e4f7e6450cb666f59ca7d80fe1d87827bca4fffa /kernels/linux-libre-xen | |
parent | 217a7715291ceb935900b71bde082023bc441290 (diff) |
Tue Mar 13 03:06:43 UTC 2012
Diffstat (limited to '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 |