[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v5 1/9] luks2: Add debug message to align with luks and geli modu
From: |
Glenn Washburn |
Subject: |
[PATCH v5 1/9] luks2: Add debug message to align with luks and geli modules |
Date: |
Thu, 9 Dec 2021 11:14:50 -0600 |
Signed-off-by: Glenn Washburn <development@efficientek.com>
---
grub-core/disk/luks2.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/grub-core/disk/luks2.c b/grub-core/disk/luks2.c
index 371a53b83..fea196dd4 100644
--- a/grub-core/disk/luks2.c
+++ b/grub-core/disk/luks2.c
@@ -370,7 +370,10 @@ luks2_scan (grub_disk_t disk, const char *check_uuid, int
check_boot)
uuid[j] = '\0';
if (check_uuid && grub_strcasecmp (check_uuid, uuid) != 0)
- return NULL;
+ {
+ grub_dprintf ("luks2", "%s != %s\n", uuid, check_uuid);
+ return NULL;
+ }
cryptodisk = grub_zalloc (sizeof (*cryptodisk));
if (!cryptodisk)
--
2.27.0
- [PATCH v5 0/9] Refactor/improve cryptomount data passing to crypto modules, Glenn Washburn, 2021/12/09
- [PATCH v5 1/9] luks2: Add debug message to align with luks and geli modules,
Glenn Washburn <=
- [PATCH v5 2/9] cryptodisk: Refactor to discard have_it global, Glenn Washburn, 2021/12/09
- [PATCH v5 4/9] cryptodisk: Improve error messaging in cryptomount invocations, Glenn Washburn, 2021/12/09
- [PATCH v5 3/9] cryptodisk: Return failure in cryptomount when no cryptodisk modules are loaded, Glenn Washburn, 2021/12/09
- [PATCH v5 5/9] cryptodisk: Improve cryptomount -u error message, Glenn Washburn, 2021/12/09
- [PATCH v5 7/9] cryptodisk: Refactor password input out of crypto dev modules into cryptodisk, Glenn Washburn, 2021/12/09