File cryptsetup-path.patch of Package clevis

--- clevis-18/src/luks/tests/meson.build
+++ clevis-18/src/luks/tests/meson.build
@@ -3,7 +3,7 @@
 
 # We use cryptsetup for testing LUKS2 binding and saving the token in a
 # given token slot.
-cryptsetup = find_program('cryptsetup', required: true)
+cryptsetup = find_program('/usr/sbin/cryptsetup', required: true)
 
 common_functions = configure_file(input: 'tests-common-functions.in',
   output: 'tests-common-functions',
openSUSE Build Service is sponsored by