]> git.proxmox.com Git - grub2.git/log
grub2.git
10 years ago Use unix functions for temporary files and special files on cygwin.
Vladimir Serbinenko [Mon, 16 Dec 2013 12:16:37 +0000 (13:16 +0100)]
Use unix functions for temporary files and special files on cygwin.

10 years ago Define functions explicitly rather than using --defsym in tests
Vladimir Serbinenko [Mon, 16 Dec 2013 12:07:28 +0000 (13:07 +0100)]
Define functions explicitly rather than using --defsym in tests
whenever possible. Respect locality in remaining cases.

10 years ago * grub-core/genmoddep.awk: Remove explicit getline < /dev/stdin.
Vladimir Serbinenko [Mon, 16 Dec 2013 12:02:19 +0000 (13:02 +0100)]
* grub-core/genmoddep.awk: Remove explicit getline < /dev/stdin.

10 years ago * grub-core/kern/uboot/init.c: Fix units of uboot timer.
Ian Campbell [Sun, 15 Dec 2013 16:59:40 +0000 (17:59 +0100)]
* grub-core/kern/uboot/init.c: Fix units of uboot timer.

10 years ago New functional test for sleep function.
Vladimir Serbinenko [Sun, 15 Dec 2013 16:57:58 +0000 (17:57 +0100)]
New functional test for sleep function.

This test allows to check sleep without qemu. Keep qemu version as
well as functional test won't notice if all clocks are going too fast
or too slow.

10 years ago Add explicit sysv_abi on amd64 asm routines.
Vladimir Serbinenko [Sun, 15 Dec 2013 13:48:13 +0000 (14:48 +0100)]
Add explicit sysv_abi on amd64 asm routines.

10 years ago* grub-core/commands/efi/lsefisystab.c: Use %lld to show num_table_entries.
Vladimir Serbinenko [Sun, 15 Dec 2013 13:42:19 +0000 (14:42 +0100)]
* grub-core/commands/efi/lsefisystab.c: Use %lld to show num_table_entries.

10 years ago * include/grub/test.h: Use gnu_printf rather than printf on GRUB
Vladimir Serbinenko [Sun, 15 Dec 2013 13:39:21 +0000 (14:39 +0100)]
* include/grub/test.h: Use gnu_printf rather than printf on GRUB
functions.

10 years ago * grub-core/loader/i386/linux.c: Use grub_addr_t rather than long when
Vladimir Serbinenko [Sun, 15 Dec 2013 13:37:12 +0000 (14:37 +0100)]
* grub-core/loader/i386/linux.c: Use grub_addr_t rather than long when
appropriate.

10 years ago * grub-core/loader/i386/linux.c: Use %p rather than %lx for pointers.
Vladimir Serbinenko [Sun, 15 Dec 2013 13:35:18 +0000 (14:35 +0100)]
* grub-core/loader/i386/linux.c: Use %p rather than %lx for pointers.

10 years ago * grub-core/kern/elfXX.c: Use grub_addr_t rather than long when
Vladimir Serbinenko [Sun, 15 Dec 2013 13:33:22 +0000 (14:33 +0100)]
* grub-core/kern/elfXX.c: Use grub_addr_t rather than long when
appropriate.

10 years ago * grub-core/disk/loopback.c: Use sequential IDs rather than pointer.
Vladimir Serbinenko [Sun, 15 Dec 2013 13:31:21 +0000 (14:31 +0100)]
* grub-core/disk/loopback.c: Use sequential IDs rather than pointer.

In case of quick removal of loopback and adding another one it may
get same ID, confusing the cache system.

10 years ago * grub-core/commands/acpi.c: Use grub_addr_t rather than long when
Vladimir Serbinenko [Sun, 15 Dec 2013 13:27:04 +0000 (14:27 +0100)]
* grub-core/commands/acpi.c: Use grub_addr_t rather than long when
appropriate.

10 years ago * grub-core/kern/i386/coreboot/cbtable.c: Use char * arithmetic rather
Vladimir Serbinenko [Sun, 15 Dec 2013 13:24:34 +0000 (14:24 +0100)]
* grub-core/kern/i386/coreboot/cbtable.c: Use char * arithmetic rather
than converting to long.

10 years ago * grub-core/disk/cryptodisk.c: Rename "n" to "last_cryptodisk_id".
Vladimir Serbinenko [Sun, 15 Dec 2013 13:21:14 +0000 (14:21 +0100)]
* grub-core/disk/cryptodisk.c: Rename "n" to "last_cryptodisk_id".

10 years ago * util/grub-mkimagexx.c (relocate_addresses): Display offset rather
Vladimir Serbinenko [Sun, 15 Dec 2013 13:18:30 +0000 (14:18 +0100)]
* util/grub-mkimagexx.c (relocate_addresses): Display offset rather
than almost useless pointer.

10 years ago Add gcc_struct to all packed structures when compiling with mingw.
Vladimir Serbinenko [Sun, 15 Dec 2013 13:14:30 +0000 (14:14 +0100)]
Add gcc_struct to all packed structures when compiling with mingw.

Just "packed" doesn't always pack the way we expect.

10 years ago * include/grub/i386/coreboot/lbio.h: Add missing attribute (packed).
Vladimir Serbinenko [Sat, 14 Dec 2013 23:56:11 +0000 (00:56 +0100)]
* include/grub/i386/coreboot/lbio.h: Add missing attribute (packed).

10 years ago * util/grub-pe2elf.c: Fix handling of .bss.
Vladimir Serbinenko [Sat, 14 Dec 2013 23:55:17 +0000 (00:55 +0100)]
* util/grub-pe2elf.c: Fix handling of .bss.

10 years ago Implement windows flavour of EFI install routines.
Vladimir Serbinenko [Sat, 14 Dec 2013 22:35:58 +0000 (23:35 +0100)]
Implement windows flavour of EFI install routines.

10 years ago * conf/Makefile.extra-dist: Adjust path to conf/i386-cygwin-img-ld.sc.
Vladimir Serbinenko [Sat, 14 Dec 2013 22:33:05 +0000 (23:33 +0100)]
* conf/Makefile.extra-dist: Adjust path to conf/i386-cygwin-img-ld.sc.

10 years ago Change grub_install_register_efi interface to pass GRUB device.
Vladimir Serbinenko [Sat, 14 Dec 2013 22:31:56 +0000 (23:31 +0100)]
Change grub_install_register_efi interface to pass GRUB device.

This allows grub_install_register_efi to request partition info
directly.

10 years ago Workaround cygwin bug when using \\?\Volume{GUID} syntax.
Vladimir Serbinenko [Sat, 14 Dec 2013 22:28:34 +0000 (23:28 +0100)]
Workaround cygwin bug when using \\?\Volume{GUID} syntax.

10 years ago Do not use TCHAR string functions as they are not available on cygwin.
Vladimir Serbinenko [Sat, 14 Dec 2013 22:25:30 +0000 (23:25 +0100)]
Do not use TCHAR string functions as they are not available on cygwin.

10 years ago Workaround windows bug when querying EFI system partition parameters.
Vladimir Serbinenko [Sat, 14 Dec 2013 22:23:11 +0000 (23:23 +0100)]
Workaround windows bug when querying EFI system partition parameters.

10 years ago * grub-core/kern/i386/qemu/init.c (resource): Decrease struct size
Vladimir Serbinenko [Sat, 14 Dec 2013 22:15:47 +0000 (23:15 +0100)]
* grub-core/kern/i386/qemu/init.c (resource): Decrease struct size
by using bitfields.

10 years ago * grub-core/boot/i386/qemu/boot.S: Add missing EXT_C.
Vladimir Serbinenko [Sat, 14 Dec 2013 22:13:42 +0000 (23:13 +0100)]
* grub-core/boot/i386/qemu/boot.S: Add missing EXT_C.

10 years ago Make i386-* other than i386-pc compileable under cygwin.
Vladimir Serbinenko [Sat, 14 Dec 2013 22:12:53 +0000 (23:12 +0100)]
Make i386-* other than i386-pc compileable under cygwin.

10 years ago Fix definition of grub_efi_hard_drive_device_path. Take care that
Vladimir Serbinenko [Sat, 14 Dec 2013 21:04:02 +0000 (22:04 +0100)]
Fix definition of grub_efi_hard_drive_device_path. Take care that
existing code would work even if by some reason bogus definition is
used by EFI implementations.

10 years ago * grub-core/osdep/windows/hostdisk.c: Fix cygwin compilation.
Vladimir Serbinenko [Sat, 14 Dec 2013 20:55:44 +0000 (21:55 +0100)]
* grub-core/osdep/windows/hostdisk.c: Fix cygwin compilation.

10 years ago * grub-core/osdep/windows/blocklist.c: Add missing cast in printf
Vladimir Serbinenko [Sat, 14 Dec 2013 20:54:37 +0000 (21:54 +0100)]
* grub-core/osdep/windows/blocklist.c: Add missing cast in printf
invocation.

10 years ago * util/config.c: Remove trailing newline from distributor in simple
Vladimir Serbinenko [Sat, 14 Dec 2013 20:50:36 +0000 (21:50 +0100)]
* util/config.c: Remove trailing newline from distributor in simple
parsing.

10 years ago * include/grub/efi/api.h: Rename protocol and interface to avoid
Vladimir Serbinenko [Sat, 14 Dec 2013 20:48:46 +0000 (21:48 +0100)]
* include/grub/efi/api.h: Rename protocol and interface to avoid
conflict.

10 years ago * .gitignore: Add .exe variants. Add missing files. Remove few outdated
Vladimir Serbinenko [Sat, 14 Dec 2013 20:45:17 +0000 (21:45 +0100)]
* .gitignore: Add .exe variants. Add missing files. Remove few outdated
entries.

10 years ago * grub-core/osdep/exec.c: Use unix version on cygwin.
Vladimir Serbinenko [Sat, 14 Dec 2013 20:39:03 +0000 (21:39 +0100)]
* grub-core/osdep/exec.c: Use unix version on cygwin.

10 years ago Implement multiboot2 EFI BS specification.
Vladimir Serbinenko [Fri, 13 Dec 2013 11:56:14 +0000 (12:56 +0100)]
Implement multiboot2 EFI BS specification.

10 years ago * grub-core/normal/charset.c: Fix premature line wrap and crash.
Vladimir Serbinenko [Wed, 11 Dec 2013 16:06:00 +0000 (17:06 +0100)]
* grub-core/normal/charset.c: Fix premature line wrap and crash.
Crash happened only in some cases like a string starting at the
half of the screen of same length.

10 years ago * include/grub/efiemu/efiemu.h: Sync configuration table declaration
Vladimir Serbinenko [Wed, 11 Dec 2013 15:16:21 +0000 (16:16 +0100)]
* include/grub/efiemu/efiemu.h: Sync configuration table declaration
with EFI counterpart.

10 years ago Propagate the EFI commits to x86-efi specific parts.
Vladimir Serbinenko [Wed, 11 Dec 2013 15:11:17 +0000 (16:11 +0100)]
Propagate the EFI commits to x86-efi specific parts.

10 years ago * grub-core/commands/efi/lssal.c: Fix terminating condition.
Vladimir Serbinenko [Wed, 11 Dec 2013 14:59:12 +0000 (15:59 +0100)]
* grub-core/commands/efi/lssal.c: Fix terminating condition.

10 years ago Introduce grub_efi_packed_guid and use it where alignment is not
Vladimir Serbinenko [Wed, 11 Dec 2013 14:57:08 +0000 (15:57 +0100)]
Introduce grub_efi_packed_guid and use it where alignment is not
guaranteed.

10 years ago * include/grub/efi/api.h (grub_efi_device_path): Define length as
Vladimir Serbinenko [Wed, 11 Dec 2013 14:54:01 +0000 (15:54 +0100)]
* include/grub/efi/api.h (grub_efi_device_path): Define length as
unaligned u16 rather than u8[2].

10 years ago * grub-core/kern/ia64/dl.c (grub_arch_dl_relocate_symbols): Add checks
Vladimir Serbinenko [Wed, 11 Dec 2013 10:29:35 +0000 (11:29 +0100)]
* grub-core/kern/ia64/dl.c (grub_arch_dl_relocate_symbols): Add checks
for relocation range.

10 years ago * grub-core/kern/ia64/dl.c (grub_arch_dl_relocate_symbols): Handle
Vladimir Serbinenko [Wed, 11 Dec 2013 10:28:48 +0000 (11:28 +0100)]
* grub-core/kern/ia64/dl.c (grub_arch_dl_relocate_symbols): Handle
non-function pcrel21b relocation. It happens with .text.unlikely
section.

10 years agoefi: mm: make MAX_USABLE_ADDRESS platform-specific
Leif Lindholm [Tue, 10 Dec 2013 12:24:57 +0000 (12:24 +0000)]
efi: mm: make MAX_USABLE_ADDRESS platform-specific

10 years ago* grub-core/lib/fdt.c: change memcpy => grub_memcpy
Leif Lindholm [Tue, 10 Dec 2013 16:46:46 +0000 (16:46 +0000)]
* grub-core/lib/fdt.c: change memcpy => grub_memcpy

10 years agoMerge branch 'master' of git.sv.gnu.org:/srv/git/grub
Vladimir Serbinenko [Tue, 10 Dec 2013 08:24:37 +0000 (09:24 +0100)]
Merge branch 'master' of git.sv.gnu.org:/srv/git/grub

10 years agoalways define config_directory and config_file as full pathname
Andrey Borzenkov [Tue, 10 Dec 2013 05:55:27 +0000 (09:55 +0400)]
always define config_directory and config_file as full pathname

If configfile is relative pathname, extend it with current ($root) so its
interpretation does not change if $root is changed later.

Suggested by Vladimir Serbienko.

10 years agoAdd --no-rs-codes flag to optionally disable reed-solomon codes in grub-install and...
Jon McCune [Tue, 10 Dec 2013 00:52:12 +0000 (16:52 -0800)]
Add --no-rs-codes flag to optionally disable reed-solomon codes in grub-install and grub-bios-setup for x86 BIOS targets.

10 years ago Add missing compile and link options for sparc64-emu.
Vladimir Serbinenko [Mon, 9 Dec 2013 23:05:28 +0000 (00:05 +0100)]
Add missing compile and link options for sparc64-emu.

10 years ago Implement sparc64 trampolines (needed for sparc64-emu).
Vladimir Serbinenko [Mon, 9 Dec 2013 23:01:27 +0000 (00:01 +0100)]
Implement sparc64 trampolines (needed for sparc64-emu).

10 years ago * grub-core/kern/sparc64/dl.c (grub_arch_dl_relocate_symbols): Check
Vladimir Serbinenko [Mon, 9 Dec 2013 14:51:12 +0000 (15:51 +0100)]
* grub-core/kern/sparc64/dl.c (grub_arch_dl_relocate_symbols): Check
range of R_SPARC_HI22.
Implement R_SPARC_LM22.

10 years ago * grub-core/kern/powerpc/dl_helper.c (grub_arch_dl_get_tramp_got_size):
Vladimir Serbinenko [Mon, 9 Dec 2013 14:43:27 +0000 (15:43 +0100)]
* grub-core/kern/powerpc/dl_helper.c (grub_arch_dl_get_tramp_got_size):
Do not explicitly check for symbol table as it's already checked in
platform-independent layer.

10 years ago * grub-core/kern/emu/cache.c [__ia64__]: Use our cache cleaning routine
Vladimir Serbinenko [Mon, 9 Dec 2013 13:24:56 +0000 (14:24 +0100)]
* grub-core/kern/emu/cache.c [__ia64__]: Use our cache cleaning routine
on ia64 as __clear_cache is a dummy on ia64.

10 years ago * grub-core/kern/ia64/dl_helper.c (grub_ia64_dl_get_tramp_got_size):
Vladimir Serbinenko [Mon, 9 Dec 2013 13:22:31 +0000 (14:22 +0100)]
* grub-core/kern/ia64/dl_helper.c (grub_ia64_dl_get_tramp_got_size):
Do not explicitly check for symbol table as it's already checked in
platform-independent layer.

10 years ago* util/grub-mkconfig.in: Add missing newline to output.
Colin Watson [Mon, 9 Dec 2013 00:14:59 +0000 (00:14 +0000)]
* util/grub-mkconfig.in: Add missing newline to output.

10 years ago * grub-core/kern/ia64/efi/init.c (grub_arch_sync_caches): Move to ...
Vladimir Serbinenko [Sun, 8 Dec 2013 17:27:40 +0000 (18:27 +0100)]
* grub-core/kern/ia64/efi/init.c (grub_arch_sync_caches): Move to ...
* grub-core/kern/ia64/cache.c (grub_arch_sync_caches): ... here.

10 years ago * grub-core/kern/emu/main.c: Silence missing prototypes to allow emu
Vladimir Serbinenko [Sun, 8 Dec 2013 17:21:10 +0000 (18:21 +0100)]
* grub-core/kern/emu/main.c: Silence missing prototypes to allow emu
compilation with GCC <= 4.2.
* grub-core/kern/emu/argp_common.c: Likewise.

10 years ago * include/grub/kernel.h [__sparc__]: Restrict sparc64-ieee1275 to
Vladimir Serbinenko [Sun, 8 Dec 2013 17:19:42 +0000 (18:19 +0100)]
* include/grub/kernel.h [__sparc__]: Restrict sparc64-ieee1275 to
right platform rather than leaking to sparc64-emu.

10 years ago * grub-core/osdep/windows/emuconsole.c: Remove unsigned comparison >= 0.
Vladimir Serbinenko [Sun, 8 Dec 2013 17:16:32 +0000 (18:16 +0100)]
* grub-core/osdep/windows/emuconsole.c: Remove unsigned comparison >= 0.
But ensure that the variables in question are indeed unsigned.

10 years ago * grub-core/kern/emu/lite.c: Add missing include of ../ia64/dl_helper.c.
Vladimir Serbinenko [Sun, 8 Dec 2013 17:14:32 +0000 (18:14 +0100)]
* grub-core/kern/emu/lite.c: Add missing include of ../ia64/dl_helper.c.

10 years ago Remove grub_memalign on emu.
Vladimir Serbinenko [Sun, 8 Dec 2013 17:12:20 +0000 (18:12 +0100)]
Remove grub_memalign on emu.

10 years ago * grub-core/kern/ia64/efi/init.c: Fix alignment code so it doesn't
Vladimir Serbinenko [Sun, 8 Dec 2013 17:10:05 +0000 (18:10 +0100)]
* grub-core/kern/ia64/efi/init.c: Fix alignment code so it doesn't
truncate incomplete lines but instead flushes them.

10 years ago Move OS-dependent mprotect for module loading to grub-core/osdep/*/dl.c
Vladimir Serbinenko [Sun, 8 Dec 2013 17:07:41 +0000 (18:07 +0100)]
Move OS-dependent mprotect for module loading to grub-core/osdep/*/dl.c
and implement windows variant.

10 years ago Fix mips-emu compilation.
Vladimir Serbinenko [Sun, 8 Dec 2013 16:49:02 +0000 (17:49 +0100)]
Fix mips-emu compilation.

10 years ago * configure.ac: Check for freetype library usability.
Vladimir Serbinenko [Sun, 8 Dec 2013 09:50:59 +0000 (10:50 +0100)]
* configure.ac: Check for freetype library usability.

10 years ago Make arm-emu work.
Vladimir Serbinenko [Sun, 8 Dec 2013 01:59:21 +0000 (02:59 +0100)]
Make arm-emu work.

10 years ago * util/grub-mkfont.c: Replace stpcpy with grub_stpcpy.
Vladimir Serbinenko [Sat, 7 Dec 2013 22:28:20 +0000 (23:28 +0100)]
* util/grub-mkfont.c: Replace stpcpy with grub_stpcpy.

10 years agoUpdate color_normal and color_highlight defaults (light-gray instead of white)
Andrey Borzenkov [Sat, 7 Dec 2013 20:00:26 +0000 (00:00 +0400)]
Update color_normal and color_highlight defaults (light-gray instead of white)

10 years agouse light-gray as default color in normal.mod for consistency
Andrey Borzenkov [Sat, 7 Dec 2013 16:00:48 +0000 (20:00 +0400)]
use light-gray as default color in normal.mod for consistency

Defalut font color on PC console seems to be light-gray; this is
what user also gets in rescue prompt and what is defined as
GRUB_TERM_DEFAULT_NORMAL_COLOR. But normal.mod defaults to white.
This makes unpleasant visual effect as colors are changed after kernel
is booted.

Use the same color eveywhere for consistency and default to light-gray
as this is also what at least Linux kernel is using by default.

10 years ago Transform -C option to grub-mkstandalone to --core-compress available
Vladimir Serbinenko [Sat, 7 Dec 2013 15:18:22 +0000 (16:18 +0100)]
Transform -C option to grub-mkstandalone to --core-compress available
in all grub-install flavours.

10 years ago Merge GRUBFS and GRUB_FS variables.
Vladimir Serbinenko [Sat, 7 Dec 2013 15:09:39 +0000 (16:09 +0100)]
Merge GRUBFS and GRUB_FS variables.

10 years agosecond attempt to fix using grub device name as install device
Andrey Borzenkov [Sat, 7 Dec 2013 14:58:19 +0000 (18:58 +0400)]
second attempt to fix using grub device name as install device

grub-install already resolved passed install device to grub device. So do the
same as grub-setup and strip parenthesis if we get legacy (hdX).

I accidentally commited revert of 69ca97c820a623f85baf2db1627e19bef9c24e44 and
this patch as part of f585c905054b8c74e6e0a67341e84accfb816912. So this commit
just adds ChangeLog entry and cosmetic whitespace fix.

10 years agofix partition module names when /boot is on diskfilter
Andrey Borzenkov [Sat, 7 Dec 2013 11:00:37 +0000 (15:00 +0400)]
fix partition module names when /boot is on diskfilter

/usr/local/grub2/sbin/grub-install: info: grub-mkimage --directory '/usr/local/grub2/lib/grub/i386-pc' --prefix '(mduuid/e6d1dcf06cea72140bafae74a8677f36)/grub' --output '/boot/grub/i386-pc/core.img' --format 'i386-pc' --compression 'auto'  'ext2' 'msdos' 'msdos' 'diskfilter' 'mdraid1x' 'biosdisk'
.
/usr/local/grub2/sbin/grub-install: error: cannot open `/usr/local/grub2/lib/grub/i386-pc/msdos.mod': No such file or directory.

Introduce common helper for both diskfilter and non-diskfilter case that
converts partition map names into module names.

10 years ago * configure.ac: Make unifont mandatory on coreboot.
Vladimir Serbinenko [Sat, 7 Dec 2013 10:47:19 +0000 (11:47 +0100)]
* configure.ac: Make unifont mandatory on coreboot.

10 years ago * configure.ac: Skip unifont 6.3 pcf and bdf.
Vladimir Serbinenko [Sat, 7 Dec 2013 10:46:46 +0000 (11:46 +0100)]
* configure.ac: Skip unifont 6.3 pcf and bdf.

10 years ago * Makefile.am: Remove partial font files if generation failed.
Vladimir Serbinenko [Sat, 7 Dec 2013 10:39:35 +0000 (11:39 +0100)]
* Makefile.am: Remove partial font files if generation failed.

10 years agoadd grub_qsort_strcmp to use when sorting array of strings
Andrey Borzenkov [Sat, 7 Dec 2013 10:29:00 +0000 (14:29 +0400)]
add grub_qsort_strcmp to use when sorting array of strings

Compare function used in qsort gets arguments by reference, so strcmp
cannot be used directly - it expects pointer to char, but gets pointer
to pointer to char.

Introduce new helper grub_qsort_strcmp and use it in grub-install.
This helper is going to be used in a couple more places as well so
add it to global file, not in grub-install.c.

10 years agofix use of grub-probe instead of ${grub_probe}
Andrey Borzenkov [Sat, 7 Dec 2013 10:24:25 +0000 (14:24 +0400)]
fix use of grub-probe instead of ${grub_probe}

10 years ago Don't add -mlong-calls when compiling with clang.
Vladimir Serbinenko [Fri, 6 Dec 2013 10:58:17 +0000 (11:58 +0100)]
Don't add -mlong-calls when compiling with clang.

10 years ago * configure.ac: Fix a typo.
Vladimir Serbinenko [Fri, 6 Dec 2013 09:02:24 +0000 (10:02 +0100)]
* configure.ac: Fix a typo.

10 years ago Revamp relocation handling.
Vladimir Serbinenko [Fri, 6 Dec 2013 08:18:55 +0000 (09:18 +0100)]
Revamp relocation handling.

Move more code to common dl.c. Add missing veneers for arm and arm64.
Decreases kernel size by 70 bytes on i386-pc (40-50 compressed)

10 years ago * util/grub-mkimagexx.c: Fix reloc section generation for ia64.
Vladimir Serbinenko [Thu, 5 Dec 2013 22:07:10 +0000 (23:07 +0100)]
* util/grub-mkimagexx.c: Fix reloc section generation for ia64.

10 years agogentpl.py: Use python3-style print function
Mike Gilbert [Wed, 4 Dec 2013 15:24:21 +0000 (10:24 -0500)]
gentpl.py: Use python3-style print function

10 years ago * util/grub-install.c: Mention Boot* variable.
Vladimir Serbinenko [Thu, 5 Dec 2013 16:05:21 +0000 (17:05 +0100)]
* util/grub-install.c: Mention Boot* variable.

10 years agoPacify compiler warning
Colin Watson [Thu, 5 Dec 2013 15:48:27 +0000 (15:48 +0000)]
Pacify compiler warning

* grub-core/osdep/linux/hostdisk.c
(grub_util_find_partition_start_os): Initialise start to avoid
spurious compiler warning.

10 years agoOn Linux, read partition start offsets from sysfs if possible
Colin Watson [Thu, 5 Dec 2013 13:51:52 +0000 (13:51 +0000)]
On Linux, read partition start offsets from sysfs if possible

This lets us cope with block device drivers that don't implement
HDIO_GETGEO.  Fixes Ubuntu bug #1237519.

* grub-core/osdep/linux/hostdisk.c (sysfs_partition_path): New
function.
(sysfs_partition_start): Likewise.
(grub_util_find_partition_start_os): Try sysfs_partition_start
before HDIO_GETGEO.

10 years agogrub-core/lib/fdt.c: correctly update size_dt_struct in add_subnode()
Leif Lindholm [Wed, 4 Dec 2013 12:59:21 +0000 (12:59 +0000)]
grub-core/lib/fdt.c: correctly update size_dt_struct in add_subnode()

10 years ago Handle unaligned .bss on sparc64.
Vladimir Serbinenko [Wed, 4 Dec 2013 19:05:24 +0000 (20:05 +0100)]
Handle unaligned .bss on sparc64.

Current code improperly assumes that both __bss_start and _end are
aligned to 8-bytes. Eliminating this assumption and explicitly align
modules.

10 years ago * grub-core/boot/sparc64/ieee1275/boot.S [CDBOOT]: Move scratchpad
Vladimir Serbinenko [Wed, 4 Dec 2013 18:54:37 +0000 (19:54 +0100)]
* grub-core/boot/sparc64/ieee1275/boot.S [CDBOOT]: Move scratchpad
so it doesn't land in the middle of loaded image.

10 years ago * configure.ac: Move all warning options that may be absent in
Vladimir Serbinenko [Wed, 4 Dec 2013 13:53:25 +0000 (14:53 +0100)]
* configure.ac: Move all warning options that may be absent in
gcc >= 3.1 to optional.

Note: while this allows to compile with older GCC, official requirements
remain the same and no support for older GCC.

10 years agoFix grub-shell to avoid breaking "make distcheck"
Colin Watson [Wed, 4 Dec 2013 13:35:39 +0000 (13:35 +0000)]
Fix grub-shell to avoid breaking "make distcheck"

Copying the themes directory in grub-shell isn't
parallel-test-friendly and breaks on the second test when the source
directory is read-only (as in "make distcheck").  Instead, add a
hidden --themes-directory option to grub-mkrescue et al, and use it
in grub-shell.

10 years ago * conf/Makefile.common (CFLAGS_GNULIB): Remove -Wno-old-style-definition
Vladimir Serbinenko [Wed, 4 Dec 2013 13:32:04 +0000 (14:32 +0100)]
* conf/Makefile.common (CFLAGS_GNULIB): Remove -Wno-old-style-definition
as it's no longer necessarry.

10 years ago * configure.ac: Allow compilation with older GCC for ARM.
Vladimir Serbinenko [Wed, 4 Dec 2013 11:42:09 +0000 (12:42 +0100)]
* configure.ac: Allow compilation with older GCC for ARM.

10 years ago * configure.ac: Add -no-integrated-as if {addme|ame} isn't supported.
Vladimir Serbinenko [Wed, 4 Dec 2013 11:20:56 +0000 (12:20 +0100)]
* configure.ac: Add -no-integrated-as if {addme|ame} isn't supported.
* INSTALL: Note that GRUBwas successfully compiled with clang 3.2 for
ppc.

10 years ago * grub-core/kern/emu/main.c: Ignore missing prototype for main.
Vladimir Serbinenko [Wed, 4 Dec 2013 09:28:23 +0000 (10:28 +0100)]
* grub-core/kern/emu/main.c: Ignore missing prototype for main.

10 years ago Pass font config to config.h and not by TARGET_CFLAGS as adding
Vladimir Serbinenko [Wed, 4 Dec 2013 09:25:53 +0000 (10:25 +0100)]
Pass font config to config.h and not by TARGET_CFLAGS as adding
arguments doesn't work if TARGET_CFLAGS is specified on command
line.

10 years ago * configure.ac: Add -Wvla if compiler supports it.
Vladimir Serbinenko [Wed, 4 Dec 2013 09:08:57 +0000 (10:08 +0100)]
* configure.ac: Add -Wvla if compiler supports it.

10 years ago * grub-core/osdep/windows/emuconsole.c (grub_console_putchar):
Vladimir Serbinenko [Wed, 4 Dec 2013 09:05:33 +0000 (10:05 +0100)]
* grub-core/osdep/windows/emuconsole.c (grub_console_putchar):
Remove variable length arrays.
* grub-core/term/efi/console.c (grub_console_putchar): Likewise.

10 years ago * grub-core/kern/i386/qemu/init.c: Remove variable length arrays.
Vladimir Serbinenko [Wed, 4 Dec 2013 08:48:36 +0000 (09:48 +0100)]
* grub-core/kern/i386/qemu/init.c: Remove variable length arrays.