Skip to content
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

kernel5.10: include missing file for kernel-devel archive #1912

Merged
merged 1 commit into from
Jan 19, 2022

Conversation

arnaldo2792
Copy link
Contributor

Issue number:
N / A

Description of changes:

kernel5.10: include missing file for kernel-devel archive

The kernel-devel archive in the 5.10 kernel is missing the sources for
the 'hweight' tool for 'arm64', which causes compilation failures in
out-of-tree kernel modules.

Testing done:
Before the patch, I was getting this error:

#19 16.45 make[5]: *** No rule to make target '../lib/hweight.c', needed by '/home/builder/rpmbuild/BUILD/kernel-devel/tools/objtool/arch/arm64/libhweight.o'.  Stop.

With the patch, the compilation succeeds

Terms of contribution:

By submitting this pull request, I agree that this contribution is dual-licensed under the terms of both the Apache License, version 2.0, and the MIT license.

The kernel-devel archive in the 5.10 kernel is missing the sources for
the 'hweight' tool for 'arm64', which causes compilation failures in
out-of-tree kernel modules.

Signed-off-by: Arnaldo Garcia Rincon <[email protected]>
@arnaldo2792
Copy link
Contributor Author

Forced push fixes the commit message to match the package name: kernel-5.10

@arnaldo2792 arnaldo2792 merged commit 5b9bc1d into bottlerocket-os:develop Jan 19, 2022
@arnaldo2792 arnaldo2792 deleted the fix-kernel-devel branch January 26, 2022 21:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants