commit: 31cf7b6a8c42cd990149ad7591aef557243dc4ad
parent 90e2a0cb4a5f3f7d712f6dcdf8926141b2453cd9
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Sun, 27 Feb 2022 03:40:06 +0100
patches/sys-boot/grub: Update LUKS retry patch
Diffstat:
2 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/patches/sys-boot/grub/grub-2.04_luks_retry.patch b/patches/sys-boot/grub-2.04/grub-2.04_luks_retry.patch
diff --git a/patches/sys-boot/grub/grub-2.06_luks_retry.patch b/patches/sys-boot/grub/grub-2.06_luks_retry.patch
@@ -0,0 +1,14 @@
+diff --git a/grub-core/disk/luks.c.old b/grub-core/disk/luks.c
+index 86c50c6..672ecf3 100644
+--- a/grub-core/disk/luks.c.old
++++ b/grub-core/disk/luks.c
+@@ -464,7 +464,8 @@ luks_recover_key (grub_disk_t source,
+ }
+
+ grub_free (split_key);
+- return GRUB_ACCESS_DENIED;
++ //return GRUB_ACCESS_DENIED;
++ return luks_recover_key(source, dev, cargs);
+ }
+
+ struct grub_cryptodisk_dev luks_crypto = {