Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: eba6b6b720
Fetching contributors…

Cannot retrieve contributors at this time

53 lines (35 sloc) 0.949 kb
%define kmod_name kvm
Name: kvm-kmod
Version: 0.0
Release: 0
Summary: %{kmod_name} kernel module
Group: System Environment/Kernel
License: GPL
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}
ExclusiveArch: i386 x86_64 ia64
This kernel module provides support for virtual machines using hardware support
(Intel VT-x&VT-i or AMD SVM).
rm -rf %{buildroot}
%define kverrel unknown
%define moddir /lib/modules/%{kverrel}/extra
mkdir -p %{buildroot}/%{moddir}
cp %{objdir}/%{kmod_name}.ko %{objdir}/%{kmod_name}-*.ko %{buildroot}/%{moddir}
chmod u+x %{buildroot}/%{moddir}/%{kmod_name}*.ko
depmod %{kverrel}
depmod %{kverrel}
%{__rm} -rf %{buildroot}
%ifarch i386 x86_64
Jump to Line
Something went wrong with that request. Please try again.