From f346cae683a529a5b2abca3db8ae8cdecad12fdd Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Wed, 2 Feb 2022 10:53:46 -0500 Subject: [PATCH] Use more widely known paths for libcrypt --- .../common/initramfs/opt/confluent/bin/apiclient | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/confluent_osdeploy/common/initramfs/opt/confluent/bin/apiclient b/confluent_osdeploy/common/initramfs/opt/confluent/bin/apiclient index c7c9156f..7eade1e2 100644 --- a/confluent_osdeploy/common/initramfs/opt/confluent/bin/apiclient +++ b/confluent_osdeploy/common/initramfs/opt/confluent/bin/apiclient @@ -23,9 +23,9 @@ def msg_align(len): cryptname = ctypes.util.find_library('crypt') if not cryptname: - if os.path.exists('/usr/lib64/libcrypt.so.1'): + if os.path.exists('/lib64/libcrypt.so.1'): cryptname = 'libcrypt.so.1' - elif os.path.exists('/usr/lib64/libcrypt.so.2'): + elif os.path.exists('/lib64/libcrypt.so.2'): cryptname = 'libcrypt.so.2' c_libcrypt = ctypes.CDLL(cryptname) c_crypt = c_libcrypt.crypt