Update bpm hooks

This commit is contained in:
2026-05-09 22:30:13 +03:00
parent c92dc1ae81
commit 9e3c901fc3
4 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
trigger_operations: ["install", "upgrade"]
target_type: "path"
targets:
- "usr/src/*/dkms.conf"
- "usr/lib/modules/*/build/include/"
- "usr/lib/modules/*/modules.order"
run: "/var/lib/bpm/hook-scripts/dkms.sh install"
pass_targets: true
+2 -1
View File
@@ -1,7 +1,8 @@
trigger_operations: ["remove"]
target_type: "path"
trigger_pre_operation: true
targets:
- "usr/src/*/dkms.conf"
- "usr/lib/modules/*/build/include/"
- "usr/lib/modules/*/modules.order"
run: "/var/lib/bpm/hook-scripts/dkms.sh remove"
pass_targets: true
+1 -1
View File
@@ -1,7 +1,7 @@
trigger_operations: ["upgrade"]
target_type: "path"
targets:
- "usr/src/*/dkms.conf"
- "usr/lib/modules/*/build/include/"
- "usr/lib/modules/*/modules.order"
run: "/var/lib/bpm/hook-scripts/dkms.sh -D remove"
pass_targets: true