added MENUITEM variable
This commit is contained in:
parent
c3a1b4a934
commit
a35b5fbc21
@ -25,6 +25,9 @@ distro/live-gns3: distro/live-icewm
|
||||
distro/server-systemd: distro/server-mini use/systemd
|
||||
@$(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)
|
||||
distro/server-ovz-netinst: distro/.base sub/stage1 use/stage2 \
|
||||
use/syslinux/ui/menu use/syslinux/localboot.cfg use/memtest
|
||||
|
@ -1,3 +1,3 @@
|
||||
ui gfxboot bootlogo message
|
||||
menu title ALT Linux (@mkimage-profiles@)
|
||||
menu title @menuitem@
|
||||
prompt 0
|
||||
|
@ -1,3 +1,3 @@
|
||||
ui menu.c32
|
||||
menu title ALT Linux (@mkimage-profiles@)
|
||||
menu title @menuitem@
|
||||
prompt 0
|
||||
|
@ -1,2 +1,2 @@
|
||||
say ALT Linux (@mkimage-profiles@)
|
||||
say @menuitem@
|
||||
prompt 1
|
||||
|
@ -1,3 +1,3 @@
|
||||
ui vesamenu
|
||||
menu title ALT Linux (@mkimage-profiles@)
|
||||
menu title @menuitem@
|
||||
prompt 0
|
||||
|
@ -1,5 +1,5 @@
|
||||
label linux
|
||||
menu label ^Install @distro@
|
||||
menu label ^Install @menuitem@
|
||||
kernel alt0/vmlinuz
|
||||
append initrd=alt0/full.cz changedisk fastboot showopts automatic=method:cdrom ramdisk_size=@altinst_size@ vga=0x314 @bootargs@
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
label netinst
|
||||
menu label Install server-ovz via inter^net
|
||||
menu label Install @menuitem@ via inter^net
|
||||
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
|
||||
### hardwired parameters and strings should become dynamic someday
|
||||
|
@ -3,7 +3,7 @@ use/syslinux: sub/stage1
|
||||
@$(call add_feature)
|
||||
@$(call add,STAGE1_PACKAGES,syslinux)
|
||||
@$(call try,META_SYSTEM_ID,SYSLINUX)
|
||||
|
||||
@$(call set,MENUITEM,ALT Linux $(IMAGE_NAME))
|
||||
# UI is overwritten
|
||||
use/syslinux/ui/%: use/syslinux
|
||||
@$(call set,SYSLINUX_UI,$*)
|
||||
|
@ -52,6 +52,7 @@ all: debug timeout
|
||||
@sed -i 's,@mkimage-profiles@,$(IMAGE_NAME),' $(DSTDIR)/*.cfg
|
||||
@echo $(SYSLINUX_MODULES) > $(DSTDIR)/modules.list
|
||||
@echo $(SYSLINUX_FILES) > $(DSTDIR)/syslinux.list
|
||||
@sed -i 's,@menuitem@,$(MENUITEM),' $(DSTDIR)/*.cfg
|
||||
|
||||
# integerity check
|
||||
timeout: distro
|
||||
|
Loading…
Reference in New Issue
Block a user