commit 23c3dbcf4ddfea55fccc8b08ef9c64d1440da6c7
Author: Sérgio M. Basto <sergio(a)serjux.com>
Date: Thu May 3 16:45:06 2018 +0100
Start with jwrdegoede/vboxsf on Fedora 28
.gitignore | 1 +
VirtualBox-kmod.spec | 12 +++++++++++-
sources | 1 +
3 files changed, 13 insertions(+), 1 deletion(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..a45aca6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/master.zip
diff --git a/VirtualBox-kmod.spec b/VirtualBox-kmod.spec
index 7f0b698..f525e5a 100644
--- a/VirtualBox-kmod.spec
+++ b/VirtualBox-kmod.spec
@@ -36,7 +36,7 @@
Name: VirtualBox-kmod
Version: 5.2.10
#Release: 1%%{?prerel:.%%{prerel}}%%{?dist}
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Kernel module for VirtualBox
Group: System Environment/Kernel
@@ -44,6 +44,8 @@ License: GPLv2 or CDDL
URL:
http://www.virtualbox.org/wiki/VirtualBox
# This filters out the XEN kernel, since we don't run on XEN
Source1: VirtualBox-kmod-excludekernel-filter.txt
+Source2:
https://github.com/jwrdegoede/vboxsf/archive/master.zip
+
#Patch1: fixes_for_4.15.v2.patch
%global AkmodsBuildRequires %{_bindir}/kmodtool, VirtualBox-kmodsrc >=
%{version}%{vboxreltag}, xz, time
@@ -69,6 +71,11 @@ Kernel module for VirtualBox
tar --use-compress-program xz -xf
%{_datadir}/%{name}-%{version}/%{name}-%{version}.tar.xz
pushd %{name}-%{version}
#patch1 -p2 -b .kernel_4.15
+%if 0%{?fedora} > 27
+rm -rf vboxsf/
+unzip %{SOURCE2}
+mv vboxsf-master/ vboxsf/
+%endif
popd
# error out if there was something wrong with kmodtool
@@ -122,6 +129,9 @@ DIRS=$(ls %{name}-%{version} |wc -l)
%changelog
+* Thu May 03 2018 Sérgio Basto <sergio(a)serjux.com> - 5.2.10-3
+- Start with jwrdegoede/vboxsf on Fedora 28
+
* Wed Apr 25 2018 Sérgio Basto <sergio(a)serjux.com> - 5.2.10-2
- Add fix for kernel 4.17
diff --git a/sources b/sources
index e69de29..c4405e8 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+eaa5b072e41d89fc89eb75a8db27ffc1 master.zip