Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:GA
kernel-vanilla.797
kernel-cert-subpackage
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File kernel-cert-subpackage of Package kernel-vanilla.797
%package -n %{-n*}-ueficert Summary: UEFI Secure Boot Certificate For Package %{-n*}-kmp Group: System/Kernel %description -n %{-n*}-ueficert This package contains the UEFI Secure Boot certificate used to sign modules in the %{-n*}-kmp packages. # The scriptlets are reused in kernel-binary.spec.in by a sed script that # stops at the next line that starts with a percent sign %post -n %{-n*}-ueficert if ! command -v mokutil >/dev/null; then exit 0 fi # XXX: Only call mokutil if UEFI and shim are used for cert in @CERTS@; do if ! mokutil --import "$cert" --root-pw; then echo "Failed to import $cert" fi done exit 0 %preun -n %{-n*}-ueficert if ! command -v mokutil >/dev/null; then exit 0 fi for cert in @CERTS@; do ln "$cert" "$cert.delete" done exit 0 %postun -n %{-n*}-ueficert if ! command -v mokutil >/dev/null; then exit 0 fi for cert in @CERTS@; do if ! test -e "$cert"; then if ! mokutil --delete "$cert.delete" --root-pw; then echo "Failed to delete $cert" fi fi rm "$cert.delete" done exit 0 %files -n %{-n*}-ueficert %defattr(-, root, root) %dir /etc/uefi /etc/uefi/certs
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor