summaryrefslogtreecommitdiff
path: root/config/grub/xhci_nvme/patches/0008-Make-grub-install-work-with-Argon2.patch
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2025-10-02 23:47:31 +0100
committerLeah Rowe <leah@libreboot.org>2025-10-02 23:48:48 +0100
commitaf88a066d0e4fc5aaa63b2e7a4989d1f64b3f7b2 (patch)
tree070807dcf18f99f9bc3a070bbb55dddd23af199b /config/grub/xhci_nvme/patches/0008-Make-grub-install-work-with-Argon2.patch
parentd90defeae3e4e7c91ba521e44071d962abb33d3f (diff)
grub/xhci: rename to grub/xhci_nvme
we have the "default" tree, then the "nvme" tree which adds nvme support. the "xhci" tree adds xhci patches, *and* nvme patches. riku suggested that i rename it accordingly, and his advice was quite correct, indeed wise. this will reduce confusion for contributors, including *myself*. Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'config/grub/xhci_nvme/patches/0008-Make-grub-install-work-with-Argon2.patch')
-rw-r--r--config/grub/xhci_nvme/patches/0008-Make-grub-install-work-with-Argon2.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/config/grub/xhci_nvme/patches/0008-Make-grub-install-work-with-Argon2.patch b/config/grub/xhci_nvme/patches/0008-Make-grub-install-work-with-Argon2.patch
new file mode 100644
index 00000000..21ad8855
--- /dev/null
+++ b/config/grub/xhci_nvme/patches/0008-Make-grub-install-work-with-Argon2.patch
@@ -0,0 +1,26 @@
+From c114684bb103af427296e40b78adc0d036a9b237 Mon Sep 17 00:00:00 2001
+From: Ax333l <main@axelen.xyz>
+Date: Thu, 17 Aug 2023 00:00:00 +0000
+Subject: [PATCH 08/26] Make grub-install work with Argon2
+
+Signed-off-by: Nicholas Johnson <nick@nicholasjohnson.ch>
+---
+ util/grub-install.c | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/util/grub-install.c b/util/grub-install.c
+index 060246589..059036d3c 100644
+--- a/util/grub-install.c
++++ b/util/grub-install.c
+@@ -448,6 +448,8 @@ probe_mods (grub_disk_t disk)
+ {
+ grub_util_cryptodisk_get_abstraction (disk,
+ push_cryptodisk_module, NULL);
++ /* HACK: always push argon2 */
++ grub_install_push_module ("argon2");
+ have_abstractions = 1;
+ have_cryptodisk = 1;
+ }
+--
+2.39.5
+