I did not realize that the syslinux boot methods,
iso, net, & hdd do not have feature parity for any
given version. As per old comments etch syslinux
v3.31 does not support sub directories on FAT images
share more code.
Change pxelinux directory setup to match debian installer
Change syslinux templates to use {$VAR} syntax so the
templates are easier to read
Remove etch support for syslinux, since INCLUDE syntax
is not available in etch syslinux v3.31
To properly support syslinux menus we need to provide fonts (specially
when using accents and like) and those files are usually found on
systems using multiple dots on their filenames (e.g iso01.f14.psf) and
then makes sense to support this by default or our users can spent _a
lot_ of time to sort this kind of problem out.
While doing it, the duplicated command line has been removed and code
changed to avoid this duplication making future changes need to touch
just one place.
To allow better customization of resulting system, support to include
and exclude packages of base system has been added. It has been
included for debootstrap and cdebootstrap helpers.
A new common template called help.cfg has been included to avoid help
keys to be duplicated while prompt.cfg has been changed to be specific
to each mode since it has different requirements for initial text to
be displayed.
Other minor fixes were also been done during the spliting and then
included on this patch too.
All files from syslinux-menu templates directory has been moved to
syslinux/menu. lh_binary_syslinux had some changes to work with that
but they were minimal ones.
A set of new options has been add to allow the syslinux vesa menu
support to be added. Those are the new options:
- LH_SYSLINUX_CFG: set custom syslinux configuration file
- LH_SYSLINUX_MENU: set syslinux menu
- LH_SYSLINUX_MENU_LIVE_ENTRY: set text to be used on the menu for
live entries
- LH_SYSLINUX_MENU_LIVE_FAILSAFE_ENTRY: set text to be used on the
menu for live entries (failsafe ones)
- LH_SYSLINUX_MENU_MEMTEST_ENTRY: set text to be used on the menu
for memtest entry