diff options
Diffstat (limited to 'util-linux-aes.install')
-rw-r--r-- | util-linux-aes.install | 16 |
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 |