Am 06.07.2010 00:42, schrieb Daniel Baumann:
sounds mostly fine, i'll have a look to implement that. there are a couple of things to consider on the way, so it could take some days, once i've something ready, i'll ping you again, so you can test snapshots from syslinux.d-m.o.
Please find my first attempt attached. The files in the tarball need to get extracted into /etc/extlinux.d and the extlinux-update script into /usr/sbin, of course.
It's still a draft and it is only meant as a source of inspiration, but... it works!
It adds support for modularized configuration files in /etc/extlinux.d that follow a certain name scheme. The name space 0[0-9]_* is reserved for configuration files that do not output anything that needs to be added to extlinux.conf. The name space 1[0-9]_* is reserved for primary kernels that appear in the top-level menu. The remaining name space [2-9][0-9] is for additional kernel images. I have already added support for HDT, Memtest86/86+ and Invaders. Support for chainloading foreign OSes via os-prober could be added easily. Furthermore I have added support for the generic vesa menu by setting EXTLINUX_THEME="vesamenu". Just as everything else in this tarball, it is still a big hack with rough edges.
Again, if you don't like it, simply drop it. I just wanted to try something out and it actually works fine for me. If anything is unclear, don't hesitate to ask, I'll be glad about suggestions and feedback.
- Fabian
extlinux-update_rewrite_rev1.tar.gz
Description: application/gzip

