Bug#502821: oldsys-preseed: Extract values for DNS-323
> The attached patch adds the ability to extract hostname and network
> information from the "nvram" of a DNS-323 (tested on a rev B1 machine).
> # Since we can't get at just the config file that we want (since we
> # have no minix filesystem support), we're grepping the whole MTD
Well, the real solution would be to add the minix module to the
kernel.
You have to:
1) Add minix-modules to linux-kernel-di-armel-2.6. This is a one line
change: create the file modules/armel-orion5x/minix-modules and
include the line:
#include <minix-modules>
2) edit
installer/build/pkg-lists/netboot/network-console/arm/orion5x.cfg and
add the new minix-modules
3) update your oldsys-preseed patch to mount the minix fs.
One more thing: it would be nice to add a test case (see tests/). You
can simply put the files you need into a tar file (rather than minix)
and then untar it... (for the test case)
--
Martin Michlmayr
http://www.cyrius.com/
Reply to: