rpms/kernel/FC-6 linux-2.6-mac-raid-autorun.patch, NONE, 1.1 kernel-2.6.spec, 1.2857, 1.2858

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Tue Dec 5 15:25:43 UTC 2006


Author: dwmw2

Update of /cvs/dist/rpms/kernel/FC-6
In directory cvs.devel.redhat.com:/tmp/cvs-serv20171

Modified Files:
	kernel-2.6.spec 
Added Files:
	linux-2.6-mac-raid-autorun.patch 
Log Message:
Mac RAID autorun

linux-2.6-mac-raid-autorun.patch:
 mac.c |    2 ++
 1 files changed, 2 insertions(+)

--- NEW FILE linux-2.6-mac-raid-autorun.patch ---
diff --git a/fs/partitions/mac.c b/fs/partitions/mac.c
index c087100..b7dde97 100644
--- a/fs/partitions/mac.c
+++ b/fs/partitions/mac.c
@@ -74,6 +74,8 @@ #endif
 			be32_to_cpu(part->start_block) * (secsize/512),
 			be32_to_cpu(part->block_count) * (secsize/512));
 
+		if (!strnicmp(part->type, "Linux_RAID", 10))
+			state->parts[slot].flags = 1;
 #ifdef CONFIG_PPC_PMAC
 		/*
 		 * If this is the first bootable partition, tell the


Index: kernel-2.6.spec
===================================================================
RCS file: /cvs/dist/rpms/kernel/FC-6/kernel-2.6.spec,v
retrieving revision 1.2857
retrieving revision 1.2858
diff -u -r1.2857 -r1.2858
--- kernel-2.6.spec	21 Nov 2006 12:10:44 -0000	1.2857
+++ kernel-2.6.spec	5 Dec 2006 15:25:41 -0000	1.2858
@@ -331,6 +331,7 @@
 Patch309: linux-2.6-ppc-isapnp.patch
 Patch310: linux-2.6-g5-therm-shutdown.patch
 Patch311: linux-2.6-power6-no-ci-large-page.patch
+Patch312: linux-2.6-mac-raid-autorun.patch
 
 # 400 - 499   ia64
 Patch400: linux-2.6-ia64-futex.patch
@@ -887,6 +888,8 @@
 %patch310 -p1
 # Disable cache-inhibited 64KiB pages on POWER6
 %patch311 -p1
+# Flag RAID partitions with Mac partition tables for autorun
+%patch312 -p1
 
 # ia64 futex and [gs]et_robust_list
 %patch400 -p1
@@ -2071,6 +2074,9 @@
 %endif
 
 %changelog
+* Tue Dec  5 2006 David Woodhouse <dwmw2 at redhat.com>
+- Enable RAID autorun on mac partitions
+
 * Tue Nov 21 2006 Juan Quintela <quintela at redhat.com>
 - Update xen to 2.6.18.3.
   * linux-2.6.18-xen changeset:   36186:053cdad40903




More information about the fedora-cvs-commits mailing list