]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
2009-11-24 Felix Zielcke <fzielcke@z-51.de>
authorFelix Zielcke <fzielcke@z-51.de>
Tue, 24 Nov 2009 14:00:25 +0000 (15:00 +0100)
committerFelix Zielcke <fzielcke@z-51.de>
Tue, 24 Nov 2009 14:00:25 +0000 (15:00 +0100)
* util/grub-mkrelpath.c: New file.
* conf/common.rmk (bin_UTILITIES): Add grub-mkrelpath.
(grub_mkrelpath_SOURCES): New variable.
* include/grub/util/misc.h: New function prototype.
* util/misc.c (make_system_path_relative_to_its_root): New function.

* util/grub-mkconfig_lib.in (bindir): New variable.
(grub_mkrelpath): Likewise.
(make_system_path_relative_to_its_root): Use grub-mkrelpath.

* util/probe.c (probe): Make the file path relative to its root.
Change a info message to use the GRUB path.  Enable again the
check if we can read the file with GRUB facilities.

* util/i386/pc/grub-setup.c (setup): Make core.img path relative
to its root.

1  2 
ChangeLog
conf/common.rmk
util/i386/pc/grub-setup.c
util/misc.c

diff --cc ChangeLog
index 186ce7184081ec4e49bd72ea68584ad268c2372c,6d7c7fe42589cb69d7cec4f85abc0490eb5c10de..59e14a0c03531766ad1e7b9083387760a56b4fec
+++ b/ChangeLog
++2009-11-24  Felix Zielcke  <fzielcke@z-51.de>
++
++      * util/grub-mkrelpath.c: New file.
++      * conf/common.rmk (bin_UTILITIES): Add grub-mkrelpath.
++      (grub_mkrelpath_SOURCES): New variable.
++      * include/grub/util/misc.h: New function prototype.
++      * util/misc.c (make_system_path_relative_to_its_root): New function.
++
++      * util/grub-mkconfig_lib.in (bindir): New variable.
++      (grub_mkrelpath): Likewise.
++      (make_system_path_relative_to_its_root): Use grub-mkrelpath.
++
++      * util/probe.c (probe): Make the file path relative to its root.
++      Change a info message to use the GRUB path.  Enable again the
++      check if we can read the file with GRUB facilities.
++
++      * util/i386/pc/grub-setup.c (setup): Make core.img path relative
++      to its root.
++
 +2009-11-24  Felix Zielcke  <fzielcke@z-51.de>
 +
 +      * Makefile.in: Don't include GRUB_CONTRIB makefiles with emu
 +      platform.
 +
 +2009-11-24  Felix Zielcke  <fzielcke@z-51.de>
 +
 +      * util/getroot.c (grub_util_get_dev_abstraction): Properly use
 +      strncmp().
 +
 +2009-11-24  Felix Zielcke  <fzielcke@z-51.de>
 +
 +      * util/getroot.c (grub_util_is_dmraid): New function.
 +      (grub_util_get_dev_abstraction): Treat dmraid and multipath
 +      devices as normal ones, not as LVM.
 +
 +2009-11-23  Carles Pina i Estany <carles@pina.cat>
 +
 +      * conf/common.rmk: Add grub-gettext_lib target and updates
 +        lib_DATA and CLEANFILES. Adds gettext.mod SOURCES, CFLAGS,
 +        LDFLAGS.
 +      * gettext/gettext.c: New file. (Reads mo files).
 +      * include/grub/file.h (grub_file_pread): New prototype.
 +      * include/grub/i18n.h (_): New prototype.
 +      * include/grub/misc.h (grub_gettext_dummy, grub_gettext): New
 +        prototypes.
 +      * kern/misc.c (grub_gettext_dummy): New function.
 +      * normal/menu_text.c: Include <grub/i18n.h>.
 +      * normal/menu_text.c (print_timeout): Gettexttize string.
 +      * normal/menu_text.c (print_message): Gettexttize string.
 +      * util/grub.d/00_header.in: Define locale_dir and lang. insmod
 +        gettext module and defines locale_dir and lang in grub.cfg.
 +      * NEWS: Add gettext support.
 +
 +2009-11-23  Robert Millan  <rmh.grub@aybabtu.com>
 +
 +      * util/hostdisk.c: Include `<grub/i18n.h>'.
 +      (find_grub_drive): Use ARRAY_SIZE for map size calculation.
 +      (make_device_name): Rewrite using asprintf.
 +      (convert_system_partition_to_system_disk): Replace 0 with NULL.
 +      (find_system_device): If a device is not found, generate one just
 +      by reusing the OS path name.
 +      (read_device_map): Make it permissible for device.map not to exist.
 +
 +2009-11-23  Robert Millan  <rmh.grub@aybabtu.com>
 +
 +      * script/sh/execute.c: Move from here ...
 +      * script/execute.c: ... to here.  Update all users.
 +      * script/sh/function.c: Move from here ...
 +      * script/function.c: ... to here.  Update all users.
 +      * script/sh/lexer.c: Move from here ...
 +      * script/lexer.c: ... to here.  Update all users.
 +      * script/sh/main.c: Move from here ...
 +      * script/main.c: ... to here.  Update all users.
 +      * script/sh/parser.y: Move from here ...
 +      * script/parser.y: ... to here.  Update all users.
 +      * script/sh/script.c: Move from here ...
 +      * script/script.c: ... to here.  Update all users.
 +
 +2009-11-23  Robert Millan  <rmh.grub@aybabtu.com>
 +
 +      * configure.ac: Detect all `emu' platforms.  Define
 +      GRUB_MACHINE_* macros in TARGET_CFLAGS.  Remove
 +      --enable-grub-emu logic.  Disable include/grub/machine
 +      symlink on `emu' platforms.
 +
 +      * genkernsyms.sh.in: Use @TARGET_CFLAGS@ during symbol generation.
 +      * gensymlist.sh.in: Likewise.
 +
 +      * include/grub/i386/coreboot/machine.h: Remove file.
 +      * include/grub/i386/efi/machine.h: Likewise.
 +      * include/grub/i386/ieee1275/machine.h: Likewise.
 +      * include/grub/i386/pc/machine.h: Likewise.
 +      * include/grub/i386/qemu/machine.h: Likewise.
 +      * include/grub/powerpc/ieee1275/machine.h: Likewise.
 +      * include/grub/sparc64/ieee1275/machine.h: Likewise.
 +      * include/grub/x86_64/efi/machine.h: Likewise.
 +
 +      * commands/acpi.c: Remove `<grub/machine/machine.h>'.
 +      * commands/halt.c: Likewise.
 +      * commands/reboot.c: Likewise.
 +      * include/grub/autoefi.h: Likewise.
 +      * include/grub/i386/at_keyboard.h: Likewise.
 +      * include/grub/i386/kernel.h: Likewise.
 +      * include/grub/i386/loader.h: Likewise.
 +      * include/grub/i386/pc/memory.h: Likewise.
 +        * kern/dl.c: Likewise.
 +      * kern/i386/coreboot/init.c: Likewise.
 +      * loader/i386/bsd.c: Likewise.
 +      * loader/i386/linux.c: Likewise.
 +      * loader/multiboot_loader.c: Likewise.
 +      * term/i386/pc/serial.c: Likewise.
 +      * term/usb_keyboard.c: Likewise.
 +
 +      * include/grub/time.h [!GRUB_MACHINE_EMU]: Remove
 +      `<grub/machine/machine.h>'
 +      [!GRUB_MACHINE_EMU] (GRUB_TICKS_PER_SECOND): New macro.
 +      * util/misc.c: Remove `<grub/machine/machine.h>' and
 +      `<grub/machine/time.h>'.
 +
 +      * Makefile.in (enable_grub_emu): Remove variable.
 +      Include $(srcdir)/conf/any-emu.mk for the `emu' platform.
 +
 +      * conf/any-emu.rmk: New file.
 +      * conf/common.rmk (grub_emu_init.lst, grub_emu_init.h)
 +      (grub_emu_init.c): Move from here ...
 +      * conf/any-emu.rmk: ... to here.
 +
 +      * conf/i386-coreboot.rmk (sbin_UTILITIES): Remove `grub-emu'.
 +      (grub_emu_SOURCES, grub_emu_LDFLAGS): Move from here ...
 +      * conf/any-emu.rmk: ... to here.
 +
 +2009-11-23  Robert Millan  <rmh.grub@aybabtu.com>
 +
 +      * include/grub/parser.h (grub_parser_register): Document need
 +      of `name' parameter.
 +      * normal/main.c (grub_normal_read_line): Simplify prompt string.
 +      * script/sh/main.c (grub_sh_parser, GRUB_MOD_INIT(sh)): Rename
 +      "sh" to "grub".
 +
 +2009-11-23  Robert Millan  <rmh.grub@aybabtu.com>
 +
 +      * Makefile.in ($(srcdir)/po/$(PACKAGE).pot): Pass --keyword=N_ to
 +      `$(XGETTEXT)'.
 +      * include/grub/i18n.h (N_): New macro.
 +      * util/mkisofs/mkisofs.h: Likewise.
 +      * util/mkisofs/mkisofs.c (ld_options): Wrap all translatable strings
 +      around N_().
 +      (usage): Use gettext() to translate help strings when printing them.
 +
 +2009-11-23  Robert Millan  <rmh.grub@aybabtu.com>
 +
 +      Based on patch from Bean
 +      (http://lists.gnu.org/archive/html/grub-devel/2009-08/msg00384.html)
 +
 +      * video/efi_fb.c: New file.
 +      * conf/i386-efi.rmk (pkglib_MODULES): Add `efi_fb.mod'.
 +      (efi_fb_mod_SOURCES, efi_fb_mod_CFLAGS, efi_fb_mod_LDFLAGS): New
 +      variables.
 +      * conf/x86_64-efi.rmk: Likewise.
 +
 +2009-11-22  Robert Millan  <rmh.grub@aybabtu.com>
 +
 +      * util/i386/pc/grub-mkimage.c: Ungettextize grub_util_info() strings.
 +      * util/i386/pc/grub-setup.c: Likewise.
 +
 +2009-11-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
 +
 +      * util/getroot.c [__GNU__]: Include <hurd.h>, <hurd/lookup.h>, and
 +      <hurd/fs.h>
 +      [__GNU__] (grub_guess_root_device): Call file_name_lookup and
 +      file_get_storage_info to implement grub_guess_root_device.
 +
 +2009-11-21  Felix Zielcke  <fzielcke@z-51.de>
 +
 +      * Makefile.in (target): Use make's builtin $(shell) function
 +      instead of calling directly $(SHELL) to create the locale directories,
 +      inside the $(foreach) function.
 +
 +2009-11-21  Felix Zielcke  <fzielcke@z-51.de>
 +
 +      * util/grub-mkrescue.in: Print an error and usage if output option
 +      has not been given.
 +
 +2009-11-21  Felix Zielcke  <fzielcke@z-51.de>
 +
 +      Patch from Loïc Minier <loic.minier@ubuntu.com>.
 +      * util/grub.d/30_os-prober.in: Cope with Linux entries where
 +      root and /boot are on different devices.
 +
 +2009-11-21  Robert Millan  <rmh.grub@aybabtu.com>
 +
 +      Fix build for srcdir != objdir.
 +
 +      * Makefile.in (po/$(PACKAGE).pot): Rename to ...
 +      ($(srcdir)/po/$(PACKAGE).pot): ... this.  Run $(XGETTEXT) from
 +      $(srcdir).
 +      ($(foreach lang, $(LINGUAS), po/$(lang).po)): Rename to ...
 +      ($(foreach lang, $(LINGUAS), $(srcdir)/po/$(lang).po): ... this. Use $^
 +      reference for input.
 +
 +2009-11-21  Robert Millan  <rmh.grub@aybabtu.com>
 +
 +      * util/grub-mkrescue.in: Use source directory direcly (without copiing
 +      or hardlinking it).  Remove -J option, Joliet is not compatible with
 +      multiple source directories.
 +
 +2009-11-21  Carles Pina i Estany <carles@pina.cat>
 +2009-11-21  Robert Millan  <rmh.grub@aybabtu.com>
 +
 +      * util/grub-mkrescue.in: Recognize `--override-directory' option.
 +      (process_input_dir): New function.  Process an arbitrary input
 +      directory.
 +      Misc adjustments to support both "override mode" and system-wide mode.
 +
 +2009-11-20  Felix Zielcke  <fzielcke@z-51.de>
 +
 +      * configure.ac (UNIFONT_BDF): Rename to ...
 +      (FONT_SOURCE): ... this.  Update all users.
 +
 +2009-11-20  Felix Zielcke  <fzielcke@z-51.de>
 +
 +      * configure.ac: Add `/usr/share/fonts/X11/misc/unifont.pcf.gz'
 +      to the list of unifont files to look for.
 +
 +2009-11-19  Robert Millan  <rmh.grub@aybabtu.com>
 +
 +      Patch from Joe Auricchio <jauricchio@gmail.com>
 +      * commands/minicmd.c (grub_mini_cmd_clear): New function.
 +      (GRUB_MOD_INIT(minicmd)): Register grub_mini_cmd_clear().
 +      (GRUB_MOD_FINI(minicmd)): Unregister grub_mini_cmd_clear().
 +
 +2009-11-19  Felix Zielcke  <fzielcke@z-51.de>
 +
 +      * Makefile.in (install-local): Add a missing backslash.
 +
 +2009-11-19  Felix Zielcke  <fzielcke@z-51.de>
 +
 +      * include/grub/x86_64/io.h: New file.
 +
 +2009-11-19  Robert Millan  <rmh.grub@aybabtu.com>
 +
 +      * conf/i386-pc.rmk (grub_setup_SOURCES): Add `gnulib/progname.c'.
 +      * util/i386/pc/grub-setup.c: Include `<grub/i18n.h>'.
 +      Include `"progname.h"'.
 +      (main): Initialize gettext.
 +      * util/i386/pc/grub-setup.c: Gettexttize.
 +      * util/i386/pc/grub-mkimage.c: Likewise.
 +
 +      * Makefile.in (po/*.po): Redefine as ...
 +      ($(foreach lang, $(LINGUAS), po/$(lang).po)): ... this.
 +
 +2009-11-19  Robert Millan  <rmh.grub@aybabtu.com>
 +
 +      * conf/common.rmk (grub_mkisofs_SOURCES): Add `gnulib/progname.c'.
 +      * util/mkisofs/mkisofs.c: Include `"progname.h"'.
 +      (program_name): Remove.
 +      (main): Initialize gettext support.
 +      * util/mkisofs/mkisofs.h: Include `<locale.h>'.
 +      Include `<libintl.h>'.
 +      (_): New macro.
 +
 +      * util/mkisofs/eltorito.c: Gettexttize.
 +      * util/mkisofs/joliet.c: Likewise.
 +      * util/mkisofs/mkisofs.c: Likewise.
 +      * util/mkisofs/multi.c: Likewise.
 +      * util/mkisofs/rock.c: Likewise.
 +      * util/mkisofs/tree.c: Likewise.
 +      * util/mkisofs/write.c: Likewise.
 +
 +2009-11-18  Robert Millan  <rmh.grub@aybabtu.com>
 +
 +      * util/mkisofs/eltorito.c: Fix minor mistake in license text.
 +      * util/mkisofs/iso9660.h: Likewise.
 +      * util/mkisofs/joliet.c: Likewise.
 +      * util/mkisofs/mkisofs.c: Likewise.
 +      * util/mkisofs/mkisofs.h: Likewise.
 +      * util/mkisofs/rock.c: Likewise.
 +      * util/mkisofs/tree.c: Likewise.
 +      * util/mkisofs/write.c: Likewise.
 +
 +      * util/mkisofs/eltorito.c (rcsid): Remove.
 +      * util/mkisofs/hash.c: Likewise.
 +      * util/mkisofs/joliet.c: Likewise.
 +      * util/mkisofs/name.c: Likewise.
 +      * util/mkisofs/rock.c: Likewise.
 +      * util/mkisofs/tree.c: Likewise.
 +      * util/mkisofs/write.c: Likewise.
 +
 +2009-11-18  Robert Millan  <rmh.grub@aybabtu.com>
 +
 +      * util/mkisofs/match.c: Rewrite from scratch, using a linked list
 +      instead of static allocation.
 +      * util/mkisofs/match.h: Likewise.
 +
 +2009-11-18  Robert Millan  <rmh.grub@aybabtu.com>
 +
 +      * Makefile.in (po/$(PACKAGE).pot): Process `po/POTFILES-shell' for
 +      translatable Shell files.
 +
 +2009-11-18  Robert Millan  <rmh.grub@aybabtu.com>
 +
 +      * Makefile.in ($(srcdir)/aclocal.m4): New target.
 +
 +2009-11-17  Robert Millan  <rmh.grub@aybabtu.com>
 +
 +      * INSTALL: Document Automake is needed for bootstrap.
 +      * util/grub.d/10_kfreebsd.in (bindir): New variable.
 +      Add gettext initialization.
 +      (kfreebsd_entry): Make menuentry output translatable.
 +
 +2009-11-17  Robert Millan  <rmh.grub@aybabtu.com>
 +
 +      * Makefile.in (XGETTEXT, MSGMERGE, MSGFMT): New variables.
 +      (po/$(PACKAGE).pot): Replace `xgettext' with `$(XGETTEXT)'.
 +      (po/*.po): Replace `msgmerge' with `$(MSGMERGE)'.
 +      (po/%.mo): Replace `msgfmt' with `$(MSGFMT)'.
 +      (LINGUAS): Auto-generate using `po/LINGUAS'.
 +
 +2009-11-17  Robert Millan  <rmh.grub@aybabtu.com>
 +
 +      * configure.ac: Call AM_GNU_GETTEXT() (defines localedir, among
 +      other things).
 +      * Makefile.in (CPPFLAGS): Add `-DLOCALEDIR=\"$(localedir)\"'.
 +      * util/i386/pc/grub-mkimage.c (main): Issue setlocale() and
 +      bindtextdomain() calls for gettext initialization.
 +
 +2009-11-17  Robert Millan  <rmh.grub@aybabtu.com>
 +
 +      * gnulib/progname.c: New file (imported from Gnulib).
 +      * gnulib/progname.h: Likewise.
 +      * conf/i386-pc.rmk (grub_mkimage_SOURCES): Add `gnulib/progname.c'.
 +      * util/i386/pc/grub-mkimage.c: Include `"progname.h"'.
 +      (usage): Replace `progname' with `program_name'.
 +      (main): Use set_program_name() for program name initialization.
 +
 +2009-11-17  Robert Millan  <rmh.grub@aybabtu.com>
 +
 +      * conf/common.rmk (grub_mkisofs_CFLAGS): Move `-I$(srcdir)/gnulib'
 +      from here ...
 +      * Makefile.in (CPPFLAGS): ... to here.
 +
 +2009-11-16  Robert Millan  <rmh.grub@aybabtu.com>
 +
 +      * aclocal.m4: Move from here ...
 +      * acinclude.m4: ... to here.
 +      * autogen.sh: Add call to `aclocal'.
 +      * configure.ac: Add AM_INIT_AUTOMAKE() after AC_INIT() call.
 +
 +2009-11-16  Robert Millan  <rmh.grub@aybabtu.com>
 +
 +      * Makefile.in (CLEANFILES): Add `po/*.mo'.
 +      (LINGUAS): New variable.
 +      (all-local): Add `$(foreach lang, $(LINGUAS), po/$(lang).mo)'.
 +      (install-local): Install MO files.
 +      (po/$(PACKAGE).pot, po/*.po, po/%.mo): New rules.
 +      * include/grub/i18n.h: New file.
 +      * util/grub.d/10_linux.in (bindir): New variable.
 +      Add gettext initialization.
 +      (linux_entry): Make menuentry output translatable.
 +      * util/i386/pc/grub-mkimage.c: Include `<grub/i18n.h>'.
 +      (usage): Make --help output translatable.
 +      (main): Initialize gettext.
 +
 +2009-11-17  Robert Millan  <rmh.grub@aybabtu.com>
 +
 +      * import_gcry.py: New file (written by Vladimir with minor
 +      adjustments).
 +      * autogen.sh: Use import_gcry.py to auto-generate GRUB-ified
 +      ciphers.
 +      * INSTALL: Document that Python is required for bootstrap.
 +
 +2009-11-17  Robert Millan  <rmh.grub@aybabtu.com>
 +
 +      Import ciphers from libgcrypt 1.4.4.
 +
 +       * lib/libgcrypt/cipher/ChangeLog
 +       * lib/libgcrypt/cipher/ac.c
 +       * lib/libgcrypt/cipher/arcfour.c
 +       * lib/libgcrypt/cipher/bithelp.h
 +       * lib/libgcrypt/cipher/blowfish.c
 +       * lib/libgcrypt/cipher/camellia-glue.c
 +       * lib/libgcrypt/cipher/camellia.c
 +       * lib/libgcrypt/cipher/camellia.h
 +       * lib/libgcrypt/cipher/cast5.c
 +       * lib/libgcrypt/cipher/cipher.c
 +       * lib/libgcrypt/cipher/crc.c
 +       * lib/libgcrypt/cipher/des.c
 +       * lib/libgcrypt/cipher/dsa.c
 +       * lib/libgcrypt/cipher/ecc.c
 +       * lib/libgcrypt/cipher/elgamal.c
 +       * lib/libgcrypt/cipher/hash-common.c
 +       * lib/libgcrypt/cipher/hash-common.h
 +       * lib/libgcrypt/cipher/hmac-tests.c
 +       * lib/libgcrypt/cipher/md.c
 +       * lib/libgcrypt/cipher/md4.c
 +       * lib/libgcrypt/cipher/md5.c
 +       * lib/libgcrypt/cipher/primegen.c
 +       * lib/libgcrypt/cipher/pubkey.c
 +       * lib/libgcrypt/cipher/rfc2268.c
 +       * lib/libgcrypt/cipher/rijndael-tables.h
 +       * lib/libgcrypt/cipher/rijndael.c
 +       * lib/libgcrypt/cipher/rmd.h
 +       * lib/libgcrypt/cipher/rmd160.c
 +       * lib/libgcrypt/cipher/rsa.c
 +       * lib/libgcrypt/cipher/seed.c
 +       * lib/libgcrypt/cipher/serpent.c
 +       * lib/libgcrypt/cipher/sha1.c
 +       * lib/libgcrypt/cipher/sha256.c
 +       * lib/libgcrypt/cipher/sha512.c
 +       * lib/libgcrypt/cipher/tiger.c
 +       * lib/libgcrypt/cipher/twofish.c
 +       * lib/libgcrypt/cipher/whirlpool.c
 +
 +2009-11-16  Robert Millan  <rmh.grub@aybabtu.com>
 +
 +      Fix build for systems without error().
 +
 +      * gnulib/error.c: New file (imported from Gnulib).
 +      * gnulib/error.h: Likewise.
 +      * conf/common.rmk (grub_mkisofs_SOURCES): Add `gnulib/error.c'.
 +      * util/mkisofs/mkisofs.c (program_name): Remove `static' qualifier
 +      (this variable is now used by error()).
 +
 +2009-11-16  Felix Zielcke  <fzielcke@z-51.de>
 +
 +      * util/mkisofs/name.c (iso9660_file_length): Use isascii macro
 +      instead of relying that char is signed.
 +
 +2009-11-16  Vladimir Serbinenko  <phcoder@gmail.com>
 +
 +      * fs/i386/pc/pxe.c (grub_pxefs_open): Correctly handle PXE choosing
 +      blocksize different from specified.
 +      (grub_pxefs_read): Likewise.
 +
 +2009-11-16  Felix Zielcke  <fzielcke@z-51.de>
 +
 +      Enable ata.mod on x86_64-efi, i386-efi and i386-ieee1275.
 +
 +      * disk/ata.c (grub_ata_dumpinfo): Add a cast.
 +      (grub_ata_readwrite): Likewise.  Update 2 format strings.
 +      (grub_atapi_read): Likewise.
 +
 +      * conf/i386-coreboot.rmk (pkglib_MODULES): Move `ata.mod' from here ...
 +      * conf/i386.rmk (pkglib_MODULES): ... to here ...
 +      * conf/x86_64-efi.rmk (pkglib_MODULES): ... and here.
 +      * conf/i386-coreboot.rmk (ata_mod_SOURCES, ata_mod_CFLAGS)
 +      (ata_mod_LDFLAGS): Move from here ...
 +      * conf/i386.rmk: ... to here ...
 +      * conf/x86_64-efi.rmk: ... and here.
 +      * conf/i386-pc.rmk (pkglib_MODULES): Remove `ata.mod'
 +      (ata_mod_SOURCES, ata_mod_CFLAGS, ata_mod_LDFLAGS): Remove.
 +
 +2009-11-16  Robert Millan  <rmh.grub@aybabtu.com>
 +
 +      Relicense multiboot.h, with RMS' blessing.
 +
 +      * include/multiboot.h: Change to X11 license.
 +
 +2009-11-15  Robert Millan  <rmh.grub@aybabtu.com>
 +
 +      Support --version in grub-mkisofs.
 +
 +      * util/mkisofs/mkisofs.c (rcsid): Remove variable.
 +      (OPTION_VERSION): New macro.
 +      (ld_options): Recognize --version.
 +      (usage): Move `program_name' from here ...
 +      (program_name): ... to here.  Add `static' qualifier.
 +      (main): Recognize `OPTION_VERSION'.
 +
 +2009-11-15  Felix Zielcke  <fzielcke@z-51.de>
 +
 +      * Makefile.in (TARGET_CPPFLAGS): Replace `-isystem=$(srcdir)/include'
 +      with `-nostdinc -isystem $(shell $(TARGET_CC) -print-file-name=include)'.
 +
 +2009-11-14  Robert Millan  <rmh.grub@aybabtu.com>
 +
 +      Fix help2man generation for mkisofs.
 +
 +      * util/mkisofs/mkisofs.c (ld_options): Recognize --help.
 +      (usage): Send output to stdout (rather than stderr).
 +
 +2009-11-14  Robert Millan  <rmh.grub@aybabtu.com>
 +
 +      * conf/i386-coreboot.rmk (grub_mkrescue_SOURCES): Replace
 +      `util/i386/coreboot/grub-mkrescue.in' with `util/grub-mkrescue.in'.
 +      * conf/i386-pc.rmk (grub_mkrescue_SOURCES): Replace
 +      `util/i386/pc/grub-mkrescue.in' with `util/grub-mkrescue.in'.
 +      (bin_SCRIPTS): Add `grub-mkfloppy'.
 +      (grub_mkfloppy_SOURCES): New variable.
 +
 +      * util/grub-mkrescue.in: New file.
 +      * util/i386/pc/grub-mkfloppy.in: New file.
 +
 +      * util/i386/coreboot/grub-mkrescue.in: Remove.
 +      * util/i386/pc/grub-mkrescue.in: Remove.
 +
 +2009-11-13  Robert Millan  <rmh.grub@aybabtu.com>
 +
 +      * include/grub/multiboot.h (struct grub_multiboot_header): Move
 +      from here ...
 +      * include/multiboot.h (struct multiboot_header): ... to here.  Update
 +      all users.
 +      * include/grub/multiboot.h (struct grub_multiboot_info): Move
 +      from here ...
 +      * include/multiboot.h (struct multiboot_info): ... to here.  Update
 +      all users.
 +      * include/grub/multiboot.h (struct grub_multiboot_mmap_entry): Move
 +      from here ...
 +      * include/multiboot.h (struct multiboot_mmap_entry): ... to here.
 +      Update all users.
 +      * include/grub/multiboot.h (struct grub_mod_list): Move
 +      from here ...
 +      * include/multiboot.h (struct multiboot_mod_list): ... to here.
 +      Update all users.
 +
 +2009-11-13  Robert Millan  <rmh.grub@aybabtu.com>
 +
 +      * include/multiboot2.h (multiboot_word): Rename from this ...
 +      (multiboot2_word): ... to this.  Update all users.
 +      (multiboot_header): Rename from this ...
 +      (multiboot2_header): ... to this.  Update all users.
 +      (multiboot_tag_header): Rename from this ...
 +      (multiboot2_tag_header): ... to this.  Update all users.
 +      (multiboot_tag_start): Rename from this ...
 +      (multiboot2_tag_start): ... to this.  Update all users.
 +      (multiboot_tag_name): Rename from this ...
 +      (multiboot2_tag_name): ... to this.  Update all users.
 +      (multiboot_tag_module): Rename from this ...
 +      (multiboot2_tag_module): ... to this.  Update all users.
 +      (multiboot_tag_memory): Rename from this ...
 +      (multiboot2_tag_memory): ... to this.  Update all users.
 +      (multiboot_tag_unused): Rename from this ...
 +      (multiboot2_tag_unused): ... to this.  Update all users.
 +      (multiboot_tag_end): Rename from this ...
 +      (multiboot2_tag_end): ... to this.  Update all users.
 +
  2009-11-13  Robert Millan  <rmh.grub@aybabtu.com>
  
        Disable Multiboot2 in i386-ieee1275.  It didn't actually work, and on
diff --cc conf/common.rmk
index 532a72f67964de82049fcb36917b99059b897dd7,383b02912d5d64e865746f0574255d4c561c117f..216098b51feae25170668782311258f725ee8f98
@@@ -71,11 -70,28 +71,15 @@@ grub_mkfont_CFLAGS = $(freetype_cflags
  grub_mkfont_LDFLAGS = $(freetype_libs)
  endif
  
+ # For grub-mkrelpath.
+ bin_UTILITIES += grub-mkrelpath
+ grub_mkrelpath_SOURCES = util/grub-mkrelpath.c util/misc.c
  # For the parser.
 -grub_script.tab.c grub_script.tab.h: script/sh/parser.y
 -      $(YACC) -d -p grub_script_yy -b grub_script $(srcdir)/script/sh/parser.y
 +grub_script.tab.c grub_script.tab.h: script/parser.y
 +      $(YACC) -d -p grub_script_yy -b grub_script $(srcdir)/script/parser.y
  DISTCLEANFILES += grub_script.tab.c grub_script.tab.h
  
 -# For grub-emu.
 -grub_emu_init.lst: geninit.sh $(filter-out grub_emu_init.c,$(grub_emu_SOURCES))
 -      rm -f $@; grep GRUB_MOD_INIT $(filter %.c,$^) /dev/null > $@
 -DISTCLEANFILES += grub_emu_init.lst
 -
 -grub_emu_init.h: grub_emu_init.lst $(filter-out grub_emu_init.c,$(grub_emu_SOURCES)) geninitheader.sh
 -      rm -f $@; sh $(srcdir)/geninitheader.sh $< > $@
 -DISTCLEANFILES += grub_emu_init.h
 -
 -grub_emu_init.c: grub_emu_init.lst $(filter-out grub_emu_init.c,$(grub_emu_SOURCES)) geninit.sh grub_emu_init.h
 -      rm -f $@; sh $(srcdir)/geninit.sh $< $(filter %.c,$^) > $@
 -DISTCLEANFILES += grub_emu_init.c
 -
  # For grub-probe.
  grub_probe_init.lst: geninit.sh $(filter-out grub_probe_init.c,$(grub_probe_SOURCES))
        rm -f $@; grep GRUB_MOD_INIT $(filter %.c,$^) /dev/null > $@
Simple merge
diff --cc util/misc.c
Simple merge