]> git.proxmox.com Git - grub2.git/commitdiff
2010-07-20 Colin Watson <cjwatson@ubuntu.com>
authorFelix Zielcke <fzielcke@z-51.de>
Tue, 20 Jul 2010 10:26:27 +0000 (11:26 +0100)
committerColin Watson <cjwatson@ubuntu.com>
Tue, 20 Jul 2010 10:26:27 +0000 (11:26 +0100)
* disk/raid.c (insert_array): Use md/%s to name mdadm 1.x devices,
removing the homehost if present.
* kern/emu/getroot.c (get_mdadm_name) [__linux__]: New function.
(grub_util_get_grub_dev): Use md/%s to name mdadm 1.x devices,
removing the homehost if present.
(grub_util_get_grub_dev) [__linux__]: Get the array name from mdadm
if possible.
* util/i386/pc/grub-setup.c (main): Handle md/* devices.

* disk/dmraid_nvidia.c (grub_dmraid_nv_detect): Add start_sector
parameter.  Set its pointer target to 0.
* disk/mdraid_linux.c (grub_mdraid_detect): Add start_sector
parameter.  Set its pointer target to 0 for 0.9 metadata, or to the
`data_offset' value from the superblock for 1.x metadata.
* disk/raid.c (grub_raid_read): Offset reads by the start sector of
data on the device.
(insert_array): Record the start sector of data on the device.
(grub_raid_register): Pass start_sector parameters to
grub_raid_list->detect and insert_array.
* include/grub/raid.h (struct grub_raid_array): Add start_sector
member.
(struct grub_raid): Add start_sector parameter to `detect'.

* disk/mdraid_linux.c (struct grub_raid_super_1x): Remove
__attribute__ ((packed)), leaving a comment.
(grub_mdraid_detect): Split out 0.9 and 1.x detection to ...
(grub_mdraid_detect_09): ... here and ...
(grub_mdraid_detect_1x): ... here.

2010-07-20  Peter Henn  <peter.henn@web.de>

* disk/mdraid_linux.c (grub_mdraid_detect): Fix calculation of 1.x
chunk size and disk size, which are already given as sector counts
as distinct from the 0.90 units.  Fetch the correct device number
from the role table instead of using the table index.

2010-07-20  Felix Zielcke  <fzielcke@z-51.de>

* disk/dmraid_nvidia.c (grub_dmraid_nv_detect): Set array->name to NULL.
* disk/mdraid_linux.c (grub_raid_super_1x): New structure.
(WriteMostly1): New macro.
Set array->name to NULL for metadata format 0.90.  Add support for
metadata 1.x.  Fix some comments.
* disk/raid.c (): Add support for name based RAID arrays.  Fix a
few comments.
* util/getroot.c (grub_util_get_grub_dev): Add support for
/dev/md/name style devices.

Also-By: Peter Henn <peter.henn@web.de>
Also-By: Colin Watson <cjwatson@ubuntu.com>
.bzrignore
ChangeLog
ChangeLog.raid [deleted file]
util/import_unicode.py

index daf9da53afe9cff0f895ec8ab9c40c60aa8d5f40..32b96b154df174ffc72d7449cea16229bfcee9fd 100644 (file)
@@ -1,5 +1,6 @@
 00_header
 10_*
+20_linux_xen
 30_os-prober
 40_custom
 41_custom
index 1f2e9356f71fd223092048f4c6fa17b5f2f39c0d..fab3ecb225cc93ac82f19554227d8fa6da43db61 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,61 @@
+2010-07-20  Colin Watson  <cjwatson@ubuntu.com>
+
+       * disk/raid.c (insert_array): Use md/%s to name mdadm 1.x devices,
+       removing the homehost if present.
+       * kern/emu/getroot.c (get_mdadm_name) [__linux__]: New function.
+       (grub_util_get_grub_dev): Use md/%s to name mdadm 1.x devices,
+       removing the homehost if present.
+       (grub_util_get_grub_dev) [__linux__]: Get the array name from mdadm
+       if possible.
+       * util/i386/pc/grub-setup.c (main): Handle md/* devices.
+
+       * disk/dmraid_nvidia.c (grub_dmraid_nv_detect): Add start_sector
+       parameter.  Set its pointer target to 0.
+       * disk/mdraid_linux.c (grub_mdraid_detect): Add start_sector
+       parameter.  Set its pointer target to 0 for 0.9 metadata, or to the
+       `data_offset' value from the superblock for 1.x metadata.
+       * disk/raid.c (grub_raid_read): Offset reads by the start sector of
+       data on the device.
+       (insert_array): Record the start sector of data on the device.
+       (grub_raid_register): Pass start_sector parameters to
+       grub_raid_list->detect and insert_array.
+       * include/grub/raid.h (struct grub_raid_array): Add start_sector
+       member.
+       (struct grub_raid): Add start_sector parameter to `detect'.
+
+       * disk/mdraid_linux.c (struct grub_raid_super_1x): Remove
+       __attribute__ ((packed)), leaving a comment.
+       (grub_mdraid_detect): Split out 0.9 and 1.x detection to ...
+       (grub_mdraid_detect_09): ... here and ...
+       (grub_mdraid_detect_1x): ... here.
+
+2010-07-20  Peter Henn  <peter.henn@web.de>
+
+       * disk/mdraid_linux.c (grub_mdraid_detect): Fix calculation of 1.x
+       chunk size and disk size, which are already given as sector counts
+       as distinct from the 0.90 units.  Fetch the correct device number
+       from the role table instead of using the table index.
+
+2010-07-20  Felix Zielcke  <fzielcke@z-51.de>
+
+       * disk/dmraid_nvidia.c (grub_dmraid_nv_detect): Set array->name to NULL.
+       * disk/mdraid_linux.c (grub_raid_super_1x): New structure.
+       (WriteMostly1): New macro.
+       Set array->name to NULL for metadata format 0.90.  Add support for
+       metadata 1.x.  Fix some comments.
+       * disk/raid.c (): Add support for name based RAID arrays.  Fix a
+       few comments.
+       * util/getroot.c (grub_util_get_grub_dev): Add support for
+       /dev/md/name style devices.
+
+2010-07-20  Colin Watson  <cjwatson@ubuntu.com>
+
+       * .bzrignore: Ignore 20_linux_xen.
+
+2010-07-17  Colin Watson  <cjwatson@ubuntu.com>
+
+       * util/import_unicode.py: Remove unnecessary imports.
+
 2010-07-17  Aleš Nesrsta <starous@volny.cz>
 
        Hotplugging and USB hub support.
diff --git a/ChangeLog.raid b/ChangeLog.raid
deleted file mode 100644 (file)
index 10215f7..0000000
+++ /dev/null
@@ -1,72 +0,0 @@
-2010-07-20  Colin Watson  <cjwatson@ubuntu.com>
-
-       * disk/mdraid_linux.c: Update copyright years.
-       * disk/raid.c: Likewise.
-       * include/grub/raid.h: Likewise.
-       * kern/emu/getroot.c: Likewise.
-
-2010-07-19  Colin Watson  <cjwatson@ubuntu.com>
-
-       * disk/mdraid_linux.c (struct grub_raid_super_1x): Remove
-       __attribute__ ((packed)), leaving a comment.
-       (grub_mdraid_detect): Split out 0.9 and 1.x detection to ...
-       (grub_mdraid_detect_09): ... here and ...
-       (grub_mdraid_detect_1x): ... here.
-       * disk/raid.c (insert_array): Check for grub_xasprintf returning
-       NULL.
-
-2010-07-18  Colin Watson  <cjwatson@ubuntu.com>
-
-       * disk/dmraid_nvidia.c (grub_dmraid_nv_detect): Add start_sector
-       parameter.  Set its pointer target to 0.
-       * disk/mdraid_linux.c (grub_mdraid_detect): Add start_sector
-       parameter.  Set its pointer target to 0 for 0.9 metadata, or to the
-       `data_offset' value from the superblock for 1.x metadata.
-       * disk/raid.c (grub_raid_read): Offset reads by the start sector of
-       data on the device.
-       (insert_array): Record the start sector of data on the device.
-       (grub_raid_register): Pass start_sector parameters to
-       grub_raid_list->detect and insert_array.
-       * include/grub/raid.h (struct grub_raid_array): Add start_sector
-       member.
-       (struct grub_raid): Add start_sector parameter to `detect'.
-
-2010-07-18  Colin Watson  <cjwatson@ubuntu.com>
-
-       * disk/raid.c (insert_array): Use md/%s to name mdadm 1.x devices,
-       removing the homehost if present.
-       * kern/emu/getroot.c (get_mdadm_name) [__linux__]: New function.
-       (grub_util_get_grub_dev): Use md/%s to name mdadm 1.x devices,
-       removing the homehost if present.
-       (grub_util_get_grub_dev) [__linux__]: Get the array name from mdadm
-       if possible.
-       * util/i386/pc/grub-setup.c (main): Handle md/* devices.
-
-2009-12-15  Peter Henn  <peter.henn@web.de>
-
-       * disk/mdraid_linux.c (grub_mdraid_detect): Fix calculation of 1.x
-       chunk size and disk size, which are already given as sector counts
-       as distinct from the 0.90 units.  Fetch the correct device number
-       from the role table instead of using the table index.
-2009-11-16  Felix Zielcke  <fzielcke@z-51.de>
-
-       * disk/mdraid_linux.c (grub_mdraid_detect): Remove a wrong call
-       of free().
-
-2009-11-16  Felix Zielcke  <fzielcke@z-51.de>
-
-       * disk/mdraid_linux.c (grub_mdraid_detect): Fix the unsupported
-       RAID version error with metadata 1.x.
-
-2009-11-06  Felix Zielcke  <fzielcke@z-51.de>
-
-       * disk/dmraid_nvidia.c (grub_dmraid_nv_detect): Set array->name to NULL.
-       * disk/mdraid_linux.c (grub_raid_super_1x): New structure.
-       (WriteMostly1): New macro.
-       Set array->name to NULL for metadata format 0.90.  Add support for
-       metadata 1.x.  Fix some comments.
-       * disk/raid.c (): Add support for name based RAID arrays.  Fix a
-       few comments.
-       * util/getroot.c (grub_util_get_grub_dev): Add support for
-       /dev/md/name style devices.
index 1ee162d3f180112d61e737ed022b287d93f1e9e5..8d17e7ef67c94b9c8feebadba9e4c42798afa677 100644 (file)
@@ -18,8 +18,6 @@
 
 import re
 import sys
-import os
-import datetime
 
 if len (sys.argv) < 3:
     print ("Usage: %s SOURCE DESTINATION" % sys.argv[0])