-
Notifications
You must be signed in to change notification settings - Fork 800
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Header "include/uapi/misc/d3dkmthk.h" doesn't contain "WITH Linux-syscall-note" #7866
Comments
@alexandreteles how are you building the new WSL kernel? Looking at your log you're trying to make a DEB package. That's not how custom kernels are installed in WSL. Build instructions have this command I did a fresh build of microsoft/WSL2-Linux-Kernel@918dbaa and it succeeded with no warnings or errors. Previous kernel info that came with the Ubuntu appx package:
and the custom build:
The WSL kernels reside at |
The
It's possible that Microsoft's build circumvents the requirements on
It may or may not be on Microsoft's interests to include the
This problem isn't really related to our build process, or shouldn't be at least, but you can check it on the GitHub Actions for our fork: https://github.com/INCT-DD/WSL2-Linux-Kernel/actions. |
I'm closing this issue as Thank you! |
Version
Microsoft Windows [versão 10.0.22000.376]
WSL Version
Kernel Version
5.10.74.3
Distro Version
Ubuntu 20.04
Other Software
No response
Repro Steps
Try to build WSL2-Linux-Kernel from source
Expected Behavior
The build succeeds
Actual Behavior
The build will fail on the
include/uapi/misc/d3dkmthk.h
header as it is missingWITH Linux-syscall-note
on the SPDX-License-Identifier, but according tolinux/scripts/headers_install.sh
all SPDX-License-Identifier with GPL variants must have "WITH Linux-syscall-note".Line 1 on the file reads:
/* SPDX-License-Identifier: GPL-2.0 */
Where it should be:
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
It'll always fail as
linux/scripts/headers_install.sh
will refuse to include headers with the wrong license information:Diagnostic Logs
Log Resume:
logs_8.zip
The text was updated successfully, but these errors were encountered: