diff options
author | Hongxu Jia <hongxu.jia@windriver.com> | 2020-08-19 11:19:06 +0800 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2021-07-19 16:17:21 -0700 |
commit | 8d62c9d4c949341515df2b808b17d6744fde2a7e (patch) | |
tree | c40ad38091334f7991360213f103c34481534615 /meta-oe/recipes-support/vboxguestdrivers/vboxguestdrivers/kernel-5.8-4.patch | |
parent | 2fe2ea3f159ee183a41b9aa83dd489fbc2cee41c (diff) | |
download | meta-openembedded-8d62c9d4c949341515df2b808b17d6744fde2a7e.tar.gz |
vboxguestdrivers: fix failed to compile with kernel 5.8.0
Backport patches from upstream [1] to fix the issue
It also requires to apply a patch on 5.8 kernel [2]
[1] https://www.virtualbox.org/ticket/19644
[2] https://www.virtualbox.org/raw-attachment/ticket/19644/local_patches
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 9c10ed4baa95648b7735757121e3af8b0aeb8e06)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/vboxguestdrivers/vboxguestdrivers/kernel-5.8-4.patch')
-rw-r--r-- | meta-oe/recipes-support/vboxguestdrivers/vboxguestdrivers/kernel-5.8-4.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/vboxguestdrivers/vboxguestdrivers/kernel-5.8-4.patch b/meta-oe/recipes-support/vboxguestdrivers/vboxguestdrivers/kernel-5.8-4.patch new file mode 100644 index 0000000000..cb4148fc79 --- /dev/null +++ b/meta-oe/recipes-support/vboxguestdrivers/vboxguestdrivers/kernel-5.8-4.patch @@ -0,0 +1,19 @@ +Description: Fix kernel 5.8 forbidding use of vermagic.h header file +Author: Gianfranco Costamagna <locutusofborg@debian.org> +Origin: https://www.virtualbox.org/ticket/19644 +Bug-Ubuntu: https://launchpad.net/bugs/1884652 +Last-Update: 2020-08-10 + +--- virtualbox-6.1.12-dfsg.orig/src/VBox/Additions/linux/sharedfolders/vfsmod.c ++++ virtualbox-6.1.12-dfsg/src/VBox/Additions/linux/sharedfolders/vfsmod.c +@@ -53,7 +53,9 @@ + #include <linux/seq_file.h> + #include <linux/vfs.h> + #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 5, 62) +-# include <linux/vermagic.h> ++# if LINUX_VERSION_CODE < KERNEL_VERSION(5, 8, 0) ++# include <linux/vermagic.h> ++# endif + #endif + #include <VBox/err.h> + #include <iprt/path.h> |