* [PATCH][Bugfix] debian/grub.d/05_debian_theme: quote background image pathname in output
@ 2024-05-19 15:50 Pascal Hambourg
2024-05-19 15:50 ` [PATCH v2][Bugfix] util/grub.d/00_header.in: " Pascal Hambourg
0 siblings, 1 reply; 3+ messages in thread
From: Pascal Hambourg @ 2024-05-19 15:50 UTC (permalink / raw)
To: grub-devel
This is required if the pathname contains spaces or grub shell
metacharacters, else the generated config file check will fail.
Signed-off-by: Pascal Hambourg <pascal@plouf.fr.eu.org>
---
| 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--git a/util/grub.d/00_header.in b/util/grub.d/00_header.in
index 6a316a5ba..f86b69bad 100644
--- a/util/grub.d/00_header.in
+++ b/util/grub.d/00_header.in
@@ -275,7 +275,7 @@ EOF
prepare_grub_to_access_device `${grub_probe} --target=device "$GRUB_BACKGROUND"`
cat << EOF
insmod $reader
-background_image -m stretch `make_system_path_relative_to_its_root "$GRUB_BACKGROUND"`
+background_image -m stretch "`make_system_path_relative_to_its_root "$GRUB_BACKGROUND"`"
EOF
fi
fi
--
2.39.2
_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH v2][Bugfix] util/grub.d/00_header.in: quote background image pathname in output
2024-05-19 15:50 [PATCH][Bugfix] debian/grub.d/05_debian_theme: quote background image pathname in output Pascal Hambourg
@ 2024-05-19 15:50 ` Pascal Hambourg
2024-05-22 14:09 ` Daniel Kiper
0 siblings, 1 reply; 3+ messages in thread
From: Pascal Hambourg @ 2024-05-19 15:50 UTC (permalink / raw)
To: grub-devel
This is required if the pathname contains spaces or grub shell
metacharacters, else the generated config file check will fail.
Signed-off-by: Pascal Hambourg <pascal@plouf.fr.eu.org>
---
v2: Correct subject
| 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--git a/util/grub.d/00_header.in b/util/grub.d/00_header.in
index 6a316a5ba..f86b69bad 100644
--- a/util/grub.d/00_header.in
+++ b/util/grub.d/00_header.in
@@ -275,7 +275,7 @@ EOF
prepare_grub_to_access_device `${grub_probe} --target=device "$GRUB_BACKGROUND"`
cat << EOF
insmod $reader
-background_image -m stretch `make_system_path_relative_to_its_root "$GRUB_BACKGROUND"`
+background_image -m stretch "`make_system_path_relative_to_its_root "$GRUB_BACKGROUND"`"
EOF
fi
fi
--
2.39.2
_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH v2][Bugfix] util/grub.d/00_header.in: quote background image pathname in output
2024-05-19 15:50 ` [PATCH v2][Bugfix] util/grub.d/00_header.in: " Pascal Hambourg
@ 2024-05-22 14:09 ` Daniel Kiper
0 siblings, 0 replies; 3+ messages in thread
From: Daniel Kiper @ 2024-05-22 14:09 UTC (permalink / raw)
To: Pascal Hambourg; +Cc: grub-devel
On Sun, May 19, 2024 at 05:50:10PM +0200, Pascal Hambourg wrote:
> This is required if the pathname contains spaces or grub shell
> metacharacters, else the generated config file check will fail.
>
> Signed-off-by: Pascal Hambourg <pascal@plouf.fr.eu.org>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
Daniel
_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-05-22 14:09 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-19 15:50 [PATCH][Bugfix] debian/grub.d/05_debian_theme: quote background image pathname in output Pascal Hambourg
2024-05-19 15:50 ` [PATCH v2][Bugfix] util/grub.d/00_header.in: " Pascal Hambourg
2024-05-22 14:09 ` Daniel Kiper
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.