syslinux: drop "menu label" for gfxboot

The issue is that gfxboot's gettext support works on "label"
strings but doesn't work properly on "menu label" ones as of 4.04
(the "menu label" translations pop up in the "Loading ..." window
but menu items themselves are unaffected thus untranslated).

NB: debian wheezy's syslinux-4.05 package patchset contains
somewhat related 07-gfxboot-menu-label.patch; might be worth
attention given that debian folks participate in upstream.
This commit is contained in:
Michael Shigorin 2013-02-07 14:07:27 +04:00
parent 5834dac8c8
commit c12f0c17bc

View File

@ -82,7 +82,7 @@ bootargs: clean
clean: copy
@if [ "$(SYSLINUX_UI)" = gfxboot ]; then \
sed -i "s,\^,," $(DSTDIR)/*.cfg; \
sed -i "s/\^//;/menu label /d" $(DSTDIR)/*.cfg; \
fi
copy: prep