-
Notifications
You must be signed in to change notification settings - Fork 89
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
Suggestion: Only sign generated file in initcpio hook, use sign-all in a separate pacman hook #306
Comments
In case user are using sbctl for generate uki: #!/usr/bin/env bash
uki="$3"
if [[ -n $uki ]]; then
/usr/bin/sbctl sign "$uki"
else
/usr/bin/sbctl sign-all -g
fi |
Is there any reason to use sbctl for UKI generation when mkinitcpio already supports it? (afaict the options supported by sbctl and mkinitcpio for ukis are the same) From the sbctl manpage:
|
@m00nwtchr Maybe for ensuring the UKI image always been signed? But I just thought we can't leave the UKI generation feature in sbctl broken if this really get accepted. Edit: found this already been implemented 4 months ago xd |
Fwiw, it's already "almost" broken as the |
That way you avoid repeated "X has already been signed" messages in
mkinitcpio -P
output, while retaining compatibility with signing files from other packages.(I use the following for my initcpio hook:)
The text was updated successfully, but these errors were encountered: