diff options
Diffstat (limited to 'system/kvm-kmod/kvm-kmod.SlackBuild')
-rw-r--r-- | system/kvm-kmod/kvm-kmod.SlackBuild | 22 |
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.* |