Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mkimage-profiles
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ximper Linux
mkimage-profiles
Commits
9ec3ad1b
Commit
9ec3ad1b
authored
Jan 21, 2025
by
Anton Midyukov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
live, grub, syslinux: Change the name of the LiveCD item through $(LIVE_NAME)
Distro-developers have developed request to call this menu item something special.
parent
8b3cabf1
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
2 deletions
+5
-2
30live.cfg
features.in/grub/cfg.in/30live.cfg
+1
-1
generate.mk
features.in/grub/generate.mk
+1
-0
config.mk
features.in/live/config.mk
+1
-0
30live.cfg
features.in/syslinux/cfg.in/30live.cfg
+1
-1
generate.mk
features.in/syslinux/generate.mk
+1
-0
No files found.
features.in/grub/cfg.in/30live.cfg
View file @
9ec3ad1b
menuentry $"
LiveCD
" --id 'live' {
menuentry $"
@LIVE_NAME@
" --id 'live' {
savedefault
echo $"Loading Linux vmlinuz$KFLAVOUR ..."
linux /boot/vmlinuz$KFLAVOUR fastboot live @initrd_bootargs@ @stagename@=live ramdisk_size=@live_size@ lowmem @bootargs@ lang=$lang
...
...
features.in/grub/generate.mk
View file @
9ec3ad1b
...
...
@@ -112,6 +112,7 @@ bootargs: clean
@sed -i "s|@initrd_typeargs@|$(STAGE1_INITRD_TYPEARGS)|g" $(DSTCFGS)
@sed -i "s,@stagename@,$(STAGE1_INITRD_STAGE2_OPTION),g" $(DSTCFGS)
@sed -i "s,@install2_init@,$(INSTALL2_INIT),g" $(DSTCFGS)
@sed -i "s,@LIVE_NAME@,$(LIVE_NAME),g" $(DSTCFGS)
clean: copy
@if [ "$(GRUB_UI)" = gfxboot ]; then \
...
...
features.in/live/config.mk
View file @
9ec3ad1b
...
...
@@ -21,6 +21,7 @@ use/live: use/stage2 sub/rootfs@live sub/stage2@live \
@$(call add,DEFAULT_SERVICES_DISABLE,$(_OFF))
@$(call add,CONTROL,rpcbind:local)
@$(call xport,LIVE_CLEANUP_KDRIVERS)
@$(call try,LIVE_NAME,LiveCD)
use/live/.base: use/live use/syslinux/ui/menu
@$(call add,LIVE_LISTS,$(call tags,base live))
...
...
features.in/syslinux/cfg.in/30live.cfg
View file @
9ec3ad1b
label live
menu label ^
LiveCD (no hard disk needed)
menu label ^
@LIVE_NAME@
kernel /boot/vmlinuz
append initrd=/boot/@initrd@ fastboot live @initrd_bootargs@ @stagename@=live ramdisk_size=@live_size@ showopts lowmem vga=@bootvga@ @bootargs@
features.in/syslinux/generate.mk
View file @
9ec3ad1b
...
...
@@ -95,6 +95,7 @@ bootargs: clean
@sed -i "s|@initrd_typeargs@|$(STAGE1_INITRD_TYPEARGS)|g" $(DSTCFGS)
@sed -i "s,@stagename@,$(STAGE1_INITRD_STAGE2_OPTION),g" $(DSTCFGS)
@sed -i "s,@install2_init@,$(INSTALL2_INIT),g" $(DSTCFGS)
@sed -i "s,@LIVE_NAME@,$(LIVE_NAME),g" $(DSTCFGS)
clean: copy
@if [ "$(SYSLINUX_UI)" = gfxboot ]; then \
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment