]> git.proxmox.com Git - grub2.git/commit - util/grub-probe.c
2008-01-12 Robert Millan <rmh@aybabtu.com>
authorrobertmh <robertmh@localhost>
Sat, 12 Jan 2008 15:11:57 +0000 (15:11 +0000)
committerrobertmh <robertmh@localhost>
Sat, 12 Jan 2008 15:11:57 +0000 (15:11 +0000)
commit1eb8c8024123e6e4efce69d73e896b36ab65bbac
treecbaac16fb0c4cbe8a0be11e3c6dd7809c869efb6
parent52bd3de956d74b4e0ee268ee82b91da1e8aea1df
2008-01-12  Robert Millan  <rmh@aybabtu.com>

        * include/grub/util/getroot.h (grub_dev_abstraction_types): New enum.
        (grub_util_get_dev_abstraction): New function prototype.

        * util/getroot.c: Include `<grub/util/getroot.h>'
        (grub_util_get_grub_dev): Move detection of abstraction type to ...
        (grub_util_get_dev_abstraction): ... here (new function).

        * util/grub-probe.c: Convert PRINT_* to an enum.  Add
        `PRINT_ABSTRACTION'.
        (probe): Probe for abstraction type when requested.
        (main): Understand `--target=abstraction'.

        * util/i386/efi/grub-install.in: Add abstraction module to core
        image when it is found to be necessary.
        * util/i386/pc/grub-install.in: Likewise.
        * util/powerpc/ieee1275/grub-install.in: Likewise.

        * util/update-grub_lib.in (font_path): Return system path without
        converting to GRUB path.
        * util/update-grub.in: Convert system path returned by font_path()
        to a GRUB path.  Use `grub-probe -t abstraction' to determine what
        abstraction module is needed for loading fonts (if any).  Export
        that as `GRUB_PRELOAD_MODULES'.
        * util/grub.d/00_header.in: Process `GRUB_PRELOAD_MODULES' (print
        insmod commands).
ChangeLog
include/grub/util/getroot.h
util/getroot.c
util/grub-probe.c
util/grub.d/00_header.in
util/i386/efi/grub-install.in
util/i386/pc/grub-install.in
util/powerpc/ieee1275/grub-install.in
util/update-grub.in
util/update-grub_lib.in