[Debootloaders-devel] r50 - in trunk/yaboot: debian include second

Aurélien GÉRÔME ag-guest at costa.debian.org
Mon Jul 10 22:43:47 UTC 2006


Author: ag-guest
Date: 2006-07-10 22:43:45 +0000 (Mon, 10 Jul 2006)
New Revision: 50

Modified:
   trunk/yaboot/debian/changelog
   trunk/yaboot/include/fdisk-part.h
   trunk/yaboot/second/partition.c
Log:
Add Paul Nasrat's patch to boot RAID filesystems.


Modified: trunk/yaboot/debian/changelog
===================================================================
--- trunk/yaboot/debian/changelog	2006-07-10 22:34:34 UTC (rev 49)
+++ trunk/yaboot/debian/changelog	2006-07-10 22:43:45 UTC (rev 50)
@@ -5,8 +5,9 @@
   * Change section/priority from base/important to admin/optional to
   suppress override disparities shown by the PTS.
   * Fix yaboot booting with initramfs from XFS (closes: #336993).
+  * Fix to recognise RAID filesystems (closes: #233810).
 
- -- Aurélien GÉRÔME <ag at roxor.cx>  Tue, 11 Jul 2006 00:25:25 +0200
+ -- Aurélien GÉRÔME <ag at roxor.cx>  Tue, 11 Jul 2006 00:40:02 +0200
 
 yaboot (1.3.13-6) unstable; urgency=low
 

Modified: trunk/yaboot/include/fdisk-part.h
===================================================================
--- trunk/yaboot/include/fdisk-part.h	2006-07-10 22:34:34 UTC (rev 49)
+++ trunk/yaboot/include/fdisk-part.h	2006-07-10 22:43:45 UTC (rev 50)
@@ -27,6 +27,7 @@
 #define LINUX_SWAP      0x82
 #define LINUX_NATIVE    0x83
 #define LINUX_EXTENDED  0x85
+#define LINUX_RAID      0xfd
 
 struct fdisk_partition {
 	unsigned char boot_ind;         /* 0x80 - active */

Modified: trunk/yaboot/second/partition.c
===================================================================
--- trunk/yaboot/second/partition.c	2006-07-10 22:34:34 UTC (rev 49)
+++ trunk/yaboot/second/partition.c	2006-07-10 22:43:45 UTC (rev 50)
@@ -170,7 +170,7 @@
 	  (struct fdisk_partition *) (block_buffer + 0x1be);
 
      for (partition=1; partition <= 4 ;partition++, part++) {
-	  if (part->sys_ind == LINUX_NATIVE) {
+	  if (part->sys_ind == LINUX_NATIVE || part->sys_ind == LINUX_RAID) {
 	       add_new_partition(  list,
 				   partition,
 				   "Linux", /* type */





More information about the Debootloaders-devel mailing list