rpms/grub/devel grub-0.97-efipxe.patch,1.1,1.2

Peter Jones pjones at fedoraproject.org
Fri Apr 3 19:11:22 UTC 2009


Author: pjones

Update of /cvs/extras/rpms/grub/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv32447

Modified Files:
	grub-0.97-efipxe.patch 
Log Message:
* Fri Apr 03 2009 Peter Jones <pjones at redhat.com> - 0.97-45
- Add very basic PXE support for EFI.


grub-0.97-efipxe.patch:

Index: grub-0.97-efipxe.patch
===================================================================
RCS file: /cvs/extras/rpms/grub/devel/grub-0.97-efipxe.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- grub-0.97-efipxe.patch	3 Apr 2009 18:34:11 -0000	1.1
+++ grub-0.97-efipxe.patch	3 Apr 2009 19:10:52 -0000	1.2
@@ -1267,10 +1267,15 @@
 index 0000000..383c451
 --- /dev/null
 +++ b/grub/efitftp.c
-@@ -0,0 +1,29 @@
+@@ -0,0 +1,34 @@
 +#include <shared.h>
 +#include <filesys.h>
 +
++int efi_tftp_mount (void);
++int efi_tftp_read (char *buf, int len);
++int efi_tftp_dir (char *dirname);
++void efi_tftp_close (void);
++
 +int
 +efi_tftp_mount (void)
 +{
@@ -1393,15 +1398,13 @@
 index 0000000..79db331
 --- /dev/null
 +++ b/stage2/efistubs.c
-@@ -0,0 +1,9 @@
+@@ -0,0 +1,7 @@
 +
 +#include "shared.h"
 +#include "efistubs.h"
 +
 +#if defined(PLATFORM_EFI)
 +int network_ready = 0;
-+#else
-+#error wtf
 +#endif /* defined(PLATFORM_EFI) */
 diff --git a/stage2/efistubs.h b/stage2/efistubs.h
 new file mode 100644




More information about the fedora-extras-commits mailing list