[PATCH 09/22] grub: Added release name to LiveCD menu items
Anton Midyukov
antohami at altlinux.org
Sun Jan 5 16:41:23 MSK 2020
In grub, you cannot set a header with a release name, as in syslinux.
---
features.in/grub/cfg.in/30live.cfg | 2 +-
features.in/grub/cfg.in/32live_rw.cfg | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/features.in/grub/cfg.in/30live.cfg b/features.in/grub/cfg.in/30live.cfg
index 5e4b85ada6..7986432113 100644
--- a/features.in/grub/cfg.in/30live.cfg
+++ b/features.in/grub/cfg.in/30live.cfg
@@ -1,4 +1,4 @@
-menuentry 'LiveCD (no hard disk needed)' --id 'live' {
+menuentry 'LiveCD @relname@ (no hard disk needed)' --id 'live' {
linux ÎÁ linux_suffix@ @boot_path@/vmlinuz changedisk fastboot live automatic=method:cdrom ramdisk_size=@live_size@ stagename=live showopts lowmem vga=@bootvga@ @bootargs@
initrd ÎÁ linux_suffix@ @boot_path@/full.cz
}
diff --git a/features.in/grub/cfg.in/32live_rw.cfg b/features.in/grub/cfg.in/32live_rw.cfg
index 4bac28aa65..4c00dd3d4f 100644
--- a/features.in/grub/cfg.in/32live_rw.cfg
+++ b/features.in/grub/cfg.in/32live_rw.cfg
@@ -1,4 +1,4 @@
-menuentry 'LiveCD with sessions support' --id 'session' {
+menuentry 'LiveCD @relname@ with sessions support' --id 'session' {
linux ÎÁ linux_suffix@ @boot_path@/vmlinuz changedisk fastboot live automatic=method:cdrom ramdisk_size=@live_size@ stagename=live showopts live_rw vga=@bootvga@ @bootargs@
initrd ÎÁ linux_suffix@ @boot_path@/full.cz
}
--
2.24.1
--------------E54E3444F4BC138E1CEC79A9
Content-Type: text/x-patch;
name="0010-install2-live-add-grub.cfg-support.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="0010-install2-live-add-grub.cfg-support.patch"
More information about the devel-distro
mailing list