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

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