[syslinux] SYSLINUX 3.40-pre15 -- more library work, Linux-loading demo module
Ferenc Wagner
wferi at niif.hu
Tue Apr 3 07:50:35 PDT 2007
"H. Peter Anvin" <hpa at zytor.com> writes:
> This stuff allows manipulating initramfs on the fly, if desired. As a
> demo, I have written up a module which loads a Linux kernel with all the
> usual stuff, but optionally adds the DHCP packet from the PXE stack into
> a file named /dhcpinfo.dat in the initramfs.
Hi,
I'm trying it out in version 3.50-pre2. First of all, the following
patch seems necessary:
--- linux.c 2007-04-03 16:46:00.566289677 +0200
+++ linux_new.c 2007-04-03 16:45:47.804863682 +0200
@@ -156,6 +156,7 @@
fprintf(stderr, "%s: unknown option: %s\n", progname, arg);
return 1;
}
+ argp++;
}
if (!arg) {
Even with this, my dhcpinfo.dat file is nothing but 12 zero bytes.
I'm trying to investigate this further, but could use some guidance.
--
Thanks,
Feri.
More information about the Syslinux
mailing list