Your message dated Tue, 29 Aug 2006 09:17:07 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#374982: fixed in klibc 1.4.27-1
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Package: klibc-utils
Severity: wishlist
On Fri, May 19, 2006 at 10:23:34AM +1000, Andrew Pollock wrote:
> On Wed, May 17, 2006 at 02:55:02PM +0200, Geert Stappers wrote:
> > 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
<snip/>
The patch applied cleanly, I got a working udeb from it.
To make klibc-ipconfig transmit the DHCP vendor class "d-i"
and get the DHCP preseeding filename in a text file, it needs the
attached patch.
Cheers
Geert Stappers
Thanks
Geert Stappers
diff -ruN -x debian klibc-1.3.19/usr/kinit/ipconfig/dhcp_proto.c
klibc-1.3.19-gst/usr/kinit/ipconfig/dhcp_proto.c
--- klibc-1.3.19/usr/kinit/ipconfig/dhcp_proto.c 2006-05-07
21:53:45.000000000 +0200
+++ klibc-1.3.19-gst/usr/kinit/ipconfig/dhcp_proto.c 2006-05-20
21:45:11.000000000 +0200
@@ -47,6 +47,7 @@
};
static __u8 dhcp_end[] = {
+ 60, 3, 100, 45, 105, /* Vendor class "d-i" */
255,
};
diff -ruN -x debian klibc-1.3.19/usr/kinit/ipconfig/netdev.h
klibc-1.3.19-gst/usr/kinit/ipconfig/netdev.h
--- klibc-1.3.19/usr/kinit/ipconfig/netdev.h 2006-05-07 21:53:45.000000000
+0200
+++ klibc-1.3.19-gst/usr/kinit/ipconfig/netdev.h 2006-05-21
01:26:53.000000000 +0200
@@ -5,6 +5,7 @@
#include <net/if.h>
#define BPLEN 40
+#define FNLEN 128 /* from RFC 2131, DHCP */
struct netdev {
const char *name; /* Device name */
@@ -38,6 +39,7 @@
char dnsdomainname[SYS_NMLN];/* dns domain name */
char nisdomainname[SYS_NMLN];/* nis domain name */
char bootpath[BPLEN]; /* boot path */
+ char filename[FNLEN]; /* filename */
struct netdev *next; /* next configured i/f */
};
diff -ruN -x debian klibc-1.3.19/usr/kinit/ipconfig/bootp_proto.c
klibc-1.3.19-gst/usr/kinit/ipconfig/bootp_proto.c
--- klibc-1.3.19/usr/kinit/ipconfig/bootp_proto.c 2006-05-07
21:53:45.000000000 +0200
+++ klibc-1.3.19-gst/usr/kinit/ipconfig/bootp_proto.c 2006-05-21
01:03:07.000000000 +0200
@@ -76,6 +76,7 @@
dev->hostname[0] = '\0';
dev->nisdomainname[0] = '\0';
dev->bootpath[0] = '\0';
+ memcpy(&dev->filename, &hdr->boot_file, FNLEN);
if (extlen >= 4 && exts[0] == 99 && exts[1] == 130 &&
exts[2] == 83 && exts[3] == 99) {
diff -ruN -x debian klibc-1.3.19/usr/kinit/ipconfig/main.c
klibc-1.3.19-gst/usr/kinit/ipconfig/main.c
--- klibc-1.3.19/usr/kinit/ipconfig/main.c 2006-05-07 21:53:45.000000000
+0200
+++ klibc-1.3.19-gst/usr/kinit/ipconfig/main.c 2006-05-21 01:28:23.000000000
+0200
@@ -71,6 +71,7 @@
printf(" nisdomain: %-64s\n", dev->nisdomainname);
printf(" rootserver: %s ", my_inet_ntoa(dev->ip_server));
printf("rootpath: %s\n", dev->bootpath);
+ printf(" filename : %s\n", dev->filename);
}
static void configure_device(struct netdev *dev)
@@ -108,6 +109,7 @@
fprintf(f, "NISDOMAIN=%s\n", dev->nisdomainname);
fprintf(f, "ROOTSERVER=%s\n", my_inet_ntoa(dev->ip_server));
fprintf(f, "ROOTPATH=%s\n", dev->bootpath);
+ fprintf(f, "FILENAME=%s\n", dev->filename);
fclose(f);
}
}
--- End Message ---
--- Begin Message ---
Source: klibc
Source-Version: 1.4.27-1
We believe that the bug you reported is fixed in the latest version of
klibc, which is due to be installed in the Debian FTP archive:
klibc-utils-udeb_1.4.27-1_amd64.udeb
to pool/main/k/klibc/klibc-utils-udeb_1.4.27-1_amd64.udeb
klibc-utils_1.4.27-1_amd64.deb
to pool/main/k/klibc/klibc-utils_1.4.27-1_amd64.deb
klibc_1.4.27-1.diff.gz
to pool/main/k/klibc/klibc_1.4.27-1.diff.gz
klibc_1.4.27-1.dsc
to pool/main/k/klibc/klibc_1.4.27-1.dsc
klibc_1.4.27.orig.tar.gz
to pool/main/k/klibc/klibc_1.4.27.orig.tar.gz
libklibc-dev_1.4.27-1_amd64.deb
to pool/main/k/klibc/libklibc-dev_1.4.27-1_amd64.deb
libklibc-udeb_1.4.27-1_amd64.udeb
to pool/main/k/klibc/libklibc-udeb_1.4.27-1_amd64.udeb
libklibc_1.4.27-1_amd64.deb
to pool/main/k/klibc/libklibc_1.4.27-1_amd64.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
maximilian attems <[EMAIL PROTECTED]> (supplier of updated klibc package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Fri, 25 Aug 2006 08:12:10 +0200
Source: klibc
Binary: libklibc-dev libklibc-udeb libklibc klibc-utils klibc-utils-udeb
Architecture: source amd64
Version: 1.4.27-1
Distribution: unstable
Urgency: low
Maintainer: maximilian attems <[EMAIL PROTECTED]>
Changed-By: maximilian attems <[EMAIL PROTECTED]>
Description:
klibc-utils - small statically-linked utilities built with klibc
klibc-utils-udeb - small statically-linked utilities built with klibc (udeb)
libklibc - minimal libc subset for use with initramfs
libklibc-dev - kernel headers used during the build of klibc
libklibc-udeb - minimal libc subset for use with initramfs (udeb)
Closes: 347827 374982
Changes:
klibc (1.4.27-1) unstable; urgency=low
.
* New upstream release (mips, sh, malloc, free, fnmatch, getopt_long)
- Corrects mips statfs (closes: 347827)
- Drop merged 08_nuke_no_error_return.patch
- Drop merged 05_ipconfig_d-i.patch (closes: 374982)
- Add build fix 08-revert_nostdinc_iwithprefix_include.patch.
Files:
085457d19ca505397d41c988476003a9 722 libs optional klibc_1.4.27-1.dsc
d2c607d1f14329cb7797f52121bf27aa 587180 libs optional klibc_1.4.27.orig.tar.gz
d1850ef3bc681a4983538533bfb8de65 14098 libs optional klibc_1.4.27-1.diff.gz
5022e61983bf76c7a08a5ebdedc6be81 1891776 libdevel optional
libklibc-dev_1.4.27-1_amd64.deb
a8d531727a4feccb38dbbe597d430b71 44906 libs optional
libklibc_1.4.27-1_amd64.deb
247f181489ec9a73f93ade2a784e0386 173708 libs optional
klibc-utils_1.4.27-1_amd64.deb
f6e022e1b08bacf32e7fce71b89bc9db 164390 debian-installer optional
klibc-utils-udeb_1.4.27-1_amd64.udeb
d7eec3ebe677453c8de7e332f548b334 36274 debian-installer optional
libklibc-udeb_1.4.27-1_amd64.udeb
Package-Type: udeb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
iD8DBQFE9GWw6n7So0GVSSARAqU6AJ9zr2S3j80OHFEMJ03Yf/4gDIPOxgCfSOB/
WkWU4vlRSGe4cNvAWYEC9rE=
=Ghu4
-----END PGP SIGNATURE-----
--- End Message ---