Commit 102aa385 authored by Michael Shigorin's avatar Michael Shigorin

syslinux *.cfg: replace banner

Back then I didn't come up with anything smarter than "mkimage-profiles 2.0" (with my tongue in a cheek), but as m-p has grown up to 0.4 it's time to fix this. When done properly, all of the string should be brandable (with some sane default value inheriting from image name), but let's do it at least bit by bit.
parent 30b1aa9b
......@@ -23,4 +23,5 @@
TODO: может потребоваться обобщение механизма генерации с учётом
многоуровневых меню и включаемых файлов (которыми лучше не злоупотреблять
из соображений скорости инициализации загрузчика).
из соображений скорости инициализации загрузчика); требуется обеспечить
брендирование заголовков.
ui gfxboot bootlogo message
menu title mkimage-profiles 2.0
menu title ALT Linux (@mkimage-profiles@)
prompt 0
ui menu.c32
menu title mkimage-profiles 2.0
menu title ALT Linux (@mkimage-profiles@)
prompt 0
say mkimage-profiles 2.0
say ALT Linux (@mkimage-profiles@)
prompt 1
ui vesamenu
menu title mkimage-profiles 2.0
menu title ALT Linux (@mkimage-profiles@)
prompt 0
......@@ -45,9 +45,11 @@ cfg = $(wildcard cfg.in/??$(1).cfg)
#
# arguments get evaluated before recipe body execution thus prep
all: prep debug
cp -pLt $(DSTDIR) -- $(sort \
@cp -pLt $(DSTDIR) -- $(sort \
$(foreach C,$(SYSLINUX_CFG),$(call cfg,$(C))) \
$(foreach M,$(SYSLINUX_MODULES),$(call cfg,$(M))))
@### proper text branding should be implemented
@sed -i 's,@mkimage-profiles@,$(IMAGE_NAME),' $(DSTDIR)/*.cfg
@echo $(SYSLINUX_MODULES) > $(DSTDIR)/modules.list
@echo $(SYSLINUX_FILES) > $(DSTDIR)/files.list
@echo $(BOOTLOADER) > $(DSTDIR)/bootloader
......
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