aboutsummaryrefslogtreecommitdiffstats
path: root/arch-system/90-modprobe-d.hook
diff options
context:
space:
mode:
authorTharre <tharre3@gmail.com>2018-05-05 19:24:14 +0200
committerTharre <tharre3@gmail.com>2018-05-05 19:24:14 +0200
commit0ad01a049da0ab5d987a856f4aa3d46673d11fc6 (patch)
tree77bc9225679ca5de7ae6b8f2e624cc2bf25cfadc /arch-system/90-modprobe-d.hook
parentbc0d60b693aa0b10196f9950bd6ceafc3fd57bee (diff)
downloadpkgbuilds-0ad01a049da0ab5d987a856f4aa3d46673d11fc6.tar.gz
pkgbuilds-0ad01a049da0ab5d987a856f4aa3d46673d11fc6.tar.xz
pkgbuilds-0ad01a049da0ab5d987a856f4aa3d46673d11fc6.zip
arch-system: add hook for modprobe.d rebuilding
Diffstat (limited to 'arch-system/90-modprobe-d.hook')
-rw-r--r--arch-system/90-modprobe-d.hook11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch-system/90-modprobe-d.hook b/arch-system/90-modprobe-d.hook
new file mode 100644
index 0000000..90a035f
--- /dev/null
+++ b/arch-system/90-modprobe-d.hook
@@ -0,0 +1,11 @@
+[Trigger]
+Type = File
+Operation = Install
+Operation = Upgrade
+Operation = Remove
+Target = etc/modprobe.d/*
+
+[Action]
+Description = Rebuilding initcpios
+When = PostTransaction
+Exec = /usr/bin/mkinitcpio -P