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/kvm-kmod/kvm-kmod.SlackBuild | |
parent | 08e4c25e035e1b44501d0ffe5db109bdea79bb9b (diff) | |
download | slackbuilds-e6b7f81b6d79499d30044882f9f2018af091d5b4.tar.gz |
system/kvm-kmod: Updated for version 3.9.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/kvm-kmod/kvm-kmod.SlackBuild')
-rw-r--r-- | system/kvm-kmod/kvm-kmod.SlackBuild | 21 |
1 files changed, 8 insertions, 13 deletions
diff --git a/system/kvm-kmod/kvm-kmod.SlackBuild b/system/kvm-kmod/kvm-kmod.SlackBuild index 9a7eca677d..ca5d1fac9d 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 |