add hook to regenerate grub config file (e.g., when using grub-btrfs
This commit is contained in:
parent
a596a458a4
commit
b4d78e7ce7
1 changed files with 12 additions and 0 deletions
12
99_grub-config.hook
Normal file
12
99_grub-config.hook
Normal file
|
|
@ -0,0 +1,12 @@
|
||||||
|
[Trigger]
|
||||||
|
Operation = Upgrade
|
||||||
|
Operation = Install
|
||||||
|
Operation = Remove
|
||||||
|
Type = Package
|
||||||
|
Target = *
|
||||||
|
|
||||||
|
[Action]
|
||||||
|
Description = generate GRUB configuration file
|
||||||
|
Depends = grub-btrfs-git
|
||||||
|
When = PostTransaction
|
||||||
|
Exec = /usr/bin/grub-mkconfig -o /boot/grub/grub.cfg
|
||||||
Loading…
Add table
Reference in a new issue