14 lines
458 B
Plaintext
14 lines
458 B
Plaintext
[Trigger]
|
|
Operation = Install
|
|
Operation = Upgrade
|
|
Type = Package
|
|
Target = linux
|
|
|
|
[Action]
|
|
Description = Signing Kernel for SecureBoot
|
|
When = PostTransaction
|
|
Exec = /usr/bin/find /boot/ -maxdepth 1 -name 'vmlinuz-*' -exec /usr/bin/sh -c 'if ! /usr/bin/sbverify --list {} 2>/dev/null | /usr/bin/grep -q "signature certificates"; then /usr/bin/sbsign --key /db.key --cert /db.crt --output {} {}; fi' \ ;
|
|
Depends = sbsigntools
|
|
Depends = findutils
|
|
Depends = grep
|