Re: grub-mkimage ignores compression option

2022-06-15 Thread Vladimir 'phcoder' Serbinenko
Documentation states that it works only on some platforms. Currently only on MIPS. i386-pc always uses lzma Le mer. 15 juin 2022, 00:39, Eugene Bright via Grub-devel < grub-devel@gnu.org> a écrit : > Option --compression doesn't affect the core image size. > Does it work at all? > > Running it wi

Re: [PATCH v3] grub-fs-tester: Add luks1 and luks2 support

2022-06-15 Thread Fabian Vogt
Hi, Am Mittwoch, 15. Juni 2022, 04:43:03 CEST schrieb Glenn Washburn: > From: Pierre-Louis Bonicoli > > The logical sector size used by LUKS1 is 512 bytes and LUKS2 uses 512 to > 4069 bytes. The deafualt password used is "pass", but can be overridden > by setting the PASS environment variable. T

[PATCH v5 0/2] Have LUKS2 cryptomounts be useable with grub-probe

2022-06-15 Thread Josselin Poiret via Grub-devel
Hello again, Following Michael's mail, here's hopefully the latest patch series! This fixes building on 32-bit by using grub_uint64_t indiscriminately, and removes the curly braces for the the two ifs at the end. Sorry for all the noise. Best, -- Josselin Poiret ___

[PATCH v5 1/2] devmapper/getroot: Have devmapper recognize LUKS2

2022-06-15 Thread Josselin Poiret via Grub-devel
Changes UUID comparisons so that LUKS1 and LUKS2 are both recognized as being LUKS cryptodisks. --- grub-core/osdep/devmapper/getroot.c | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/grub-core/osdep/devmapper/getroot.c b/grub-core/osdep/devmapper/getroot.c index 9

[PATCH v5 2/2] devmapper/getroot: Set up cheated LUKS2 cryptodisk mount from DM parameters

2022-06-15 Thread Josselin Poiret via Grub-devel
This lets a LUKS2 cryptodisk have its cipher and hash filled out, otherwise they wouldn't be initialized if cheat mounted. --- grub-core/osdep/devmapper/getroot.c | 87 - 1 file changed, 86 insertions(+), 1 deletion(-) diff --git a/grub-core/osdep/devmapper/getroot.c

Re: GRUB 2.12 release, etc.

2022-06-15 Thread Erwan Velu
Le ven. 10 juin 2022 à 19:21, Daniel Kiper a écrit : > Hi, > > {...} > I am not going to release any of earlier released versions with recent > security fixes on top of them. Though if somebody wants to step up and > prepare them I am happy to create relevant branch in the GRUB git > repository.

Re: [PATCH v3] grub-fs-tester: Add luks1 and luks2 support

2022-06-15 Thread Glenn Washburn
On Wed, 15 Jun 2022 11:43:25 +0200 Fabian Vogt wrote: > Hi, > > Am Mittwoch, 15. Juni 2022, 04:43:03 CEST schrieb Glenn Washburn: > > From: Pierre-Louis Bonicoli > > > > The logical sector size used by LUKS1 is 512 bytes and LUKS2 uses 512 to > > 4069 bytes. The deafualt password used is "pass

[PATCH v4] grub-fs-tester: Add luks1 and luks2 support

2022-06-15 Thread Glenn Washburn
From: Pierre-Louis Bonicoli The logical sector size used by LUKS1 is 512 bytes and LUKS2 uses 512 to 4069 bytes. The deafualt password used is "pass", but can be overridden by setting the PASS environment variable. The device mapper name is set to the name of the temp directory so that its easy t

Re: [PATCH v4] grub-fs-tester: Add luks1 and luks2 support

2022-06-15 Thread Pierre-Louis Bonicoli
On 15/06/2022 20.30, Glenn Washburn wrote: From: Pierre-Louis Bonicoli The logical sector size used by LUKS1 is 512 bytes and LUKS2 uses 512 to 4069 bytes. The deafualt password used is "pass", but can be overridden by setting the PASS environment variable. The device mapper name is set to the