Add 90-dracut-install.hook

This commit is contained in:
sedlav 2024-04-22 02:21:31 +02:00
parent 62f2a46a94
commit 3177a1ea6d
1 changed files with 12 additions and 0 deletions

12
90-dracut-install.hook Normal file
View File

@ -0,0 +1,12 @@
[Trigger]
Type = Path
Operation = Install
Operation = Upgrade
Target = usr/lib/modules/*/pkgbase
[Action]
Description = Updating linux initcpios (with dracut!)...
When = PostTransaction
Exec = /usr/local/bin/dracut-install.sh
Depends = dracut
NeedsTargets