summaryrefslogtreecommitdiffstats
path: root/system/virtualbox-kernel/virtualbox-kernel.SlackBuild
diff options
context:
space:
mode:
author Matteo Bernardini2019-06-23 10:14:02 +0200
committer Matteo Bernardini2019-06-23 10:14:02 +0200
commit0838c924f3b7d36a83b7c907cd9c083d893fe35f (patch)
treee30695b4cc9fefb4d325ee530731ebcd7ae20932 /system/virtualbox-kernel/virtualbox-kernel.SlackBuild
parent363a906a0b578360fc08e5e6193c228be8fbe259 (diff)
downloadslackbuilds-current-20190623.1.tar.gz
20190623.1 global branch merge.current-20190623.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