summaryrefslogtreecommitdiffstats
path: root/system/virtualbox-kernel/virtualbox-kernel.SlackBuild
diff options
context:
space:
mode:
author Matteo Bernardini2019-08-31 16:24:12 +0200
committer Matteo Bernardini2019-08-31 16:24:12 +0200
commit82a6c2e466d4bdb1017e46447e56b0bce264f84b (patch)
treec13bd3ae8c2eae3546619b0d2912dbee78400d79 /system/virtualbox-kernel/virtualbox-kernel.SlackBuild
parent155fd2582041b19a6ca7ca2efa805052553bf90a (diff)
downloadslackbuilds-82a6c2e466d4bdb1017e46447e56b0bce264f84b.tar.gz
20190831.1 global branch merge.current-20190831.1
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'system/virtualbox-kernel/virtualbox-kernel.SlackBuild')
-rw-r--r--system/virtualbox-kernel/virtualbox-kernel.SlackBuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/system/virtualbox-kernel/virtualbox-kernel.SlackBuild b/system/virtualbox-kernel/virtualbox-kernel.SlackBuild
index d879686802..338da42bfc 100644
--- a/system/virtualbox-kernel/virtualbox-kernel.SlackBuild
+++ b/system/virtualbox-kernel/virtualbox-kernel.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for virtualbox-kernel
-# Copyright 2008-2019 Heinz Wiesinger, Amsterdam, The Netherlands
+# Copyright 2008-2018 Heinz Wiesinger, Amsterdam, The Netherlands
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,8 +25,8 @@
# Modified by SlackBuilds.org
PRGNAM=virtualbox-kernel
-VERSION=${VERSION:-5.0.40}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-5.2.8}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
KERNEL=${KERNEL:-$(uname -r)}
@@ -84,6 +84,8 @@ if [ "$KERNEL_MINOR" = 4 -a "$KERNEL_PATCH" -ge 168 ]; then
sed -i "s|KERNEL_VERSION(4, 9, 0)|KERNEL_VERSION(4, 4, 168)|" vboxdrv/r0drv/linux/memobj-r0drv-linux.c
fi
+patch -p1 < $CWD/kernel_4.17.patch
+
make KERN_DIR=${KERNELPATH}
mkdir -p $PKG/lib/modules/$KERNEL/misc