summarylogtreecommitdiffstats
path: root/shared-cryptboot-mount.hook
diff options
context:
space:
mode:
Diffstat (limited to 'shared-cryptboot-mount.hook')
-rw-r--r--shared-cryptboot-mount.hook17
1 files changed, 17 insertions, 0 deletions
diff --git a/shared-cryptboot-mount.hook b/shared-cryptboot-mount.hook
new file mode 100644
index 000000000000..03d36e0bb829
--- /dev/null
+++ b/shared-cryptboot-mount.hook
@@ -0,0 +1,17 @@
+[Trigger]
+Operation = Install
+Operation = Upgrade
+Type = File
+Target = boot/*
+
+[Trigger]
+Operation = Install
+Operation = Upgrade
+Type = Package
+Target = linux
+
+[Action]
+Description = Mounting /boot ...
+When = PreTransaction
+Exec = /usr/bin/mount /boot
+AbortOnFail