Cisneros, Jorge (George)
2011-Aug-18 22:31 UTC
[syslinux] [patch 1/1] syslinux: add suport for com32 entries inthe menu
No, we can use that, because I want to use the com32 module, in this case I want to use the chain.c32 to boot to Winpe. Cisneros, Jorge (George) wrote:> Problem: The actual code only check for entries with kernel or linux, so this example will not work, this patch is to > add support to gfxboot to detect the entry COM32 and use any module, in this case the module is chain.c32 > Version: Syslinux 4.04 > > Example: > UI gfxboot.c32 > > LABEL boot_hd0 > MENU LABEL Boot from first hard drive > COM32 chain.c32 > APPEND hd0Can't we just add the following instead? Sebastian diff --git a/com32/gfxboot/gfxboot.c b/com32/gfxboot/gfxboot.c index 35d180a..58fdc1b 100644 --- a/com32/gfxboot/gfxboot.c +++ b/com32/gfxboot/gfxboot.c @@ -381,6 +381,10 @@ int read_config_file(const char *filename) continue; } + if(!strcasecmp(s, "com32") && menu_ptr) { + continue; + } + if(!strcasecmp(s, "initrd") && menu_ptr) { menu_ptr->initrd = strdup(t); continue;
Reasonably Related Threads
- [patch 1/1] syslinux: add suport for com32 entries in the menu
- [PATCH] gfxboot: add include and menu include support
- [PATCH] gfxboot: support MENU LABEL statement
- [PATCH] gfxboot: allow boot entry to start with label instead of menu_label
- [PATCH] gfxboot.c32