Ram Yalamanchili
2007-Jan-11 18:57 UTC
[syslinux] Patch: Parse append arguments properly in mboot module
This is a resend since I didn't hear back from anyone. Hey guys, I noticed the appended ipappend options end up in the beginning of the cmdline argv[] when mboot is entered. mboot then tries to parse the first argument as the name of the kernel module and promptly fails cuz it can't find "ip=.." or "bootif=...". I'm attaching a patch which basically looks for any arguments in the argv[] array and appends them to the kernel cmdline. The arguments have to be back-to-back to be considered "appened options", so this should be safe enough to not take out-of-place arguments and tack onto the kernel cmdline. Last time i sent in some of the elf section loader patches, i think Peter had trouble importing time. Hopefully it works now. thanks, Ram Yalamanchili -------------- next part -------------- A non-text attachment was scrubbed... Name: syslinux_mboot_parse_append_args.patch Type: text/x-patch Size: 1552 bytes Desc: not available URL: <http://www.zytor.com/pipermail/syslinux/attachments/20070111/f3f7a9e2/attachment.bin>