]> git.proxmox.com Git - grub2.git/log
grub2.git
10 years ago * gentpl.py: Don't generate platform-dependent conditionals for
Vladimir Serbinenko [Wed, 27 Nov 2013 13:06:14 +0000 (14:06 +0100)]
* gentpl.py: Don't generate platform-dependent conditionals for
platform-independent targets.

10 years ago* grub-core/osdep/unix/exec.c (grub_util_exec_redirect): Remove
Colin Watson [Wed, 27 Nov 2013 11:22:31 +0000 (11:22 +0000)]
* grub-core/osdep/unix/exec.c (grub_util_exec_redirect): Remove
references to mdadm from otherwise generic code.
(grub_util_exec_pipe): Likewise.
(grub_util_exec_pipe_stderr): Likewise.
* grub-core/osdep/unix/getroot.c (grub_util_pull_lvm_by_command):
This function calls vgs, not mdadm; adjust variable names
accordingly.

10 years agoMerge branch 'new-autogen'
Colin Watson [Wed, 27 Nov 2013 10:57:27 +0000 (10:57 +0000)]
Merge branch 'new-autogen'

10 years agoSpeed up test suite by avoiding fsync
Colin Watson [Wed, 27 Nov 2013 10:06:07 +0000 (10:06 +0000)]
Speed up test suite by avoiding fsync

Add grub_util_disable_fd_syncs call to turn grub_util_fd_sync calls into
no-ops, and use it in programs that copy files but do not need to take
special care to sync writes (grub-mknetdir, grub-rescue,
grub-mkstandalone).

On my laptop, this reduces partmap_test's runtime from 1236 seconds to
204 seconds.

10 years ago* tests/util/grub-fs-tester.in: Execute xorriso from $PATH rather
Colin Watson [Tue, 26 Nov 2013 23:51:48 +0000 (23:51 +0000)]
* tests/util/grub-fs-tester.in: Execute xorriso from $PATH rather
than hardcoding /usr/local/bin/xorriso.

10 years agoHandle #if/#endif and C-style comments in AutoGen definitions files.
Colin Watson [Tue, 26 Nov 2013 17:48:20 +0000 (17:48 +0000)]
Handle #if/#endif and C-style comments in AutoGen definitions files.

10 years agoShow file name in error messages from AutogenParser.
Colin Watson [Tue, 26 Nov 2013 17:42:56 +0000 (17:42 +0000)]
Show file name in error messages from AutogenParser.

10 years agoGenerate Makefile.*.am directly from gentpl.py, eliminating the use of Autogen. ...
Colin Watson [Wed, 13 Nov 2013 12:42:24 +0000 (12:42 +0000)]
Generate Makefile.*.am directly from gentpl.py, eliminating the use of Autogen.  The Autogen definitions files remain intact as they offer a useful abstraction.

10 years ago Add PCI command activation to all PCI drivers as required for coreboot
Vladimir Serbinenko [Tue, 26 Nov 2013 13:21:11 +0000 (14:21 +0100)]
Add PCI command activation to all PCI drivers as required for coreboot
and maybe some other firmwares.

10 years ago * grub-core/Makefile.am: Reduce gratuituous differences between Apple
Vladimir Serbinenko [Tue, 26 Nov 2013 10:38:12 +0000 (11:38 +0100)]
* grub-core/Makefile.am: Reduce gratuituous differences between Apple
and non-Apple variants of efiemu compile.

10 years agoAdd ChangeLog entry for previous commit
Andrey Borzenkov [Mon, 25 Nov 2013 19:14:04 +0000 (23:14 +0400)]
Add ChangeLog entry for previous commit

10 years agoExplicitly check for linking format to use for efiemu64 module
Andrey Borzenkov [Sun, 24 Nov 2013 17:12:17 +0000 (21:12 +0400)]
Explicitly check for linking format to use for efiemu64 module

Similar to check for target linking format, also check for efiemu64
instead of hardcoding -melf_x86_64. This fixes compilation on *BSD
variants. We cannot easily reuse main target check because platforms
are different (main target is 32 bit and efiemu64 - 64 bit).

This commit adds EFIEMU64_LINK_FORMAT that contains detected
link option and is used in efiemu64.o linking instead of hardcoded
value.

Reported-By: Beeblebrox <zaphod@berentweb.com>
10 years ago * util/grub-mknetdir.c: Look for platform directories under pkglibdir
Vladimir Serbinenko [Mon, 25 Nov 2013 18:16:05 +0000 (19:16 +0100)]
* util/grub-mknetdir.c: Look for platform directories under pkglibdir
and not pkgdatadir.

10 years agoAdd a --locale-directory option to grub-install and related tools.
Colin Watson [Mon, 25 Nov 2013 18:04:50 +0000 (18:04 +0000)]
Add a --locale-directory option to grub-install and related tools.

* include/grub/util/install.h (GRUB_INSTALL_OPTIONS): Add
--locale-directory option.
(enum grub_install_options): Add
GRUB_INSTALL_OPTIONS_LOCALE_DIRECTORY.
* util/grub-install-common.c (grub_install_help_filter): Handle
GRUB_INSTALL_OPTIONS_LOCALE_DIRECTORY.
(grub_install_parse): Likewise.
(get_localedir): New function to check for a user-provided option
before trying grub_util_get_localedir.
(copy_locales): Use get_localedir rather than
grub_util_get_localedir.  Handle differing locale directory layouts.
(grub_install_copy_files): Likewise.

10 years ago * grub-core/osdep/unix/platform.c (get_ofpathname): Trim ending newline.
Vladimir Serbinenko [Mon, 25 Nov 2013 06:34:49 +0000 (07:34 +0100)]
* grub-core/osdep/unix/platform.c (get_ofpathname): Trim ending newline.
Don't rely on PATH_MAX.

10 years ago * grub-core/genmoddep.awk: Use more portable && rather than and.
Vladimir Serbinenko [Mon, 25 Nov 2013 06:32:51 +0000 (07:32 +0100)]
* grub-core/genmoddep.awk: Use more portable && rather than and.

10 years ago * grub-core/kern/i386/pc/startup.S [__APPLE__]: Create _edata by placing
Vladimir Serbinenko [Mon, 25 Nov 2013 04:55:33 +0000 (05:55 +0100)]
* grub-core/kern/i386/pc/startup.S [__APPLE__]: Create _edata by placing
an object after data. While it doesn't seem right solution, it
works well enough and OSX isn't main compilation platform.

10 years ago * gentpl.py: Add -ed2016 in order to make objconv accept our binary.
Vladimir Serbinenko [Mon, 25 Nov 2013 04:53:20 +0000 (05:53 +0100)]
* gentpl.py: Add -ed2016 in order to make objconv accept our binary.
While it doesn't seem right solution, it works well enough and
OSX isn't main compilation platform.

10 years ago * configure.ac: Add -static to LDFLAGS when using apple linker to
Vladimir Serbinenko [Mon, 25 Nov 2013 04:47:20 +0000 (05:47 +0100)]
* configure.ac: Add -static to LDFLAGS when using apple linker to
prevent it from pulling in dynamic linker.

10 years ago Apple assembly doesn't handle symbol arithmetic well. So define an
Vladimir Serbinenko [Sun, 24 Nov 2013 05:20:10 +0000 (06:20 +0100)]
Apple assembly doesn't handle symbol arithmetic well. So define an
offset symbol in boot.S and use it.

10 years ago Apple assembly doesn't handle symbol arithmetic well. So instead
Vladimir Serbinenko [Sun, 24 Nov 2013 05:13:45 +0000 (06:13 +0100)]
Apple assembly doesn't handle symbol arithmetic well. So instead
of getting addres of kernel_sector + 4 define kernel_sector_high.
It also makes code more readable.

10 years ago With Apple assembly in .macro environvemnt you have to use $$ instead
Vladimir Serbinenko [Sun, 24 Nov 2013 04:55:47 +0000 (05:55 +0100)]
With Apple assembly in .macro environvemnt you have to use $$ instead
of $. So introduce new preprocessor macro MACRO_DOLLAR(x) which expands
to $$x on Apple and to $x on everything else.

10 years ago * grub-core/Makefile.am: Use correct TARGET_OBJCONV rather than
Vladimir Serbinenko [Sun, 24 Nov 2013 04:27:20 +0000 (05:27 +0100)]
* grub-core/Makefile.am: Use correct TARGET_OBJCONV rather than
OBJCONV.

10 years ago * grub-core/gdb/i386/machdep.S: Use xorl %eax, %eax on both Apple
Vladimir Serbinenko [Sun, 24 Nov 2013 04:17:24 +0000 (05:17 +0100)]
* grub-core/gdb/i386/machdep.S: Use xorl %eax, %eax on both Apple
and non-Apple. This instruction is shorter and faster,
so no reason not to use it on both.

10 years ago * grub-core/lib/reed_solomon.c: Use section _text, _text rather than
Vladimir Serbinenko [Sun, 24 Nov 2013 04:14:11 +0000 (05:14 +0100)]
* grub-core/lib/reed_solomon.c: Use section _text, _text rather than
.text when compiling for Apple.

10 years ago * grub-core/term/arc/console.c: Add missing cast to silence warning.
Vladimir Serbinenko [Sun, 24 Nov 2013 04:04:12 +0000 (05:04 +0100)]
* grub-core/term/arc/console.c: Add missing cast to silence warning.

10 years ago * grub-core/boot/i386/pc/boot.S: Fix floppy probe. Due to missing
Vladimir Serbinenko [Sun, 24 Nov 2013 04:01:13 +0000 (05:01 +0100)]
* grub-core/boot/i386/pc/boot.S: Fix floppy probe. Due to missing
%dx restore the probe worked on non-existant drive. Reorganize the
code a little bit to free 2 bytes necessary for push/pop.

10 years ago * grub-core/kern/mips/arc/init.c (grub_machine_get_bootlocation):
Vladimir Serbinenko [Sat, 23 Nov 2013 14:35:01 +0000 (15:35 +0100)]
* grub-core/kern/mips/arc/init.c (grub_machine_get_bootlocation):
Add missing cast to silence warning.

10 years ago * util/grub-install.c (update_nvram): Support --no-nvram flag
Keshav Padram Amburay [Sat, 23 Nov 2013 12:02:12 +0000 (13:02 +0100)]
* util/grub-install.c (update_nvram): Support --no-nvram flag
for EFI targets.

10 years ago * INSTALL: Add note about sparc64/ia64 with clang (unsupported).
Vladimir Serbinenko [Sat, 23 Nov 2013 11:49:41 +0000 (12:49 +0100)]
* INSTALL: Add note about sparc64/ia64 with clang (unsupported).

10 years ago * util/garbage-gen.c: Add missing include of sys/time.h.
Vladimir Serbinenko [Sat, 23 Nov 2013 11:42:30 +0000 (12:42 +0100)]
* util/garbage-gen.c: Add missing include of sys/time.h.

10 years ago Don't add -mflush-func if it's not supported by compiler.
Vladimir Serbinenko [Sat, 23 Nov 2013 11:40:44 +0000 (12:40 +0100)]
Don't add -mflush-func if it's not supported by compiler.

10 years ago Move common BIOS/coreboot memory map declarations to
Vladimir Serbinenko [Sat, 23 Nov 2013 11:39:21 +0000 (12:39 +0100)]
Move common BIOS/coreboot memory map declarations to
include/grub/i386/memory_raw.h and eliminate duplicate declarations.

10 years agoadd util/garbage-gen.c to EXTRA_DIST
Andrey Borzenkov [Sat, 23 Nov 2013 10:39:35 +0000 (14:39 +0400)]
add util/garbage-gen.c to EXTRA_DIST

10 years ago * INSTALL: Document why older clang versions aren't appropriate.
Vladimir Serbinenko [Sat, 23 Nov 2013 00:16:47 +0000 (01:16 +0100)]
* INSTALL: Document why older clang versions aren't appropriate.

10 years ago * INSTALL: Document about clang for mips.
Vladimir Serbinenko [Fri, 22 Nov 2013 23:41:32 +0000 (00:41 +0100)]
* INSTALL: Document about clang for mips.

10 years ago * grub-core/lib/libgcrypt/mpi/longlong.h: Use C version with mips
Vladimir Serbinenko [Fri, 22 Nov 2013 23:36:13 +0000 (00:36 +0100)]
* grub-core/lib/libgcrypt/mpi/longlong.h: Use C version with mips
clang.

10 years ago Add *-xen to the list of grub-install-common platforms.
Vladimir Serbinenko [Fri, 22 Nov 2013 13:21:16 +0000 (14:21 +0100)]
Add *-xen to the list of grub-install-common platforms.

10 years ago * configure.ac: Do not enforce -mcmodel=large. It's not necessarry with
Vladimir Serbinenko [Fri, 22 Nov 2013 12:07:51 +0000 (13:07 +0100)]
* configure.ac: Do not enforce -mcmodel=large. It's not necessarry with
3 last commits.

10 years ago * grub-core/kern/xen/init.c: Do not map more pages than we can address.
Vladimir Serbinenko [Fri, 22 Nov 2013 12:04:29 +0000 (13:04 +0100)]
* grub-core/kern/xen/init.c: Do not map more pages than we can address.

10 years ago * grub-core/kern/efi/mm.c: Limit allocations to 2GiB when not compiling
Vladimir Serbinenko [Fri, 22 Nov 2013 12:03:19 +0000 (13:03 +0100)]
* grub-core/kern/efi/mm.c: Limit allocations to 2GiB when not compiling
with -mcmodel=large.

10 years ago * grub-core/kern/x86_64/dl.c (grub_arch_dl_relocate_symbols): Add
Vladimir Serbinenko [Fri, 22 Nov 2013 12:01:14 +0000 (13:01 +0100)]
* grub-core/kern/x86_64/dl.c (grub_arch_dl_relocate_symbols): Add
range-checking for 32-bit quantities.

10 years ago * configure.ac: Compile with -fPIC when compiling with clang on
Vladimir Serbinenko [Fri, 22 Nov 2013 11:50:41 +0000 (12:50 +0100)]
* configure.ac: Compile with -fPIC when compiling with clang on
mips.

10 years ago * configure.ac: Add -no-integrated-as on mips(el) to TARGET_CCASFLAGS
Vladimir Serbinenko [Fri, 22 Nov 2013 11:48:32 +0000 (12:48 +0100)]
* configure.ac: Add -no-integrated-as on mips(el) to TARGET_CCASFLAGS
when compiling with clang.

10 years ago clang emits calls to abort () under some unknown conditions.
Vladimir Serbinenko [Fri, 22 Nov 2013 11:42:58 +0000 (12:42 +0100)]
clang emits calls to abort () under some unknown conditions.
Export abort () when compiling with clang.

10 years ago * docs/grub-dev.texi: Document stack and heap sizes.
Vladimir Serbinenko [Fri, 22 Nov 2013 11:03:44 +0000 (12:03 +0100)]
* docs/grub-dev.texi: Document stack and heap sizes.

10 years ago * include/grub/i386/pc/memory.h: Decrease
Vladimir Serbinenko [Fri, 22 Nov 2013 11:02:00 +0000 (12:02 +0100)]
* include/grub/i386/pc/memory.h: Decrease
GRUB_MEMORY_MACHINE_SCRATCH_SIZE and increase
GRUB_MEMORY_MACHINE_PROT_STACK_SIZE.
The binary doesn't change (checked). It's more to better reflect actual
usage.

10 years ago * grub-core/disk/i386/pc/biosdisk.c (grub_biosdisk_open): Ensure
Vladimir Serbinenko [Fri, 22 Nov 2013 11:00:10 +0000 (12:00 +0100)]
* grub-core/disk/i386/pc/biosdisk.c (grub_biosdisk_open): Ensure
at compile time that enough of scratch size is available.

10 years ago * grub-core/kern/x86_64/efi/callwrap.S: Fix stack alignment.
Vladimir Serbinenko [Fri, 22 Nov 2013 04:40:32 +0000 (05:40 +0100)]
* grub-core/kern/x86_64/efi/callwrap.S: Fix stack alignment.
Previously we misaligned stack by 8 in startup.S and compensated
for it in callwrap.S. According to ABI docs (EFI and sysv amd64)
right behaviour is to align stack in startup.S and keep it aligned
in callwrap.S. startup.S part was committed few commits before. This
takes care of callwrap.S.
Reported by: Gary Lin.

10 years ago * grub-core/boot/mips/startup_raw.S: Handle the case of gap between
Vladimir Serbinenko [Fri, 22 Nov 2013 04:07:32 +0000 (05:07 +0100)]
* grub-core/boot/mips/startup_raw.S: Handle the case of gap between
.data and .bss. May happen if compiler and assembly use different
alignment.

10 years ago On MIPS handle got16 relocations to local symbols in an ABI-compliant
Vladimir Serbinenko [Fri, 22 Nov 2013 04:03:17 +0000 (05:03 +0100)]
On MIPS handle got16 relocations to local symbols in an ABI-compliant
way.

10 years ago Add support for a new magic symbol _gp_disp on mips to handle PIC
Vladimir Serbinenko [Fri, 22 Nov 2013 03:56:10 +0000 (04:56 +0100)]
Add support for a new magic symbol _gp_disp on mips to handle PIC
binaries.

10 years ago Use $t9 for indirect calls from asm to C as PIC ABI requires.
Vladimir Serbinenko [Fri, 22 Nov 2013 03:45:05 +0000 (04:45 +0100)]
Use $t9 for indirect calls from asm to C as PIC ABI requires.

10 years ago Remove -march=mips3 from TARGET_CCASFLAGS as it creates linking problem
Vladimir Serbinenko [Fri, 22 Nov 2013 03:36:53 +0000 (04:36 +0100)]
Remove -march=mips3 from TARGET_CCASFLAGS as it creates linking problem
when rest of GRUB is compiled for hisher stepping. Instead use
.set mips3/.set mips1 around cache and sync opcodes.

10 years ago Unify GOT/trampoline handling between PPC, MIPS and IA64 as they
Vladimir Serbinenko [Thu, 21 Nov 2013 20:54:33 +0000 (21:54 +0100)]
Unify GOT/trampoline handling between PPC, MIPS and IA64 as they
do essentially the same thing, do it in similar way.

10 years ago* util/grub-mkrescue.c (main): If a source directory is not
Colin Watson [Thu, 21 Nov 2013 17:36:45 +0000 (17:36 +0000)]
* util/grub-mkrescue.c (main): If a source directory is not
specified, read platform-specific files from subdirectories of
pkglibdir, not pkgdatadir.

10 years ago* grub-core/normal/progress.c: Remove unused file.
Colin Watson [Thu, 21 Nov 2013 15:37:57 +0000 (15:37 +0000)]
* grub-core/normal/progress.c: Remove unused file.

10 years ago * grub-core/lib/crypto.c (grub_crypto_hash): Remove variable length
Vladimir Serbinenko [Wed, 20 Nov 2013 19:09:18 +0000 (20:09 +0100)]
* grub-core/lib/crypto.c (grub_crypto_hash): Remove variable length
array.

10 years ago * util/grub-mkconfig.in: Say explicit "grub configuration" rather
Vladimir Serbinenko [Wed, 20 Nov 2013 09:18:19 +0000 (10:18 +0100)]
* util/grub-mkconfig.in: Say explicit "grub configuration" rather
than grub.cfg.

10 years ago * coreboot.cfg: Add missing file.
Vladimir Serbinenko [Tue, 19 Nov 2013 23:52:23 +0000 (00:52 +0100)]
* coreboot.cfg: Add missing file.

10 years ago * Makefile.am: Allow STRIP to be empty when creating windowszip.
Vladimir Serbinenko [Tue, 19 Nov 2013 22:48:46 +0000 (23:48 +0100)]
* Makefile.am: Allow STRIP to be empty when creating windowszip.

10 years ago * util/grub.d/30_os-prober.in: Add GRUB_OS_PROBER_SKIP_LIST to
Axel Kellermann [Tue, 19 Nov 2013 22:39:51 +0000 (23:39 +0100)]
* util/grub.d/30_os-prober.in: Add GRUB_OS_PROBER_SKIP_LIST to
selectively skipping systems.

10 years ago* Makefile.util.def (grub-mkimage): Add
Colin Watson [Tue, 19 Nov 2013 20:37:42 +0000 (20:37 +0000)]
* Makefile.util.def (grub-mkimage): Add
grub-core/osdep/aros/config.c to extra_dist.
* conf/Makefile.extra-dist (EXTRA_DIST): Add docs/autoiso.cfg,
docs/osdetect.cfg, grub-core/gnulib-fix-null-deref.diff,
grub-core/gnulib-fix-width.diff, grub-core/gnulib-no-abort.diff, and
grub-core/gnulib-no-gets.diff.

10 years ago Add automated filesystem checking based on scripts I've used now for
Vladimir Serbinenko [Tue, 19 Nov 2013 20:05:59 +0000 (21:05 +0100)]
Add automated filesystem checking based on scripts I've used now for
quite some time locally. Most of the test require root so they are
skipped when run without necessarry privelegies.

10 years ago* util/grub-install.c (main): Adjust info messages to match
Colin Watson [Tue, 19 Nov 2013 18:43:05 +0000 (18:43 +0000)]
* util/grub-install.c (main): Adjust info messages to match
installed paths of grub-bios-setup and grub-sparc64-setup.

10 years ago* util/grub-install-common.c (copy_locales): Consistently use
Colin Watson [Tue, 19 Nov 2013 15:35:44 +0000 (15:35 +0000)]
* util/grub-install-common.c (copy_locales): Consistently use
grub_util_get_localedir () rather than LOCALEDIR.
(grub_install_copy_files): Likewise.

10 years ago * grub-core/kern/x86_64/efi/startup.S (_start): Align the stack to a
Josh Triplett [Tue, 19 Nov 2013 13:31:40 +0000 (14:31 +0100)]
* grub-core/kern/x86_64/efi/startup.S (_start): Align the stack to a
16-byte boundary, as required by the x86-64 ABI, before calling
grub_main.  In some cases, GCC emits code that assumes this
alignment, which crashes if not aligned.  The EFI firmware is also
entitled to assume that stack alignment without checking.

10 years ago * grub-core/mmap/efi/mmap.c (grub_mmap_register): Round up/down to
Josh Triplett [Mon, 18 Nov 2013 17:00:52 +0000 (18:00 +0100)]
* grub-core/mmap/efi/mmap.c (grub_mmap_register): Round up/down to
4k page boundaries as expected by firmware rather than 1k
boundaries.
(grub_mmap_malign_and_register): Likewise.

10 years agoMerge branch 'master' of git.sv.gnu.org:/srv/git/grub
Vladimir Serbinenko [Mon, 18 Nov 2013 16:46:15 +0000 (17:46 +0100)]
Merge branch 'master' of git.sv.gnu.org:/srv/git/grub

10 years ago * tests/grub_func_test.in: Decrease RAM size to 512M. With less
Vladimir Serbinenko [Mon, 18 Nov 2013 16:42:54 +0000 (17:42 +0100)]
* tests/grub_func_test.in: Decrease RAM size to 512M. With less
fragmentation 512M is enough.

10 years ago * grub-core/kern/mm.c (grub_real_malloc): Decrease cut-off of moving the
Vladimir Serbinenko [Mon, 18 Nov 2013 16:41:37 +0000 (17:41 +0100)]
* grub-core/kern/mm.c (grub_real_malloc): Decrease cut-off of moving the
pointer to 32K. This is the size of cache element which is the most
common allocation >1K. This way the pointer is always around blocks
of 32K and so we keep performance while decreasing fragmentation.

10 years ago* tests/gzcompress_test.in: Skip if gzip is not installed (unlikely,
Colin Watson [Mon, 18 Nov 2013 16:16:33 +0000 (16:16 +0000)]
* tests/gzcompress_test.in: Skip if gzip is not installed (unlikely,
but for symmetry).
* tests/lzocompress_test.in: Skip if lzop is not installed.
* tests/xzcompress_test.in: Skip if xz is not installed.

10 years ago * grub-core/kern/mm.c (grub_real_malloc): Don't update the pointer to
Vladimir Serbinenko [Mon, 18 Nov 2013 15:58:55 +0000 (16:58 +0100)]
* grub-core/kern/mm.c (grub_real_malloc): Don't update the pointer to
current memory when allocating large chunks. This significantly
decreases memory fragmentation.

10 years agoMerge branch 'master' of git.sv.gnu.org:/srv/git/grub
Vladimir Serbinenko [Mon, 18 Nov 2013 15:47:54 +0000 (16:47 +0100)]
Merge branch 'master' of git.sv.gnu.org:/srv/git/grub

10 years ago * grub-core/kern/mips/qemu_mips/init.c (grub_machine_init): Update
Vladimir Serbinenko [Mon, 18 Nov 2013 15:39:45 +0000 (16:39 +0100)]
* grub-core/kern/mips/qemu_mips/init.c (grub_machine_init): Update
clock frequency to 200 MHz,

10 years ago * tests/util/grub-shell.in: Increase console size to 1024x1024.
Vladimir Serbinenko [Mon, 18 Nov 2013 15:32:22 +0000 (16:32 +0100)]
* tests/util/grub-shell.in: Increase console size to 1024x1024.

10 years ago* util/grub-mkrescue.c (main): Fix typo.
Colin Watson [Mon, 18 Nov 2013 15:30:47 +0000 (15:30 +0000)]
* util/grub-mkrescue.c (main): Fix typo.

10 years agoMerge branch 'master' of git.sv.gnu.org:/srv/git/grub
Vladimir Serbinenko [Mon, 18 Nov 2013 15:12:50 +0000 (16:12 +0100)]
Merge branch 'master' of git.sv.gnu.org:/srv/git/grub

10 years ago * Makefile.am (default_payload.elf): Add pata to loaded modules.
Vladimir Serbinenko [Mon, 18 Nov 2013 15:05:47 +0000 (16:05 +0100)]
* Makefile.am (default_payload.elf): Add pata to loaded modules.
Load config file from (cbfsdisk)/etc/grub.cfg.

10 years ago * util/grub-install-common.c (grub_install_copy_files): Fix module
Vladimir Serbinenko [Mon, 18 Nov 2013 14:59:55 +0000 (15:59 +0100)]
* util/grub-install-common.c (grub_install_copy_files): Fix module
destination directory.

10 years ago* tests/util/grub-shell.in: Don't fail on emu platform if po/*.gmo
Colin Watson [Mon, 18 Nov 2013 14:02:11 +0000 (14:02 +0000)]
* tests/util/grub-shell.in: Don't fail on emu platform if po/*.gmo
files have not been built.

10 years agoMerge branch 'master' of git.sv.gnu.org:/srv/git/grub
Vladimir Serbinenko [Mon, 18 Nov 2013 13:54:01 +0000 (14:54 +0100)]
Merge branch 'master' of git.sv.gnu.org:/srv/git/grub

10 years ago * tests/util/grub-shell.in: Use -cdrom and don't force cdrom
Vladimir Serbinenko [Mon, 18 Nov 2013 13:40:41 +0000 (14:40 +0100)]
* tests/util/grub-shell.in: Use -cdrom and don't force cdrom
on primary master on pseries.

10 years ago * grub-core/tests/videotest_checksum.c: Don't reload unifont if it's
Vladimir Serbinenko [Mon, 18 Nov 2013 13:38:31 +0000 (14:38 +0100)]
* grub-core/tests/videotest_checksum.c: Don't reload unifont if it's
already loaded. This saves memory needed for tests,

10 years ago * util/grub-mkrescue.c (main): Fix a typo to make yeeloong part
Vladimir Serbinenko [Mon, 18 Nov 2013 13:36:31 +0000 (14:36 +0100)]
* util/grub-mkrescue.c (main): Fix a typo to make yeeloong part
work again.

10 years ago * grub-core/term/terminfo.c (grub_cmd_terminfo): Fix a typo to make -g
Vladimir Serbinenko [Mon, 18 Nov 2013 13:35:18 +0000 (14:35 +0100)]
* grub-core/term/terminfo.c (grub_cmd_terminfo): Fix a typo to make -g
work again.

10 years ago* grub-core/osdep/unix/hostdisk.c (grub_util_make_temporary_file):
Colin Watson [Mon, 18 Nov 2013 12:27:44 +0000 (12:27 +0000)]
* grub-core/osdep/unix/hostdisk.c (grub_util_make_temporary_file):
Handle errors from mkstemp.
(grub_util_make_temporary_dir): Handle errors from mkdtemp.

10 years ago * tests/util/grub-shell.in: For powerpc tests put the CD-ROM as primary
Vladimir Serbinenko [Mon, 18 Nov 2013 10:51:46 +0000 (11:51 +0100)]
* tests/util/grub-shell.in: For powerpc tests put the CD-ROM as primary
master since with some combinations of qemu and firmware only primary
IDE channel is available.

10 years ago * grub-core/tests/gfxterm_menu.c: Skip high-resolution tests on
Vladimir Serbinenko [Mon, 18 Nov 2013 10:48:07 +0000 (11:48 +0100)]
* grub-core/tests/gfxterm_menu.c: Skip high-resolution tests on
low-memory platforms where we don't have enough memory for them.
* grub-core/tests/videotest_checksum.c: Likewise.

10 years ago * grub-core/tests/cmdline_cat_test.c: Don't reload unifont if it's
Vladimir Serbinenko [Mon, 18 Nov 2013 10:45:55 +0000 (11:45 +0100)]
* grub-core/tests/cmdline_cat_test.c: Don't reload unifont if it's
already loaded. This saves memory needed for tests,

10 years ago Fix handling of install lists.
Vladimir Serbinenko [Mon, 18 Nov 2013 10:38:00 +0000 (11:38 +0100)]
Fix handling of install lists.

10 years ago * grub-core/lib/sparc64/setjmp.S: Force spilling of current window.
Vladimir Serbinenko [Mon, 18 Nov 2013 09:01:36 +0000 (10:01 +0100)]
* grub-core/lib/sparc64/setjmp.S: Force spilling of current window.

10 years ago On i386-ieee1275 we run in paged mode. So we need to explicitly map
Vladimir Serbinenko [Mon, 18 Nov 2013 03:32:33 +0000 (04:32 +0100)]
On i386-ieee1275 we run in paged mode. So we need to explicitly map
the devices before accessing them.

10 years ago * grub-core/lib/relocator.c (grub_mm_check_real): Accept const char *
Vladimir Serbinenko [Mon, 18 Nov 2013 01:45:25 +0000 (02:45 +0100)]
* grub-core/lib/relocator.c (grub_mm_check_real): Accept const char *
as file argument.

10 years ago * grub-core/normal/cmdline.c (grub_cmdline_get): Plug memory leak.
Vladimir Serbinenko [Mon, 18 Nov 2013 01:43:29 +0000 (02:43 +0100)]
* grub-core/normal/cmdline.c (grub_cmdline_get): Plug memory leak.

10 years ago * grub-core/kern/file.c (grub_file_open): Free file->name on failure.
Vladimir Serbinenko [Mon, 18 Nov 2013 01:41:42 +0000 (02:41 +0100)]
* grub-core/kern/file.c (grub_file_open): Free file->name on failure.
(grub_file_close): Free file->name.

10 years ago * grub-core/commands/verify.c (free_pk): Plug memory leak.
Vladimir Serbinenko [Mon, 18 Nov 2013 01:40:17 +0000 (02:40 +0100)]
* grub-core/commands/verify.c (free_pk): Plug memory leak.
(grub_load_public_key): Likewise.
(grub_verify_signature_real): Likewise.
(grub_cmd_verify_signature): Likewise.

10 years ago * grub-core/commands/legacycfg.c (grub_legacy_check_md5_password): Plug
Vladimir Serbinenko [Mon, 18 Nov 2013 01:37:46 +0000 (02:37 +0100)]
* grub-core/commands/legacycfg.c (grub_legacy_check_md5_password): Plug
memory leak.

10 years ago * grub-core/lib/powerpc/setjmp.S (grub_setjmp): Save r31.
Vladimir Serbinenko [Mon, 18 Nov 2013 01:35:32 +0000 (02:35 +0100)]
* grub-core/lib/powerpc/setjmp.S (grub_setjmp): Save r31.
(grub_longjmp): Restore r31.
* include/grub/powerpc/setjmp.h (grub_jmp_buf): Reserve space for r31.

10 years ago * util/grub-mkrescue.c (make_image_fwdisk_abs): Insert all partmap
Vladimir Serbinenko [Mon, 18 Nov 2013 01:03:36 +0000 (02:03 +0100)]
* util/grub-mkrescue.c (make_image_fwdisk_abs): Insert all partmap
modules to be in line with make_image_abs.