fix: replace grub hook by bootctl
This commit is contained in:
parent
eb4e0341b5
commit
69d6250397
@ -1,10 +0,0 @@
|
||||
[Trigger]
|
||||
Type = Package
|
||||
Operation = Install
|
||||
Operation = Upgrade
|
||||
Target = linux*
|
||||
|
||||
[Action]
|
||||
Description = Update grub config
|
||||
When = PostTransaction
|
||||
Exec = /usr/bin/grub-mkconfig -o /boot/grub/grub.cfg
|
9
rootfs/etc/pacman.d/hooks/95-systemd-boot.hook
Normal file
9
rootfs/etc/pacman.d/hooks/95-systemd-boot.hook
Normal file
@ -0,0 +1,9 @@
|
||||
[Trigger]
|
||||
Type = Package
|
||||
Operation = Upgrade
|
||||
Target = systemd
|
||||
|
||||
[Action]
|
||||
Description = Gracefully upgrading systemd-boot...
|
||||
When = PostTransaction
|
||||
Exec = /usr/bin/systemctl restart systemd-boot-update.service
|
Loading…
Reference in New Issue
Block a user