Re: [GRUB PARTUUID PATCH V3 4/5] Support both EFI and NT Disk Signature for passing to kernel as root=PARTUUID=$val

2017-02-26 Thread Andrei Borzenkov
Отправлено с iPhone > 27 февр. 2017 г., в 3:35, Vladimir 'phcoder' Serbinenko > написал(а): > > > >> On Sun, Feb 26, 2017, 16:22 Nicholas Vinson wrote: >> From: Steve Kenton > > Please avoid resubmitting patches made by someone else in most cases. It > obscures proper attribution. We ca

Re: [GRUB PARTUUID PATCH V3 1/5] Fix flex-2.6.3 incompatbility issue

2017-02-26 Thread Andrei Borzenkov
27.02.2017 03:28, Vladimir 'phcoder' Serbinenko пишет: > Please explain why this patch is needed. I compile with 2.6.1 just fine > There is bug introduced in flex 2.6.2 (I believe) and fixed in current git, so in to be released 2.6.4. See https://savannah.gnu.org/bugs/index.php?50093 https://git

Re: [PATCH 1/1] add --partuuid to probe

2017-02-26 Thread Vladimir 'phcoder' Serbinenko
On Sat, Feb 18, 2017, 22:13 Andrei Borzenkov wrote: > 15.02.2017 20:25, Vladimir 'phcoder' Serbinenko пишет: > > On Wed, Feb 15, 2017, 17:27 Andrei Borzenkov > wrote: > > > >> 15.02.2017 13:56, Vladimir 'phcoder' Serbinenko пишет: > >>> On Tue, Feb 14, 2017, 19:01 Steve Kenton wrote: > >>> > >>

Re: [GRUB PARTUUID PATCH V3 4/5] Support both EFI and NT Disk Signature for passing to kernel as root=PARTUUID=$val

2017-02-26 Thread Vladimir 'phcoder' Serbinenko
On Sun, Feb 26, 2017, 16:22 Nicholas Vinson wrote: > From: Steve Kenton > Please avoid resubmitting patches made by someone else in most cases. It obscures proper attribution. We can review his patch in his thread > > --- > grub-core/commands/probe.c | 59 >

Re: [GRUB PARTUUID PATCH V3 5/5] Harmonize patches

2017-02-26 Thread Vladimir 'phcoder' Serbinenko
On Sun, Feb 26, 2017, 16:23 Nicholas Vinson wrote: > Optional patch. The goal is to make sure the probe command used in both > the grub core and the Linux userland use similar methods to read the > partition GUIDs. The patch also updates include/grub/gpt_partition.h so > the GUID type struct ca

Re: [GRUB PARTUUID PATCH V3 1/5] Fix flex-2.6.3 incompatbility issue

2017-02-26 Thread Vladimir 'phcoder' Serbinenko
Please explain why this patch is needed. I compile with 2.6.1 just fine On Sun, Feb 26, 2017, 16:22 Nicholas Vinson wrote: > --- > grub-core/script/yylex.l | 22 ++ > 1 file changed, 18 insertions(+), 4 deletions(-) > > diff --git a/grub-core/script/yylex.l b/grub-core/scrip

[GRUB PARTUUID PATCH V3 5/5] Harmonize patches

2017-02-26 Thread Nicholas Vinson
Optional patch. The goal is to make sure the probe command used in both the grub core and the Linux userland use similar methods to read the partition GUIDs. The patch also updates include/grub/gpt_partition.h so the GUID type struct can be used for both the type GUID and the partition GUID witho

[GRUB PARTUUID PATCH V3 2/5] Add PARTUUID detection support to grub-probe

2017-02-26 Thread Nicholas Vinson
Add PARTUUID detection support grub-probe for MBR and GPT partition schemes. The Linux kernel supports mounting the root filesystem by Linux device name or by the Partition [GU]UID. GRUB's mkconfig, however, currently only supports specifing the rootfs in the kernel command-line by Linux device n

[GRUB PARTUUID PATCH V3 0/5] Add PARTUUID detection support

2017-02-26 Thread Nicholas Vinson
Changes from Patch v2: - Added flex-2.6.3 compatibility patch - Fixed a GPT partition read error - Added Steve Kenton's patch - Changed struct grub_part_gpt_type name to struct grub_part_gpt_part_guid - Changed grub_part_gpt_type_t typedef name to grub_part_gpt_guid_t

[GRUB PARTUUID PATCH V3 3/5] Update grub script template files

2017-02-26 Thread Nicholas Vinson
Update grub-mkconfig.in and 10_linux.in to support grub-probe's new partuuid target. Update grub.texi documenation. --- docs/grub.texi | 13 + util/grub-mkconfig.in | 3 +++ util/grub.d/10_linux.in | 13 +++-- 3 files changed, 27 insertions(+), 2 deletions(-) diff

[GRUB PARTUUID PATCH V3 1/5] Fix flex-2.6.3 incompatbility issue

2017-02-26 Thread Nicholas Vinson
--- grub-core/script/yylex.l | 22 ++ 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/grub-core/script/yylex.l b/grub-core/script/yylex.l index 95b219170..3917904b4 100644 --- a/grub-core/script/yylex.l +++ b/grub-core/script/yylex.l @@ -31,10 +31,6 @@ #pragma G

[GRUB PARTUUID PATCH V3 4/5] Support both EFI and NT Disk Signature for passing to kernel as root=PARTUUID=$val

2017-02-26 Thread Nicholas Vinson
From: Steve Kenton --- grub-core/commands/probe.c | 59 ++ 1 file changed, 59 insertions(+) diff --git a/grub-core/commands/probe.c b/grub-core/commands/probe.c index cf2793e1d..5dd1a6bc5 100644 --- a/grub-core/commands/probe.c +++ b/grub-core/command