diff --git a/rootfs/etc/pacman.d/hooks/95-grub.hook b/rootfs/etc/pacman.d/hooks/95-grub.hook deleted file mode 100644 index ca4acb2..0000000 --- a/rootfs/etc/pacman.d/hooks/95-grub.hook +++ /dev/null @@ -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 diff --git a/rootfs/etc/pacman.d/hooks/95-systemd-boot.hook b/rootfs/etc/pacman.d/hooks/95-systemd-boot.hook new file mode 100644 index 0000000..d65c027 --- /dev/null +++ b/rootfs/etc/pacman.d/hooks/95-systemd-boot.hook @@ -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