feat: add auto secure boot to new kernel update
This commit is contained in:
20
secureboot/99-secureboot-sign-cachyos.hook
Normal file
20
secureboot/99-secureboot-sign-cachyos.hook
Normal file
@ -0,0 +1,20 @@
|
||||
[Trigger]
|
||||
Operation = Install
|
||||
Operation = Upgrade
|
||||
Type = Package
|
||||
Target = grub
|
||||
Target = shim-signed
|
||||
|
||||
[Trigger]
|
||||
Operation = Install
|
||||
Operation = Upgrade
|
||||
Type = Path
|
||||
Target = boot/vmlinuz-*
|
||||
|
||||
[Action]
|
||||
Description = Signing and verifying CachyOS Secure Boot artifacts...
|
||||
When = PostTransaction
|
||||
Depends = grub
|
||||
Depends = shim-signed
|
||||
Depends = sbsigntools
|
||||
Exec = /usr/local/sbin/secureboot-sign-cachyos
|
||||
Reference in New Issue
Block a user