Skip to content

Fix modsign macro to fail build on signing errors#219

Open
andrewlukoshko wants to merge 2 commits intoAlmaLinux:masterfrom
andrewlukoshko:master
Open

Fix modsign macro to fail build on signing errors#219
andrewlukoshko wants to merge 2 commits intoAlmaLinux:masterfrom
andrewlukoshko:master

Conversation

@andrewlukoshko
Copy link
Member

Replace find -exec with xargs in __brp_kmod_sign so that a non-zero exit from modsign (e.g. unknown OS returning HTTP 400) propagates and aborts the RPM build instead of silently packaging unsigned modules.

Replace find -exec with xargs in __brp_kmod_sign so that a non-zero
exit from modsign (e.g. unknown OS returning HTTP 400) propagates and
aborts the RPM build instead of silently packaging unsigned modules.
Replace find -print -exec rm -f {} with find -delete to avoid
forking rm for each file.
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.

1 participant