From 2947ed2cbd20dcbbbd0ee60701fbe1fd75e07bce7470f2bceaa3b329e5bcf42a Mon Sep 17 00:00:00 2001
From: Jan Engelhardt <jengelh@inai.de>
Date: Tue, 1 Dec 2020 16:04:31 +0000
Subject: [PATCH] Accepting request 852366 from
 home:marcinbajor:branches:Linux-PAM

- Restore symlinks for crypt_LUKS
  Fixes: https://bugzilla.opensuse.org/show_bug.cgi?id=1179229

OBS-URL: https://build.opensuse.org/request/show/852366
OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam_mount?expand=0&rev=71
---
 pam_mount.changes | 6 ++++++
 pam_mount.spec    | 2 ++
 2 files changed, 8 insertions(+)

diff --git a/pam_mount.changes b/pam_mount.changes
index 685707d..856c2e3 100644
--- a/pam_mount.changes
+++ b/pam_mount.changes
@@ -1,3 +1,9 @@
+-------------------------------------------------------------------
+Tue Dec  1 14:21:57 UTC 2020 - Marcin Bajor <marcin.bajor@gmail.com>
+
+- Restore symlinks for crypt_LUKS
+  Fixes: https://bugzilla.opensuse.org/show_bug.cgi?id=1179229 
+
 -------------------------------------------------------------------
 Thu Nov 26 20:18:51 UTC 2020 - Jan Engelhardt <jengelh@inai.de>
 
diff --git a/pam_mount.spec b/pam_mount.spec
index f3eefb5..2a4ec0a 100644
--- a/pam_mount.spec
+++ b/pam_mount.spec
@@ -117,6 +117,8 @@ install -m 755 %SOURCE2 "$b/%_docdir/%name/examples/"
 mkdir -p "$b/sbin"
 ln -s /usr/sbin/mount.crypt "$b/sbin"
 ln -s /usr/sbin/umount.crypt "$b/sbin"
+ln -s /usr/sbin/mount.crypt_LUKS "$b/sbin"
+ln -s /usr/sbin/umount.crypt_LUKS "$b/sbin"
 %fdupes %buildroot/%_prefix
 
 %post