]>
git.proxmox.com Git - grub2.git/log
Vladimir 'phcoder' Serbinenko [Thu, 22 Aug 2013 15:09:15 +0000 (17:09 +0200)]
* configure.ac: Don't change host_os from mingw to cygwin.
Vladimir 'phcoder' Serbinenko [Thu, 22 Aug 2013 15:02:47 +0000 (17:02 +0200)]
* configure.ac: Change target_os from windows to cygwin.
Vladimir 'phcoder' Serbinenko [Thu, 22 Aug 2013 15:00:59 +0000 (17:00 +0200)]
Handle grub-pe2elf and grub-mkfont for cases when build != host.
* Makefile.am (build-grub-mkfont): Don't include gnulib.
(build-grub-gen-asciih): Likewise.
(build-grub-gen-widthspec): Likewise.
* Makefile.util.def (grub-pe2elf): Remove.
* config.h.in [GRUB_BUILD]: Use build rather than host constants.
* configure.ac: Separate tests for build.
Move ./build-grub-pe2elf to grub-core.
Fix typo.
* grub-core/Makefile.am (build-grub-pe2elf): New target.
* grub-core/kern/emu/misc.c (xasprintf): Don't compile if GRUB_BUILD is
defined.
* include/grub/types.h [GRUB_BUILD]: Use build rather than host
constants.
* util/grub-mkfont.c [GRUB_BUILD]: Simplify not to rely on argp.
* util/grub-pe2elf.c: Simplify not to rely on getopt.
* util/misc.c (program_name) [GRUB_BUILD]: Define to static string.
Vladimir 'phcoder' Serbinenko [Thu, 22 Aug 2013 14:50:12 +0000 (16:50 +0200)]
* grub-core/kern/emu/hostdisk.c (grub_util_get_fd_size): Adapt for
mingw32 as well based on grub_util_get_disk_size.
* util/misc.c (grub_util_get_disk_size): Removed. all users switched to
grub_util_get_fd_size.
(sync): Removed.
(fsync): Moved to ...
* grub-core/kern/emu/misc.c (fsync): ... here.
Vladimir 'phcoder' Serbinenko [Thu, 22 Aug 2013 14:44:20 +0000 (16:44 +0200)]
* include/grub/mm.h (grub_extend_alloc): Remove.
* grub-core/loader/i386/pc/plan9.c: Use own version of
grub_extend_alloc with appropriate types.
Vladimir 'phcoder' Serbinenko [Thu, 22 Aug 2013 14:30:44 +0000 (16:30 +0200)]
* conf/Makefile.common (CFLAGS_GCRY): Add -Wno-redundant-decls.
Vladimir 'phcoder' Serbinenko [Thu, 22 Aug 2013 14:28:10 +0000 (16:28 +0200)]
* util/getroot.c: Include sys/wait.h only when we need waitpid.
Vladimir 'phcoder' Serbinenko [Thu, 22 Aug 2013 14:25:10 +0000 (16:25 +0200)]
Fix dependencies on cygwin.
* gentpl.py: Support variable dependencies. Add $TARGET_OBJ2ELF to
dependencies when used and defined.
* grub-core/Makefile.core.def (regexp): Add dependency on libgnulib.a.
Vladimir 'phcoder' Serbinenko [Thu, 22 Aug 2013 14:20:32 +0000 (16:20 +0200)]
* include/grub/zfs/spa.h (zio_cksum): Add explicit members for mac.
* grub-core/fs/zfs/zfs.c (zio_read): Don't use casts to retrieve mac.
Vladimir 'phcoder' Serbinenko [Thu, 22 Aug 2013 14:16:29 +0000 (16:16 +0200)]
* grub-core/kern/emu/mm.c (grub_memalign): Don't define if there is no
implementation available to cause compile-time rather than runtime
error.
Vladimir 'phcoder' Serbinenko [Thu, 22 Aug 2013 14:13:25 +0000 (16:13 +0200)]
* util/grub-fstest.c: Don't check for symlinks on windows.
Vladimir 'phcoder' Serbinenko [Thu, 22 Aug 2013 14:08:53 +0000 (16:08 +0200)]
* INSTALL: Mention unavailability of man pages when cross-compiling.
Vladimir 'phcoder' Serbinenko [Thu, 22 Aug 2013 14:03:47 +0000 (16:03 +0200)]
* include/grub/crypto.h: Don't declare gcry_log_bug, gcry_log_printf
and gcry_log_bug.
* grub-core/lib/libgcrypt_wrap/mem.c: Include g10lib.h
Vladimir 'phcoder' Serbinenko [Wed, 21 Aug 2013 23:56:28 +0000 (01:56 +0200)]
* INSTALL: Document cross-compilation.
* acinclude.m4: Determine whether nm support -P and --defined-only.
* configure.ac: Add TARGET_ to all variables pertaining to target
that don't have it yet.
* gentpl.py: Likewise.
* grub-core/Makefile.am: Likewise.
* grub-core/genmod.sh.in: Likewise.
* grub-core/gensyminfo.sh.in: Handle OpenBSD and other non-GNU nm
as well.
Ilya Bakulin [Wed, 21 Aug 2013 19:19:55 +0000 (21:19 +0200)]
* configure.ac: Remove -Wempty-body. It's not essential and needs
recent gcc.
Ilya Bakulin [Wed, 21 Aug 2013 19:05:01 +0000 (21:05 +0200)]
* grub-core/kern/emu/hostdisk.c: Add conditionals for OpenBSD.
* util/getroot.c: Likewise.
Vladimir 'phcoder' Serbinenko [Wed, 21 Aug 2013 19:02:14 +0000 (21:02 +0200)]
* grub-core/disk/ahci.c: Add needed explicit cast.
* grub-core/lib/backtrace.c: Likewise.
* grub-core/net/ip.c: Likewise.
* grub-core/net/tcp.c: Likewise.
* grub-core/net/udp.c: Likewise.
Vladimir 'phcoder' Serbinenko [Wed, 21 Aug 2013 19:01:11 +0000 (21:01 +0200)]
* grub-core/lib/posix_wrap/wchar.h: Fix typo.
Vladimir 'phcoder' Serbinenko [Wed, 21 Aug 2013 19:00:15 +0000 (21:00 +0200)]
* util/import_gcry.py: Add final newline in visibility.h.
Vladimir 'phcoder' Serbinenko [Wed, 21 Aug 2013 18:59:18 +0000 (20:59 +0200)]
* conf/Makefile.common: Fix typo.
Vladimir 'phcoder' Serbinenko [Wed, 21 Aug 2013 18:57:29 +0000 (20:57 +0200)]
* Makefile.util.def (grub-mkfont): Add missing libgnu.a.
Vladimir 'phcoder' Serbinenko [Wed, 21 Aug 2013 18:26:26 +0000 (20:26 +0200)]
* Makefile.am (widthspec.h): Fix typo.
* util/grub-gen-widthspec.c: Likewise.
Vladimir 'phcoder' Serbinenko [Wed, 21 Aug 2013 17:53:59 +0000 (19:53 +0200)]
Move ascii.h and widthspec.h generation to a separate build-time-only
tool.
Vladimir Testov [Wed, 21 Aug 2013 11:56:13 +0000 (15:56 +0400)]
sutre@tahoe [Fri, 16 Aug 2013 17:41:33 +0000 (19:41 +0200)]
Always fill bootdisk info and improve check for NetBSD disklabel.
Vladimir 'phcoder' Serbinenko [Fri, 16 Aug 2013 13:47:05 +0000 (15:47 +0200)]
* conf/Makefile.extra-dist: Add util/bin2h.c.
Reported by: floppym.
Vladimir 'phcoder' Serbinenko [Fri, 16 Aug 2013 13:04:38 +0000 (15:04 +0200)]
* configure.ac: Make unifont mandatory for powerpc-ieee1275.
Vladimir 'phcoder' Serbinenko [Fri, 16 Aug 2013 12:54:01 +0000 (14:54 +0200)]
* configure.ac: Disable unifont and starfield if no freetype was found.
Vladimir 'phcoder' Serbinenko [Fri, 16 Aug 2013 12:10:37 +0000 (14:10 +0200)]
* grub-core/lib/posix_wrap/wchar.h: Fix wchar_t and mbstate_t conflict
on NetBSD and OpenBSD.
Vladimir Testov [Thu, 15 Aug 2013 12:13:51 +0000 (16:13 +0400)]
* grub-core/gfxmenu/gui_list.c: Baseline misplacement fixed.
Vladimir Testov [Thu, 15 Aug 2013 12:12:11 +0000 (16:12 +0400)]
* grub-core/gfxmenu/gui_list.c: The number of color mappings is
reduced. Inheritant options are processed during the theme loading.
Vladimir Testov [Thu, 15 Aug 2013 12:10:45 +0000 (16:10 +0400)]
* grub-core/gfxmenu/gui_list.c: Minimal width fixed.
Avik Sil [Wed, 14 Aug 2013 23:32:42 +0000 (20:32 -0300)]
* grub-core/net/tftp.c: Send tftp ack packet before closing the socket.
Avik Sil [Wed, 14 Aug 2013 21:03:01 +0000 (18:03 -0300)]
* grub-core/net/drivers/ieee1275/ofnet.c: Get proper mac address when using qemu.
Paulo Flabiano Smorigo [Wed, 14 Aug 2013 20:50:05 +0000 (17:50 -0300)]
.bzrignore: Add bootinfo.txt, grub.chrp, gnulib/float.h, and remove-potcdate.sed.
Andrey Borzenkov [Wed, 14 Aug 2013 16:52:19 +0000 (20:52 +0400)]
* grub-core/disk/i386/pc/biosdisk.c (grub_biosdisk_iterate): Remove
unused attribute from pull argument.
Andrey Borzenkov [Wed, 14 Aug 2013 16:47:09 +0000 (20:47 +0400)]
* util/getroot.c (grub_util_is_imsm): Fix descriptor and
memory leak.
Andrey Borzenkov [Wed, 14 Aug 2013 16:40:39 +0000 (20:40 +0400)]
* util/getroot.c (pull_lvm_by_command): add --separator option
to vgs call to disable padding of output to 10 characters.
Vladimir 'phcoder' Serbinenko [Wed, 14 Aug 2013 15:55:15 +0000 (17:55 +0200)]
* grub-core/kern/emu/misc.c (grub_device_mapper_supported): Move from
here ...
* grub-core/kern/emu/hostdisk.c (grub_device_mapper_supported): ... to
here.
Vladimir 'phcoder' Serbinenko [Wed, 14 Aug 2013 09:10:09 +0000 (11:10 +0200)]
* include/grub/i386/pc/biosdisk.h (grub_biosdisk_drp): Fix device_path
length.
Vladimir 'phcoder' Serbinenko [Wed, 14 Aug 2013 08:56:55 +0000 (10:56 +0200)]
Fix handling of build-time grub-bin2h and grub-mkfont when doing
full Canadian cross. Tested with build=x86_64, host=arm,
target=ppc-ieee1275.
Vladimir 'phcoder' Serbinenko [Wed, 14 Aug 2013 08:54:20 +0000 (10:54 +0200)]
* configure.ac: Error if no $BUILD_CC could be found.
Reported by: DevHC.
Vladimir 'phcoder' Serbinenko [Wed, 14 Aug 2013 08:43:10 +0000 (10:43 +0200)]
* grub-core/kern/i386/coreboot/init.c: Fix compilation on
i386-multiboot.
Vladimir 'phcoder' Serbinenko [Wed, 14 Aug 2013 07:50:57 +0000 (09:50 +0200)]
* grub-core/kern/vga_init.c: Fix compilation on qemu-mips.
* grub-core/kern/mips/qemu_mips/init.c: Likewise.
Colin Watson [Tue, 13 Aug 2013 15:48:56 +0000 (17:48 +0200)]
* util/getroot.c (grub_util_biosdisk_get_grub_dev): Zero out
grub_errno in the case where we handle GRUB_ERR_UNKNOWN_DEVICE by
falling back to the partition device, otherwise a later call to this
function may fail spuriously.
Reported by Axel Beckert. Fixes Debian bug #708614.
Grégoire Sutre [Mon, 12 Aug 2013 12:29:36 +0000 (14:29 +0200)]
Replace find -not by the POSIX-compliant find !.
Grégoire Sutre [Mon, 12 Aug 2013 09:49:33 +0000 (11:49 +0200)]
Prevent shadowing of stdlib's devname(3) on BSD.
Colin Watson [Sun, 11 Aug 2013 14:03:48 +0000 (16:03 +0200)]
* util/grub-mkconfig.in: Fix detection of Emacs autosave files.
Vladimir Testov [Thu, 8 Aug 2013 10:30:00 +0000 (14:30 +0400)]
ChangeLog: Last changelog entry fix.
Added information about grub-core/tests/checksums.h update.
Vladimir Testov [Thu, 8 Aug 2013 08:55:24 +0000 (12:55 +0400)]
* docs/grub.texi: Introduce terminal window position options:
terminal-left: terminal window's left position
terminal-top: terminal window's top position
terminal-width: terminal window's width
terminal-height: terminal window's height
* grub-core/gfxmenu/theme-loader.c: Likewise.
* include/grub/gfxmenu_view.h: Likewise.
* po/exlude.pot: Likewise.
* grub-core/gfxmenu/view.c: Likewise.
Also updated minimal window size.
Also terminal_sanity_check function has been introduced.
Vladimir 'phcoder' Serbinenko [Fri, 2 Aug 2013 21:19:17 +0000 (23:19 +0200)]
* grub-core/tests/checksums.h: Update (1-pixel difference in marker
position).
Vladimir 'phcoder' Serbinenko [Fri, 2 Aug 2013 21:04:08 +0000 (23:04 +0200)]
* po/exclude.pot: Add few recent exceptions.
Vladimir 'phcoder' Serbinenko [Fri, 2 Aug 2013 20:59:21 +0000 (22:59 +0200)]
* tests/grub_func_test.in: Add unicode.pf2.
Vladimir 'phcoder' Serbinenko [Fri, 2 Aug 2013 20:58:16 +0000 (22:58 +0200)]
* grub-core/term/gfxterm.c (grub_virtual_screen_setup): Start with
standard rather than noral color, in line with other terminals.
Vladimir 'phcoder' Serbinenko [Fri, 2 Aug 2013 20:56:20 +0000 (22:56 +0200)]
* grub-core/partmap/dfly.c: Simplify dprintfs for easier gettext
analysis.
Vladimir 'phcoder' Serbinenko [Fri, 2 Aug 2013 20:52:51 +0000 (22:52 +0200)]
* grub-core/loader/arm/linux.c: Change printf to dprintf.
Vladimir 'phcoder' Serbinenko [Fri, 2 Aug 2013 20:45:41 +0000 (22:45 +0200)]
* grub-core/fs/zfs/zfs.c (check_feature): Cleanup and remove
inappropriate printf.
Andrey Borzenkov [Thu, 25 Jul 2013 16:01:48 +0000 (20:01 +0400)]
* .bzrignore: Remove grub-core/lib/dtc-grub, grub-core/Makefile.libfdt.def
* conf/Makefile.extra-dist: Remove grub-core/Makefile.libfdt.def.
Vladimir 'phcoder' Serbinenko [Thu, 25 Jul 2013 14:58:26 +0000 (16:58 +0200)]
* include/grub/video.h (grub_video_register): Keep double-linked as
well as single-linked invariants.
Reported by: qwertial.
Vladimir 'phcoder' Serbinenko [Thu, 25 Jul 2013 14:31:18 +0000 (16:31 +0200)]
* grub-core/commands/nativedisk.c (get_uuid): Handle
GRUB_DISK_DEVICE_UBOOTDISK_ID.
Vladimir Testov [Thu, 25 Jul 2013 14:15:15 +0000 (18:15 +0400)]
* grub-core/gfxmenu/widget-box.c: Fixed draw function. Now it takes
maximum of NW, N, NE heights instead of N's height and maximum of
NW, W, SW widths instead of W's width. (So the box will be always
correctly drawn)
Grégoire Sutre [Sat, 20 Jul 2013 16:06:57 +0000 (18:06 +0200)]
Unbreak access to netbsd and openbsd partitions.
Leif Lindholm [Thu, 18 Jul 2013 15:59:14 +0000 (17:59 +0200)]
New ports to arm-uboot and arm-efi.
Mostly by Leif Lindholm with some additions from
Francesco Lavra and cleanup by Vladimir Serbinenko.
Also-By: Francesco Lavra <francescolavra.fl@gmail.com>
Also-By: Vladimir Serbinenko <phcoder@gmail.com>
Vladimir 'phcoder' Serbinenko [Wed, 17 Jul 2013 17:03:11 +0000 (19:03 +0200)]
Fix arm-uboot compilation problem
Vladimir 'phcoder' Serbinenko [Tue, 16 Jul 2013 16:43:43 +0000 (18:43 +0200)]
Merge mainline into arm
Vladimir 'phcoder' Serbinenko [Tue, 16 Jul 2013 16:37:44 +0000 (18:37 +0200)]
* grub-core/loader/multiboot_elfxx.c: Check eip after v2p translation
and not before.
Reported by: Leon Drugi.
Vladimir 'phcoder' Serbinenko [Tue, 16 Jul 2013 05:41:53 +0000 (07:41 +0200)]
* grub-core/kern/powerpc/ieee1275/startup.S: Handle unaligned bss.
Reported by: Paulo Flabiano Smorigo.
Vladimir Testov [Sun, 14 Jul 2013 21:10:27 +0000 (23:10 +0200)]
* grub-core/gfxmenu/gui_list.c: USe viewport when drawing strings.
Vladimir Testov [Sun, 14 Jul 2013 21:02:37 +0000 (23:02 +0200)]
* grub-core/gfxmenu/gui_list.c: Fix height calculation.
Vladimir 'phcoder' Serbinenko [Sun, 14 Jul 2013 20:48:23 +0000 (22:48 +0200)]
* grub-core/fs/zfs/zfs.c: Stylistic fixes.
Vladimir 'phcoder' Serbinenko [Sun, 14 Jul 2013 20:45:51 +0000 (22:45 +0200)]
* grub-core/fs/zfs/zfs.c: Run emacs indent on file.
Vladimir 'phcoder' Serbinenko [Sun, 14 Jul 2013 20:33:39 +0000 (22:33 +0200)]
* grub-core/fs/zfs/zfs.c: Remove brackets around return value.
Andrey Borzenkov [Sun, 14 Jul 2013 18:59:00 +0000 (22:59 +0400)]
* grub-core/net/bootp.c: Export net_* variables.
* grub-core/net/net.c: Likewise.
Vladimir 'phcoder' Serbinenko [Sun, 14 Jul 2013 14:29:33 +0000 (16:29 +0200)]
* grub-core/fs/zfs/zfs_lz4.c: Add missing packed attribute.
Vladimir 'phcoder' Serbinenko [Sun, 14 Jul 2013 14:24:18 +0000 (16:24 +0200)]
* grub-core/fs/zfs/zfs.c (nvlist_next_nvpair): Fix improper cast.
Vladimir 'phcoder' Serbinenko [Sun, 14 Jul 2013 14:05:14 +0000 (16:05 +0200)]
* grub-core/fs/zfs/zfs_lz4.c: Remove restrict keyword.
Massimo Maggi [Sun, 14 Jul 2013 12:22:02 +0000 (14:22 +0200)]
* grub-core/fs/zfs/zfs.c (nvlist_next_nvpair): Error is encode_size
<= 0.
Massimo Maggi [Sun, 14 Jul 2013 12:17:36 +0000 (14:17 +0200)]
* grub-core/fs/zfs/zfs.c: Split nvpair iterators into separate
functions.
Massimo Maggi [Sun, 14 Jul 2013 12:12:58 +0000 (14:12 +0200)]
* grub-core/fs/zfs/zfs_lz4.c: New file.
* grub-core/fs/zfs/zfs.c: Tie up lz4 decompression.
Massimo Maggi [Sun, 14 Jul 2013 12:10:42 +0000 (14:10 +0200)]
* grub-core/fs/zfs/zfs.c: Check for feature compatibility.
Massimo Maggi [Sun, 14 Jul 2013 12:01:27 +0000 (14:01 +0200)]
* grub-core/fs/zfs/zfs.c (uberblock_verify): Accept version 5000.
(check_pool_label): Likewise.
* include/grub/zfs/zfs.h: Rewrite SPA_VERSION_* macros.
Massimo Maggi [Sun, 14 Jul 2013 11:49:01 +0000 (13:49 +0200)]
* grub-core/fs/zfs/zfsinfo.c (print_vdev_info): Fix RAIDZ reporting.
Andrey Borzenkov [Sat, 13 Jul 2013 14:48:34 +0000 (18:48 +0400)]
* docs/grub.texi (Commands): Document postition parameters
for menuentry command.
Andrey Borzenkov [Sat, 13 Jul 2013 14:44:27 +0000 (18:44 +0400)]
* util/grub-mknetdir.in: Remove stray line from help output.
Vladimir 'phcoder' Serbinenko [Thu, 11 Jul 2013 14:24:35 +0000 (16:24 +0200)]
Remove early sm712 init as there is no reason for it (the "watchdog"
effect was due to wrong GPIO map).
Vladimir 'phcoder' Serbinenko [Thu, 11 Jul 2013 14:11:03 +0000 (16:11 +0200)]
* grub-core/commands/pcidump.c: Remove static variables.
Vladimir 'phcoder' Serbinenko [Thu, 11 Jul 2013 14:02:22 +0000 (16:02 +0200)]
* grub-core/commands/sleep.c: Refresh screen before sleeping.
Vladimir 'phcoder' Serbinenko [Thu, 11 Jul 2013 12:54:49 +0000 (14:54 +0200)]
* configure.ac: Move delimiter after the infos.
Vladimir 'phcoder' Serbinenko [Thu, 11 Jul 2013 12:52:46 +0000 (14:52 +0200)]
* grub-core/bus/usb/usbhub.c: Fix recheck logic.
Vladimir 'phcoder' Serbinenko [Thu, 11 Jul 2013 11:50:18 +0000 (13:50 +0200)]
* util/grub-mkfont.c (write_font_ascii_bitmap): Fix handling of glyphs
not filling whole 8x16 space.
Vladimir 'phcoder' Serbinenko [Thu, 11 Jul 2013 11:34:20 +0000 (13:34 +0200)]
* grub-core/normal/charset.c (bidi_line_wrap): Fix spurios warning.
Vladimir 'phcoder' Serbinenko [Thu, 11 Jul 2013 11:22:11 +0000 (13:22 +0200)]
* configure.ac: Indicate which liblzma is used if any.
Paul Wise [Thu, 11 Jul 2013 11:18:43 +0000 (13:18 +0200)]
* util/grub-reboot.in: Document submenu usage.
Also-By: Craig Sanders <savannah@taz.net.au>
Colin Watson [Tue, 25 Jun 2013 14:32:36 +0000 (15:32 +0100)]
* .bzrignore: Update with a number of new test-related files.
Colin Watson [Tue, 25 Jun 2013 14:08:11 +0000 (15:08 +0100)]
* util/grub-script-check.c: Fail on scripts containing no
commands, to guard against corrupted grub-mkconfig setups that
produce no useful output.
* tests/grub_script_no_commands.in: New test.
* Makefile.util.def (grub_script_no_commands): Add.
Reported by Hans Putter. Fixes Debian bug #713886.
Andrey Borzenkov [Sun, 16 Jun 2013 12:35:20 +0000 (16:35 +0400)]
* grub-core/disk/diskfilter.c: Forgot to remove comment
from previous commit.
Andrey Borzenkov [Sun, 16 Jun 2013 12:24:05 +0000 (16:24 +0400)]
* grub-core/term/gfxterm.c (grub_virtual_screen_setup): Use
grub_term_normal_color, do not hardcode GRUB_TERM_DEFAULT_NORMAL_COLOR.
Andrey Borzenkov [Sun, 16 Jun 2013 12:20:44 +0000 (16:20 +0400)]
* conf/Makefile.extra-dist: Add grub-core/fs/cpio_common.c.
Andrey Borzenkov [Sun, 16 Jun 2013 12:12:50 +0000 (16:12 +0400)]
* grub-core/disk/diskfilter.c (scan_devices): Iteratively
rescan diskfilter devices until nothing new is found.
Vladimir 'phcoder' Serbinenko [Sun, 16 Jun 2013 02:19:38 +0000 (04:19 +0200)]
Fix casts when compiling coreboot-specific code for 64-bit EFI.