Package Details: grub-improved-luks2-git 2.12.r10.g04d2a50f3-1

Git Clone URL: https://aur.archlinux.org/grub-improved-luks2-git.git (read-only, click to copy)
Package Base: grub-improved-luks2-git
Description: GNU GRand Unified Bootloader (2) with Argon2 support. Patch made by Patrick Steinhardt
Upstream URL: https://www.gnu.org/software/grub/
Licenses: GPL3, CC0
Conflicts: grub
Provides: grub
Submitter: Ax333l
Maintainer: Ax333l
Last Packager: Ax333l
Votes: 29
Popularity: 1.58
First Submitted: 2022-01-02 14:06 (UTC)
Last Updated: 2024-03-09 00:19 (UTC)

Dependencies (18)

Required by (314)

Sources (12)

Pinned Comments

Ax333l commented on 2022-02-17 18:58 (UTC) (edited on 2023-06-16 14:24 (UTC) by Ax333l)

I have disabled translations because they have been the cause of build failures in both this package and grub-git. If you want to re-enable them, check the PKGBUILD.

Also, make sure you have installed base-devel.

Argon2 might not work on some devices due to issues with the memory allocator

Latest Comments

1 2 3 4 5 6 .. 8 Next › Last »

jiko commented on 2025-01-20 12:09 (UTC) (edited on 2025-01-20 12:09 (UTC) by jiko)

Is there an alternative to using this package now when Argon2 is required?

Thanks to @zer0def's earlier comment, I was able to resolve current patch failures with the following:

diff --git a/argon_3.patch b/argon_3.patch
index bc39630..c032745 100644
--- a/argon_3.patch
+++ b/argon_3.patch
@@ -27,7 +27,7 @@ diff --git a/docs/grub-dev.texi b/docs/grub-dev.texi
 index 6c629a23e..ead2a8259 100644
 --- a/docs/grub-dev.texi
 +++ b/docs/grub-dev.texi
-@@ -490,11 +490,75 @@ GRUB includes some code from other projects, and it is sometimes necessary
+@@ -503,11 +503,75 @@ GRUB includes some code from other projects, and it is sometimes necessary
  to update it.

  @menu
@@ -35,6 +35,7 @@ index 6c629a23e..ead2a8259 100644
  * Gnulib::
  * jsmn::
  * minilzo::
+ * libtasn1::
  @end menu

 +@node Argon2

zer0def commented on 2024-12-29 23:12 (UTC)

$ git diff
diff --git a/argon_3.patch b/argon_3.patch
index bc39630..9a26bc9 100644
--- a/argon_3.patch
+++ b/argon_3.patch
@@ -27,7 +27,7 @@ diff --git a/docs/grub-dev.texi b/docs/grub-dev.texi
 index 6c629a23e..ead2a8259 100644
 --- a/docs/grub-dev.texi
 +++ b/docs/grub-dev.texi
-@@ -490,11 +490,75 @@ GRUB includes some code from other projects, and it is sometimes necessary
+@@ -490,12 +490,76 @@ GRUB includes some code from other projects, and it is sometimes necessary
  to update it.

  @menu
@@ -35,6 +35,7 @@ index 6c629a23e..ead2a8259 100644
  * Gnulib::
  * jsmn::
  * minilzo::
+ * libtasn1::
  @end menu

 +@node Argon2

fallenpixel commented on 2024-12-06 14:40 (UTC)

The argon_3.patch seems to be failing to patch documentation due to an added field in the menu structure. Editing the patch to include the libtasn1 line seems to resolve the issue.

 @menu
+* Argon2::
 * Gnulib::
 * jsmn::
 * minilzo::
 * libtasn1::
 @end menu

qoppzvrbcqjqqlbn commented on 2024-10-11 10:18 (UTC)

Installing this packages erases /etc/default/grub and resets it to the package version. Can we fix that?

hotice commented on 2024-01-30 22:19 (UTC) (edited on 2024-01-30 23:39 (UTC) by hotice)

How to change the default GRUB keylayout when entering password?

> you usually use grub-install with this AUR package instead of the grub-mkimage method

Yes, preferably with some parameter of grub-install so no need to create mkimage on every package update.

Mateusz commented on 2023-08-14 20:59 (UTC)

I hope this isn't against the rules of AUR but I've published a PKGBUILD for GRUB 2.12rc1 with the argon patchset applied. It's available here: https://gitlab.com/mattz7/pkgbuild-public

Mind you, grub.default contains "Artix" instead of "Arch" so you might want to change/sed that in the PKGBUILD. Also, If you've installed grub-improved-luks2-git the PKGBUILD does not account for this conflict so you either have to uninstall it manually or add the package name to the conflicts section in PKGBUILD.

Hope you find it useful!

MeganerdNL commented on 2023-08-12 18:06 (UTC)

For people asking when Grub2 will have official FULL support for LUKS2 (including Argon2): follow this: https://savannah.gnu.org/bugs/?55093

nevernow commented on 2023-08-06 15:41 (UTC)

@Ax333l I tried that and it seems to me that the process still uses gcc for grub-core:


make[2]: Leaving directory '/home/andrea/.cache/yay/grub-improved-luks2-git/src/grub/build_x86_64-efi'
Making all in grub-core
make[2]: Entering directory '/home/andrea/.cache/yay/grub-improved-luks2-git/src/grub/build_x86_64-efi/grub-core'
gcc -o gentrigtables -I../../include -std=gnu99 -fno-common  -DGRUB_FILE=\"gentrigtables.c\" -I. -I../../grub-core -I.. -I../.. -I../../include -I../include -I../../grub-core/lib/libgcrypt-grub/src/  ../../grub-core/gentrigtables.c -lm
bison -d -p grub_script_yy -b grub_script ../../grub-core/script/parser.y

It was clang until the first line in the block above.

Ax333l commented on 2023-08-06 14:17 (UTC)

You can change the compiler by setting the CC environment variable to clang (download it first).

Export it in your shell before running yay or put it in your makepkg.conf (/etc/makepkg.conf)