[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dhcp3-client and D-I



On Wed, May 17, 2006 at 02:55:02PM +0200, Geert Stappers wrote:
> On Wed, May 17, 2006 at 01:14:25AM +1000, Andrew Pollock wrote:
>   [ ... ]
> > Okay. I've had a preliminary play with ipconfig over the weekend. Seems
> > relatively straightforward to slot it into netcfg's dhcp.c. What I need to
> > understand is the necessity to set a vendor-class-identifier attribute in
> > with the request, is this a nicety or a need-to-have? ipconfig won't do it.
> > 
> > The other thing that ipconfig doesn't currently do is send the hostname with
> > the request, which is an optional feature for some people on cable. That's
> > potentially fixable though, as one of the ways of invoking ipconfig includes
> > a hostname.
> > 
> > I've built a udeb from ipconfig, and twiddled with netcfg enough to test it
> > out, I've just been having some problems rebuilding d-i, but I'll try again
> > during the week.
> 
> Is the source of the ipconfig udeb public available?  If yes: Where?

I made a privately hacked up udeb, here's the diff:

diff -urN klibc-1.3.19/debian/control klibc-udeb/debian/control
--- klibc-1.3.19/debian/control 2006-05-18 17:19:59.019824009 -0700
+++ klibc-udeb/debian/control   2006-05-14 16:04:36.159174709 -0700
@@ -37,3 +37,9 @@
  full-function counterparts.  They are intended for inclusion in
  initramfs images and embedded systems.

+Package: klibc-ipconfig
+XC-Package-Type: udeb
+Architecture: any
+Section: debian-installer
+Description: ipconfig built with klibc
+ This package contains just ipconfig from klibc
diff -urN klibc-1.3.19/debian/klibc-ipconfig.install klibc-udeb/debian/klibc-ipconfig.install
--- klibc-1.3.19/debian/klibc-ipconfig.install  1969-12-31 16:00:00.000000000 -0800
+++ klibc-udeb/debian/klibc-ipconfig.install    2006-05-17 22:08:10.808005100 -0700
@@ -0,0 +1,2 @@
+debian/tmp/usr/lib/klibc/bin/ipconfig
+debian/tmp/lib/klibc*.so
diff -urN klibc-1.3.19/debian/lintian/klibc-ipconfig klibc-udeb/debian/lintian/klibc-ipconfig
--- klibc-1.3.19/debian/lintian/klibc-ipconfig  1969-12-31 16:00:00.000000000 -0800
+++ klibc-udeb/debian/lintian/klibc-ipconfig    2006-05-14 16:06:01.988320755 -0700
@@ -0,0 +1 @@
+klibc-ipconfig: statically-linked-binary
a



Reply to: