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

linux6.{6..8}: fix module signing #49491

Merged
merged 3 commits into from
Mar 25, 2024

Conversation

classabbyamp
Copy link
Member

@classabbyamp classabbyamp commented Mar 23, 2024

sign-file needs pkg-config to find libcrypto: https://github.com/torvalds/linux/blob/2dde18cd1d8fac735875f2e4987f11817cc0bc2c/scripts/Makefile#L25-L26

On cross, it is removed by make _mrproper_scripts, so copy it to XBPS_WRAPPERDIR before running it.

failure symptom:

/void-packages/srcpkgs/linux6.8/files/mv-debug: line 7: /builddir/linux6.8-6.8.1/scripts/sign-file: No such file or directory

Testing the changes

  • I tested the changes in this PR: YES

[ci skip]

@classabbyamp classabbyamp marked this pull request as draft March 24, 2024 00:36
@classabbyamp
Copy link
Member Author

does not fully fix the problem on cross, testing a fix for that

sign-file needs pkg-config to find libcrypto

on cross, it is removed by make _mrproper_scripts, so copy it to
XBPS_WRAPPERDIR before running that.

failure symptom:
/void-packages/srcpkgs/linux6.8/files/mv-debug: line 7:
    /builddir/linux6.8-6.8.1/scripts/sign-file: No such file or directory
sign-file needs pkg-config to find libcrypto

on cross, it is removed by make _mrproper_scripts, so copy it to
XBPS_WRAPPERDIR before running that.

failure symptom:
/void-packages/srcpkgs/linux6.8/files/mv-debug: line 7:
    /builddir/linux6.8-6.8.1/scripts/sign-file: No such file or directory
sign-file needs pkg-config to find libcrypto

on cross, it is removed by make _mrproper_scripts, so copy it to
XBPS_WRAPPERDIR before running that.

failure symptom:
/void-packages/srcpkgs/linux6.8/files/mv-debug: line 7:
    /builddir/linux6.8-6.8.1/scripts/sign-file: No such file or directory
@classabbyamp classabbyamp changed the title linux6.{6..8}: sign-file utility requires pkg-config linux6.{6..8}: fix module signing Mar 25, 2024
@classabbyamp classabbyamp marked this pull request as ready for review March 25, 2024 02:54
@classabbyamp classabbyamp merged commit db23d21 into void-linux:master Mar 25, 2024
2 checks passed
@classabbyamp classabbyamp deleted the linux-sign-file branch March 25, 2024 22:41
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.

None yet

1 participant