Re: [PATCH v9 5/7] cryptodisk: Add options to cryptomount to support keyfiles

2022-05-05 Thread Glenn Washburn
On Fri, 29 Apr 2022 15:03:01 +0200 Daniel Kiper wrote: > On Mon, Apr 11, 2022 at 06:40:26AM +, Glenn Washburn wrote: > > From: John Lane > > > > Add the options --key-file, --keyfile-offset, and --keyfile-size to > > cryptomount and code to put read the requested key file data and pass > > v

Re: [PATCH v3] grub-mkconfig linux: Fix quadratic algorithm for sorting menu items

2022-05-05 Thread Oskari Pirhonen
On Thu, May 05, 2022 at 10:24:56AM -0400, Mathieu Desnoyers wrote: > The current implementation of the 10_linux script implements its menu > items sorting in bash with a quadratic algorithm, calling "sed", "sort", > "head", and "grep" to compare versions between individual lines, which > is annoyin

Re: [PATCH] efidisk: pass buffers with higher alignment

2022-05-05 Thread Vladimir 'phcoder' Serbinenko
Le jeu. 5 mai 2022, 15:55, Stefan Agner a écrit : > Despite the UEFI specification saying "the requirement is that the > start address of a buffer must be evenly divisible by IoAlign with > no remainder.", it seems that a higher alignment requirement is > neecssary on some system (e.g. a Intel NU

Re: [PATCH v3] grub-mkconfig linux: Fix quadratic algorithm for sorting menu items

2022-05-05 Thread Robbie Harwood
Mathieu Desnoyers writes: > The current implementation of the 10_linux script implements its menu > items sorting in bash with a quadratic algorithm, calling "sed", "sort", > "head", and "grep" to compare versions between individual lines, which > is annoyingly slow for kernel developers who can

[PATCH v3] grub-mkconfig linux: Fix quadratic algorithm for sorting menu items

2022-05-05 Thread Mathieu Desnoyers
The current implementation of the 10_linux script implements its menu items sorting in bash with a quadratic algorithm, calling "sed", "sort", "head", and "grep" to compare versions between individual lines, which is annoyingly slow for kernel developers who can easily end up with 50-100 kernels in

Re: [PATCH v2] grub-mkconfig linux: Fix quadratic algorithm for sorting menu items

2022-05-05 Thread Mathieu Desnoyers
- On May 5, 2022, at 9:53 AM, Mathieu Desnoyers mathieu.desnoy...@efficios.com wrote: > - On May 4, 2022, at 11:24 AM, Mathieu Desnoyers > mathieu.desnoy...@efficios.com wrote: > >> - On May 4, 2022, at 10:43 AM, Robbie Harwood rharw...@redhat.com wrote: >> >>> Mathieu Desnoyers wr

[PATCH] efidisk: pass buffers with higher alignment

2022-05-05 Thread Stefan Agner
Despite the UEFI specification saying "the requirement is that the start address of a buffer must be evenly divisible by IoAlign with no remainder.", it seems that a higher alignment requirement is neecssary on some system (e.g. a Intel NUC system with NVMe SSD). That particular system has IoAlign

Re: [PATCH v2] grub-mkconfig linux: Fix quadratic algorithm for sorting menu items

2022-05-05 Thread Mathieu Desnoyers
- On May 4, 2022, at 11:24 AM, Mathieu Desnoyers mathieu.desnoy...@efficios.com wrote: > - On May 4, 2022, at 10:43 AM, Robbie Harwood rharw...@redhat.com wrote: > >> Mathieu Desnoyers writes: >> >>> +version_reverse_sort () >>> +{ >>> + case $version_reverse_sort_sort_has_v in >>