summaryrefslogtreecommitdiff
path: root/pcr/opentmpfiles/opentmpfiles.hook
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/opentmpfiles/opentmpfiles.hook')
-rw-r--r--pcr/opentmpfiles/opentmpfiles.hook10
1 files changed, 10 insertions, 0 deletions
diff --git a/pcr/opentmpfiles/opentmpfiles.hook b/pcr/opentmpfiles/opentmpfiles.hook
new file mode 100644
index 000000000..8fd7e9a9b
--- /dev/null
+++ b/pcr/opentmpfiles/opentmpfiles.hook
@@ -0,0 +1,10 @@
+[Trigger]
+Type = File
+Operation = Install
+Operation = Upgrade
+Target = usr/lib/tmpfiles.d/*.conf
+
+[Action]
+Description = Creating temporary files...
+When = PostTransaction
+Exec = /usr/bin/systemd-tmpfiles --create