[PATCH v3 1/2] lvm: add lvm cache logical volume handling

2020-03-03 Thread Michael Chang
The lvm cache logical volume is the logical volume consisting of the original and the cache pool logical volume. The original is usually on a larger and slower storage device while the cache pool is on a smaller and faster one. The performance of the original volume can be improved by storing the

[PATCH v3 2/2] docs: Document notes on LVM cache booting

2020-03-03 Thread Michael Chang
Add notes on LVM cache booting to the GRUB manual to help user understanding the outstanding issue and status. Signed-off-by: Michael Chang --- docs/grub.texi | 21 + 1 file changed, 21 insertions(+) diff --git a/docs/grub.texi b/docs/grub.texi index 83979af38..8e6f9acec

Re: [PATCH] fat: Support file modification times

2020-03-03 Thread Daniel Kiper
On Fri, Feb 28, 2020 at 11:25:43PM -0500, David Michael wrote: > E.g. this allows comparing file ages on EFI system partitions. > > Signed-off-by: David Michael > --- > > Hi, > > I tried to make a quick patch for #57621 based on the FAT timestamp > format as described on Wikipedia. Is there

Re: [PATCH] po: fix replacement of %m in sed programs

2020-03-03 Thread Daniel Kiper
On Mon, Mar 02, 2020 at 03:03:32PM -0500, Mike Gilbert wrote: > When running make dist, I hit this error: > > rm -f e...@arabic.gmo && /usr/bin/gmsgfmt -c --statistics --verbose -o > e...@arabic.gmo e...@arabic.po > e...@arabic.po:5312: 'msgstr' is not a valid C format string, unlike 'msgid'. >

Re: [PATCH v2] smbios: Add a --linux argument to apply linux modalias-like filtering

2020-03-03 Thread Daniel Kiper
On Tue, Mar 03, 2020 at 04:06:34PM +0100, Julian Andres Klode wrote: > Linux creates modalias strings by filtering out non-ASCII, space, > and colon characters. Provide an option that does the same filtering > so people can create a modalias string in grub, and then match their > modalias patterns

Re: [PATCH v2] smbios: Add a --linux argument to apply linux modalias-like filtering

2020-03-03 Thread Julian Andres Klode
On Tue, Mar 03, 2020 at 05:44:54PM +0100, Daniel Kiper wrote: > On Tue, Mar 03, 2020 at 04:06:34PM +0100, Julian Andres Klode wrote: > > @@ -261,6 +279,7 @@ grub_cmd_smbios (grub_extcmd_context_t ctxt, > > > >const grub_uint8_t *structure; > >const char *value; > > + char *modified_value

Re: master fails to create moddep.lst, related to luks2 changes

2020-03-03 Thread Daniel Kiper
Adding Patrick... On Tue, Mar 03, 2020 at 05:28:37PM +0100, Olaf Hering wrote: > On Tue, Mar 03, Paul Menzel wrote: > > > Please bisect the problem to found out the commit introducing the build > > regression in your environment. > > > git bisect start > # bad:

Re: [PATCH] btrfs: disable zstd support for i386-pc

2020-03-03 Thread Daniel Kiper
On Tue, Nov 19, 2019 at 08:34:12AM +, Michael Chang wrote: > On Fri, Nov 15, 2019 at 12:42:52PM +0100, Daniel Kiper wrote: > > On Thu, Nov 14, 2019 at 09:53:54AM +, Michael Chang wrote: > > > On Wed, Nov 13, 2019 at 12:00:50PM +0100, Daniel Kiper wrote: > > > > On Thu, Nov 07, 2019 at

Re: GRUB 2.06 release

2020-03-03 Thread Daniel Kiper
On Wed, Feb 19, 2020 at 04:01:38PM +0100, Daniel Kiper wrote: > Hi all, > > As I told during my FOSDEM 2020 presentation we are preparing for > GRUB 2.06 release. Tentative schedule is below: > - code freeze: 15th of March, 23:59:59 UTC; everything posted after > that date will not be

Re: [PATCH v2] smbios: Add a --linux argument to apply linux modalias-like filtering

2020-03-03 Thread Daniel Kiper
On Tue, Mar 03, 2020 at 05:51:55PM +0100, Julian Andres Klode wrote: > On Tue, Mar 03, 2020 at 05:44:54PM +0100, Daniel Kiper wrote: > > On Tue, Mar 03, 2020 at 04:06:34PM +0100, Julian Andres Klode wrote: > > > @@ -261,6 +279,7 @@ grub_cmd_smbios (grub_extcmd_context_t ctxt, > > > > > >const

Re: GRUB 2.06 release

2020-03-03 Thread John Paul Adrian Glaubitz
On 3/3/20 6:26 PM, Daniel Kiper wrote: > On Wed, Feb 19, 2020 at 04:01:38PM +0100, Daniel Kiper wrote: >> Hi all, >> >> As I told during my FOSDEM 2020 presentation we are preparing for >> GRUB 2.06 release. Tentative schedule is below: >> - code freeze: 15th of March, 23:59:59 UTC; everything

Re: master fails to create moddep.lst, related to luks2 changes

2020-03-03 Thread Olaf Hering
On Tue, Mar 03, Paul Menzel wrote: > Please bisect the problem to found out the commit introducing the build > regression in your environment. git bisect start # bad: [d5a32255de0e073881980fca0262000c865b30dd] misc: Make grub_strtol() "end" pointers have safer const qualifiers git bisect bad

Re: master fails to create moddep.lst, related to luks2 changes

2020-03-03 Thread Daniel Kiper
On Tue, Mar 03, 2020 at 12:18:18PM +0100, Paul Menzel wrote: > Dear Olaf, > > On 2020-03-03 09:48, Olaf Hering wrote: > > After upgrade from > > 4e75b2ae313b13b5bfb54cc5e5c53368d6eb2a08..d5a32255de0e073881980fca0262000c865b30dd > > I get this compile error: > > > > env CFLAGS=-Wall

Re: [PATCH 4/4] Update grub editenv to support modifying envblk

2020-03-03 Thread Daniel Kiper
On Tue, Feb 25, 2020 at 11:26:47AM -0800, Paul Dagnelie wrote: > This patch adds the capability for the editenv utility to modify the > envblk, and adds ZFS-specific handlers that will be built if GRUB is > built with libzfs support. It also adds logic that editenv uses to > detect GRUB's (root)

Re: [PATCH] Restore patches to po/Makefile.in.in

2020-03-03 Thread Daniel Kiper
On Sun, Mar 01, 2020 at 05:59:04PM +, Colin Watson wrote: > These were inadvertently lost during the conversion to Gnulib. The > files in po/gettext-patches/ can be imported using "git am" on top of > the gettext tag corresponding to AM_GNU_GETTEXT_VERSION in configure.ac > (currently

[PATCH] smbios: Add a --linux argument to apply linux modalias-like filtering

2020-03-03 Thread Julian Andres Klode
Linux creates modalias strings by filtering out non-ASCII, space, and colon characters. Provide an option that does the same filtering so people can create a modalias string in grub, and then match their modalias patterns against it. Signed-off-by: Julian Andres Klode ---

[PATCH v2] smbios: Add a --linux argument to apply linux modalias-like filtering

2020-03-03 Thread Julian Andres Klode
Linux creates modalias strings by filtering out non-ASCII, space, and colon characters. Provide an option that does the same filtering so people can create a modalias string in grub, and then match their modalias patterns against it. Signed-off-by: Julian Andres Klode ---

Re: [PATCH 2/4] Add envblk reading/writing functionality to GRUB

2020-03-03 Thread Daniel Kiper
On Tue, Feb 25, 2020 at 11:26:41AM -0800, Paul Dagnelie wrote: > We leverage the grub envblk file and fs functions to read from and > write to the envblk. We also tweak the editenv code by factoring out > the logic that creates the buffer with the envblk contents so it can > be reused. The commit

Re: [PATCH 3/4] Add ZFS envblock functions

2020-03-03 Thread Daniel Kiper
On Tue, Feb 25, 2020 at 11:26:45AM -0800, Paul Dagnelie wrote: > This patch adds a ZFS implementation of the new envblock functions, > storing the data for the envblock in the second padding area of the > label. This data is protected by an embedded checksum and is stored > redundantly, so even

Re: [PATCH 1/4] Add envblk open functions to grub file interface

2020-03-03 Thread Daniel Kiper
On Tue, Feb 25, 2020 at 11:26:35AM -0800, Paul Dagnelie wrote: > These functions are added to support the remainder of this patch set. > In order to add these special functions we have to refactor out the > logic that applies file filters so that it can be applied to both the > normal and envblk

[PATCH v2 2/2] fat: Support file modification times

2020-03-03 Thread David Michael
This allows comparing file ages on EFI system partitions. Signed-off-by: David Michael --- Changes since v1: - Added the previous patch to help support exfat - Added exfat timestamp conversion + setting - Switched to datetime variable name for consistency with the header - Switched to

[PATCH v2 1/2] exfat: Save the matching directory entry when iterating

2020-03-03 Thread David Michael
This provides the node's attributes outside the search function. Signed-off-by: David Michael --- I had to copy an extra struct to support exfat mtimes, so I put it in a separate patch for readability. grub-core/fs/fat.c | 31 --- 1 file changed, 16 insertions(+),

Re: GRUB 2.06 release

2020-03-03 Thread Patrick Steinhardt
On Tue, Mar 03, 2020 at 06:26:03PM +0100, Daniel Kiper wrote: > On Wed, Feb 19, 2020 at 04:01:38PM +0100, Daniel Kiper wrote: > > Hi all, > > > > As I told during my FOSDEM 2020 presentation we are preparing for > > GRUB 2.06 release. Tentative schedule is below: > > - code freeze: 15th of

Re: master fails to create moddep.lst, related to luks2 changes

2020-03-03 Thread Patrick Steinhardt
On Tue, Mar 03, 2020 at 05:52:24PM +0100, Daniel Kiper wrote: > Adding Patrick... > > On Tue, Mar 03, 2020 at 05:28:37PM +0100, Olaf Hering wrote: > > On Tue, Mar 03, Paul Menzel wrote: > > > > > Please bisect the problem to found out the commit introducing the build > > > regression in your

master fails to create moddep.lst, related to luks2 changes

2020-03-03 Thread Olaf Hering
After upgrade from 4e75b2ae313b13b5bfb54cc5e5c53368d6eb2a08..d5a32255de0e073881980fca0262000c865b30dd I get this compile error: env CFLAGS=-Wall CXXFLAGS=-Wall FFLAGS=-Wall ../grub2-src/configure --target=i386-suse-linux --with-platform=pc --prefix=/usr/lib64/grub2-chainloader

Re: master fails to create moddep.lst, related to luks2 changes

2020-03-03 Thread Paul Menzel
Dear Olaf, On 2020-03-03 09:48, Olaf Hering wrote: > After upgrade from > 4e75b2ae313b13b5bfb54cc5e5c53368d6eb2a08..d5a32255de0e073881980fca0262000c865b30dd > I get this compile error: > > env CFLAGS=-Wall CXXFLAGS=-Wall FFLAGS=-Wall ../grub2-src/configure > --target=i386-suse-linux