]> git.proxmox.com Git - grub2.git/blobdiff - ChangeLog
more consistent patch naming
[grub2.git] / ChangeLog
index 9729f71d80b311828d51293c858825cfe27dd6c9..958c55c798e3ec34b9ac83f520bc20fdabf01b6f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,100 @@
+2010-08-04  Robert Millan  <rmh@gnu.org>
+
+       Support OpenSolaris in ZFS device resolution.
+
+       * configure.ac: Check for getmntany().
+       * kern/emu/misc.c [HAVE_GETMNTANY]: Include `<sys/mnttab.h>'.
+       [HAVE_GETMNTANY] (grub_find_zpool_from_mount_point): Add OpenSolaris
+       support.
+
+2010-08-03  Robert Millan  <rmh@gnu.org>
+
+       Fix grub-emu build.
+
+       * include/grub/util/misc.h: Move `<grub/util/libzfs.h>' to ...
+       * include/grub/emu/misc.h: ... here.
+
+       * include/grub/util/misc.h (grub_get_libzfs_handle): Move function ...
+       * include/grub/emu/misc.h (grub_get_libzfs_handle): ... here.
+
+       * util/misc.c: Remove `<grub/util/libzfs.h>'.
+       [HAVE_LIBZFS] (libzfs_handle, fini_libzfs)
+       (grub_get_libzfs_handle): Move to ...
+       * kern/emu/misc.c [HAVE_LIBZFS] (__libzfs_handle, fini_libzfs)
+       (grub_get_libzfs_handle): ... here.
+
+2010-08-03  BVK Chaitanya  <bvk.groups@gmail.com>
+
+       * script/execute.c (grub_script_execute_cmdline): Check for NULL
+       as command name case.
+
+2010-08-02  Colin Watson  <cjwatson@ubuntu.com>
+
+       * disk/raid.c (insert_array): Select unique numbers for named arrays
+       as well, for use as keys in the disk cache.
+
+2010-08-01  Robert Millan  <rmh@gnu.org>
+
+       * util/grub.d/10_kfreebsd.in: Initialize ${kfreebsd_device} as the
+       kFreeBSD device name, except on ZFS where the filesystem label is
+       used.
+       (kfreebsd_entry): On ZFS root, load `opensolaris.ko', `zfs.ko' and
+       `/boot/zfs/zpool.cache'.
+       Set mountfrom kernel variable using ${kfreebsd_device}.
+
+2010-08-01  Robert Millan  <rmh@gnu.org>
+
+       Make it even harder to use uninitialized `libzfs_handle' (and
+       make the interface a bit simpler).
+
+       * include/grub/util/misc.h (grub_util_init_libzfs)
+       (libzfs_handle): Remove.
+       (grub_get_libzfs_handle): New prototype.
+
+       * util/misc.c [HAVE_LIBZFS] (libzfs_handle): Add `static'
+       attribute.
+       (grub_util_init_libzfs): Remove.
+       (grub_get_libzfs_handle): New function.
+
+       * kern/emu/getroot.c (find_root_device_from_libzfs): Use
+       grub_get_libzfs_handle() to obtain a libzfs handle instead of
+       accessing `libzfs_handle' directly.
+
+2010-08-01  Robert Millan  <rmh@gnu.org>
+
+       * include/grub/emu/misc.h (grub_find_mount_point_from_dir)
+       (grub_find_zpool_from_mount_point): New function prototypes.
+
+       * kern/emu/getroot.c [HAVE_GETFSSTAT]: Move `<sys/mount.h>' to ...
+       * kern/emu/misc.c [HAVE_GETFSSTAT]: ... here.
+
+       * kern/emu/getroot.c (find_mount_point_from_dir): Move to ...
+       * kern/emu/misc.c (grub_find_mount_point_from_dir): ... this.  Remove
+       `static' attribute.
+
+       * kern/emu/getroot.c (find_root_device_from_libzfs): Split code for
+       finding zpool from mount point into ...
+       * kern/emu/misc.c (grub_find_zpool_from_mount_point): ... this.
+
+       * kern/emu/misc.c (grub_make_system_path_relative_to_its_root): When
+       requested path is part of a ZFS pool, use
+       grub_find_zpool_from_mount_point() to detect its filesystem name,
+       and generate a path with `/fsname@path' syntax.
+
+2010-08-01  Colin Watson  <cjwatson@ubuntu.com>
+
+       * include/grub/util/libzfs.h (libzfs_init): Set argument list to
+       (void) rather than () so that this is a proper prototype.
+
+2010-08-01  Vladimir Serbinenko  <phcoder@gmail.com>
+
+       * lib/arg.c (grub_arg_show_help): Add the necessary spacing.
+
+2010-08-01  Vladimir Serbinenko  <phcoder@gmail.com>
+
+       * kern/emu/getroot.c (find_mount_point_from_dir): Compile only if
+       [HAVE_LIBZFS && HAVE_LIBNVPAIR]
+
 2010-08-01  Colin Watson  <cjwatson@ubuntu.com>
 
        * util/grub-mkrescue.in: Remove ${efi_dir} after building efi.img.
 
        * kern/misc.c (grub_memset): Optimise to reduce cache stalls.
 
+2010-08-01  Robert Millan  <rmh@gnu.org>
+
+       * include/grub/emu/misc.h (grub_find_mount_point_from_dir)
+       (grub_find_zpool_from_mount_point): New function prototypes.
+
+       * kern/emu/getroot.c [HAVE_GETFSSTAT]: Move `<sys/mount.h>' to ...
+       * kern/emu/misc.c [HAVE_GETFSSTAT]: ... here.
+
+       * kern/emu/getroot.c (find_mount_point_from_dir): Move to ...
+       * kern/emu/misc.c (grub_find_mount_point_from_dir): ... this.  Remove
+       `static' attribute.
+
+       * kern/emu/getroot.c (find_root_device_from_libzfs): Split code for
+       finding zpool from mount point into ...
+       * kern/emu/misc.c (grub_find_zpool_from_mount_point): ... this.
+
+       * kern/emu/misc.c (grub_make_system_path_relative_to_its_root): When
+       requested path is part of a ZFS pool, use
+       grub_find_zpool_from_mount_point() to detect its filesystem name,
+       and generate a path with `/fsname@path' syntax.
+
 2010-08-01  Robert Millan  <rmh@gnu.org>
 
        Prevent accidental use of uninitialized libzfs_handle.
 2010-08-01  Robert Millan  <rmh@gnu.org>
 
        * kern/emu/getroot.c: Include `<grub/util/misc.h>'.
-       
+
 2010-07-31  Robert Millan  <rmh@gnu.org>
 
        * util/grub.d/10_kfreebsd.in: Make module handling more generic.