Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] boot/grub2: add information where is configuration file
@ 2023-01-09  7:33 AndreiCherniaev
  2023-02-21 22:01 ` Thomas Petazzoni via buildroot
  0 siblings, 1 reply; 2+ messages in thread
From: AndreiCherniaev @ 2023-01-09  7:33 UTC (permalink / raw)
  To: buildroot; +Cc: Thomas Petazzoni

because file
boot/grub2/grub.cfg
contains menu. If you want add, rename something in menu use grub.cfg file. This is example of grub.cfg
menuentry "Buildroot" {
	linux /boot/bzImage root=/dev/sda1 rootwait console=tty1
}

Signed-off-by: AndreiCherniaev <cherniaev.andrei@kairo.space>
---
 boot/grub2/Config.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/boot/grub2/Config.in b/boot/grub2/Config.in
index 92b5dd501b..bf0400c08f 100644
--- a/boot/grub2/Config.in
+++ b/boot/grub2/Config.in
@@ -125,6 +125,7 @@ config BR2_TARGET_GRUB2_BUILTIN_CONFIG_PC
 	  into the Grub image itself. This allows to set the root
 	  device and other configuration parameters, but however menu
 	  entries cannot be described in this embedded configuration.
+	  Use boot/grub2/grub.cfg to edit menu entries.
 
 endif # BR2_TARGET_GRUB2_HAS_LEGACY_BOOT
 
-- 
2.34.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-02-21 22:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-09  7:33 [Buildroot] [PATCH] boot/grub2: add information where is configuration file AndreiCherniaev
2023-02-21 22:01 ` Thomas Petazzoni via buildroot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox