summaryrefslogtreecommitdiff
path: root/system/kvm-kmod/kvm-kmod.SlackBuild
diff options
context:
space:
mode:
authorStu Miller <slackbuilds@go4it2day.com>2012-05-20 17:14:47 -0400
committerErik Hanson <erik@slackbuilds.org>2012-05-21 17:58:15 -0500
commit7f684947ea08b34dda8acfc5eeba10882dc52b02 (patch)
treeba0e5b91f52b9dac3d2fda1d01fd1e355832905c /system/kvm-kmod/kvm-kmod.SlackBuild
parente28747c38b89681345d403792ba24c3510ed3fba (diff)
downloadslackbuilds-7f684947ea08b34dda8acfc5eeba10882dc52b02.tar.gz
system/kvm-kmod: Updated for version 3.3.6.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'system/kvm-kmod/kvm-kmod.SlackBuild')
-rw-r--r--system/kvm-kmod/kvm-kmod.SlackBuild22
1 files changed, 9 insertions, 13 deletions
diff --git a/system/kvm-kmod/kvm-kmod.SlackBuild b/system/kvm-kmod/kvm-kmod.SlackBuild
index 0154402de5..efce63ee14 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}
+VERSION=${VERSION:-3.3.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -75,8 +75,7 @@ sed "s,@KVMGROUP@,$KVMGROUP," $CWD/fixup_udev_rules.diff | patch -p1 || exit 1
CFLAGS="$SLKCFLAGS" \
./configure \
- --arch=$ARCH \
- --kerneldir=/lib/modules/$KERNEL/source
+ --arch=$ARCH
make \
PREFIX=/usr \
@@ -95,18 +94,15 @@ rm -r $PKG/usr/lib${LIBDIRSUFFIX}
# Move /etc/udev to /lib/udev
mv $PKG/etc/udev $PKG/lib
-# Make modprobe prefer the new modules in /lib/modules/$KERNEL/updates/
+# Make modprobe prefer the new modules in /lib/modules/$KERNEL/extra/
# 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 updates
-#override kvm-amd $KERNEL updates
-#override kvm-intel $KERNEL updates
-#EOF
-# This isn't needed any more, it appears - seems that anything in the
-# updates/x86/ directory automatically overrides the others. I'm going
-# to leave the above snippet in place at least for now though...
+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
+EOF
# We don't want the modules.* files in the package
rm -f $PKG/lib/modules/${KERNEL}/modules.*