diff options
author | Giancarlo Razzolini <grazzolini@archlinux.org> | 2019-10-10 23:21:51 +0200 |
---|---|---|
committer | Giancarlo Razzolini <grazzolini@archlinux.org> | 2019-10-10 23:21:51 +0200 |
commit | 0791321ed88bc480b193889c26cf4c356f1c78f7 (patch) | |
tree | 90ce1b9fc00437d8596da6b964aaf8bdd18f7aa7 | |
parent | 59bdecbf138936f1eb61c9616d7270d92a5deac5 (diff) | |
download | mkinitcpio-0791321ed88bc480b193889c26cf4c356f1c78f7.tar.gz mkinitcpio-0791321ed88bc480b193889c26cf4c356f1c78f7.tar.xz |
Change the install hook to trigger on usr/lib/initcpio/* instead of mkinitcpio* package
Since not only mkinitcpio* packages touch /usr/lib/initcpio, switch the hook to triggering
on that.
-rw-r--r-- | libalpm/hooks/90-mkinitcpio-install.hook | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/libalpm/hooks/90-mkinitcpio-install.hook b/libalpm/hooks/90-mkinitcpio-install.hook index 700350f..48e6a1e 100644 --- a/libalpm/hooks/90-mkinitcpio-install.hook +++ b/libalpm/hooks/90-mkinitcpio-install.hook @@ -1,14 +1,9 @@ [Trigger] -Type = Package -Operation = Install -Operation = Upgrade -Target = mkinitcpio* - -[Trigger] Type = File Operation = Install Operation = Upgrade Target = usr/lib/modules/*/vmlinuz +Target = usr/lib/initcpio/* [Action] Description = Updating linux initcpios... |