Blame SOURCES/0012-ignore-empty-and-comment-lines-in-crypttab.patch

412654
--- clevis-15.ori/src/luks/clevis-luks-common-functions	2023-01-11 11:11:03.050262054 +0100
412654
+++ clevis-15/src/luks/clevis-luks-common-functions	2023-01-11 11:19:16.004358405 +0100
412654
@@ -413,7 +413,12 @@
412654
     clevis_devices=
412654
 
412654
     # Build list of devices to unlock.
412654
-    while read -r _ crypt_device _; do
412654
+    while read -r _volname_ crypt_device _; do
412654
+        # skip empty lines and lines which begin with the '#' char, per
412654
+        # crypttab(5)
412654
+        case $_volname_ in
412654
+            ''|\#*) continue ;;
412654
+        esac
412654
         if ! dev=$(clevis_map_device "${crypt_device}") \
412654
                    || [ -z "${dev}" ]; then
412654
             # Unable to get the device - maybe it's not available, e.g. a