feat: better driver support, grub
This commit is contained in:
parent
2724a43e07
commit
788571364e
6 changed files with 37 additions and 24 deletions
10
rootfs/etc/pacman.d/hooks/95-grub.hook
Normal file
10
rootfs/etc/pacman.d/hooks/95-grub.hook
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
[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
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
[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…
Add table
Add a link
Reference in a new issue