diff options
author | Stu Miller <slackbuilds@go4it2day.com> | 2011-01-16 01:41:14 -0600 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2011-01-16 01:41:14 -0600 |
commit | 9e2de2de7f4669113a97e3aab20d563bd7edffcf (patch) | |
tree | adcd74cb6a1f4106a52989160114db84652cd769 | |
parent | b878aabf9252914b6480095fe1067ccb1bd84e7a (diff) |
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>
-rw-r--r-- | system/kvm-kmod/README | 18 | ||||
-rw-r--r-- | system/kvm-kmod/kvm-kmod.SlackBuild | 6 | ||||
-rw-r--r-- | system/kvm-kmod/kvm-kmod.info | 6 |
3 files changed, 16 insertions, 14 deletions
diff --git a/system/kvm-kmod/README b/system/kvm-kmod/README index f8bf89e67b9c8..dc3d0cea5d33d 100644 --- a/system/kvm-kmod/README +++ b/system/kvm-kmod/README @@ -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. diff --git a/system/kvm-kmod/kvm-kmod.SlackBuild b/system/kvm-kmod/kvm-kmod.SlackBuild index 7a0b77b11f6a9..5f98a54c2918e 100644 --- a/system/kvm-kmod/kvm-kmod.SlackBuild +++ b/system/kvm-kmod/kvm-kmod.SlackBuild @@ -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 diff --git a/system/kvm-kmod/kvm-kmod.info b/system/kvm-kmod/kvm-kmod.info index dc9fe07870cf8..b0d1a45600e08 100644 --- a/system/kvm-kmod/kvm-kmod.info +++ b/system/kvm-kmod/kvm-kmod.info @@ -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" |