melawy-dracut-initramfs/usr/share/libalpm/hooks/10-dracut-initramfs-pre-ins...

16 lines
392 B
Plaintext

[Trigger]
Type = Path
Operation = Install
Operation = Upgrade
Target = usr/lib/modules/*/pkgbase
Target = usr/lib/dracut/*
Target = usr/lib/systemd/systemd
Target = usr/share/libalpm/hooks/90-dracut-initramfs-install.hook
Target = usr/bin/dracut-initramfs
Target = usr/src/*/dkms.conf
[Action]
Description = Ensure ESP is mounted...
When = PreTransaction
Exec = /usr/bin/dracut-initramfs -x