Gentoo Archives: gentoo-commits

From: "Robin H. Johnson (robbat2)" <robbat2@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo commit in src/patchsets/grub/0.97: 410_all_grub-0.97-dhcp-vendorclass.patch ChangeLog
Date: Fri, 25 Jun 2010 04:04:26
Message-Id: 20100625040423.2BA1B2CF55@corvid.gentoo.org
1 robbat2 10/06/25 04:04:23
2
3 Modified: ChangeLog
4 Added: 410_all_grub-0.97-dhcp-vendorclass.patch
5 Log:
6 Bug #160731: Support DHCP Vendorclass.
7
8 Revision Changes Path
9 1.6 src/patchsets/grub/0.97/ChangeLog
10
11 file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/grub/0.97/ChangeLog?rev=1.6&view=markup
12 plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/grub/0.97/ChangeLog?rev=1.6&content-type=text/plain
13 diff : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/grub/0.97/ChangeLog?r1=1.5&r2=1.6
14
15 Index: ChangeLog
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo/src/patchsets/grub/0.97/ChangeLog,v
18 retrieving revision 1.5
19 retrieving revision 1.6
20 diff -p -w -b -B -u -u -r1.5 -r1.6
21 --- ChangeLog 25 Jun 2010 04:03:41 -0000 1.5
22 +++ ChangeLog 25 Jun 2010 04:04:22 -0000 1.6
23 @@ -1,6 +1,10 @@
24 # ChangeLog for grub patchset
25 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
26 -# $Header: /var/cvsroot/gentoo/src/patchsets/grub/0.97/ChangeLog,v 1.5 2010/06/25 04:03:41 robbat2 Exp $
27 +# $Header: /var/cvsroot/gentoo/src/patchsets/grub/0.97/ChangeLog,v 1.6 2010/06/25 04:04:22 robbat2 Exp $
28 +
29 + 25 Jun 2010; Robin H. Johnson <robbat2@g.o>
30 + +410_all_grub-0.97-dhcp-vendorclass.patch:
31 + Bug #160731: Support DHCP Vendorclass.
32
33 25 Jun 2010; Robin H. Johnson <robbat2@g.o>
34 +840_all_grub-0.97_kvm_vda.patch, README-DEBIAN-PATCHES:
35
36
37
38 1.1 src/patchsets/grub/0.97/410_all_grub-0.97-dhcp-vendorclass.patch
39
40 file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/grub/0.97/410_all_grub-0.97-dhcp-vendorclass.patch?rev=1.1&view=markup
41 plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/grub/0.97/410_all_grub-0.97-dhcp-vendorclass.patch?rev=1.1&content-type=text/plain
42
43 Index: 410_all_grub-0.97-dhcp-vendorclass.patch
44 ===================================================================
45 X-Gentoo-Bug: 160731
46 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=160731
47 Patch: http://bugs.gentoo.org/attachment.cgi?id=105871&action=view
48
49 Add netboot DHCP Vendor class identifier.
50
51 http://savannah.gnu.org/bugs/?9451
52
53 --- netboot/main.c
54 +++ netboot/main.c
55 @@ -83,7 +83,9 @@
56 RFC2132_MAX_SIZE,2, /* request as much as we can */
57 ETH_MAX_MTU / 256, ETH_MAX_MTU % 256,
58 RFC2132_PARAM_LIST, 4, RFC1533_NETMASK, RFC1533_GATEWAY,
59 - RFC1533_HOSTNAME, RFC1533_EXTENSIONPATH
60 + RFC1533_HOSTNAME, RFC1533_EXTENSIONPATH,
61 + /* Vendor class identifier */
62 + RFC2132_VENDOR_CLASS_ID, 10, 'G', 'R', 'U', 'B', 'C', 'l', 'i', 'e', 'n', 't',
63 };
64
65 static const unsigned char dhcprequest[] =
66 @@ -103,6 +105,8 @@
67 /* Etherboot vendortags */
68 RFC1533_VENDOR_MAGIC,
69 RFC1533_VENDOR_CONFIGFILE,
70 + /* Vendor class identifier */
71 + RFC2132_VENDOR_CLASS_ID, 10, 'G', 'R', 'U', 'B', 'C', 'l', 'i', 'e', 'n', 't',
72 };
73
74 #endif /* ! NO_DHCP_SUPPORT */