Commit cb6c2c42 authored by Peter Korsgaard's avatar Peter Korsgaard
Browse files

grub: fix patch handling after AUTOTARGETS conversion



Closes #4093

AUTOTARGETS doesn't handle compressed patches, so the '400' patch did
not get applied.

Fix it by extracting the patch. With this, the '500' patch is no longer
needed.

Signed-off-by: default avatarPeter Korsgaard <jacmet@sunsite.dk>
parent d881a14f
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -10,6 +10,10 @@
	libxml-parser-perl, mtd, python, ti-utils, udev, usbmount,
	util-linux, xfont_font-misc-misc

	Issues resolved (http://bugs.uclibc.org):

	#4093: Grub fails to install bz2 patch after conversion to...

2011.08-rc1, Released August 4th, 2011:

	Fixes all over the tree and new features.
+49480 −0

File added.

Preview size limit exceeded, changes collapsed.

−321 KiB

File deleted.

+0 −14
Original line number Diff line number Diff line
--- grub-0.97.orig/netboot/main.c       2004-05-21 00:19:33.000000000 +0200
+++ grub-0.97/netboot/main.c    2007-07-20 02:31:28.000000000 +0200
@@ -54,9 +54,9 @@
 
 static int vendorext_isvalid;
 static unsigned long netmask;
-static struct bootpd_t bootp_data;
+struct bootpd_t bootp_data;
 static unsigned long xid;
-static unsigned char *end_of_rfc1533 = NULL;
+unsigned char *end_of_rfc1533 = NULL;

 #ifndef        NO_DHCP_SUPPORT
 #endif /* NO_DHCP_SUPPORT */