summaryrefslogtreecommitdiff
path: root/pcr-testing/opensysusers/opensysusers.hook
diff options
context:
space:
mode:
Diffstat (limited to 'pcr-testing/opensysusers/opensysusers.hook')
-rw-r--r--pcr-testing/opensysusers/opensysusers.hook12
1 files changed, 12 insertions, 0 deletions
diff --git a/pcr-testing/opensysusers/opensysusers.hook b/pcr-testing/opensysusers/opensysusers.hook
new file mode 100644
index 000000000..c5360d786
--- /dev/null
+++ b/pcr-testing/opensysusers/opensysusers.hook
@@ -0,0 +1,12 @@
+[Trigger]
+Type = File
+Operation = Install
+Operation = Upgrade
+Target = usr/lib/sysusers.d/*
+Target = etc/sysusers.d/*
+Target = run/sysusers.d/*
+
+[Action]
+Description = Updating system users and groups
+When = PostTransaction
+Exec = /usr/bin/sysusers