Commit a35b5fbc authored by Mike Radyuk's avatar Mike Radyuk Committed by Michael Shigorin

added MENUITEM variable

parent c3a1b4a9
...@@ -25,6 +25,9 @@ distro/live-gns3: distro/live-icewm ...@@ -25,6 +25,9 @@ distro/live-gns3: distro/live-icewm
distro/server-systemd: distro/server-mini use/systemd distro/server-systemd: distro/server-mini use/systemd
@$(call set,KFLAVOURS,std-def) @$(call set,KFLAVOURS,std-def)
distro/server-test: distro/server-mini
@$(call set,MENUITEM,TeSt-SeRVer)
# tiny network-only server-ovz installer (stage2 comes over net too) # tiny network-only server-ovz installer (stage2 comes over net too)
distro/server-ovz-netinst: distro/.base sub/stage1 use/stage2 \ distro/server-ovz-netinst: distro/.base sub/stage1 use/stage2 \
use/syslinux/ui/menu use/syslinux/localboot.cfg use/memtest use/syslinux/ui/menu use/syslinux/localboot.cfg use/memtest
......
ui gfxboot bootlogo message ui gfxboot bootlogo message
menu title ALT Linux (@mkimage-profiles@) menu title @menuitem@
prompt 0 prompt 0
ui menu.c32 ui menu.c32
menu title ALT Linux (@mkimage-profiles@) menu title @menuitem@
prompt 0 prompt 0
say ALT Linux (@mkimage-profiles@) say @menuitem@
prompt 1 prompt 1
ui vesamenu ui vesamenu
menu title ALT Linux (@mkimage-profiles@) menu title @menuitem@
prompt 0 prompt 0
label linux label linux
menu label ^Install @distro@ menu label ^Install @menuitem@
kernel alt0/vmlinuz kernel alt0/vmlinuz
append initrd=alt0/full.cz changedisk fastboot showopts automatic=method:cdrom ramdisk_size=@altinst_size@ vga=0x314 @bootargs@ append initrd=alt0/full.cz changedisk fastboot showopts automatic=method:cdrom ramdisk_size=@altinst_size@ vga=0x314 @bootargs@
......
label netinst label netinst
menu label Install server-ovz via inter^net menu label Install @menuitem@ via inter^net
kernel alt0/vmlinuz kernel alt0/vmlinuz
append initrd=alt0/full.cz fastboot showopts automatic=method:http,network:dhcp,server:ftp.linux.kiev.ua,directory:/pub/Linux/ALT/people/mike/iso/mkimage-profiles/netinst/server-ovz/x86_64 quiet=1 ramdisk_size=131072 vga=0x314 append initrd=alt0/full.cz fastboot showopts automatic=method:http,network:dhcp,server:ftp.linux.kiev.ua,directory:/pub/Linux/ALT/people/mike/iso/mkimage-profiles/netinst/server-ovz/x86_64 quiet=1 ramdisk_size=131072 vga=0x314
### hardwired parameters and strings should become dynamic someday ### hardwired parameters and strings should become dynamic someday
......
...@@ -3,7 +3,7 @@ use/syslinux: sub/stage1 ...@@ -3,7 +3,7 @@ use/syslinux: sub/stage1
@$(call add_feature) @$(call add_feature)
@$(call add,STAGE1_PACKAGES,syslinux) @$(call add,STAGE1_PACKAGES,syslinux)
@$(call try,META_SYSTEM_ID,SYSLINUX) @$(call try,META_SYSTEM_ID,SYSLINUX)
@$(call set,MENUITEM,ALT Linux $(IMAGE_NAME))
# UI is overwritten # UI is overwritten
use/syslinux/ui/%: use/syslinux use/syslinux/ui/%: use/syslinux
@$(call set,SYSLINUX_UI,$*) @$(call set,SYSLINUX_UI,$*)
......
...@@ -52,6 +52,7 @@ all: debug timeout ...@@ -52,6 +52,7 @@ all: debug timeout
@sed -i 's,@mkimage-profiles@,$(IMAGE_NAME),' $(DSTDIR)/*.cfg @sed -i 's,@mkimage-profiles@,$(IMAGE_NAME),' $(DSTDIR)/*.cfg
@echo $(SYSLINUX_MODULES) > $(DSTDIR)/modules.list @echo $(SYSLINUX_MODULES) > $(DSTDIR)/modules.list
@echo $(SYSLINUX_FILES) > $(DSTDIR)/syslinux.list @echo $(SYSLINUX_FILES) > $(DSTDIR)/syslinux.list
@sed -i 's,@menuitem@,$(MENUITEM),' $(DSTDIR)/*.cfg
# integerity check # integerity check
timeout: distro timeout: distro
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment