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
)
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: | 0.82 |
First Submitted: | 2022-01-02 14:06 (UTC) |
Last Updated: | 2024-03-09 00:19 (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
)
@Ax333l I'd be happy to help troubleshooting this, but I'm afraid I'll need detailed instructions. My error happens when running a simple "yay -S grub-improved-luks2-git" command.
nevernow's compilation error seems strange. Maybe try a different compiler?
I have not tested if this works on aarch64.
@nevernow, ok. Asking because I'm compiling for aarch64 and I thought it's related to different architecture. Well, apparently it's not.
@as400 Yes, I am. I worked around the issue by moving to a setup where the boot partition is not encrypted.
@nevernow have exactly the same errors. Are you compiling for x86_64 ?
You can already build the latest GRUB. Just delete the downloaded sources and rebuild the package.
Any ETA on when the latest GRUB will be patched for use with luks?
Sorry I haven't been here for a while.
@AlexBocken you usually use grub-install
with this AUR package instead of the grub-mkimage
method.
@Mateusz good that it works on your PC. Its the same for me: works on PC but not on my laptop.
@decepticlown you are probably right about it not being the memory allocator. Does luks1 work?
Thanks for maintaining this package!
Quick question: In the arch wiki it describes that one needs to rerun grub-mkimage
any time one changes the grub-pre.cfg
file. Does this mean nothing has to be done manually after updates or should I write a post-update hook for myself?
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