[PATCH] Fix bad test on GRUB_DISABLE_SUBMENU.

2019-09-17 Thread Javier Martinez Canillas
From: Prarit Bhargava The file /etc/grub.d/10_linux does if [ "x$is_top_level" = xtrue ] && [ "x${GRUB_DISABLE_SUBMENU}" != xy ]; then when it should do if [ "x$is_top_level" = xtrue ] && [ "x${GRUB_DISABLE_SUBMENU}" != xtrue ]; then which results in submenus in /boot/grub2/grub.cfg when GRUB

[PATCH] Mark po/exclude.pot as binary so git won't try to diff nonprintables.

2019-09-17 Thread Javier Martinez Canillas
From: Peter Jones Signed-off-by: Peter Jones Signed-off-by: Javier Martinez Canillas --- .gitattributes | 1 + 1 file changed, 1 insertion(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 000..33ffaa40460 --- /dev/null +++

[PATCH] Add %X option to printf functions.

2019-09-17 Thread Javier Martinez Canillas
From: Paulo Flabiano Smorigo Signed-off-by: Paulo Flabiano Smorigo Signed-off-by: Javier Martinez Canillas --- grub-core/kern/misc.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/grub-core/kern/misc.c b/grub-core/kern/misc.c index 3b633d51f4c..76e7fb22872 100644 -

[PATCH] Add GRUB_DISABLE_UUID.

2019-09-17 Thread Javier Martinez Canillas
From: Peter Jones This will cause "search --fs-uuid --set=root ..." not to be generated by grub2-mkconfig, and instead simply attempt to use the grub device name as it understands it. Signed-off-by: Peter Jones Signed-off-by: Javier Martinez Canillas --- docs/grub.texi| 7 ++

[PATCH] Fix crash on http

2019-09-17 Thread Javier Martinez Canillas
From: Gustavo Luiz Duarte Don't free file->data on receiving FIN flag since it is used all over without checking. http_close() will be called later to free that memory. https://bugzilla.redhat.com/show_bug.cgi?id=860834 Signed-off-by: Gustavo Luiz Duarte Signed-off-by: Javier Martinez Canillas

[PATCH] Honor a symlink when generating configuration by grub2-mkconfig

2019-09-17 Thread Javier Martinez Canillas
From: Marcel Kolaja Honor a symlink when generating configuration by grub2-mkconfig, so that the -o option follows it rather than overwriting it with a regular file. Signed-off-by: Marcel Kolaja Signed-off-by: Javier Martinez Canillas --- util/grub-mkconfig.in | 3 ++- 1 file changed, 2 inse