blob: 37a11c9cb69c8c84c15ab67cc6d55b1ddc197a97 (
plain) (
tree)
|
|
post_pkg_postinst() {
if [[ "$(bootctl is-installed)" == "yes" ]] && command -v sbctl &>/dev/null; then
ebegin "Signing systemd-bootx64"
sbctl sign -s -o /usr/lib/systemd/boot/efi/systemd-bootx64.efi.signed /usr/lib/systemd/boot/efi/systemd-bootx64.efi
eend ${?} || ewarn "Signing systemd-bootx64 failed"
fi
}
|