system/virtualbox-kernel-addons: Updated for version 5.2.8.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
parent
14f2c05c47
commit
d9bde60fd9
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
# Slackware build script for virtualbox-kernel-addons
|
# Slackware build script for virtualbox-kernel-addons
|
||||||
|
|
||||||
# Copyright 2008-2019 Heinz Wiesinger, Amsterdam, The Netherlands
|
# Copyright 2008-2018 Heinz Wiesinger, Amsterdam, The Netherlands
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use of this script, with or without modification, is
|
# Redistribution and use of this script, with or without modification, is
|
||||||
|
@ -23,8 +23,8 @@
|
||||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
PRGNAM=virtualbox-kernel-addons
|
PRGNAM=virtualbox-kernel-addons
|
||||||
VERSION=${VERSION:-5.0.40}
|
VERSION=${VERSION:-5.2.8}
|
||||||
BUILD=${BUILD:-2}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
KERNEL=${KERNEL:-$(uname -r)}
|
KERNEL=${KERNEL:-$(uname -r)}
|
||||||
|
@ -79,7 +79,21 @@ if [ "$KERNEL_MINOR" = 4 -a "$KERNEL_PATCH" -ge 168 ]; then
|
||||||
sed -i "s|KERNEL_VERSION(4, 9, 0)|KERNEL_VERSION(4, 4, 168)|" vboxguest/r0drv/linux/memobj-r0drv-linux.c
|
sed -i "s|KERNEL_VERSION(4, 9, 0)|KERNEL_VERSION(4, 4, 168)|" vboxguest/r0drv/linux/memobj-r0drv-linux.c
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for i in vboxguest vboxsf vboxvideo; do
|
MODULES=""
|
||||||
|
|
||||||
|
if ! [ -e /lib/modules/$KERNEL/kernel/drivers/staging/vboxvideo ]; then
|
||||||
|
MODULES="$MODULES vboxvideo"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if ! [ -e /lib/modules/$KERNEL/kernel/virt/vboxguest ]; then
|
||||||
|
MODULES="$MODULES vboxguest"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if ! [ -e /lib/modules/$KERNEL/kernel/fs/vboxsf ]; then
|
||||||
|
MODULES="$MODULES vboxsf"
|
||||||
|
fi
|
||||||
|
|
||||||
|
for i in $MODULES; do
|
||||||
cd $i
|
cd $i
|
||||||
make KERN_DIR=$KERNELPATH
|
make KERN_DIR=$KERNELPATH
|
||||||
install -m 0644 $i.ko $PKG/lib/modules/$KERNEL/misc/
|
install -m 0644 $i.ko $PKG/lib/modules/$KERNEL/misc/
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
PRGNAM="virtualbox-kernel-addons"
|
PRGNAM="virtualbox-kernel-addons"
|
||||||
VERSION="5.0.40"
|
VERSION="5.2.8"
|
||||||
HOMEPAGE="https://www.virtualbox.org"
|
HOMEPAGE="https://www.virtualbox.org"
|
||||||
DOWNLOAD="http://www.liwjatan.at/files/src/virtualbox-kernel-addons/virtualbox-kernel-addons-5.0.40.tar.xz"
|
DOWNLOAD="http://www.liwjatan.at/files/src/virtualbox-kernel-addons/virtualbox-kernel-addons-5.2.8.tar.xz"
|
||||||
MD5SUM="6146afd44b37c65bd7acc01e067b6e86"
|
MD5SUM="e4202f46e4adeb1da588a86fe51d58d5"
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
REQUIRES=""
|
REQUIRES=""
|
||||||
|
|
Loading…
Reference in New Issue