aboutsummarylogtreecommitdiffstats
path: root/99-grub-ll.hook
diff options
context:
space:
mode:
Diffstat (limited to '99-grub-ll.hook')
-rw-r--r--99-grub-ll.hook10
1 files changed, 10 insertions, 0 deletions
diff --git a/99-grub-ll.hook b/99-grub-ll.hook
new file mode 100644
index 000000000000..fe2f64ce4ce9
--- /dev/null
+++ b/99-grub-ll.hook
@@ -0,0 +1,10 @@
+[Trigger]
+Type = File
+Operation = Install
+Operation = Upgrade
+Target = etc/grub.d/*
+
+[Action]
+Description = Updating grub menu
+When = PostTransaction
+Exec = /usr/bin/grub-mkconfig -o /boot/grub/grub.cfg