From 0ad01a049da0ab5d987a856f4aa3d46673d11fc6 Mon Sep 17 00:00:00 2001 From: Tharre Date: Sat, 5 May 2018 19:24:14 +0200 Subject: arch-system: add hook for modprobe.d rebuilding --- arch-system/90-modprobe-d.hook | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 arch-system/90-modprobe-d.hook (limited to 'arch-system/90-modprobe-d.hook') 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 -- cgit v1.2.3-70-g09d2