diff options
author | Stu Miller <slackbuilds@go4it2day.com> | 2013-06-02 10:38:45 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2013-06-04 00:11:23 -0500 |
commit | e6b7f81b6d79499d30044882f9f2018af091d5b4 (patch) | |
tree | 64f4dc7baaa8f0a2f5422588f2bcbca1b29727e8 /system | |
parent | 08e4c25e035e1b44501d0ffe5db109bdea79bb9b (diff) |
system/kvm-kmod: Updated for version 3.9.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system')
-rw-r--r-- | system/kvm-kmod/kvm-kmod.SlackBuild | 21 | ||||
-rw-r--r-- | system/kvm-kmod/kvm-kmod.info | 6 |
2 files changed, 11 insertions, 16 deletions
diff --git a/system/kvm-kmod/kvm-kmod.SlackBuild b/system/kvm-kmod/kvm-kmod.SlackBuild index 9a7eca677dd90..ca5d1fac9d280 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:-3.3.6} +VERSION=${VERSION:-3.9} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -77,33 +77,28 @@ CFLAGS="$SLKCFLAGS" \ make \ PREFIX=/usr \ PKGCONFIGDIR=/usr/lib${LIBDIRSUFFIX}/pkgconfig \ - docdir=/usr/doc/$PRGNAM-$VERSION \ - KERNELDIR=/lib/modules/$KERNEL/source + KERNELDIR=/lib/modules/$KERNEL/source \ + docdir=/usr/doc/$PRGNAM-$VERSION make install \ PREFIX=/usr \ PKGCONFIGDIR=/usr/lib${LIBDIRSUFFIX}/pkgconfig \ KERNELDIR=/lib/modules/$KERNEL/source \ + docdir=/usr/doc/$PRGNAM-$VERSION \ DESTDIR=$PKG -# Eliminate unused pkgconfig text file -rm -r $PKG/usr/lib${LIBDIRSUFFIX} - # Remove /etc/udev - this part is shipped with the qemu package rm -rf $PKG/etc/udev -# Make modprobe prefer the new modules in /lib/modules/$KERNEL/extra/ +# Make modprobe prefer the new modules in /lib/modules/$KERNEL/updates/ # We don't want to install this with a .new suffix, because we want it # removed with the package. mkdir -p $PKG/etc/depmod.d cat << EOF > $PKG/etc/depmod.d/kvm-$KERNEL.conf -override kvm $KERNEL extra -override kvm-amd $KERNEL extra -override kvm-intel $KERNEL extra +override kvm $KERNEL updates +override kvm-amd $KERNEL updates +override kvm-intel $KERNEL updates EOF -# We don't want the modules.* files in the package -rm -f $PKG/lib/modules/${KERNEL}/modules.* - find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true diff --git a/system/kvm-kmod/kvm-kmod.info b/system/kvm-kmod/kvm-kmod.info index ff4a92f680409..a6b40d94a3594 100644 --- a/system/kvm-kmod/kvm-kmod.info +++ b/system/kvm-kmod/kvm-kmod.info @@ -1,8 +1,8 @@ PRGNAM="kvm-kmod" -VERSION="3.3.6" +VERSION="3.9" HOMEPAGE="http://www.linux-kvm.org/page/Main_Page" -DOWNLOAD="http://downloads.sourceforge.net/kvm/kvm-kmod-3.3.6.tar.bz2" -MD5SUM="eb59cf6f4af504189874fd4049607e6e" +DOWNLOAD="http://downloads.sourceforge.net/kvm/kvm-kmod-3.9.tar.bz2" +MD5SUM="afbfe93db1a6ee976594660aeb0465f1" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |