Robert Millan
af2f93ac47
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 18:49:44 +00:00
Felix Zielcke
73fb3dd5f0
2009-11-16 Felix Zielcke <fzielcke@z-51.de>
...
* util/mkisofs/name.c (FDECL3): Use isascii macro instead of
relying that char is signed.
2009-11-16 19:47:10 +01:00
Vladimir 'phcoder' Serbinenko
a691ca3348
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 19:13:02 +01:00
Felix Zielcke
2af8f0f4fc
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 16:01:15 +01:00
Robert Millan
83bdecaf2a
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 23:22:45 +00:00
Robert Millan
fd6fd3d770
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 14:02:33 +00:00
Felix Zielcke
16a88c491c
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-15 13:41:25 +01:00
Robert Millan
a415847694
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 21:20:02 +00:00
Robert Millan
fc2208b0ef
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-14 18:38:11 +00:00
Robert Millan
8d0edf4abd
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 13:34:51 +00:00
Robert Millan
a73f596946
Forgot to commit ChangeLog ...
2009-11-13 13:32:22 +00:00
Robert Millan
1c8927f083
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.
2009-11-13 13:03:47 +00:00
Robert Millan
6e1e0d8954
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.
2009-11-12 21:32:47 +00:00
Robert Millan
7f2b34d84e
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.
2009-11-12 12:23:11 +00:00
Colin Watson
c0ef331155
2009-11-11 Colin Watson <cjwatson@ubuntu.com>
...
* util/powerpc/ieee1275/grub-mkrescue.in: Fix --version output.
2009-11-11 23:21:13 +00:00
Robert Millan
e1f240ff44
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.
2009-11-11 20:52:04 +00:00
Felix Zielcke
af7d4de5c2
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.
2009-11-11 17:00:27 +01:00
Robert Millan
2c55dbc0d5
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.
2009-11-11 00:23:29 +00:00
Felix Zielcke
6a9cead5cf
2009-11-09 Felix Zielcke <fzielcke@z-51.de>
...
* util/mkisofs/mkisofs.c (ld_options): Fix a spelling mistake.
2009-11-09 21:36:09 +01:00
Robert Millan
4825d7908c
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.
2009-11-09 19:58:24 +00:00
Robert Millan
84b860d827
2009-11-09 Robert Millan <rmh.grub@aybabtu.com>
...
* gnulib/fnmatch_loop.c (EXT): Fix warning (signed and unsigned type in
conditional expression).
2009-11-09 19:20:33 +00:00
Robert Millan
66e9b71250
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.
2009-11-09 19:16:09 +00:00
Robert Millan
34f4a5b005
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.
2009-11-09 14:50:20 +00:00
Robert Millan
ac451143b2
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.
2009-11-09 14:45:28 +00:00
Robert Millan
4089b167cd
2009-11-09 Robert Millan <rmh.grub@aybabtu.com>
...
* normal/auth.c (punishment_delay): Moved from here ...
(grub_auth_strcmp): ... to here (inside function).
2009-11-09 14:30:47 +00:00
Robert Millan
325f503783
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.
2009-11-09 14:25:03 +00:00
Robert Millan
7aea29a388
2009-11-09 Robert Millan <rmh.grub@aybabtu.com>
...
* normal/auth.c: Include `<grub/time.h>'.
(grub_auth_strcmp): Replace `strcmp' with `grub_strcmp'.
2009-11-09 08:05:27 +00:00
Robert Millan
3fd6f044f1
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.
2009-11-09 00:37:56 +00:00
Robert Millan
a4cd68e41d
2009-11-09 Robert Millan <rmh.grub@aybabtu.com>
...
* conf/common.rmk (grub_mkisofs_CFLAGS): Prefix include
path with $(srcdir).
2009-11-08 23:59:24 +00:00
Vladimir 'phcoder' Serbinenko
7ad12f433d
2009-11-09 Vladimir Serbinenko <phcoder@gmail.com>
...
* normal/auth.c (grub_auth_strcmp): Fixed incorrect variable usage.
2009-11-09 00:28:10 +01:00
Robert Millan
c1129f0392
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.
2009-11-08 23:21:21 +00:00
Vladimir 'phcoder' Serbinenko
ec8bb77de9
2009-11-09 Vladimir Serbinenko <phcoder@gmail.com>
...
* normal/auth.c (grub_auth_strcmp): Fix bug which resulted in function
being insecure.
2009-11-09 00:16:17 +01:00
Robert Millan
3716b12ce2
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).
2009-11-08 21:55:25 +00:00
Robert Millan
b97b7b914b
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.
2009-11-08 20:02:16 +00:00
Robert Millan
0411481297
2009-11-08 Robert Millan <rmh.grub@aybabtu.com>
...
* autogen.sh: Use `sh gendistlist.sh' to avoid reliing on
executable bit.
2009-11-08 16:43:36 +00:00
Robert Millan
e4eb23732d
2009-11-08 Robert Millan <rmh.grub@aybabtu.com>
...
* kern/i386/multiboot_mmap.c (grub_machine_mmap_init): Improve error
message for coreboot users.
2009-11-08 16:23:23 +00:00
robertmh
c926e1d585
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.
2009-11-07 21:06:30 +00:00
fzielcke
86e5b1dbb7
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'.
2009-11-04 08:20:53 +00:00
fzielcke
246cd78f70
2009-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
...
* util/grub.d/30_os-prober.in: Restore default behavior for unsupported
OSes.
2009-11-03 14:25:34 +00:00
robertmh
4f9dfb3701
2009-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
...
* util/grub.d/30_os-prober.in: Add GNU/Hurd support
2009-11-02 21:01:14 +00:00
robertmh
b82bd5e192
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.
2009-11-02 19:32:12 +00:00
robertmh
ff1a9bca3a
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.
2009-11-02 19:14:00 +00:00
robertmh
61697d9c70
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.
2009-11-02 13:55:25 +00:00
robertmh
a50569e135
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.
2009-11-01 23:03:09 +00:00
fzielcke
5b1538672e
2009-11-01 Felix Zielcke <fzielcke@z-51.de>
...
* Makefile.in (TARGET_CPPFLAGS): Add `-I$(srcdir)/include'.
2009-11-01 18:19:04 +00:00
robertmh
d9e2cd701b
2009-10-30 Robert Millan <rmh.grub@aybabtu.com>
...
Fix build problem.
* Makefile.in (TARGET_CPPFLAGS): Replace `-nostdinc' with
`-isystem=$(srcdir)/include'.
2009-10-30 22:51:52 +00:00
robertmh
805111a4fd
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).
2009-10-30 22:37:38 +00:00
robertmh
fa6e945f50
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.
2009-10-29 10:03:13 +00:00
robertmh
cee15086c3
2009-10-28 Robert Millan <rmh.grub@aybabtu.com>
...
* Makefile.in (TARGET_CPPFLAGS): Add `-nostdinc'.
2009-10-28 23:16:32 +00:00
robertmh
95b9239e13
2009-10-28 Robert Millan <rmh.grub@aybabtu.com>
...
* include/grub/misc.h: Stop checking for APPLE_CC.
2009-10-28 22:55:27 +00:00
robertmh
2ed19dfded
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.
2009-10-28 22:02:54 +00:00
fzielcke
fdcdde1905
2009-10-28 Felix Zielcke <fzielcke@z-51.de>
...
* commands/acpi.c (grub_cmd_acpi): Fix the out of memory error
strings.
2009-10-28 18:24:10 +00:00
robertmh
cefabfe1c4
2009-10-26 Robert Millan <rmh.grub@aybabtu.com>
...
* autogen.sh: Support addition of external modules via `GRUB_CONTRIB'
variable.
* Makefile.in: Likewise.
2009-10-26 20:04:43 +00:00
robertmh
ed96ab6d20
2009-10-26 Robert Millan <rmh.grub@aybabtu.com>
...
* gendistlist.sh: Simplify .svn check. Skip .bzr as well.
2009-10-26 19:39:35 +00:00
robertmh
0579b753d6
2009-10-26 Robert Millan <rmh.grub@aybabtu.com>
...
* Makefile.in (RMKFILES): Rewrite using $(wildcard).
2009-10-26 18:25:02 +00:00
robertmh
478df40933
2009-10-26 Robert Millan <rmh.grub@aybabtu.com>
...
* disk/scsi.c: Remove `<grub/machine/kernel.h>' (not needed).
2009-10-26 18:06:23 +00:00
robertmh
083d16798e
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.
2009-10-26 18:04:37 +00:00
robertmh
5947ae32f5
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.
2009-10-26 18:02:30 +00:00
robertmh
94180ff6c7
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.
2009-10-26 18:02:19 +00:00
cjwatson
9031b03aac
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.
2009-10-26 16:33:13 +00:00
cjwatson
e4f6809bbc
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.
2009-10-26 16:28:04 +00:00
robertmh
67937d4dca
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.
2009-10-26 00:41:54 +00:00
robertmh
5c35048e23
2009-10-26 Robert Millan <rmh.grub@aybabtu.com>
...
* docs/grub.cfg: Fix example usage of *BSD loaders.
2009-10-26 00:38:38 +00:00
robertmh
ee3756ccb3
2009-10-26 Robert Millan <rmh.grub@aybabtu.com>
...
* util/grub.d/10_freebsd.in: Remove.
2009-10-26 00:38:26 +00:00
robertmh
4dea1c6f06
2009-10-25 Robert Millan <rmh.grub@aybabtu.com>
...
* util/i386/pc/grub-setup.c (setup): Add missing parameter to
grub_util_error() call.
2009-10-25 17:49:27 +00:00
robertmh
042484d78e
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().
2009-10-25 15:23:48 +00:00
robertmh
d64448a72c
2009-10-25 Robert Millan <rmh.grub@aybabtu.com>
...
* include/grub/misc.h: Fix wrong evaluation of APPLE_CC.
(memset): Fix function prototype.
2009-10-25 15:14:25 +00:00
robertmh
508d42ec11
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'.
2009-10-24 23:36:00 +00:00
robertmh
b240e30c47
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'.
2009-10-24 23:31:05 +00:00
robertmh
346e7fbedb
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.
2009-10-24 23:26:53 +00:00
robertmh
cdb308b0e1
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.
2009-10-24 23:26:42 +00:00
robertmh
fb26abc22b
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'.
2009-10-24 23:15:48 +00:00
robertmh
f669389090
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.
2009-10-24 23:03:02 +00:00
fzielcke
0933cdc0ab
2009-10-21 Felix Zielcke <fzielcke@z-51.de>
...
* config.guess: Update to latest version from config git
repository.
* config.sub: Likewise.
2009-10-21 12:22:05 +00:00
robertmh
3b2fe8c285
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.
2009-10-20 11:30:37 +00:00
phcoder
46695a62e6
2009-10-16 Vladimir Serbinenko <phcoder@gmail.com>
...
Let user specify OpenBSD root device.
* loader/i386/bsd.c (openbsd_root): New variable.
(openbsd_opts): New option 'root'.
(OPENBSD_ROOT_ARG): New macro.
(grub_openbsd_boot): Use 'openbsd_root'.
(grub_cmd_openbsd): Fill 'openbsd_root'.
2009-10-16 20:21:12 +00:00
robertmh
d2b6b7fc9a
2009-10-16 Robert Millan <rmh.grub@aybabtu.com>
...
* NEWS: Misc adjustments.
2009-10-16 18:46:51 +00:00
phcoder
421bd7ac69
2009-10-16 Vladimir Serbinenko <phcoder@gmail.com>
...
* NEWS: Mentioned XNU, ACPI, gptsync, password and parttool.
2009-10-16 18:11:45 +00:00
robertmh
f1d29d87ad
2009-10-16 Robert Millan <rmh.grub@aybabtu.com>
...
* configure.ac: Bump version to 1.97.
2009-10-16 17:43:26 +00:00
cjwatson
6f3cd880e9
2009-10-16 Colin Watson <cjwatson@ubuntu.com>
...
* configure.ac (TARGET_CFLAGS): Add -mno-mmx -mno-sse -mno-sse2
-mno-3dnow on x86 architectures. Some toolchains enable these
features by default, but they rely on registers that aren't enabled
in GRUB. Thanks to Vladimir Serbinenko for the suggestion.
2009-10-16 15:38:42 +00:00
robertmh
035f712204
2009-10-15 Robert Millan <rmh.grub@aybabtu.com>
...
Make entry text a bit more readable.
* util/grub.d/10_linux.in: Add `with' before `Linux'.
2009-10-15 20:34:27 +00:00
phcoder
44998e5893
2009-10-15 Vladimir Serbinenko <phcoder@gmail.com>
...
* loader/i386/pc/xnu.c (grub_xnu_set_video): Fix loading splash image.
2009-10-15 12:40:13 +00:00
phcoder
cd2851b3dd
2009-10-15 Vladimir Serbinenko <phcoder@gmail.com>
...
* commands/xnu_uuid.c (grub_cmd_xnu_uuid): Remove duplicated bitwise
operations.
2009-10-15 12:26:30 +00:00
phcoder
c6f3b249e4
2009-10-15 Vladimir Serbinenko <phcoder@gmail.com>
...
* configure.ac: Add missing dollar.
2009-10-15 12:09:56 +00:00
phcoder
6b5886ba66
2009-10-15 Vladimir Serbinenko <phcoder@gmail.com>
...
Revert 2009-06-10 Pavel Roskin <proski@gnu.org>
* configure.ac: Put checks for __bswapsi2 and __bswapdi2.
* include/grub/powerpc/libgcc.h: Don't use weak attribute for all
exports.
* include/grub/sparc64/libgcc.h: Likewise. Use
preprocessor conditionals.
2009-10-15 11:55:06 +00:00
robertmh
e9d66f6d6a
2009-10-14 Robert Millan <rmh.grub@aybabtu.com>
...
* conf/common.rmk (grub-dumpbios): Remove rule.
(sbin_SCRIPTS, CLEANFILES): Remove `grub-dumpbios'.
* util/grub-dumpbios.in: Remove file.
2009-10-14 18:23:40 +00:00
robertmh
9155bc1796
2009-10-14 Robert Millan <rmh.grub@aybabtu.com>
...
Refer to kernel of FreeBSD "kFreeBSD" to avoid confusion between
the Operating System (FreeBSD) and its kernel (kernel of FreeBSD).
* loader/i386/bsd.c (grub_freebsd_boot): Read kernel environment
from "kFreeBSD" namespace (rather than "FreeBSD"). Update all
users.
(GRUB_MOD_INIT (bsd)): Rename "freebsd" command to "kfreebsd",
"openbsd" to "kopenbsd", "netbsd" to "knetbsd", "freebsd_loadenv"
to "kfreebsd_loadenv", "freebsd_module" to "kfreebsd_module",
and "freebsd_module_elf" to "kfreebsd_module_elf". Update all
users.
2009-10-14 16:49:22 +00:00
robertmh
bf7f7a18f4
2009-10-12 Robert Millan <rmh.grub@aybabtu.com>
...
* term/tparm.c: Switch to GPLv3.
2009-10-12 21:53:15 +00:00
robertmh
86564c267a
2009-10-09 Robert Millan <rmh.grub@aybabtu.com>
...
* include/grub/i386/cpuid.h: Add header protection.
2009-10-09 18:23:48 +00:00
robertmh
5c936493d3
2009-10-09 Robert Millan <rmh.grub@aybabtu.com>
...
Fail gracefuly when attempting to load 64-bit kFreeBSD on IA32 CPU.
* include/grub/i386/cpuid.h: New file.
* commands/i386/cpuid.c: Include `<grub/i386/cpuid.h>'.
(has_longmode): Rename to ...
(grub_cpuid_has_longmode): ... this. Update all users. Remove
`static' attribute.
* loader/i386/bsd.c: Include `<grub/i386/cpuid.h>'.
(grub_bsd_load_elf): Fail if load of 64-bit kernel was requested
on a CPU that doesn't implement AMD64 instruction set.
2009-10-09 17:57:02 +00:00
cjwatson
186e7cf23b
2009-10-06 Colin Watson <cjwatson@ubuntu.com>
...
* Makefile.in (docs/stamp-vti): Depend on configure.ac as well, so
that version.texi is rebuilt on version number changes.
2009-10-06 00:04:32 +00:00
cjwatson
83b65c4afb
2009-10-06 Colin Watson <cjwatson@ubuntu.com>
...
* Makefile.in: Don't set info_INFOS unless makeinfo was found.
Fixes bug #27602 .
2009-10-05 23:55:48 +00:00
cjwatson
d244281ce6
2009-10-06 Colin Watson <cjwatson@ubuntu.com>
...
* util/i386/pc/grub-install.in: Source
${libdir}/grub/grub-mkconfig_lib before option processing, in order
that the --grub-probe option will work.
* util/sparc64/ieee1275/grub-install.in: Likewise.
2009-10-05 23:33:36 +00:00
robertmh
da25306d46
2009-10-05 Robert Millan <rmh.grub@aybabtu.com>
...
* configure.ac: Bump version to 1.97~beta4.
2009-10-05 17:56:33 +00:00
robertmh
e8ee83c046
2009-10-03 Robert Millan <rmh.grub@aybabtu.com>
...
Resync grub-mkdevicemap in x86_64-efi.
* conf/x86_64-efi.rmk (sbin_UTILITIES): Enable `grub-mkdevicemap'.
(grub_mkdevicemap_SOURCES): Add missing `util/deviceiter.c' and
`util/devicemap.c'.
2009-10-02 23:13:38 +00:00
cjwatson
50dcabcf94
2009-10-01 Colin Watson <cjwatson@ubuntu.com>
...
* util/grub-editenv.c (create_envblk_file): Write new block with a
.new suffix and then rename it into place, to ensure atomic
creation.
2009-10-01 18:22:43 +00:00
robertmh
0e51c3a7d4
2009-09-28 Robert Millan <rmh.grub@aybabtu.com>
...
Do not automatically install headers.
* Makefile.in (include_DATA): Remove. Update all users.
2009-09-28 14:24:43 +00:00
robertmh
31299a9556
2009-09-26 Robert Millan <rmh.grub@aybabtu.com>
...
* conf/common.rmk (pkglib_MODULES): Remove `lua.mod'.
(lua_mod_SOURCES, lua_mod_CFLAGS, lua_mod_LDFLAGS): Remove.
* util/osdetect.lua: Remove.
* script/lua/lauxlib.c: Likewise.
* script/lua/ldebug.c: Likewise.
* script/lua/grub_main.c: Likewise.
* script/lua/lauxlib.h: Likewise.
* script/lua/ldebug.h: Likewise.
* script/lua/ltablib.c: Likewise.
* script/lua/liolib.c: Likewise.
* script/lua/lstrlib.c: Likewise.
* script/lua/lualib.h: Likewise.
* script/lua/ldo.c: Likewise.
* script/lua/ldump.c: Likewise.
* script/lua/ldo.h: Likewise.
* script/lua/loslib.c: Likewise.
* script/lua/lundump.c: Likewise.
* script/lua/grub_lib.c: Likewise.
* script/lua/ldblib.c: Likewise.
* script/lua/lundump.h: Likewise.
* script/lua/lmem.c: Likewise.
* script/lua/grub_lib.h: Likewise.
* script/lua/lmathlib.c: Likewise.
* script/lua/lstate.c: Likewise.
* script/lua/ltm.c: Likewise.
* script/lua/lvm.c: Likewise.
* script/lua/lmem.h: Likewise.
* script/lua/lstate.h: Likewise.
* script/lua/ltm.h: Likewise.
* script/lua/ltable.c: Likewise.
* script/lua/lvm.h: Likewise.
* script/lua/llex.c: Likewise.
* script/lua/lgc.c: Likewise.
* script/lua/grub_lua.h: Likewise.
* script/lua/loadlib.c: Likewise.
* script/lua/lfunc.c: Likewise.
* script/lua/lopcodes.c: Likewise.
* script/lua/lparser.c: Likewise.
* script/lua/ltable.h: Likewise.
* script/lua/llex.h: Likewise.
* script/lua/lgc.h: Likewise.
* script/lua/lfunc.h: Likewise.
* script/lua/lbaselib.c: Likewise.
* script/lua/lopcodes.h: Likewise.
* script/lua/lparser.h: Likewise.
* script/lua/lzio.c: Likewise.
* script/lua/linit.c: Likewise.
* script/lua/lobject.c: Likewise.
* script/lua/llimits.h: Likewise.
* script/lua/lstring.c: Likewise.
* script/lua/lzio.h: Likewise.
* script/lua/lapi.c: Likewise.
* script/lua/lcode.c: Likewise.
* script/lua/lua.h: Likewise.
* script/lua/lobject.h: Likewise.
* script/lua/lstring.h: Likewise.
* script/lua/lapi.h: Likewise.
* script/lua/lcode.h: Likewise.
* script/lua/luaconf.h: Likewise.
2009-09-26 11:48:55 +00:00
cjwatson
cb8a2c382e
2009-09-26 Colin Watson <cjwatson@ubuntu.com>
...
* docs/grub.texi (Command-line and menu entry commands): Document
date and echo commands.
2009-09-25 23:43:46 +00:00
robertmh
6b9b6276d4
2009-09-24 Pavel Roskin <proski@gnu.org>
...
* include/grub/kernel.h (struct grub_module_header): Remove
`grub_module_header_types'. Make `type' unsigned. Make `size'
32-bit on all platforms.
* util/elf/grub-mkimage.c (load_modules): Treat `type' as an
8-bit field. Use grub_host_to_target32() for `size'.
* util/i386/efi/grub-mkimage.c (make_mods_section): Likewise.
* util/i386/pc/grub-mkimage.c (generate_image): Likewise.
* util/sparc64/ieee1275/grub-mkimage.c (generate_image): Likewise.
2009-09-24 13:40:40 +00:00
robertmh
4e5a02a7ba
2009-09-24 Robert Millan <rmh.grub@aybabtu.com>
...
Fix "lost keypress" bug in at_keyboard.
* term/i386/pc/at_keyboard.c (grub_at_keyboard_checkkey): New function.
Checks for readyness of input buffer (without flushing it).
(grub_at_keyboard_term): Use grub_at_keyboard_checkkey() rather
than grub_at_keyboard_getkey_noblock() for `checkkey' struct member.
2009-09-24 13:25:07 +00:00
robertmh
c6dcedf6b2
2009-09-24 Robert Millan <rmh.grub@aybabtu.com>
...
* util/i386/pc/grub-mkimage.c (generate_image): Enclose BIOS-specific
size check within GRUB_MACHINE_PCBIOS section.
2009-09-24 13:22:19 +00:00
robertmh
74c958b180
2009-09-24 Robert Millan <rmh.grub@aybabtu.com>
...
* include/grub/i386/at_keyboard.h (KEYBOARD_ISREADY): Negate
return value.
* term/i386/pc/at_keyboard.c (grub_keyboard_getkey): Negate
KEYBOARD_ISREADY check.
(grub_at_keyboard_checkkey): Rename to ...
(grub_at_keyboard_getkey_noblock): ... this. Update all users.
Remove gratuitous cast.
2009-09-24 13:15:51 +00:00
cjwatson
ff42022396
2009-09-23 Colin Watson <cjwatson@ubuntu.com>
...
* configure.ac: Call AC_PROG_MKDIR_P.
* Makefile.in (docs/stamp-vti): Create docs directory. Create
version.texi in $(builddir) rather than $(srcdir).
(docs/grub.info): Create docs directory. Prepend $(builddir)/docs
to makeinfo's @include search path.
2009-09-23 17:18:06 +00:00
fzielcke
d96875df6e
2009-09-23 Felix Zielcke <fzielcke@z-51.de>
...
* util/grub-mkconfig_lib.in (grub_file_is_not_garbage): Cope with `*.dpkg-*'
2009-09-23 09:46:08 +00:00
fzielcke
9b3f836571
2009-09-23 Felix Zielcke <fzielcke@z-51.de>
...
* util/grub-mkconfig_lib.in (grub_file_is_not_garbage): Add support
for `*.dpkg-new'.
2009-09-23 09:26:34 +00:00
cjwatson
c44c90db27
2009-09-21 Colin Watson <cjwatson@ubuntu.com>
...
Build info documentation. Some code borrowed from Automake.
* configure.ac: Check for makeinfo.
* Makefile.in (MAKEINFO, INFOS, info_INFOS): New variables.
(MAINTAINER_CLEANFILES): Add $(INFOS), docs/stamp-vti, and
docs/version.texi.
(MOSTLYCLEANFILES): Add vti.tmp.
(docs/version.texi, docs/stamp-vti): Update automatically.
(docs/grub.info): Build info documentation. Use --force and ignore
errors for now.
(all-local): Add $(INFOS).
(install-local): Install info files.
(uninstall): Uninstall info files.
* docs/version.texi: Remove from revision control. This file is
automatically generated on build now.
* gendistlist.sh: Add `*.info'.
2009-09-21 18:22:27 +00:00
fzielcke
e0b37bb5b1
2009-09-21 Felix Zielcke <fzielcke@z-51.de>
...
* kern/term.c: Fix indentation.
2009-09-21 14:37:04 +00:00
fzielcke
5a78865b39
2009-09-21 Felix Zielcke <fzielcke@z-51.de>
...
* util/hostdisk.c: Fix a comment.
2009-09-21 14:03:11 +00:00
robertmh
dace7e8a0b
2009-09-20 Robert Millan <rmh.grub@aybabtu.com>
...
Fix regression introduced in r2539.
* term/usb_keyboard.c (USB_HID_DEVICE_TO_HOST): Change from 0x61
to 0xA1.
2009-09-20 16:07:45 +00:00
robertmh
4cbbccec2d
fix last changelog entry
2009-09-19 20:18:03 +00:00
cjwatson
a83d079b1e
2009-09-19 Colin Watson <cjwatson@ubuntu.com>
...
* util/grub.d/30_os-prober.in: Don't throw away stderr from
os-prober. Under normal operation, it does not print anything to
stderr; if it does, we need to debug it, and throwing away stderr
makes that excessively difficult.
2009-09-19 14:15:00 +00:00
phcoder
be94a509bb
2009-09-16 Vladimir Serbinenko <phcoder@gmail.com>
...
* mmap/mmap.c (grub_cmd_badram): Fix off-by-one error.
2009-09-17 11:38:50 +00:00
robertmh
63f745e857
2009-09-16 Robert Millan <rmh.grub@aybabtu.com>
...
* aclocal.m4 (AC_LANG_PROGRAM): New macro. Overrides stock
AC_LANG_PROGRAM from autoconf.
(grub_ASM_USCORE, grub_PROG_OBJCOPY_ABSOLUTE): Add missing
prototypes (fixes warning).
* configure.ac: Add `-Werror' to TARGET_CFLAGS unless
`--disable-werror' was used.
2009-09-16 19:32:44 +00:00
robertmh
bbb2a70f51
2009-09-16 Robert Millan <rmh.grub@aybabtu.com>
...
* partmap/msdos.c (pc_partition_map_iterate): Fix possible use of
uninitialized `lastaddr'.
2009-09-16 19:23:33 +00:00
robertmh
0f0b8c878d
fix last changelog entry
2009-09-16 19:01:53 +00:00
phcoder
77c24f1dc5
2009-09-15 Vladimir Serbinenko <phcoder@gmail.com>
...
* partmap/pc.c (pc_partition_map_iterate): Detect and break loops.
2009-09-15 10:36:29 +00:00
cjwatson
07197f2322
2009-09-14 Colin Watson <cjwatson@ubuntu.com>
...
* commands/test.c (get_fileinfo): Return immediately if
grub_fs_probe fails.
2009-09-14 19:57:45 +00:00
robertmh
dabf179886
2009-09-14 José Martínez <xosemp@gmail.com>
...
* commands/acpi.c (grub_cmd_acpi): Fix loading ACPI tables from file.
2009-09-14 15:38:30 +00:00
cjwatson
d52109a7a2
2009-09-14 Colin Watson <cjwatson@ubuntu.com>
...
* util/grub.d/30_os-prober.in: Cope with Windows 7 in os-prober
output.
2009-09-14 11:32:00 +00:00
robertmh
5653217923
2009-09-13 Robert Millan <rmh.grub@aybabtu.com>
...
* configure.ac: Remove --enable-grub-pe2elf. Only build
grub-pe2elf when needed by the build system itself.
* conf/common.rmk: Remove $(enable_grub_pe2elf) check.
2009-09-13 01:30:18 +00:00
robertmh
8ef070f50d
2009-09-12 Robert Millan <rmh.grub@aybabtu.com>
...
* configure.ac: Bump version to 1.97~beta3.
* docs/version.texi: Likewise.
2009-09-12 13:08:38 +00:00
robertmh
6122955707
2009-09-12 Robert Millan <rmh.grub@aybabtu.com>
...
* video/i386/pc/vbe.c (grub_vbe_get_video_mode_info): Move packed
mode special handling (grub_vbe_bios_set_dac_palette_width() call)
from here ...
* loader/i386/linux.c [GRUB_MACHINE_PCBIOS]
(grub_linux_setup_video): ... to here (with some adjustments).
2009-09-12 13:07:27 +00:00
robertmh
5c9f8d8427
2009-09-12 Robert Millan <rmh.grub@aybabtu.com>
...
Fix memory corruption issue (spotted by Colin Watson).
* kern/i386/pc/startup.S (grub_vbe_bios_getset_dac_palette): Fix bug
causing returned size to be stored in an incorrect memory location.
Fix use of uninitialized value when storing the returned size.
2009-09-12 13:05:25 +00:00
blusseau
e8f5d6e985
2009-09-12 Yves Blusseau <blusseau@zetam.org>
...
Change clean rules to properly remove files
* genmk.rb: add new clean rules
* Makefile.in (clean): add the new targets
(mostlyclean): likewise
2009-09-12 07:38:50 +00:00
cjwatson
cda2a409b3
2009-09-11 Colin Watson <cjwatson@ubuntu.com>
...
* include/grub/ntfs.h (struct grub_fshelp_node): Change `size'
to grub_uint64_t.
* fs/ntfs.c (init_file): Understand 64-bit sizes for
non-resident files.
2009-09-11 14:26:12 +00:00
cjwatson
866953751f
2009-09-11 Colin Watson <cjwatson@ubuntu.com>
...
* configure.ac: Don't look for help2man when cross-compiling. Fixes
part of bug #27349 .
2009-09-11 14:17:35 +00:00
fzielcke
8aa1541a41
2009-09-10 Felix Zielcke <fzielcke@z-51.de>
...
* util/grub-mkconfig.in: Make the created config mode 400 and
print a warning if it fails.
2009-09-10 19:04:43 +00:00
robertmh
48d9bb0a93
2009-09-10 Robert Millan <rmh.grub@aybabtu.com>
...
* util/grub.d/40_custom.in: Ask user to type custom entries below
comment, rather than below 'exec tail' line.
2009-09-10 12:53:25 +00:00
cjwatson
3b0521bed2
2009-09-10 Colin Watson <cjwatson@ubuntu.com>
...
* util/grub.d/40_custom.in: Make sure that the explanatory text is
visible in grub.cfg.
2009-09-10 12:44:24 +00:00
cjwatson
50051d5542
2009-09-10 Colin Watson <cjwatson@ubuntu.com>
...
* util/grub.d/40_custom.in: Make it a little clearer how to use this
file.
2009-09-10 12:10:33 +00:00
fzielcke
c0d343875a
2009-09-10 Felix Zielcke <fzielcke@z-51.de>
...
* docs/grub.cfg: Add an example menu entry for memtest86+.
2009-09-09 22:31:51 +00:00
proski
ad8ea1f4c2
Typo fixes
2009-09-09 21:40:17 +00:00
fzielcke
a2094832ae
fix typos in previous changelog entry
2009-09-09 19:46:10 +00:00
fzielcke
80a608f387
2009-09-09 Felix Zielcke <fzielcke@z-51.de>
...
* config.guess: Update to lastest versiom from config git.
* config.sub: Likewise.
2009-09-09 12:53:11 +00:00
cjwatson
99423078e4
2009-09-08 Colin Watson <cjwatson@ubuntu.com>
...
* script/sh/execute.c (grub_script_execute_cmdline): Set "?" in
unknown-command case. Fixes bug #27320 .
2009-09-08 19:10:34 +00:00
fzielcke
44454e4c24
2009-09-08 Felix Zielcke <fzielcke@z-51.de>
...
* kern/rescue_parser.c (grub_rescue_parse_line): Only suggest to try
`help' if the command exists.
2009-09-08 15:00:28 +00:00
robertmh
e30d87ad55
2009-09-06 Robert Millan <rmh.grub@aybabtu.com>
...
* INSTALL: Require GCC 4.1.3 or later.
2009-09-06 15:20:33 +00:00
blusseau
9a86f1ecb9
2009-09-06 Yves Blusseau <blusseau@zetam.org>
...
* Makefile.in (RMKFILES): add i386-qemu.rmk
(MAINTAINER_CLEANFILES): add $(srcdir)/DISTLIST $(srcdir)/config.h.in
$(srcdir)/stamp-h.in
2009-09-06 10:25:19 +00:00
robertmh
7f26d4665b
2009-09-05 Robert Millan <rmh.grub@aybabtu.com>
...
* util/grub-probe.c (probe): Comment out buggy codepath, which
was unexpectedly enabled by Colin Watson's 2009-09-02 fix. This
should be re-enabled after 1.97.
2009-09-05 20:36:49 +00:00
fzielcke
3a613259b5
2009-09-05 Felix Zielcke <fzielcke@z-51.de>
...
* gendistlist.sh: Add `grub-dumpdevtree' and `*.lua' to the list
find searches for.
2009-09-05 19:26:11 +00:00
phcoder
197f76c741
2009-09-04 Vladimir Serbinenko <phcoder@gmail.com>
...
* loader/i386/xnu.c (grub_cpu_xnu_fill_devicetree): Remove
unnecessary calls to grub_error.
2009-09-04 13:16:07 +00:00
cjwatson
70ba68ce82
2009-09-04 Colin Watson <cjwatson@ubuntu.com>
...
* NEWS: Mention `keystatus' and Unicode fonts.
2009-09-04 12:59:54 +00:00
robertmh
4ff0d7a4b8
2009-09-04 Robert Millan <rmh.grub@aybabtu.com>
...
* configure.ac: Bump version to 1.97~beta2.
* docs/version.texi: Likewise.
2009-09-04 12:08:43 +00:00
cjwatson
77c55a8749
2009-09-03 Colin Watson <cjwatson@ubuntu.com>
...
* configure.ac: By default, GCC 4.4 generates .eh_frame sections
containing unwind information in some cases where it previously did
not. Use -fno-dwarf2-cfi-asm if available to restore the old
behaviour. See http://patchwork.kernel.org/patch/8555/ for related
discussion.
2009-09-03 23:00:25 +00:00
blusseau
f79572cdd6
2009-09-02 Yves BLUSSEAU <blusseau@zetam.org>
...
Embedding loadenv module into grub-emu
* conf/i386-pc.rmk (grub_emu_SOURCES): add lib/envblk.c and
commands/loadenv.c
* conf/i386-coreboot.rmk (grub_emu_SOURCES): Likewise
* conf/i386-efi.rmk (grub_emu_SOURCES): Likewise
* conf/i386-ieee1275.rmk (grub_emu_SOURCES): Likewise
* conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Likewise
* conf/sparc64-ieee1275.rmk (grub_emu_SOURCES): Likewise
* conf/x86_64-efi.rmk (grub_emu_SOURCES): Likewise
2009-09-03 17:07:08 +00:00
robertmh
93a8108813
2009-09-03 Magnus Granberg <zorry@ume.nu>
...
* aclocal.m4: Add grub_CHECK_PIE. It check if the compiler
include -fPIE in the default specs.
* configure.ac: Check if pie_possible is yes and add -fno-PIE
to TARGET_CFLAGS.
2009-09-03 16:32:14 +00:00
fzielcke
160034b2bf
2009-09-03 Felix Zielcke <fzielcke@z-51.de>
...
* INSTALL: Note that GNU Bison 2.3 or later is required.
2009-09-03 14:12:27 +00:00
cjwatson
087c07c4fa
2009-09-03 Colin Watson <cjwatson@ubuntu.com>
...
* kern/i386/pc/startup.S: Fix typo.
2009-09-03 07:53:40 +00:00
phcoder
cbf978c0f0
2009-09-02 Vladimir Serbinenko <phcoder@gmail.com>
...
* efiemu/loadcore.c (SUFFIX (grub_efiemu_loadcore_load)): Fix style
according to GCS.
2009-09-02 16:16:29 +00:00