system/kvm-kmod: Updated for version 2.6.37.

This commit also fixes the build process for those
wanting to build for a kernel other than the one
that happens to be running at that time.

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
Stu Miller 2011-01-16 01:41:14 -06:00 committed by Robby Workman
parent b878aabf92
commit 9e2de2de7f
3 changed files with 16 additions and 14 deletions

View File

@ -7,13 +7,13 @@ which are both available as separate Slackbuilds.
KVM-KMOD consists of a kernel module, 'kvm.ko', that provides the
core virtualization infrastructure and a processor specific module,
'kvm-intel.ko' or 'kvm-amd.ko'. Slackware provides these modules
in the 'a/slackware-modules*' packages and the associated headers
in the 'd/slackware-headers*' packages. In most cases the
Slackware provided versions are sufficient to run QEMU-KVM.
KVM-KMOD is only needed if you want to change the KVM modules and
headers to a different version.
in the 'a/kernel-modules*' packages. In most cases, the provided
versions are sufficient to run QEMU-KVM. KVM-KMOD is only needed
if you want to change the KVM modules to a different version.
KVM-KMOD updates the modules and headers without overwriting the
Slackware provided versions. If you uninstall KVM-KMOD you will
need to run 'depmod -a' to regenerate the modules.dep and map
files to regain access to the Slackware provided versions.
KVM-KMOD updates the modules without overwriting the ones provided
by Slackware. If you uninstall KVM-KMOD, you will need to run
'depmod -a' to regenerate the modules.dep and map files to regain
access to the Slackware provided versions.
You need to have a "kvm" group on the system in order to use this.

View File

@ -22,7 +22,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=kvm-kmod
VERSION=${VERSION:-2.6.35.6}
VERSION=${VERSION:-2.6.37}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -77,10 +77,12 @@ CFLAGS="$SLKCFLAGS" \
make \
PREFIX=/usr \
PKGCONFIGDIR=/usr/lib${LIBDIRSUFFIX}/pkgconfig \
docdir=/usr/doc/$PRGNAM-$VERSION
docdir=/usr/doc/$PRGNAM-$VERSION \
KERNELDIR=/lib/modules/$KERNEL/source
make install \
PREFIX=/usr \
PKGCONFIGDIR=/usr/lib${LIBDIRSUFFIX}/pkgconfig \
KERNELDIR=/lib/modules/$KERNEL/source \
DESTDIR=$PKG
# Eliminate unused pkgconfig text file

View File

@ -1,8 +1,8 @@
PRGNAM="kvm-kmod"
VERSION="2.6.35.6"
VERSION="2.6.37"
HOMEPAGE="http://www.linux-kvm.org/page/Main_Page"
DOWNLOAD="http://downloads.sourceforge.net/kvm/kvm-kmod-2.6.35.6.tar.bz2"
MD5SUM="cd4c2c484ac2ff1cd557c15a555d0d5b"
DOWNLOAD="http://downloads.sourceforge.net/kvm/kvm-kmod-2.6.37.tar.bz2"
MD5SUM="68dffcae4d0cee9d280b82760031b531"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Stu Miller"