rpms/yaboot/F-11 yaboot-1.3.14-no-birecs.patch, NONE, 1.1 yaboot.spec, 1.60, 1.61

David Woodhouse dwmw2 at fedoraproject.org
Sun Jun 7 08:07:08 UTC 2009


Author: dwmw2

Update of /cvs/pkgs/rpms/yaboot/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv12578

Modified Files:
	yaboot.spec 
Added Files:
	yaboot-1.3.14-no-birecs.patch 
Log Message:
Remove bi_recs. The kernel doesn't use them and overwriting the middle of the kernel text is considered harmful

yaboot-1.3.14-no-birecs.patch:

--- NEW FILE yaboot-1.3.14-no-birecs.patch ---
--- yaboot-1.3.14/second/yaboot.c~	2009-06-07 08:57:58.000000000 +0100
+++ yaboot-1.3.14/second/yaboot.c	2009-06-07 09:02:03.000000000 +0100
@@ -1243,7 +1243,7 @@ yaboot_text_ui(void)
 	  flush_icache_range ((long)loadinfo.base, (long)loadinfo.base+loadinfo.memsize);
 	  DEBUG_F(" done\n");
 
-	  if (flat_vmlinux) {
+	  if (0 && flat_vmlinux) {
 	       /*
 	        * Fill new boot infos (only if booting a vmlinux).
 	        *


Index: yaboot.spec
===================================================================
RCS file: /cvs/pkgs/rpms/yaboot/F-11/yaboot.spec,v
retrieving revision 1.60
retrieving revision 1.61
diff -u -p -r1.60 -r1.61
--- yaboot.spec	6 Apr 2009 05:51:50 -0000	1.60
+++ yaboot.spec	7 Jun 2009 08:06:37 -0000	1.61
@@ -1,7 +1,7 @@
 Summary: Linux bootloader for Power Macintosh "New World" computers.
 Name: yaboot
 Version: 1.3.14
-Release: 12%{?dist}
+Release: 13%{?dist}
 License: GPLv2+
 Group: System Environment/Base
 Source: http://yaboot.ozlabs.org/releases/yaboot-%{version}.tar.gz
@@ -26,6 +26,7 @@ Patch30: yaboot-1.3.14-fix-bootonce-nvra
 Patch31: yaboot-1.3.14-bigger-max-token.patch
 Patch32: yaboot-relocatable-kernel.patch
 Patch33: yaboot-1.3.14-better_netboot.patch
+Patch34: yaboot-1.3.14-no-birecs.patch
 
 URL: http://yaboot.ozlabs.org/
 BuildRoot: %{_tmppath}/%{name}-root
@@ -62,6 +63,7 @@ yaboot can also bootload IBM pSeries mac
 %patch31 -p1 -b .maxtoken
 %patch32 -p1 -b .relocatable
 %patch33 -p1 -b .netboot
+%patch34 -p1 -b .birecs
 
 %build
 make VERSIONEXTRA='\ (Red Hat %version-%release)'
@@ -97,6 +99,9 @@ rm -rf $RPM_BUILD_ROOT
 %ghost %config(noreplace) %{_sysconfdir}/yaboot.conf
 
 %changelog
+* Sun Jun 07 2009 David Woodhouse <David.Woodhouse at intel.com> - 1.3.14-13
+- Don't set up bi_recs. Especially not in the middle of the kernel text.
+
 * Mon Apr 06 2009 tony at bakeyournoodle.com - 1.3.14-12
 - Increase the TFTP load buffer from 20MiB to 25MiB. (#483051)
 




More information about the fedora-extras-commits mailing list