diff options
author | yar | 2017-04-01 11:36:56 -0700 |
---|---|---|
committer | yar | 2017-04-01 11:37:34 -0700 |
commit | 3228686982d87f5ec81dac44dabb5c0bf9ed9a88 (patch) | |
tree | 959f0ec7576e4907b3a04aba530896e99da070be /98-linux-linode.hook | |
parent | c4b3c4e790ded3f3a966b36db7d9f10ce542ff0e (diff) | |
download | aur-3228686982d87f5ec81dac44dabb5c0bf9ed9a88.tar.gz |
automatically rebuild grub menu
idk why arch's mainline packages don't use pacman hooks to rebuild grub. maybe i'll find out
Diffstat (limited to '98-linux-linode.hook')
-rw-r--r-- | 98-linux-linode.hook | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/98-linux-linode.hook b/98-linux-linode.hook new file mode 100644 index 000000000000..f1bed0a50515 --- /dev/null +++ b/98-linux-linode.hook @@ -0,0 +1,11 @@ +[Trigger] +Type = File +Operation = Install +Operation = Upgrade +Target = boot/vmlinuzll-linux-linode +Target = usr/lib/initcpio/* + +[Action] +Description = Updating linux-linode initramfs image +When = PostTransaction +Exec = /usr/bin/mkinitcpio -p linux-linode |