summarylogtreecommitdiffstats
path: root/shared-cryptboot-mount.hook
diff options
context:
space:
mode:
authorEmil Lundberg2016-06-27 01:45:18 +0200
committerEmil Lundberg2016-06-27 01:45:18 +0200
commite03010e8ce62a4b5839b090f2910a2f8f1dea2f6 (patch)
tree1665c7f2e96c195957ee437606b5f1e34ba173c5 /shared-cryptboot-mount.hook
downloadaur-e03010e8ce62a4b5839b090f2910a2f8f1dea2f6.tar.gz
Initial commit
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