summarylogtreecommitdiffstats
path: root/util-linux-aes.install
diff options
context:
space:
mode:
authorMarcus Förster2015-06-08 18:57:17 +0200
committerMarcus Förster2015-06-08 18:57:17 +0200
commite231475024fa1c8e3afb781af5df1bf7d99a5427 (patch)
treec964e762f054d9c3eb13dff9fa428b9517aac30a /util-linux-aes.install
downloadaur-e231475024fa1c8e3afb781af5df1bf7d99a5427.tar.gz
init. 2.26.2-2
Diffstat (limited to 'util-linux-aes.install')
-rw-r--r--util-linux-aes.install16
1 files changed, 16 insertions, 0 deletions
diff --git a/util-linux-aes.install b/util-linux-aes.install
new file mode 100644
index 000000000000..cbe5556c6eb4
--- /dev/null
+++ b/util-linux-aes.install
@@ -0,0 +1,16 @@
+post_install() {
+ echo "===> You must also have a loop-AES patched kernel (loop.ko) for this"
+ echo "===> package to work properly, otherwise you may damage your system."
+ echo "===> If you do not; you need to reinstall util-linux from Core repo."
+
+ # we don't want use systemd-tmpfiles here because
+ # the package dependency would create a circular dep.
+ if [[ ! -d run/uuidd ]]; then
+ # refer to uid/gid by number to avoid dependency on filesystem
+ install -o 68 -g 68 -dm755 run/uuidd
+ fi
+}
+
+post_upgrade() {
+ post_install
+} \ No newline at end of file