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

2018-04-07 Thread Nicholas Vinson
ramfs. The goal of this patch set is to enable root=PARTUUID=xxx support in grub-mkconfig, so that users don't have to manually edit /etc/default/grub or grub.cfg, or create an initramfs for the sole purpose of having a robust bootloader configuration for Linux. Thanks, Nicholas Vinson Nich

[GRUB PARTUUID PATCH V9 1/5] Centralize guid prints

2018-04-07 Thread Nicholas Vinson
Define print_gpt_guid(), so there is a central function for printing GUID strings. This change is a precursor for later patches which rely on this logic. Signed-off-by: Nicholas Vinson Reviewed-by: Daniel Kiper --- util/grub-probe.c | 30 +++--- 1 file changed, 15

[GRUB PARTUUID PATCH V9 2/5] Update grub_gpt_partentry

2018-04-07 Thread Nicholas Vinson
Linux partition GUID support. Signed-off-by: Nicholas Vinson --- grub-core/disk/ldm.c | 2 +- grub-core/partmap/gpt.c | 4 ++-- include/grub/gpt_partition.h | 8 util/grub-install.c | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/grub-core

[GRUB PARTUUID PATCH V9 4/5] Update grub script template files

2018-04-07 Thread Nicholas Vinson
Falsefs UUID True True True dev name Signed-off-by: Nicholas Vinson --- docs/grub.texi | 10 ++ util/grub-mkconfig.in | 3 +++ util/grub.d/10_linux.in | 18 +++--- 3 files changed, 28 insertions(+), 3 dele

[GRUB PARTUUID PATCH V9 3/5] Add PARTUUID detection support to grub-probe

2018-04-07 Thread Nicholas Vinson
Add PARTUUID detection support grub-probe for MBR and GPT partition schemes. Signed-off-by: Nicholas Vinson Reviewed-by: Daniel Kiper --- util/grub-probe.c | 46 ++ 1 file changed, 46 insertions(+) diff --git a/util/grub-probe.c b/util/grub-probe.c

[GRUB PARTUUID PATCH V9 5/5] Default to disabling partition UUID support

2018-04-07 Thread Nicholas Vinson
This patch updates grub.d/10_linux so that GRUB_DISABLE_LINUX_PARTUUID is set to 'true' if the system has not specified otherwise. Signed-off-by: Nicholas Vinson --- docs/grub.texi | 5 +++-- util/grub.d/10_linux.in | 4 2 files changed, 7 insertions(+), 2 deletions(-

[GRUB PARTUUID PATCH V10 0/4] Add PARTUUID detection support

2018-04-16 Thread Nicholas Vinson
ig pass the filesystem [GU]UID to the initramfs. The goal of this patch set is to enable root=PARTUUID=xxx support in grub-mkconfig, so that users don't have to manually edit /etc/default/grub or grub.cfg, or create an initramfs for the sole purpose of having a robust bootloader configuration

[GRUB PARTUUID PATCH V10 4/4] Update grub script template files

2018-04-16 Thread Nicholas Vinson
falsefs UUID true true true dev name Note: GRUB_DISABLE_LINUX_PARTUUID and GRUB_DISABLE_LINUX_UUID equate to 'false' when unset or set to any value other than 'true'. GRUB_DISABLE_LINUX_PARTUUID defaults to '

[GRUB PARTUUID PATCH V10 1/4] Centralize guid prints

2018-04-16 Thread Nicholas Vinson
Define print_gpt_guid(), so there is a central function for printing GUID strings. This change is a precursor for later patches which rely on this logic. Signed-off-by: Nicholas Vinson Reviewed-by: Daniel Kiper --- util/grub-probe.c | 30 +++--- 1 file changed, 15

[GRUB PARTUUID PATCH V10 3/4] Add PARTUUID detection support to grub-probe

2018-04-16 Thread Nicholas Vinson
Add PARTUUID detection support grub-probe for MBR and GPT partition schemes. Signed-off-by: Nicholas Vinson Reviewed-by: Daniel Kiper --- util/grub-probe.c | 46 ++ 1 file changed, 46 insertions(+) diff --git a/util/grub-probe.c b/util/grub-probe.c

[GRUB PARTUUID PATCH V10 2/4] Update grub_gpt_partentry

2018-04-16 Thread Nicholas Vinson
Linux partition GUID support. Signed-off-by: Nicholas Vinson --- grub-core/disk/ldm.c | 2 +- grub-core/partmap/gpt.c | 4 ++-- include/grub/gpt_partition.h | 8 util/grub-install.c | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/grub-core

Re: [PATCH] Add GRUB_DISABLE_UUID.

2019-09-20 Thread Nicholas Vinson
nd the root Linux partitions from a rescue media, even if the kernel has no associated initrd. Maybe Jacob could propose a patch for that, as he did for gpt? I have a patch for that. I just have not tested it yet. Thanks, Nicholas Vinson for the first part, so we only need to add an option for

[PATCH] probe: Support probing for msdos PARTUUID

2019-09-30 Thread Nicholas Vinson
Extend partition UUID probing support in GRUB core to display pseudo partition UUIDs for MBR (MSDOS) partitions. Signed-off-by: Nicholas Vinson --- grub-core/commands/probe.c | 43 +- 1 file changed, 29 insertions(+), 14 deletions(-) diff --git a/grub-core

Re: [PATCH v2] Add GRUB_DISABLE_UUID

2019-10-02 Thread Nicholas Vinson
false. It also sets the default values for GRUB_DISABLE_LINUX_PARTUUID in 10_linux.in and 20_linux_xen.in. Both minor issues, but I do wonder if they should be addressed. Thanks, Nicholas Vinson + # XXX: should this be deprecated at some point? if [ "x${G

Re: [PATCH] Enable pager by default

2019-10-22 Thread Nicholas Vinson
a very short message instructing people to set the variable to enable command paging. I believe this would handle both concerns. Nicholas Vinson Daniel ___ Grub-devel mailing list Grub-devel@gnu.org https://l

Re: [PATCH v3] Add GRUB_DISABLE_UUID

2019-10-23 Thread Nicholas Vinson
RB that would be perfect. I don't see any issues. Looks good to me. "Reviewed-by: Nicholas Vinson " Thanks, Nicholas Vinson --- Changes in v3: - Make the patch more consistent with the logic in commit 51be3372ec8 ("templates: Update grub script template files"

Re: workaround for MS Windows' insanity (ignores partition types / hidden flag since 2018)

2019-11-18 Thread Nicholas Vinson
GRUB to mount partition 2 as your initramfs would be handling it. Regards, Nicholas Vinson static inline int grub_msdos_partition_is_empty (int type) { return (type == GRUB_PC_PARTITION_TYPE_NONE); } to allow booting from partitions of type 0 empty/none. This should cause less

Re: [PATCH] Make grub_strtoul() "end" pointer have the right const params.

2020-02-04 Thread Nicholas Vinson
27;s a bug the compiler maintainers should fix. - Nicholas Vinson the tree, people appear to have abandoned trying to figure out C's syntax and instead of fixing it, chosen to cast a mutable pointer to an immutable array (i.e. const char *) to (char **) in order to get *end out corre

Re: [PATCH] Make grub_strtoul() "end" pointer have the right const params.

2020-02-18 Thread Nicholas Vinson
On 2/18/20 19:32, Peter Jones wrote: On Tue, Feb 04, 2020 at 08:04:30PM -0500, Nicholas Vinson wrote: On 2/4/20 16:02, Peter Jones wrote: grub_strtoul() and grub_strtoull() don't make the /pointer/ to "end" be const like normal implementations do, and as a result, at

Re: [PATCH] Add Fedora location of DejaVu SANS font

2021-12-06 Thread Nicholas Vinson
On 12/6/21 17:25, Robbie Harwood wrote: From: fluteze In Fedora 35, and possibly earlier, grub would fail to configure with a complaint about DejaVu being "not found" even though it was installed. The DejaVu sans font search path is updated to reflect the distribution's current install path. S

Re: [PATCH] Add Fedora location of DejaVu SANS font

2021-12-07 Thread Nicholas Vinson
On 12/7/21 15:04, Robbie Harwood wrote: Nicholas Vinson writes: Wouldn't it be better to modify configure.ac so the location could be passed in instead of having one-off patches for alternate locations? Something like --with-dejavu-font=/usr/share/fonts/dejavu-sans-fonts? That would

Re: [PATCH] Add Fedora location of DejaVu SANS font

2021-12-08 Thread Nicholas Vinson
On 12/8/21 12:58, Robbie Harwood wrote: Nicholas Vinson writes: On 12/7/21 15:04, Robbie Harwood wrote: Nicholas Vinson writes: Wouldn't it be better to modify configure.ac so the location could be passed in instead of having one-off patches for alternate locations? Something like -

Re: [PATCH] Add Fedora location of DejaVu SANS font

2021-12-08 Thread Nicholas Vinson
On 12/8/21 18:42, Robbie Harwood wrote: Nicholas Vinson writes: On 12/8/21 12:58, Robbie Harwood wrote: Nicholas Vinson writes: On 12/7/21 15:04, Robbie Harwood wrote: Nicholas Vinson writes: Wouldn't it be better to modify configure.ac so the location could be passed in inste

Re: [PATCH v3] commands/search: Add support to search by PARTUUID

2022-02-09 Thread Nicholas Vinson
sizeof(disk_sig), &disk_sig) == 0) + { + part_uuid = grub_xasprintf ("%08x-%02x", + grub_le_to_cpu32(disk_sig), + ptdisk->partition->ind

[GRUB PARTUUID PATCH 0/2] GRUB: Add PARTUUID Detection Support

2016-06-19 Thread Nicholas Vinson
initramfs. The goal of this patch set is to enable root=PARTUUID=xxx support in grub-mkconfig, so that users don't have to manually edit /etc/default/grub or grub.cfg, or create an initramfs for the sole purpose of having a robust bootloader configuration for Linux. Thanks, Nicholas Vinson

[GRUB PARTUUID PATCH 2/2] Update grub script template files

2016-06-19 Thread Nicholas Vinson
Update grub-mkconfig.in and 10_linux.in to support grub-probe's new partuuid target. Signed-off-by: Nicholas Vinson --- util/grub-mkconfig.in | 2 ++ util/grub.d/10_linux.in | 11 +-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/util/grub-mkconfig.in b/util

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

2016-06-19 Thread Nicholas Vinson
which would added to the runtime dependencies of grub-probe. Signed-off-by: Nicholas Vinson --- grub-core/partmap/gpt.c | 2 ++ grub-core/partmap/msdos.c | 12 -- include/grub/partition.h | 9 +++- util/grub-probe.c | 58 +++ 4

Re: [GRUB PARTUUID PATCH 2/2] Update grub script template files

2016-07-19 Thread Nicholas Vinson
Thanks, Nicholas Vinson Signed-off-by: Nicholas Vinson --- diff --git a/util/grub.d/10_linux.in b/util/grub.d/10_linux.in index 5a78513..dc9bab0 100644 --- a/util/grub.d/10_linux.in +++ b/util/grub.d/10_linux.in @@ -224,11 +224,11 @@ while [ "x$list" != "x" ] ; do elif

[GRUB PARTUUID PATCH V2 1/2] Add PARTUUID detection support to grub-probe

2016-08-06 Thread Nicholas Vinson
which would added to the runtime dependencies of grub-probe. Signed-off-by: Nicholas Vinson --- util/grub-probe.c | 83 +-- 1 file changed, 68 insertions(+), 15 deletions(-) diff --git a/util/grub-probe.c b/util/grub-probe.c index 8ac527d

[GRUB PARTUUID PATCH V2 0/2] Add PARTUUID detection support

2016-08-06 Thread Nicholas Vinson
ub.cfg, or create an initramfs for the sole purpose of having a robust bootloader configuration for Linux. Thanks, Nicholas Vinson Nicholas Vinson (2): Add PARTUUID detection support to grub-probe Update grub script template files docs/grub.texi | 13 util/grub-mkconfig.in

[GRUB PARTUUID PATCH V2 2/2] Update grub script template files

2016-08-06 Thread Nicholas Vinson
Update grub-mkconfig.in and 10_linux.in to support grub-probe's new partuuid target. Update grub.texi documenation. Signed-off-by: Nicholas Vinson --- docs/grub.texi | 13 + util/grub-mkconfig.in | 3 +++ util/grub.d/10_linux.in | 13 +++-- 3 files change

[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

[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 0/5] Add PARTUUID detection support

2017-02-26 Thread Nicholas Vinson
e initramfs. The goal of this patch set is to enable root=PARTUUID=xxx support in grub-mkconfig, so that users don't have to manually edit /etc/default/grub or grub.cfg, or create an initramfs for the sole purpose of having a robust bootloader configuration for Linux. Thanks, Nicholas Vinson Ni

[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 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 V4 1/3] Update grub_gpt_partentry; centralize guid prints

2017-05-14 Thread Nicholas Vinson
To help clean the code and simplify the code in util/grub-probe.c, this patch renames grub_gpt_part_type to grub_gpt_part_guid and updates grub_gpt_partentry to use this type for both the partition type GUID string and the partition GUID string entries. This patch also moves the GUID printing logi

[GRUB PARTUUID PATCH V4 0/3] Add PARTUUID detection support

2017-05-14 Thread Nicholas Vinson
flex-2.6.4 has been released and is not affected by the same issues. Thanks, Nicholas Vinson Changes from Patch v3: - Removed flex-2.6.3 compatibility patch - Removed Steve Kenton's patch Changes from Patch v2: - Added flex-2.6.3 compatibility patch - Fixed a GPT parti

[GRUB PARTUUID PATCH V4 2/3] Add PARTUUID detection support to grub-probe

2017-05-14 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 V4 3/3] Update grub script template files

2017-05-14 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 V5 1/3] Update grub_gpt_partentry; centralize guid prints

2018-02-04 Thread Nicholas Vinson
To help clean the code and simplify the code in util/grub-probe.c, this patch renames grub_gpt_part_type to grub_gpt_part_guid and updates grub_gpt_partentry to use this type for both the partition type GUID string and the partition GUID string entries. This patch also moves the GUID printing logi

[GRUB PARTUUID PATCH V5 0/3] Add PARTUUID detection support

2018-02-04 Thread Nicholas Vinson
. However, updating the microcode via initramfs allows the microcode to be updated independently of kernel updates. However, there doesn't seem to be any standard naming scheme for the microcode initramfs, so I chose not to include that change in this patch set. Thanks, Nicholas Vinson [1]

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

2018-02-04 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 | 9 + util/grub-mkconfig.in | 3 +++ util/grub.d/10_linux.in | 12 +--- 3 files changed, 21 insertions(+), 3 deletions(-) diff --gi

[GRUB PARTUUID PATCH V5 2/3] Add PARTUUID detection support to grub-probe

2018-02-04 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 V6 1/4] Centralize guid prints

2018-03-18 Thread Nicholas Vinson
Define print_gpt_guid(), so there is a central function for printing GUID strings. This change is a precursor for later patches which rely on this logic. Signed-off-by: Nicholas Vinson --- util/grub-probe.c | 30 +++--- 1 file changed, 15 insertions(+), 15 deletions

[GRUB PARTUUID PATCH V6 0/4] Add PARTUUID detection support

2018-03-18 Thread Nicholas Vinson
ve to manually edit /etc/default/grub or grub.cfg, or create an initramfs for the sole purpose of having a robust bootloader configuration for Linux. Thanks, Nicholas Vinson Nicholas Vinson (4): Centralize guid prints Update grub_gpt_partentry Add PARTUUID detection support to grub-probe

[GRUB PARTUUID PATCH V6 4/4] Update grub script template files

2018-03-18 Thread Nicholas Vinson
Update grub-mkconfig.in and 10_linux.in to support grub-probe's new partuuid target. Update grub.texi documenation. Signed-off-by: Nicholas Vinson --- docs/grub.texi | 9 + util/grub-mkconfig.in | 3 +++ util/grub.d/10_linux.in | 12 +--- 3 files change

[GRUB PARTUUID PATCH V6 2/4] Update grub_gpt_partentry

2018-03-18 Thread Nicholas Vinson
Linux partition GUID support. Signed-off-by: Nicholas Vinson --- grub-core/disk/ldm.c | 2 +- grub-core/partmap/gpt.c | 4 ++-- include/grub/gpt_partition.h | 8 util/grub-install.c | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/grub-core

[GRUB PARTUUID PATCH V6 3/4] Add PARTUUID detection support to grub-probe

2018-03-18 Thread Nicholas Vinson
Add PARTUUID detection support grub-probe for MBR and GPT partition schemes. Signed-off-by: Nicholas Vinson --- util/grub-probe.c | 51 +++ 1 file changed, 51 insertions(+) diff --git a/util/grub-probe.c b/util/grub-probe.c index 21cb80fbe

[GRUB PARTUUID PATCH V7 2/4] Update grub_gpt_partentry

2018-03-26 Thread Nicholas Vinson
Linux partition GUID support. Signed-off-by: Nicholas Vinson --- grub-core/disk/ldm.c | 2 +- grub-core/partmap/gpt.c | 4 ++-- include/grub/gpt_partition.h | 8 util/grub-install.c | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/grub-core

[GRUB PARTUUID PATCH V7 0/4] Add PARTUUID detection support

2018-03-26 Thread Nicholas Vinson
dit /etc/default/grub or grub.cfg, or create an initramfs for the sole purpose of having a robust bootloader configuration for Linux. Thanks, Nicholas Vinson Nicholas Vinson (4): Centralize guid prints Update grub_gpt_partentry Add PARTUUID detection support to grub-probe Update grub script tem

[GRUB PARTUUID PATCH V7 1/4] Centralize guid prints

2018-03-26 Thread Nicholas Vinson
Define print_gpt_guid(), so there is a central function for printing GUID strings. This change is a precursor for later patches which rely on this logic. Signed-off-by: Nicholas Vinson --- util/grub-probe.c | 30 +++--- 1 file changed, 15 insertions(+), 15 deletions

[GRUB PARTUUID PATCH V7 4/4] Update grub script template files

2018-03-26 Thread Nicholas Vinson
Update grub-mkconfig.in and 10_linux.in to support grub-probe's new partuuid target. Update grub.texi documenation. Signed-off-by: Nicholas Vinson --- docs/grub.texi | 9 + util/grub-mkconfig.in | 3 +++ util/grub.d/10_linux.in | 12 +--- 3 files change

[GRUB PARTUUID PATCH V7 3/4] Add PARTUUID detection support to grub-probe

2018-03-26 Thread Nicholas Vinson
Add PARTUUID detection support grub-probe for MBR and GPT partition schemes. Signed-off-by: Nicholas Vinson --- util/grub-probe.c | 48 1 file changed, 48 insertions(+) diff --git a/util/grub-probe.c b/util/grub-probe.c index 21cb80fbe

[GRUB PARTUUID PATCH V7.1 3/4] Add PARTUUID detection support to grub-probe

2018-03-27 Thread Nicholas Vinson
Add PARTUUID detection support grub-probe for MBR and GPT partition schemes. Signed-off-by: Nicholas Vinson --- util/grub-probe.c | 46 ++ 1 file changed, 46 insertions(+) diff --git a/util/grub-probe.c b/util/grub-probe.c index 21cb80fbe..8a013548a

[GRUB PARTUUID PATCH V8 1/4] Centralize guid prints

2018-03-28 Thread Nicholas Vinson
Define print_gpt_guid(), so there is a central function for printing GUID strings. This change is a precursor for later patches which rely on this logic. Signed-off-by: Nicholas Vinson Reviewed-by: Daniel Kiper --- util/grub-probe.c | 30 +++--- 1 file changed, 15

[GRUB PARTUUID PATCH V8 0/4] Add PARTUUID detection support

2018-03-28 Thread Nicholas Vinson
g pass the filesystem [GU]UID to the initramfs. The goal of this patch set is to enable root=PARTUUID=xxx support in grub-mkconfig, so that users don't have to manually edit /etc/default/grub or grub.cfg, or create an initramfs for the sole purpose of having a robust bootloader configuration

[GRUB PARTUUID PATCH V8 4/4] Update grub script template files

2018-03-28 Thread Nicholas Vinson
Update grub-mkconfig.in and 10_linux.in to support grub-probe's new partuuid target. Update grub.texi documenation. Signed-off-by: Nicholas Vinson --- docs/grub.texi | 9 + util/grub-mkconfig.in | 3 +++ util/grub.d/10_linux.in | 12 +--- 3 files change

[GRUB PARTUUID PATCH V8 2/4] Update grub_gpt_partentry

2018-03-28 Thread Nicholas Vinson
Linux partition GUID support. Signed-off-by: Nicholas Vinson Reviewed-by: Daniel Kiper --- grub-core/disk/ldm.c | 2 +- grub-core/partmap/gpt.c | 4 ++-- include/grub/gpt_partition.h | 8 util/grub-install.c | 2 +- 4 files changed, 8 insertions(+), 8 deletions

[GRUB PARTUUID PATCH V8 3/4] Add PARTUUID detection support to grub-probe

2018-03-28 Thread Nicholas Vinson
Add PARTUUID detection support grub-probe for MBR and GPT partition schemes. Signed-off-by: Nicholas Vinson --- util/grub-probe.c | 46 ++ 1 file changed, 46 insertions(+) diff --git a/util/grub-probe.c b/util/grub-probe.c index 21cb80fbe..8a013548a

[PATCH] configure.ac: warn if stack-protector not allowed

2022-06-14 Thread Nicholas Vinson
Previous version of configure.ac would error out when --enable-stack-protector was given and a selected GRUB platform did not support the flag. The new behavior is to warn that the flag is not supported and force disable it for that platform. Signed-off-by: Nicholas Vinson --- configure.ac | 3

Re: [PATCH] configure.ac: warn if stack-protector not allowed

2022-06-24 Thread Nicholas Vinson
On 6/24/22 12:28, Daniel Kiper wrote: Adding Chris... On Tue, Jun 14, 2022 at 06:19:00PM -0400, Nicholas Vinson wrote: Previous version of configure.ac would error out when --enable-stack-protector was given and a selected GRUB platform did not support the flag. The new behavior is to warn

Re: [PATCH] configure.ac: warn if stack-protector not allowed

2022-06-25 Thread Nicholas Vinson
On 6/24/22 21:11, Glenn Washburn wrote: On Fri, 24 Jun 2022 14:12:44 -0400 Nicholas Vinson wrote: On 6/24/22 12:28, Daniel Kiper wrote: Adding Chris... On Tue, Jun 14, 2022 at 06:19:00PM -0400, Nicholas Vinson wrote: Previous version of configure.ac would error out when --enable-stack

[PATCH v2] configure.ac: warn if stack-protector not allowed

2022-07-06 Thread Nicholas Vinson
e build wrapper script. If the second list is not properly maintained it could mistakenly disable SSP for a platform that later gained support for it. Signed-off-by: Nicholas Vinson --- configure.ac | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/configure.ac

Re: [PATCH v2] configure.ac: warn if stack-protector not allowed

2022-07-07 Thread Nicholas Vinson
On 7/7/22 09:17, Daniel Kiper wrote: On Wed, Jul 06, 2022 at 03:25:58AM -0400, Nicholas Vinson wrote: Introduce ERROR_PLATFORM_NOT_SUPPORT_SSP environment variable to treat the '--enable-stack-protector is only supported on EFI platforms' message as a warning instead of an

[PATCH v3] configure.ac: warn if stack-protector not allowed

2022-07-07 Thread Nicholas Vinson
e build wrapper script. If the second list is not properly maintained it could mistakenly disable SSP for a platform that later gained support for it. Signed-off-by: Nicholas Vinson --- configure.ac | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure

Re: [PATCH v5 1/2] json: Add function to unescape JSON-encoded strings

2022-07-11 Thread Nicholas Vinson
result[resultpos++] = values[2] << 4 | values[3]; + + /* Offset the increment that's coming in via the loop increment. */ + inpos--; + + break; + } + + default: + ret = grub_error (GRU

[PATCH 0/1] Grub2 clang MBR image fix

2023-01-12 Thread Nicholas Vinson
each image due to Clang creating a '.interp' section in the ELF reference image. This patch corrects that issue by updating the objcopy calls so the '.interp' section is not included when extracting the code from the ELF reference images. Nicholas Vinson (1): gentpl.py: Re

[PATCH 1/1] gentpl.py: Remove .interp section from .img files.

2023-01-12 Thread Nicholas Vinson
Whn building .img files, a .interp section from the .image files will sometimes be copied into the .img file. This additional section pushes the .img file beyond the 512-byte limit and causes grub-install to fail to run for i386-pc platforms. Signed-off-by: Nicholas Vinson --- gentpl.py | 2

Re: [PATCH] Add support for specifying the boot device by label

2023-09-12 Thread Nicholas Vinson
On 9/11/23 07:15, darkpenguin wrote: Hmmm, this is actually a good idea. Grub does determine the boot device by analyzing fstab, doesn't it? Why does it then use either UUIDs or device paths, based on a configuration in a separate file, instead of simply reusing exactly what it has found specifi

Re: [PATCH] Add support for specifying the boot device by label

2023-09-12 Thread Nicholas Vinson
On 9/12/23 03:42, darkpenguin wrote: On 12/09/23 06:54, Oskari Pirhonen wrote: On Mon, Sep 11, 2023 at 06:48:58 +, darkpenguin wrote: The decision to reuse GRUB_DISABLE_LINUX_UUID was because: 1) This is more of an addition on top of UUID rather than "disabling" it, it still uses UUID inte