]> git.proxmox.com Git - grub2.git/log
grub2.git
14 years agoUse proper path for gettext.sh and export TEXTDOMAINDIR.
Robert Millan [Tue, 17 Nov 2009 11:32:05 +0000 (11:32 +0000)]
Use proper path for gettext.sh and export TEXTDOMAINDIR.

14 years ago2009-11-17 Robert Millan <rmh.grub@aybabtu.com>
Robert Millan [Tue, 17 Nov 2009 11:20:39 +0000 (11:20 +0000)]
2009-11-17  Robert Millan  <rmh.grub@aybabtu.com>

        * Makefile.in (XGETTEXT, MSGMERGE, MSGFMT, LINGUAS): New variables.
        (po/$(PACKAGE).pot): Replace `xgettext' with `$(XGETTEXT)'.
        (po/*.po): Replace `msgmerge' with `$(MSGMERGE)'.
        (po/%.mo): Replace `msgfmt' with `$(MSGFMT)'.
        * po/LINGUAS: New file.

14 years ago2009-11-17 Robert Millan <rmh.grub@aybabtu.com>
Robert Millan [Tue, 17 Nov 2009 10:47:22 +0000 (10:47 +0000)]
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.

14 years agoReorganize.
Robert Millan [Tue, 17 Nov 2009 10:43:26 +0000 (10:43 +0000)]
Reorganize.

14 years ago * gnulib/progname.c: New file (imported from Gnulib).
Robert Millan [Tue, 17 Nov 2009 10:40:43 +0000 (10:40 +0000)]
    * 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.

14 years ago * conf/common.rmk (grub_mkisofs_CFLAGS): Move `-I$(srcdir)/gnulib'
Robert Millan [Tue, 17 Nov 2009 10:31:08 +0000 (10:31 +0000)]
    * conf/common.rmk (grub_mkisofs_CFLAGS): Move `-I$(srcdir)/gnulib'
        from here ...
        * Makefile.in (CPPFLAGS): ... to here.

14 years agoMove i18n declarations to their own file.
Robert Millan [Tue, 17 Nov 2009 09:52:08 +0000 (09:52 +0000)]
Move i18n declarations to their own file.

14 years agoGettextify.
Robert Millan [Mon, 16 Nov 2009 20:19:42 +0000 (20:19 +0000)]
Gettextify.

14 years agoAdd aclocal.m4, po/*.mo and po/grub.pot.
Robert Millan [Mon, 16 Nov 2009 20:12:53 +0000 (20:12 +0000)]
Add aclocal.m4, po/*.mo and po/grub.pot.

14 years agoUse PACKAGE instead of hardcoding "grub".
Robert Millan [Mon, 16 Nov 2009 20:03:14 +0000 (20:03 +0000)]
Use PACKAGE instead of hardcoding "grub".

14 years agosed Makefile.in -e "s/messages.pot/\$(PACKAGE).pot/g" -i
Robert Millan [Mon, 16 Nov 2009 19:36:12 +0000 (19:36 +0000)]
sed Makefile.in -e "s/messages.pot/\$(PACKAGE).pot/g" -i

14 years ago2009-11-16 Robert Millan <rmh.grub@aybabtu.com>
Robert Millan [Mon, 16 Nov 2009 19:31:29 +0000 (19:31 +0000)]
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.

14 years agoInitial support for gettext in build system.
Robert Millan [Sun, 15 Nov 2009 23:11:01 +0000 (23:11 +0000)]
Initial support for gettext in build system.

14 years ago2009-11-15 Robert Millan <rmh.grub@aybabtu.com>
Robert Millan [Sun, 15 Nov 2009 14:02:33 +0000 (14:02 +0000)]
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'.

14 years ago2009-11-15 Felix Zielcke <fzielcke@z-51.de>
Felix Zielcke [Sun, 15 Nov 2009 12:41:25 +0000 (13:41 +0100)]
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)'.

14 years ago2009-11-14 Robert Millan <rmh.grub@aybabtu.com>
Robert Millan [Sat, 14 Nov 2009 21:20:02 +0000 (21:20 +0000)]
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).

14 years ago2009-11-14 Robert Millan <rmh.grub@aybabtu.com>
Robert Millan [Sat, 14 Nov 2009 18:38:11 +0000 (18:38 +0000)]
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.

14 years agoAdd .bzrignore
Robert Millan [Fri, 13 Nov 2009 17:32:22 +0000 (17:32 +0000)]
Add .bzrignore

14 years ago2009-11-13 Robert Millan <rmh.grub@aybabtu.com>
Robert Millan [Fri, 13 Nov 2009 13:34:51 +0000 (13:34 +0000)]
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.

14 years agoForgot to commit ChangeLog ...
Robert Millan [Fri, 13 Nov 2009 13:32:22 +0000 (13:32 +0000)]
Forgot to commit ChangeLog ...

14 years ago2009-11-13 Robert Millan <rmh.grub@aybabtu.com>
Robert Millan [Fri, 13 Nov 2009 13:30:55 +0000 (13:30 +0000)]
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.

14 years ago2009-11-13 Robert Millan <rmh.grub@aybabtu.com>
Robert Millan [Fri, 13 Nov 2009 13:03:47 +0000 (13:03 +0000)]
2009-11-13  Robert Millan  <rmh.grub@aybabtu.com>

        Disable Multiboot2 in i386-ieee1275.  It didn't actually work, and on
        this platform we should support Multiboot1 first.

        * conf/i386-ieee1275.rmk (pkglib_MODULES): Remove `multiboot.mod'.
        (multiboot_mod_SOURCES, multiboot_mod_CFLAGS)
        (multiboot_mod_LDFLAGS, multiboot_mod_ASFLAGS): Remove.

14 years ago2009-11-12 Robert Millan <rmh.grub@aybabtu.com>
Robert Millan [Thu, 12 Nov 2009 21:32:47 +0000 (21:32 +0000)]
2009-11-12  Robert Millan  <rmh.grub@aybabtu.com>

        * util/mkisofs/eltorito.c (init_boot_catalog): Handle return code
        of write calls (converting them to fwrite() if they aren't already).
        (get_torito_desc): Likewise.
        * util/mkisofs/rock.c (generate_rock_ridge_attributes): Likewise.

14 years ago2009-11-12 Robert Millan <rmh.grub@aybabtu.com>
Robert Millan [Thu, 12 Nov 2009 12:23:11 +0000 (12:23 +0000)]
2009-11-12  Robert Millan  <rmh.grub@aybabtu.com>

        * util/i386/pc/grub-install.in: Move from here ...
        * util/grub-install.in: ... to here.  Update all users.

14 years ago2009-11-11 Colin Watson <cjwatson@ubuntu.com>
Colin Watson [Wed, 11 Nov 2009 23:21:13 +0000 (23:21 +0000)]
2009-11-11  Colin Watson  <cjwatson@ubuntu.com>

* util/powerpc/ieee1275/grub-mkrescue.in: Fix --version output.

14 years ago2009-11-11 Robert Millan <rmh.grub@aybabtu.com>
Robert Millan [Wed, 11 Nov 2009 20:52:04 +0000 (20:52 +0000)]
2009-11-11  Robert Millan  <rmh.grub@aybabtu.com>

        Support for El Torito without floppy emulation.

        * util/mkisofs/eltorito.c: Include `<errno.h>'.
        (init_boot_catalog): Improve error handling.
        (get_torito_desc): Don't use floppy emulation unless requested by
        user. Patch boot information table when requested via
        `-boot-info-table'.
        * util/mkisofs/iso9660.h (struct eltorito_boot_info): New struct.
        * util/mkisofs/mkisofs.c (use_eltorito_emul_floppy)
        (use_boot_info_table): New variables.
        (OPTION_BOOT_INFO_TABLE, OPTION_NO_EMUL_BOOT)
        (OPTION_ELTORITO_EMUL_FLOPPY): New macros.
        (ld_options): Handle `-boot-info-table', `-no-emul-boot' and
        `--eltorito-emul-floppy'.
        (main): Handle `OPTION_BOOT_INFO_TABLE', `OPTION_NO_EMUL_BOOT'
        and `OPTION_ELTORITO_EMUL_FLOPPY'.
        * util/mkisofs/mkisofs.h (use_eltorito_emul_floppy)
        (use_boot_info_table, get_731): New prototypes.
        * util/mkisofs/write.c (get_731): New function.

14 years ago2009-11-11 Felix Zielcke <fzielcke@z-51.de>
Felix Zielcke [Wed, 11 Nov 2009 16:00:27 +0000 (17:00 +0100)]
2009-11-11  Felix Zielcke  <fzielcke@z-51.de>

Fix the generation of the man page.

* util/pc/i386/grub-install.in: Source
`${libdir}/grub/grub-mkconfig_lib' after options have been parsed.

14 years ago2009-11-11 Robert Millan <rmh.grub@aybabtu.com>
Robert Millan [Wed, 11 Nov 2009 00:23:29 +0000 (00:23 +0000)]
2009-11-11  Robert Millan  <rmh.grub@aybabtu.com>

        Large file support for grub-mkisofs.

        * conf/common.rmk (grub_mkisofs_CFLAGS): Add `-D_FILE_OFFSET_BITS=64'.
        * util/mkisofs/mkisofs.c (next_extent, last_extent)
        (session_start): Upgrade type to `uint64_t'.  Update all users.
        * util/mkisofs/mkisofs.h: Include `<stdint.h>'.
        (struct directory_entry): Upgrade type of `starting_block' and
        `size' to `uint64_t'.  Update all users.
        (struct deferred): Remove unused structure.
        (xfwrite): Upgrade type of `count' and `size' to `uint64_t'.
        Update all users.
        * util/mkisofs/tree.c (stat_filter, lstat_filter): Return -1 when
        file is larger than `UINT32_MAX'.
        * util/mkisofs/write.c (xfwrite): Upgrade type of `count' and
        `size' to `uint64_t'.  Update all users.  Fix handling of fwrite()
        return value.
        (struct deferred_write): Upgrade type of `extent' and `size' to
        `uint64_t'.  Update all users.
        (last_extent_written): Upgrade type to `uint64_t'.  Update all
        users.
        (write_one_file): Upgrade type of `count' and `size' to `uint64_t'.
        Update all users.  Upgrade type of `remain' to `int64_t' and
        `use' to `size_t'.  Use error() to handle fread() errors.
        (write_files): Rely on write_one_file() rather than calling
        xfwrite() directly.

14 years ago2009-11-09 Felix Zielcke <fzielcke@z-51.de>
Felix Zielcke [Mon, 9 Nov 2009 20:36:09 +0000 (21:36 +0100)]
2009-11-09  Felix Zielcke  <fzielcke@z-51.de>

* util/mkisofs/mkisofs.c (ld_options): Fix a spelling mistake.

14 years ago2009-11-09 Robert Millan <rmh.grub@aybabtu.com>
Robert Millan [Mon, 9 Nov 2009 19:58:24 +0000 (19:58 +0000)]
2009-11-09  Robert Millan  <rmh.grub@aybabtu.com>

        * util/mkisofs/fnmatch.c: Remove.
        * util/mkisofs/getopt1.c: Likewise.
        * util/mkisofs/getopt.c: Likewise.
        * conf/common.rmk (grub_mkisofs_SOURCES): Replace
        `util/mkisofs/fnmatch.c', `util/mkisofs/getopt1.c' and
        `util/mkisofs/getopt.c' with `gnulib/fnmatch.c',
        `gnulib/getopt1.c' and `gnulib/getopt.c'.
        (grub_mkisofs_CFLAGS): Add `-I$(srcdir)/gnulib'.

        * configure.ac: Detect `mingw32msvc' host_os.
        Check for lstat(), getuid() and getgid().

        * util/mkisofs/joliet.c: Include `<stdint.h>'.  Replace all
        instances of `u_char' with `uint8_t'.

        * util/mkisofs/mkisofs.h: Include `<sys/stat.h>'.
        [!HAVE_GETUID] (getuid): New function (stub).
        [!HAVE_GETGID] (getgid): Likewise.
        [!HAVE_LSTAT] (lstat): Likewise.
        [!S_IROTH] (S_IROTH): New macro (dummy).
        [!S_IRGRP] (S_IRGRP): Likewise.

14 years ago2009-11-09 Robert Millan <rmh.grub@aybabtu.com>
Robert Millan [Mon, 9 Nov 2009 19:20:33 +0000 (19:20 +0000)]
2009-11-09  Robert Millan  <rmh.grub@aybabtu.com>

        * gnulib/fnmatch_loop.c (EXT): Fix warning (signed and unsigned type in
        conditional expression).

14 years ago2009-11-09 Robert Millan <rmh.grub@aybabtu.com>
Robert Millan [Mon, 9 Nov 2009 19:16:09 +0000 (19:16 +0000)]
2009-11-09  Robert Millan  <rmh.grub@aybabtu.com>

        Import from Gnulib.

        * gnulib/fnmatch.c: New file.
        * gnulib/fnmatch.h: Likewise.
        * gnulib/fnmatch_loop.c: Likewise.
        * gnulib/getopt.c: Likewise.
        * gnulib/getopt.h: Likewise.
        * gnulib/getopt1.c: Likewise.
        * gnulib/getopt_int.h: Likewise.
        * gnulib/gettext.h: Likewise.

14 years ago2009-11-09 Robert Millan <rmh.grub@aybabtu.com>
Robert Millan [Mon, 9 Nov 2009 14:50:20 +0000 (14:50 +0000)]
2009-11-09  Robert Millan  <rmh.grub@aybabtu.com>

        * normal/dyncmd.c (read_command_list): Replace `0' with `NULL'.
        * normal/handler.c (read_handler_list): Likewise.

14 years ago2009-11-09 Robert Millan <rmh.grub@aybabtu.com>
Robert Millan [Mon, 9 Nov 2009 14:45:28 +0000 (14:45 +0000)]
2009-11-09  Robert Millan  <rmh.grub@aybabtu.com>

        Misc cleanup.

        * kern/command.c (grub_register_command_prio): Use
        grub_zalloc() instead of explicitly zeroing data.
        * kern/list.c: Include `<grub/mm.h>'.
        (grub_named_list_find): Replace `0' with `NULL'.
        * normal/autofs.c (struct grub_fs_module_list): Remove ad-hoc type.
        (fs_module_list): Change type to `grub_named_list_t'.  Update all
        users.
        * normal/dyncmd.c (read_command_list): Add space between function
        call and parenthesis.
        * normal/handler.c (read_handler_list): Likewise.

14 years ago2009-11-09 Robert Millan <rmh.grub@aybabtu.com>
Robert Millan [Mon, 9 Nov 2009 14:30:47 +0000 (14:30 +0000)]
2009-11-09  Robert Millan  <rmh.grub@aybabtu.com>

        * normal/auth.c (punishment_delay): Moved from here ...
        (grub_auth_strcmp): ... to here (inside function).

14 years ago2009-11-09 Robert Millan <rmh.grub@aybabtu.com>
Robert Millan [Mon, 9 Nov 2009 14:25:03 +0000 (14:25 +0000)]
2009-11-09  Robert Millan  <rmh.grub@aybabtu.com>

        * include/grub/list.h (struct grub_named_list): Remove `const'
        qualifier from `name'.
        (struct grub_prio_list): Likewise.

14 years ago2009-11-09 Robert Millan <rmh.grub@aybabtu.com>
Robert Millan [Mon, 9 Nov 2009 08:05:27 +0000 (08:05 +0000)]
2009-11-09  Robert Millan  <rmh.grub@aybabtu.com>

        * normal/auth.c: Include `<grub/time.h>'.
        (grub_auth_strcmp): Replace `strcmp' with `grub_strcmp'.

14 years ago2009-11-09 Robert Millan <rmh.grub@aybabtu.com>
Robert Millan [Mon, 9 Nov 2009 00:37:56 +0000 (00:37 +0000)]
2009-11-09  Robert Millan  <rmh.grub@aybabtu.com>

        * normal/auth.c (punishment_delay): New variable.
        (grub_auth_strcmp): Rewrite using grub_get_time_ms ().
        (grub_auth_check_authentication): Punish failed login attempts with
        an incremental (2^N) delay.

14 years ago2009-11-09 Robert Millan <rmh.grub@aybabtu.com>
Robert Millan [Sun, 8 Nov 2009 23:59:24 +0000 (23:59 +0000)]
2009-11-09  Robert Millan  <rmh.grub@aybabtu.com>

        * conf/common.rmk (grub_mkisofs_CFLAGS): Prefix include
        path with $(srcdir).

14 years ago2009-11-09 Vladimir Serbinenko <phcoder@gmail.com>
Vladimir 'phcoder' Serbinenko [Sun, 8 Nov 2009 23:28:10 +0000 (00:28 +0100)]
2009-11-09  Vladimir Serbinenko  <phcoder@gmail.com>

* normal/auth.c (grub_auth_strcmp): Fixed incorrect variable usage.

14 years ago2009-11-09 Robert Millan <rmh.grub@aybabtu.com>
Robert Millan [Sun, 8 Nov 2009 23:21:21 +0000 (23:21 +0000)]
2009-11-09  Robert Millan  <rmh.grub@aybabtu.com>

        * util/i386/coreboot/grub-mkrescue.in: New file.
        * conf/i386-coreboot.rmk (bin_SCRIPTS, grub_mkrescue_SOURCES): New
        variables.

        * conf/common.rmk (bin_UTILITIES): Add `grub-mkisofs'.
        (grub_mkisofs_SOURCES, grub_mkisofs_CFLAGS): New variables.
        * configure.ac: Add header and function checks to satisfy grub-mkisofs
        requirements.
        * util/mkisofs/defaults.h: New file.
        * util/mkisofs/eltorito.c: Likewise.
        * util/mkisofs/exclude.h: Likewise.
        * util/mkisofs/fnmatch.c: Likewise.
        * util/mkisofs/getopt.c: Likewise.
        * util/mkisofs/getopt1.c: Likewise.
        * util/mkisofs/hash.c: Likewise.
        * util/mkisofs/include/fctldefs.h: Likewise.
        * util/mkisofs/include/mconfig.h: Likewise.
        * util/mkisofs/include/prototyp.h: Likewise.
        * util/mkisofs/include/statdefs.h: Likewise.
        * util/mkisofs/iso9660.h: Likewise.
        * util/mkisofs/joliet.c: Likewise.
        * util/mkisofs/match.c: Likewise.
        * util/mkisofs/match.h: Likewise.
        * util/mkisofs/mkisofs.c: Likewise.
        * util/mkisofs/mkisofs.h: Likewise.
        * util/mkisofs/multi.c: Likewise.
        * util/mkisofs/name.c: Likewise.
        * util/mkisofs/rock.c: Likewise.
        * util/mkisofs/tree.c: Likewise.
        * util/mkisofs/write.c: Likewise.

14 years ago2009-11-09 Vladimir Serbinenko <phcoder@gmail.com>
Vladimir 'phcoder' Serbinenko [Sun, 8 Nov 2009 23:16:17 +0000 (00:16 +0100)]
2009-11-09  Vladimir Serbinenko  <phcoder@gmail.com>

* normal/auth.c (grub_auth_strcmp): Fix bug which resulted in function
being insecure.

14 years agos/bin_SCRIPTS/bin_UTILITIES/
Robert Millan [Sun, 8 Nov 2009 23:04:43 +0000 (23:04 +0000)]
s/bin_SCRIPTS/bin_UTILITIES/

14 years agoadjust changelog
Robert Millan [Sun, 8 Nov 2009 23:03:44 +0000 (23:03 +0000)]
adjust changelog

14 years agoIntegrate grub-mkisofs into the build system.
Robert Millan [Sun, 8 Nov 2009 23:01:34 +0000 (23:01 +0000)]
Integrate grub-mkisofs into the build system.

14 years agoRemove support for non-Autoconf build mode.
Robert Millan [Sun, 8 Nov 2009 22:55:12 +0000 (22:55 +0000)]
Remove support for non-Autoconf build mode.

14 years agoFix build warnings (without -Wall).
Robert Millan [Sun, 8 Nov 2009 22:54:27 +0000 (22:54 +0000)]
Fix build warnings (without -Wall).

14 years agoDocument date override flags and add sanity checks. Based on patch
Robert Millan [Sun, 8 Nov 2009 22:53:42 +0000 (22:53 +0000)]
Document date override flags and add sanity checks.  Based on patch
sent by Andrew Cady to Debian BTS:

  http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=31;filename=date_override_doc.diff;att=1;bug=498151

14 years agoImplement support for date stamp overrides:
Robert Millan [Sun, 8 Nov 2009 22:53:15 +0000 (22:53 +0000)]
Implement support for date stamp overrides:
  --creation-date
  --modification-date
  --expiration-date
  --effective-date

14 years agoImport http://www.tux.org/pub/people/eric-youngdale/mkisofs/mkisofs-1.12b5.tar.gz
Robert Millan [Sun, 8 Nov 2009 22:52:08 +0000 (22:52 +0000)]
Import http://www.tux.org/pub/people/eric-youngdale/mkisofs/mkisofs-1.12b5.tar.gz

14 years agoImport http://www.tux.org/pub/people/eric-youngdale/mkisofs/mkisofs-1.12b4.tar.gz
Robert Millan [Sun, 8 Nov 2009 22:51:41 +0000 (22:51 +0000)]
Import http://www.tux.org/pub/people/eric-youngdale/mkisofs/mkisofs-1.12b4.tar.gz

14 years agoImport http://www.tux.org/pub/people/eric-youngdale/mkisofs/mkisofs-1.11.3.tar.gz
Robert Millan [Sun, 8 Nov 2009 22:51:08 +0000 (22:51 +0000)]
Import http://www.tux.org/pub/people/eric-youngdale/mkisofs/mkisofs-1.11.3.tar.gz

14 years ago2009-11-08 Robert Millan <rmh.grub@aybabtu.com>
Robert Millan [Sun, 8 Nov 2009 21:55:25 +0000 (21:55 +0000)]
2009-11-08  Robert Millan  <rmh.grub@aybabtu.com>

        * util/i386/pc/grub-mkrescue.in: Fix miss-identification as
        `grub-mkimage' (and use $0 when possible).

14 years agoFix miss-identification as `grub-mkimage' (and use `$0' when possible).
Robert Millan [Sun, 8 Nov 2009 21:52:59 +0000 (21:52 +0000)]
Fix miss-identification as `grub-mkimage' (and use `$0' when possible).

14 years agoImplement grub-mkrescue for coreboot (needs external grub-mkisofs)
Robert Millan [Sun, 8 Nov 2009 20:56:32 +0000 (20:56 +0000)]
Implement grub-mkrescue for coreboot (needs external grub-mkisofs)

14 years ago2009-11-08 Robert Millan <rmh.grub@aybabtu.com>
Robert Millan [Sun, 8 Nov 2009 20:02:16 +0000 (20:02 +0000)]
2009-11-08  Robert Millan  <rmh.grub@aybabtu.com>

        * kern/i386/multiboot_mmap.c (grub_machine_mmap_init): Improve
        error message for excessively large memory map.

14 years agoAdd a few files that were lost during transition from svn.
Robert Millan [Sun, 8 Nov 2009 16:57:31 +0000 (16:57 +0000)]
Add a few files that were lost during transition from svn.

14 years ago2009-11-08 Robert Millan <rmh.grub@aybabtu.com>
Robert Millan [Sun, 8 Nov 2009 16:43:36 +0000 (16:43 +0000)]
2009-11-08  Robert Millan  <rmh.grub@aybabtu.com>

        * autogen.sh: Use `sh gendistlist.sh' to avoid reliing on
        executable bit.

14 years agoAdd exec bit.
Robert Millan [Sun, 8 Nov 2009 16:40:24 +0000 (16:40 +0000)]
Add exec bit.

14 years ago2009-11-08 Robert Millan <rmh.grub@aybabtu.com>
Robert Millan [Sun, 8 Nov 2009 16:23:23 +0000 (16:23 +0000)]
2009-11-08  Robert Millan  <rmh.grub@aybabtu.com>

        * kern/i386/multiboot_mmap.c (grub_machine_mmap_init): Improve error
        message for coreboot users.

14 years ago2009-11-07 Robert Millan <rmh.grub@aybabtu.com>
robertmh [Sat, 7 Nov 2009 21:06:30 +0000 (21:06 +0000)]
2009-11-07  Robert Millan  <rmh.grub@aybabtu.com>

        Fix build with GNU gold.

        * conf/i386-pc.rmk (boot_img_LDFLAGS, pxeboot_img_LDFLAGS)
        (diskboot_img_LDFLAGS, lnxboot_img_LDFLAGS)
        (cdboot_img_LDFLAGS): Prepend `0x' qualifier to hexadecimal
        link addresses.
        * aclocal.m4: Likewise.

14 years ago2009-11-04 Felix Zielcke <fzielcke@z-51.de>
fzielcke [Wed, 4 Nov 2009 08:20:53 +0000 (08:20 +0000)]
2009-11-04  Felix Zielcke  <fzielcke@z-51.de>

* configure.ac (AC_PREREQ): Bump to 2.59d.
* INSTALL: Make it more clear when Autoconf and Ruby are
needed and when to run `./autogen.sh'.

14 years ago2009-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
fzielcke [Tue, 3 Nov 2009 14:25:34 +0000 (14:25 +0000)]
2009-11-03  Samuel Thibault  <samuel.thibault@ens-lyon.org>

* util/grub.d/30_os-prober.in: Restore default behavior for unsupported
OSes.

14 years ago2009-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
robertmh [Mon, 2 Nov 2009 21:01:14 +0000 (21:01 +0000)]
2009-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>

        * util/grub.d/30_os-prober.in: Add GNU/Hurd support

14 years ago2009-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
robertmh [Mon, 2 Nov 2009 19:32:12 +0000 (19:32 +0000)]
2009-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>

        * util/grub.d/10_hurd.in: Drop /dev/ prefix from root device path before
        giving it to GNU Mach.

14 years ago2009-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
robertmh [Mon, 2 Nov 2009 19:14:00 +0000 (19:14 +0000)]
2009-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>

        * util/hostdisk.c (grub_util_biosdisk_get_grub_dev): Subtract 1 from
        GNU partition number to get internal GRUB partition number.

14 years ago2009-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
robertmh [Mon, 2 Nov 2009 13:55:25 +0000 (13:55 +0000)]
2009-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>

        * util/grub.d/10_hurd.in: Call prepare_grub_to_access_device
        ${GRUB_DEVICE_BOOT} before loading /boot kernel.

14 years ago2009-11-01 Robert Millan <rmh.grub@aybabtu.com>
robertmh [Sun, 1 Nov 2009 23:03:09 +0000 (23:03 +0000)]
2009-11-01  Robert Millan  <rmh.grub@aybabtu.com>

        Based on patch from BVK Chaitanya  <bvk.groups@gmail.com>
        * kern/misc.c (grub_strchr, grub_strrchr): Fix to handle c == '\0'
        case.

14 years ago2009-11-01 Felix Zielcke <fzielcke@z-51.de>
fzielcke [Sun, 1 Nov 2009 18:19:04 +0000 (18:19 +0000)]
2009-11-01  Felix Zielcke  <fzielcke@z-51.de>

* Makefile.in (TARGET_CPPFLAGS): Add `-I$(srcdir)/include'.

14 years ago2009-10-30 Robert Millan <rmh.grub@aybabtu.com>
robertmh [Fri, 30 Oct 2009 22:51:52 +0000 (22:51 +0000)]
2009-10-30  Robert Millan  <rmh.grub@aybabtu.com>

        Fix build problem.

        * Makefile.in (TARGET_CPPFLAGS): Replace `-nostdinc' with
        `-isystem=$(srcdir)/include'.

14 years ago2009-10-30 Robert Millan <rmh.grub@aybabtu.com>
robertmh [Fri, 30 Oct 2009 22:37:38 +0000 (22:37 +0000)]
2009-10-30  Robert Millan  <rmh.grub@aybabtu.com>

        * util/i386/pc/grub-install.in: Remove hint that device.map should be
        checked (grub-install doesn't currently rely on it).

14 years ago2009-10-29 Robert Millan <rmh.grub@aybabtu.com>
robertmh [Thu, 29 Oct 2009 10:03:13 +0000 (10:03 +0000)]
2009-10-29  Robert Millan  <rmh.grub@aybabtu.com>

        Revert SVN r2660.

        * conf/common.rmk (script/sh/lexer.c_DEPENDENCIES): Moved from here ...
        * conf/i386-coreboot.rmk (script/sh/lexer.c_DEPENDENCIES): ... to here.
        * conf/i386-efi.rmk (script/sh/lexer.c_DEPENDENCIES): ... and here.
        * conf/i386-ieee1275.rmk: Likewise.
        * conf/i386-pc.rmk: Likewise.
        * conf/powerpc-ieee1275.rmk: Likewise.
        * conf/sparc64-ieee1275.rmk: Likewise.
        * conf/x86_64-efi.rmk: Likewise.

14 years ago2009-10-28 Robert Millan <rmh.grub@aybabtu.com>
robertmh [Wed, 28 Oct 2009 23:16:32 +0000 (23:16 +0000)]
2009-10-28  Robert Millan  <rmh.grub@aybabtu.com>

        * Makefile.in (TARGET_CPPFLAGS): Add `-nostdinc'.

14 years ago2009-10-28 Robert Millan <rmh.grub@aybabtu.com>
robertmh [Wed, 28 Oct 2009 22:55:27 +0000 (22:55 +0000)]
2009-10-28  Robert Millan  <rmh.grub@aybabtu.com>

        * include/grub/misc.h: Stop checking for APPLE_CC.

14 years ago2009-10-28 Robert Millan <rmh.grub@aybabtu.com>
robertmh [Wed, 28 Oct 2009 22:02:54 +0000 (22:02 +0000)]
2009-10-28  Robert Millan  <rmh.grub@aybabtu.com>

        * kern/i386/coreboot/init.c (grub_exit): Reimplement in a way that
        doesn't cause an infinite call loop.

14 years ago2009-10-28 Felix Zielcke <fzielcke@z-51.de>
fzielcke [Wed, 28 Oct 2009 18:24:10 +0000 (18:24 +0000)]
2009-10-28  Felix Zielcke  <fzielcke@z-51.de>

* commands/acpi.c (grub_cmd_acpi): Fix the out of memory error
strings.

14 years ago2009-10-26 Robert Millan <rmh.grub@aybabtu.com>
robertmh [Mon, 26 Oct 2009 20:04:43 +0000 (20:04 +0000)]
2009-10-26  Robert Millan  <rmh.grub@aybabtu.com>

        * autogen.sh: Support addition of external modules via `GRUB_CONTRIB'
        variable.
        * Makefile.in: Likewise.

14 years ago2009-10-26 Robert Millan <rmh.grub@aybabtu.com>
robertmh [Mon, 26 Oct 2009 19:39:35 +0000 (19:39 +0000)]
2009-10-26  Robert Millan  <rmh.grub@aybabtu.com>

        * gendistlist.sh: Simplify .svn check.  Skip .bzr as well.

14 years ago2009-10-26 Robert Millan <rmh.grub@aybabtu.com>
robertmh [Mon, 26 Oct 2009 18:25:02 +0000 (18:25 +0000)]
2009-10-26  Robert Millan  <rmh.grub@aybabtu.com>

        * Makefile.in (RMKFILES): Rewrite using $(wildcard).

14 years ago2009-10-26 Robert Millan <rmh.grub@aybabtu.com>
robertmh [Mon, 26 Oct 2009 18:06:23 +0000 (18:06 +0000)]
2009-10-26  Robert Millan  <rmh.grub@aybabtu.com>

        * disk/scsi.c: Remove `<grub/machine/kernel.h>' (not needed).

14 years ago2009-10-26 Robert Millan <rmh.grub@aybabtu.com>
robertmh [Mon, 26 Oct 2009 18:04:37 +0000 (18:04 +0000)]
2009-10-26  Robert Millan  <rmh.grub@aybabtu.com>

        * gensymlist.sh.in (COMPILE_TIME_ASSERT): Copy macro declaration
        from here ...
        * include/grub/misc.h (COMPILE_TIME_ASSERT): ... to here.

14 years ago2009-10-26 Robert Millan <rmh.grub@aybabtu.com>
robertmh [Mon, 26 Oct 2009 18:02:30 +0000 (18:02 +0000)]
2009-10-26  Robert Millan  <rmh.grub@aybabtu.com>

        * Makefile.in (docs/grub.info): Use make syntax to ignore errors
        in $(MAKEINFO) invocation.  This makes it clear in output that
        errors are being ignored.

14 years ago2009-10-26 Robert Millan <rmh.grub@aybabtu.com>
robertmh [Mon, 26 Oct 2009 18:02:19 +0000 (18:02 +0000)]
2009-10-26  Robert Millan  <rmh.grub@aybabtu.com>

        * conf/i386-coreboot.rmk (script/sh/lexer.c_DEPENDENCIES): Moved
        from here ...
        * conf/common.rmk (script/sh/lexer.c_DEPENDENCIES): ... to here.
        * conf/i386-efi.rmk (script/sh/lexer.c_DEPENDENCIES): Remove.
        * conf/i386-ieee1275.rmk: Likewise.
        * conf/i386-pc.rmk: Likewise.
        * conf/powerpc-ieee1275.rmk: Likewise.
        * conf/sparc64-ieee1275.rmk: Likewise.
        * conf/x86_64-efi.rmk: Likewise.

14 years ago2009-10-26 Colin Watson <cjwatson@ubuntu.com>
cjwatson [Mon, 26 Oct 2009 16:33:13 +0000 (16:33 +0000)]
2009-10-26  Colin Watson  <cjwatson@ubuntu.com>

* util/grub-editenv.c (main): If only a command is given, use
DEFAULT_DIRECTORY "/" GRUB_ENVBLK_DEFCFG as a default file name.
(usage): FILENAME is now optional and has a default.

14 years ago2009-10-26 Colin Watson <cjwatson@ubuntu.com>
cjwatson [Mon, 26 Oct 2009 16:28:04 +0000 (16:28 +0000)]
2009-10-26  Colin Watson  <cjwatson@ubuntu.com>

Improve grub-mkconfig performance when there are several menu
entries on a single filesystem.

* util/grub.d/10_linux.in (linux_entry): Cache the output of
prepare_grub_to_access_device.
* util/grub.d/10_kfreebsd.in (kfreebsd_entry): Likewise.
* util/grub.d/30_os-prober.in: Likewise.

14 years ago2009-10-26 Robert Millan <rmh.grub@aybabtu.com>
robertmh [Mon, 26 Oct 2009 00:41:58 +0000 (00:41 +0000)]
2009-10-26  Robert Millan  <rmh.grub@aybabtu.com>

        * util/grub.d/10_freebsd.in: Remove.
        * util/grub.d/10_kfreebsd.in: New file (based on 10_linux.in).
        * configure.ac: Set host_kernel=kfreebsd for FreeBSD and GNU/kFreeBSD.

14 years ago2009-10-26 Robert Millan <rmh.grub@aybabtu.com>
robertmh [Mon, 26 Oct 2009 00:41:54 +0000 (00:41 +0000)]
2009-10-26  Robert Millan  <rmh.grub@aybabtu.com>

        * util/grub.d/10_freebsd.in: Remove.
        * util/grub.d/10_kfreebsd.in: New file (based on 10_linux.in).
        * configure.ac: Set host_kernel=kfreebsd for FreeBSD and GNU/kFreeBSD.

14 years ago2009-10-26 Robert Millan <rmh.grub@aybabtu.com>
robertmh [Mon, 26 Oct 2009 00:38:38 +0000 (00:38 +0000)]
2009-10-26  Robert Millan  <rmh.grub@aybabtu.com>

        * docs/grub.cfg: Fix example usage of *BSD loaders.

14 years ago2009-10-26 Robert Millan <rmh.grub@aybabtu.com>
robertmh [Mon, 26 Oct 2009 00:38:26 +0000 (00:38 +0000)]
2009-10-26  Robert Millan  <rmh.grub@aybabtu.com>

        * util/grub.d/10_freebsd.in: Remove.

14 years ago2009-10-25 Robert Millan <rmh.grub@aybabtu.com>
robertmh [Sun, 25 Oct 2009 17:49:27 +0000 (17:49 +0000)]
2009-10-25  Robert Millan  <rmh.grub@aybabtu.com>

        * util/i386/pc/grub-setup.c (setup): Add missing parameter to
        grub_util_error() call.

14 years ago2009-10-25 Robert Millan <rmh.grub@aybabtu.com>
robertmh [Sun, 25 Oct 2009 15:23:48 +0000 (15:23 +0000)]
2009-10-25  Robert Millan  <rmh.grub@aybabtu.com>

        * include/grub/fs.h [GRUB_UTIL] (struct grub_fs): Add
        `reserved_first_sector' member.
        * fs/ext2.c [GRUB_UTIL] (grub_ext2_fs): Initialize
        `reserved_first_sector' to 1.
        * fs/fat.c [GRUB_UTIL] (grub_fat_fs): Likewise.
        * fs/ntfs.c [GRUB_UTIL] (grub_ntfs_fs): Likewise.
        * fs/hfsplus.c [GRUB_UTIL] (grub_hfsplus_fs): Likewise.
        * util/i386/pc/grub-setup.c (setup): Add safety check that probes for
        filesystems which begin at first sector.
        (options): New option --skip-fs-probe.
        (main): Handle --skip-fs-probe and pass it to setup().

14 years ago2009-10-25 Robert Millan <rmh.grub@aybabtu.com>
robertmh [Sun, 25 Oct 2009 15:14:25 +0000 (15:14 +0000)]
2009-10-25  Robert Millan  <rmh.grub@aybabtu.com>

        * include/grub/misc.h: Fix wrong evaluation of APPLE_CC.
        (memset): Fix function prototype.

14 years ago2009-10-25 Robert Millan <rmh.grub@aybabtu.com>
robertmh [Sat, 24 Oct 2009 23:36:00 +0000 (23:36 +0000)]
2009-10-25  Robert Millan  <rmh.grub@aybabtu.com>
2009-10-25  Vasily Averin  <vvs@parallels.com>

        * fs/ext2.c (grub_ext2_iterate_dir): Avoid infinite loop when
        `dirent.direntlen == 0'.

14 years ago2009-10-25 Robert Millan <rmh.grub@aybabtu.com>
robertmh [Sat, 24 Oct 2009 23:31:05 +0000 (23:31 +0000)]
2009-10-25  Robert Millan  <rmh.grub@aybabtu.com>

        * fs/cpio.c [MODE_USTAR]: Initialize `tar' module instead of
        `cpio'.
        [! MODE_USTAR]: Initialize `cpio' module instead of `tar'.

14 years ago2009-10-25 Robert Millan <rmh.grub@aybabtu.com>
robertmh [Sat, 24 Oct 2009 23:26:53 +0000 (23:26 +0000)]
2009-10-25  Robert Millan  <rmh.grub@aybabtu.com>

        * configure.ac: Check for `__ashldi3', `__ashrdi3', `__lshrdi3',
        `__trampoline_setup' and `__ucmpdi2'.
        * include/grub/powerpc/libgcc.h: Only export symbols for functions
        that libgcc provides.

14 years ago2009-10-25 Robert Millan <rmh.grub@aybabtu.com>
robertmh [Sat, 24 Oct 2009 23:26:42 +0000 (23:26 +0000)]
2009-10-25  Robert Millan  <rmh.grub@aybabtu.com>

        * include/grub/powerpc/libgcc.h (memset): Remove function prototype.
        * include/grub/sparc64/libgcc.h (memset): Likewise.
        * include/grub/misc.h (memset, memcmp): New function prototypes.

14 years ago2009-10-25 Robert Millan <rmh.grub@aybabtu.com>
robertmh [Sat, 24 Oct 2009 23:15:48 +0000 (23:15 +0000)]
2009-10-25  Robert Millan  <rmh.grub@aybabtu.com>

        * fs/cpio.c [MODE_USTAR]: Finish `tar' module instead of
        `cpio'.
        [! MODE_USTAR]: Finish `cpio' module instead of `tar'.

14 years ago2009-10-25 Robert Millan <rmh.grub@aybabtu.com>
robertmh [Sat, 24 Oct 2009 23:03:02 +0000 (23:03 +0000)]
2009-10-25  Robert Millan  <rmh.grub@aybabtu.com>

        Patch from Samuel Thibault <samuel.thibault@ens-lyon.org>
        * docs/grub.cfg: Compensate for recent change in multiboot
        loader (since 2009-08-14 it won't pass filename to payload).
        * util/grub.d/10_hurd.in: Likewise.

14 years ago2009-10-21 Felix Zielcke <fzielcke@z-51.de>
fzielcke [Wed, 21 Oct 2009 12:22:05 +0000 (12:22 +0000)]
2009-10-21  Felix Zielcke  <fzielcke@z-51.de>

* config.guess: Update to latest version from config git
repository.
* config.sub: Likewise.

14 years ago2009-10-20 Robert Millan <rmh.grub@aybabtu.com>
robertmh [Tue, 20 Oct 2009 11:30:37 +0000 (11:30 +0000)]
2009-10-20  Robert Millan  <rmh.grub@aybabtu.com>

        Fix build on sparc64.

        * configure.ac: Perform checks for libgcc symbols before
        adding `-nostdlib' to LDFLAGS.