Vladimir 'phcoder' Serbinenko
9db826e149
* grub-core/kern/emu/hostdisk.c (grub_util_biosdisk_close): Fix
...
disk closing logic.
2013-09-24 18:36:51 +02:00
Andrey Borzenkov
4912008551
* docs/grub.texi (Simple configuration): Document GRUB_ENABLE_CRYPTODISK.
2013-09-24 15:27:02 +04:00
Andrey Borzenkov
b3328b68ed
* docs/grub.texi (File name syntax): Document ZFS filenames
...
(/volume@snapshot/...).
2013-09-24 15:22:08 +04:00
Vladimir 'phcoder' Serbinenko
3fff48ab45
* grub-core/kern/emu/hostdisk_windows.c (grub_util_get_windows_path):
...
Always return full path. Fixes a problem with mkrelpath.
2013-09-23 22:49:20 +02:00
Paulo Flabiano Smorigo
39cfdaa9a2
* util/grub-install.in: Add GPT PReP support.
...
* util/grub-probe.c (probe): Support GPT partition type.
(main): Support -t gpt_parttype.
2013-09-23 17:42:32 -03:00
starous@volny.cz
7c680e1f17
USB EHCI: SMI disabled in all cases
2013-09-23 20:30:52 +02:00
Massimo Maggi
890bdabe96
* grub-core/fs/zfs/zfs.c (check_pool_label): Check nvlist.
2013-09-23 18:50:07 +02:00
Tim Hardeck
9c262ff966
* util/grub.d/10_hurd.in: Filter out character for the class.
...
* util/grub.d/10_kfreebsd.in: Likewise.
* util/grub.d/10_linux.in: Likewise.
* util/grub.d/20_linux_xen.in: Likewise.
2013-09-23 17:48:38 +02:00
Melki Christian
d755342abe
* grub-core/bus/usb/usbhub.c (poll_nonroot_hub): Fix the type of
...
"changed".
2013-09-23 14:39:13 +02:00
Josh Triplett
68b777070a
* grub-core/boot/i386/pc/lnxboot.S: Re-add support for recording the
...
boot partition.
2013-09-23 14:31:42 +02:00
Vladimir 'phcoder' Serbinenko
efa68bfabf
* Makefile.util.def (libgrubmods.a): Remove CFLAGS_POSIX as this lib
...
doesn't use posix_wrap. Keep literal -fno-builtin however.
2013-09-23 14:09:56 +02:00
Vladimir 'phcoder' Serbinenko
d9104204ac
* conf/Makefile.common (CPPFLAGS_LIBFDT): Remove leftover.
2013-09-23 14:08:26 +02:00
neil
5830df88da
* configure.ac: Do not enable -Wmissing-noreturn as its
...
usefulness is limited and creates problems on some OS notably with
code generated by bison.
Also-By: Vladimir Serbinenko <phcoder@gmail.com>
2013-09-23 13:48:10 +02:00
neil
c248781a83
* configure.ac: Do no explicitly enable -Waddress as it's not
...
supported by all gcc and when it is, it's already enabled by -Wall.
Also-By: Vladimir Serbinenko <phcoder@gmail.com>
2013-09-23 13:43:35 +02:00
Vladimir 'phcoder' Serbinenko
621bed6990
* grub-core/video/efi_gop.c (grub_video_gop_setup): Fix a typo which
...
desactivated use of EDID at all.
2013-09-23 13:40:07 +02:00
neil
71764dc8ca
* grub-core/loader/multiboot.c (grub_multiboot_set_console): Always use
...
video if no text is available.
Also-By: Vladimir Serbinenko <phcoder@gmail.com>
2013-09-23 13:35:33 +02:00
Vladimir 'phcoder' Serbinenko
1bd7302506
* configure.ac: Substitute TARGET_RANLIB.
2013-09-23 13:20:32 +02:00
Vladimir 'phcoder' Serbinenko
affce7d417
* grub-core/genmod.sh.in: Remove ./ from TARGET_OBJ2ELF. Add quotes.
...
Based on patches from AROS.
2013-09-23 13:03:03 +02:00
Vladimir 'phcoder' Serbinenko
0e8daad0bd
* grub-core/Makefile.am: Override STRIP and RANLIB.
...
* configure.ac: compute TARGET_RANLIB.
* INSTALL: Document TARGET_RANLIB
Based on patches from AROS.
2013-09-23 12:55:18 +02:00
Vladimir 'phcoder' Serbinenko
3f7d9c8280
* util/getroot.c (grub_util_biosdisk_get_grub_dev): Do not assume
...
that floppies are unpartitioned.
2013-09-23 12:19:49 +02:00
Vladimir 'phcoder' Serbinenko
bca8873a0c
* util/getroot_unix.c [__MINGW32__ || __CYGWIN__]:
...
Define dummy grub_util_pull_lvm_by_command to decrease number of #if's.
2013-09-23 12:06:00 +02:00
Vladimir 'phcoder' Serbinenko
a47a78be88
* include/grub/cryptodisk.h (grub_cryptodisk): Use grub_util_fd_t
...
for cheat_fd.
* grub-core/disk/cryptodisk.c (grub_cryptodisk_open): Use grub_util_*
functions.
(grub_cryptodisk_cheat_insert): Likewise.
(grub_cryptodisk_close): Likewise.
2013-09-23 11:58:19 +02:00
Vladimir 'phcoder' Serbinenko
e85a5d5ca6
* include/grub/emu/misc.h: Remove leftover cygwin definitions.
...
Use windows path for DEFAULT_DIRECTORY.
2013-09-23 11:24:10 +02:00
Vladimir 'phcoder' Serbinenko
dad9fa6bcf
* include/grub/i386/setjmp.h: Remove useless #if MINGW where original
...
difference was likely just gcc version, not anything mingw-related.
2013-09-23 11:22:40 +02:00
Vladimir 'phcoder' Serbinenko
7e518ca84f
Use Winapi on both cygwin and mingw32 to share more code between both.
2013-09-23 11:21:09 +02:00
Andrey Borzenkov
d68d01573b
* util/grub-install.in: Add --grub-editenv option.
...
* util/grub-install_header (grub_compress_file): Explicitly check for
plain file to avoid cp error.
2013-09-22 21:47:52 +04:00
Andrey Borzenkov
775b284dd6
* docs/grub.texi (Device syntax): Document new LVM UUID based device
...
names; fix LVM driver name (lvm, not lv).
* util/grub-probe.c (probe_abstraction): Support lvmid/xxx device
names.
2013-09-22 21:35:13 +04:00
Vladimir 'phcoder' Serbinenko
3ff4063dd3
* grub-core/kern/emu/hostdisk.c: Disentagle into a series of OS-specific
...
files rather than one file with loads of #if's.
* util/getroot.c: Likewise.
2013-09-22 07:36:17 +02:00
Vladimir 'phcoder' Serbinenko
287faafe8d
* grub-core/lib/posix_wrap/sys/types.h: Use stddef on *BSD.
2013-09-22 03:29:51 +02:00
Vladimir 'phcoder' Serbinenko
d1983764f4
* util/grub-mkpasswd-pbkdf2.c (grub_get_random): Add windows and
...
GNU/Hurd to the list of checked PRNG.
2013-09-22 03:28:32 +02:00
Vladimir 'phcoder' Serbinenko
15ce95c40c
* configure.ac: On FreeBSD use -melf_*_fbsd format.
2013-09-22 03:26:11 +02:00
starous@volny.cz
207862dda4
USB EHCI QH handling patch
2013-09-21 15:48:53 +02:00
Vladimir 'phcoder' Serbinenko
63653cfdae
* grub-core/disk/diskfilter.c: Handle non-md UUIDs.
...
* grub-core/disk/lvm.c: Add LVM UUIDs.
* util/getroot.c: Use LVM UUIDs whenever possible.
2013-09-20 20:37:03 +02:00
Vladimir 'phcoder' Serbinenko
53c6b7d658
* util/getroot.c (grub_util_open_dm): Check major rather than the name
...
to determine if device is handled by devmapper.
(convert_system_partition_to_system_disk): Likewise.
(get_dm_uuid): Don't check explicitly if device is mapped, it's
already done in grub_util_open_dm.
2013-09-19 09:46:06 +02:00
Leif Lindholm
e70d6736ff
* kern/arm/cache.S: Correct access to ilinesz/dlinesz variables.
...
Clean up stack manipulation (sync_caches_armv*)
2013-09-19 09:21:24 +02:00
Vladimir 'phcoder' Serbinenko
90379808b6
* util/lvm.c: Remove since unused. Remove remaining references.
2013-09-19 09:05:56 +02:00
Vladimir 'phcoder' Serbinenko
386701a8fe
Handle the case of partitioned LVM properly.
...
* grub-core/kern/emu/hostdisk.c (grub_util_get_dm_node_linear_info):
Stop on meeting LVM, mpath or DMRAID.
(grub_hostdisk_os_dev_to_grub_drive): Canonicalize os device.
(read_device_map): Likewise.
* util/getroot.c (convert_system_partition_to_system_disk): Assume that
device is full disk rather than erroring out on LVM and similar cases.
2013-09-19 08:48:54 +02:00
Vladimir 'phcoder' Serbinenko
5307078763
* util/grub-mkconfig_lib.in: Keep supplied pkgdatadir if any.
2013-09-18 20:26:16 +02:00
Vladimir 'phcoder' Serbinenko
1bc783bd39
* grub-core/kern/mm.c (grub_mm_init_region): Skip regions less than
...
4K before the end.
Reported by: Leif Lindholm
2013-09-18 20:23:47 +02:00
Pawel Wojtalczyk
436ad5c3f4
* grub-core/term/efi/console.c (grub_console_getkey): Accept VT100-style
...
codes.
Also-By: Vladimir Serbinenko <phcoder@gmail.com>
2013-09-18 18:58:09 +02:00
Colin Watson
607319c9ab
* grub-core/disk/efi/efidisk.c (grub_efidisk_get_device_name_iter):
...
Remove no-longer-true __attribute__ ((unused)) on disk parameter.
2013-09-18 15:43:58 +01:00
Andrey Borzenkov
f5d3e7ef49
* docs/grub.texi (Networking commands): Add documentation for
...
network related commands.
2013-09-19 13:56:42 +04:00
Douglas Ray
d404d15450
* util/grub-mkpasswd-pbkdf2.c (grub_get_random): Declare OpenBSD PRNG
...
as secure.
2013-09-18 13:44:00 +02:00
Aleš Nesrsta
28851ef640
* docs/grub.texi: Fix broken link.
2013-09-18 13:29:43 +02:00
Melki Christian
897c3bc634
* grub-core/bus/usb/usb.c (grub_usb_device_initialize): Add condition
...
to break endless loop.
2013-09-18 13:27:05 +02:00
Vladimir 'phcoder' Serbinenko
f163045985
* util/grub-fstest.c: Fix several printf formats.
...
* util/grub-mkimage.c: Likewise.
* util/grub-mkimagexx.c: Likewise.
* util/grub-script-check.c: Likewise.
2013-08-23 09:01:11 +02:00
Vladimir 'phcoder' Serbinenko
64463dfde4
* grub-core/lib/xzembed/xz_dec_lzma2.c: Make -Wattributes not cause
...
error.
2013-08-23 08:58:34 +02:00
Vladimir 'phcoder' Serbinenko
489724952c
* config.h.in [GRUB_BUILD]: Explicitly undefine ENABLE_NLS.
2013-08-23 08:55:20 +02:00
Vladimir 'phcoder' Serbinenko
5dd5e64b71
* util/getroot.c (grub_find_device): Use cygwin_conv_path ratherthan
...
removed in current versions cygwin_conv_*.
2013-08-23 08:51:21 +02:00
Vladimir 'phcoder' Serbinenko
1c1f31e5de
* configure.ac: Disable efiemu runtime on cygwin.
2013-08-23 08:46:14 +02:00
Vladimir 'phcoder' Serbinenko
c546a25901
* conf/Makefile.extra-dist: Add missing util/grub-gen-asciih.c,
...
util/grub-gen-widthspec.c and util/grub-pe2elf.c.
2013-08-23 08:36:26 +02:00
Vladimir 'phcoder' Serbinenko
8169047804
* util/grub-mkpasswd-pbkdf2.c (grub_password_get): Remove extraneous
...
error message.
2013-08-22 20:18:16 +02:00
Vladimir 'phcoder' Serbinenko
6b87c10a0b
* grub-core/lib/crypto.c (grub_password_get) [GRUB_UTIL]: Add
...
windows variant.
* util/grub-mkpasswd-pbkdf2.c: Add windows flavour for retrieving random
data.
2013-08-22 20:14:07 +02:00
Vladimir 'phcoder' Serbinenko
8f0baaac38
* configure.ac: Add -Wl,-melf_i386 and -Wl,-melf_x86_64 systematically
...
when on x86 and not cygwin.
* conf/Makefile.common: Remove unsystematic -Wl,-melf_i386 and
-Wl,-melf_x86_64.
2013-08-22 19:00:25 +02:00
Vladimir 'phcoder' Serbinenko
b224c26627
* configure.ac: Set CPP to build one when checkoing for freetype for
...
build.
2013-08-22 18:56:00 +02:00
Vladimir 'phcoder' Serbinenko
506b336b82
* util/grub-mkfont.c [!GRUB_BUILD]: Define my_argp_state.
...
[!GRUB_BUILD]: Remove has_argument.
2013-08-22 18:15:22 +02:00
Vladimir 'phcoder' Serbinenko
8c8c87b7d4
* util/ieee1275/ofpath.c (grub_util_devname_to_ofpath) [_WIN32]:
...
Replace with a dummy.
2013-08-22 17:29:23 +02:00
Vladimir 'phcoder' Serbinenko
7dc5ca13c5
* configure.ac: Don't change host_os from mingw to cygwin.
2013-08-22 17:09:15 +02:00
Vladimir 'phcoder' Serbinenko
c3302aa582
* configure.ac: Change target_os from windows to cygwin.
2013-08-22 17:02:47 +02:00
Vladimir 'phcoder' Serbinenko
7b780018f5
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.
2013-08-22 17:00:59 +02:00
Vladimir 'phcoder' Serbinenko
984cfd8a79
* 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.
2013-08-22 16:50:12 +02:00
Vladimir 'phcoder' Serbinenko
f82d79c984
* 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.
2013-08-22 16:44:20 +02:00
Vladimir 'phcoder' Serbinenko
fd7dd66dbd
* conf/Makefile.common (CFLAGS_GCRY): Add -Wno-redundant-decls.
2013-08-22 16:30:44 +02:00
Vladimir 'phcoder' Serbinenko
43ffba7c65
* util/getroot.c: Include sys/wait.h only when we need waitpid.
2013-08-22 16:28:10 +02:00
Vladimir 'phcoder' Serbinenko
3c7eac445b
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.
2013-08-22 16:25:10 +02:00
Vladimir 'phcoder' Serbinenko
bdb5ba47d8
* 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.
2013-08-22 16:20:32 +02:00
Vladimir 'phcoder' Serbinenko
ed7fbf43c2
* 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.
2013-08-22 16:16:29 +02:00
Vladimir 'phcoder' Serbinenko
fc46e9fca8
* util/grub-fstest.c: Don't check for symlinks on windows.
2013-08-22 16:13:25 +02:00
Vladimir 'phcoder' Serbinenko
7f68269ad3
* INSTALL: Mention unavailability of man pages when cross-compiling.
2013-08-22 16:08:53 +02:00
Vladimir 'phcoder' Serbinenko
8ed358e0ee
* 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
2013-08-22 16:03:47 +02:00
Vladimir 'phcoder' Serbinenko
fc97214f7e
* 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.
2013-08-22 01:56:28 +02:00
Ilya Bakulin
ca1fb56345
* configure.ac: Remove -Wempty-body. It's not essential and needs
...
recent gcc.
2013-08-21 21:19:55 +02:00
Ilya Bakulin
0031b22993
* grub-core/kern/emu/hostdisk.c: Add conditionals for OpenBSD.
...
* util/getroot.c: Likewise.
2013-08-21 21:05:01 +02:00
Vladimir 'phcoder' Serbinenko
54ea2f4401
* 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.
2013-08-21 21:02:14 +02:00
Vladimir 'phcoder' Serbinenko
3c601f8c81
* grub-core/lib/posix_wrap/wchar.h: Fix typo.
2013-08-21 21:01:11 +02:00
Vladimir 'phcoder' Serbinenko
1d679ddaa2
* util/import_gcry.py: Add final newline in visibility.h.
2013-08-21 21:00:15 +02:00
Vladimir 'phcoder' Serbinenko
00c28dd9bc
* conf/Makefile.common: Fix typo.
2013-08-21 20:59:18 +02:00
Vladimir 'phcoder' Serbinenko
32af299a10
* Makefile.util.def (grub-mkfont): Add missing libgnu.a.
2013-08-21 20:57:29 +02:00
Vladimir 'phcoder' Serbinenko
e733cf52f4
* Makefile.am (widthspec.h): Fix typo.
...
* util/grub-gen-widthspec.c: Likewise.
2013-08-21 20:26:26 +02:00
Vladimir 'phcoder' Serbinenko
c6b066f2e9
Move ascii.h and widthspec.h generation to a separate build-time-only
...
tool.
2013-08-21 19:53:59 +02:00
Vladimir Testov
66345b5071
2013-08-21 15:56:13 +04:00
sutre@tahoe
ad1fe3f91f
Always fill bootdisk info and improve check for NetBSD disklabel.
2013-08-16 19:41:33 +02:00
Vladimir 'phcoder' Serbinenko
92a52dd4d6
* conf/Makefile.extra-dist: Add util/bin2h.c.
...
Reported by: floppym.
2013-08-16 15:47:05 +02:00
Vladimir 'phcoder' Serbinenko
b2e9d2761e
* configure.ac: Make unifont mandatory for powerpc-ieee1275.
2013-08-16 15:04:38 +02:00
Vladimir 'phcoder' Serbinenko
7b966834c5
* configure.ac: Disable unifont and starfield if no freetype was found.
2013-08-16 14:54:01 +02:00
Vladimir 'phcoder' Serbinenko
d5c1eef106
* grub-core/lib/posix_wrap/wchar.h: Fix wchar_t and mbstate_t conflict
...
on NetBSD and OpenBSD.
2013-08-16 14:10:37 +02:00
Vladimir Testov
03dafa17df
* grub-core/gfxmenu/gui_list.c: Baseline misplacement fixed.
2013-08-15 16:13:51 +04:00
Vladimir Testov
224a55bb07
* grub-core/gfxmenu/gui_list.c: The number of color mappings is
...
reduced. Inheritant options are processed during the theme loading.
2013-08-15 16:12:11 +04:00
Vladimir Testov
58ec39c6a7
* grub-core/gfxmenu/gui_list.c: Minimal width fixed.
2013-08-15 16:10:45 +04:00
Avik Sil
369508b3cb
* grub-core/net/tftp.c: Send tftp ack packet before closing the socket.
2013-08-14 20:32:42 -03:00
Avik Sil
412ce9165c
* grub-core/net/drivers/ieee1275/ofnet.c: Get proper mac address when using qemu.
2013-08-14 18:03:01 -03:00
Paulo Flabiano Smorigo
6f27a3f659
.bzrignore: Add bootinfo.txt, grub.chrp, gnulib/float.h, and remove-potcdate.sed.
2013-08-14 17:50:05 -03:00
Andrey Borzenkov
c6ed362a3f
* grub-core/disk/i386/pc/biosdisk.c (grub_biosdisk_iterate): Remove
...
unused attribute from pull argument.
2013-08-14 20:52:19 +04:00
Andrey Borzenkov
5e7d94641b
* util/getroot.c (grub_util_is_imsm): Fix descriptor and
...
memory leak.
2013-08-14 20:47:09 +04:00
Andrey Borzenkov
dea55e2a95
* util/getroot.c (pull_lvm_by_command): add --separator option
...
to vgs call to disable padding of output to 10 characters.
2013-08-14 20:40:39 +04:00
Vladimir 'phcoder' Serbinenko
f0b94ded6d
* 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.
2013-08-14 17:55:15 +02:00
Vladimir 'phcoder' Serbinenko
b828fb5d9c
* include/grub/i386/pc/biosdisk.h (grub_biosdisk_drp): Fix device_path
...
length.
2013-08-14 11:10:09 +02:00
Vladimir 'phcoder' Serbinenko
7c9d0c39af
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.
2013-08-14 10:56:55 +02:00
Vladimir 'phcoder' Serbinenko
816719c8d4
* configure.ac: Error if no $BUILD_CC could be found.
...
Reported by: DevHC.
2013-08-14 10:54:20 +02:00
Vladimir 'phcoder' Serbinenko
2af2353b0a
* grub-core/kern/i386/coreboot/init.c: Fix compilation on
...
i386-multiboot.
2013-08-14 10:43:10 +02:00
Vladimir 'phcoder' Serbinenko
797abd0a23
* grub-core/kern/vga_init.c: Fix compilation on qemu-mips.
...
* grub-core/kern/mips/qemu_mips/init.c: Likewise.
2013-08-14 09:50:57 +02:00
Colin Watson
36e87d25e1
* 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 .
2013-08-13 17:48:56 +02:00
Grégoire Sutre
273349fe42
Replace find -not by the POSIX-compliant find !.
2013-08-12 14:29:36 +02:00
Grégoire Sutre
418f86c659
Prevent shadowing of stdlib's devname(3) on BSD.
2013-08-12 11:49:33 +02:00
Colin Watson
c137aea04b
* util/grub-mkconfig.in: Fix detection of Emacs autosave files.
2013-08-11 16:03:48 +02:00
Vladimir Testov
272dc8dfe2
ChangeLog: Last changelog entry fix.
...
Added information about grub-core/tests/checksums.h update.
2013-08-08 14:30:00 +04:00
Vladimir Testov
b47434612c
* 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.
2013-08-08 12:55:24 +04:00
Vladimir 'phcoder' Serbinenko
748a4533f5
* grub-core/tests/checksums.h: Update (1-pixel difference in marker
...
position).
2013-08-02 23:19:17 +02:00
Vladimir 'phcoder' Serbinenko
fca5f9443c
* po/exclude.pot: Add few recent exceptions.
2013-08-02 23:04:08 +02:00
Vladimir 'phcoder' Serbinenko
4f47d809c7
* tests/grub_func_test.in: Add unicode.pf2.
2013-08-02 22:59:21 +02:00
Vladimir 'phcoder' Serbinenko
a62ae90c2b
* grub-core/term/gfxterm.c (grub_virtual_screen_setup): Start with
...
standard rather than noral color, in line with other terminals.
2013-08-02 22:58:16 +02:00
Vladimir 'phcoder' Serbinenko
4ed4139290
* grub-core/partmap/dfly.c: Simplify dprintfs for easier gettext
...
analysis.
2013-08-02 22:56:20 +02:00
Vladimir 'phcoder' Serbinenko
3719fbc57f
* grub-core/loader/arm/linux.c: Change printf to dprintf.
2013-08-02 22:52:51 +02:00
Vladimir 'phcoder' Serbinenko
459b1d9171
* grub-core/fs/zfs/zfs.c (check_feature): Cleanup and remove
...
inappropriate printf.
2013-08-02 22:45:41 +02:00
Andrey Borzenkov
f4e1ab9da7
* .bzrignore: Remove grub-core/lib/dtc-grub, grub-core/Makefile.libfdt.def
...
* conf/Makefile.extra-dist: Remove grub-core/Makefile.libfdt.def.
2013-07-25 20:01:48 +04:00
Vladimir 'phcoder' Serbinenko
fa471bfaaf
* include/grub/video.h (grub_video_register): Keep double-linked as
...
well as single-linked invariants.
Reported by: qwertial.
2013-07-25 16:58:26 +02:00
Vladimir 'phcoder' Serbinenko
d65be02b89
* grub-core/commands/nativedisk.c (get_uuid): Handle
...
GRUB_DISK_DEVICE_UBOOTDISK_ID.
2013-07-25 16:31:18 +02:00
Vladimir Testov
ba8bc620d1
* 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)
2013-07-25 18:15:15 +04:00
Grégoire Sutre
4f0ad02936
Unbreak access to netbsd and openbsd partitions.
2013-07-20 18:06:57 +02:00
Leif Lindholm
43d53b72c9
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>
2013-07-18 17:59:14 +02:00
Vladimir 'phcoder' Serbinenko
ae27e4d323
Merge mainline into arm
2013-07-16 18:43:43 +02:00
Vladimir 'phcoder' Serbinenko
88f8d1463f
* grub-core/loader/multiboot_elfxx.c: Check eip after v2p translation
...
and not before.
Reported by: Leon Drugi.
2013-07-16 18:37:44 +02:00
Vladimir 'phcoder' Serbinenko
3f42504c15
* grub-core/kern/powerpc/ieee1275/startup.S: Handle unaligned bss.
...
Reported by: Paulo Flabiano Smorigo.
2013-07-16 07:41:53 +02:00
Vladimir Testov
d110499b22
* grub-core/gfxmenu/gui_list.c: USe viewport when drawing strings.
2013-07-14 23:10:27 +02:00
Vladimir Testov
a8674ad37b
* grub-core/gfxmenu/gui_list.c: Fix height calculation.
2013-07-14 23:02:37 +02:00
Vladimir 'phcoder' Serbinenko
286fe4b379
* grub-core/fs/zfs/zfs.c: Stylistic fixes.
2013-07-14 22:48:23 +02:00
Vladimir 'phcoder' Serbinenko
1bd57aa343
* grub-core/fs/zfs/zfs.c: Run emacs indent on file.
2013-07-14 22:45:51 +02:00
Vladimir 'phcoder' Serbinenko
b2182299a7
* grub-core/fs/zfs/zfs.c: Remove brackets around return value.
2013-07-14 22:33:39 +02:00
Andrey Borzenkov
7a87d69fcf
* grub-core/net/bootp.c: Export net_* variables.
...
* grub-core/net/net.c: Likewise.
2013-07-14 22:59:00 +04:00
Vladimir 'phcoder' Serbinenko
795b3dc094
* grub-core/fs/zfs/zfs_lz4.c: Add missing packed attribute.
2013-07-14 16:29:33 +02:00
Vladimir 'phcoder' Serbinenko
68714c4392
* grub-core/fs/zfs/zfs.c (nvlist_next_nvpair): Fix improper cast.
2013-07-14 16:24:18 +02:00
Vladimir 'phcoder' Serbinenko
af211babd8
* grub-core/fs/zfs/zfs_lz4.c: Remove restrict keyword.
2013-07-14 16:05:14 +02:00
Massimo Maggi
0036f02d7b
* grub-core/fs/zfs/zfs.c (nvlist_next_nvpair): Error is encode_size
...
<= 0.
2013-07-14 14:22:02 +02:00
Massimo Maggi
6d0ddff3d9
* grub-core/fs/zfs/zfs.c: Split nvpair iterators into separate
...
functions.
2013-07-14 14:17:36 +02:00
Massimo Maggi
038016f48a
* grub-core/fs/zfs/zfs_lz4.c: New file.
...
* grub-core/fs/zfs/zfs.c: Tie up lz4 decompression.
2013-07-14 14:12:58 +02:00
Massimo Maggi
776bdce291
* grub-core/fs/zfs/zfs.c: Check for feature compatibility.
2013-07-14 14:10:42 +02:00
Massimo Maggi
c71dbd40a9
* grub-core/fs/zfs/zfs.c (uberblock_verify): Accept version 5000.
...
(check_pool_label): Likewise.
* include/grub/zfs/zfs.h: Rewrite SPA_VERSION_* macros.
2013-07-14 14:01:27 +02:00
Massimo Maggi
53618046da
* grub-core/fs/zfs/zfsinfo.c (print_vdev_info): Fix RAIDZ reporting.
2013-07-14 13:49:01 +02:00
Andrey Borzenkov
8e67b50fdf
* docs/grub.texi (Commands): Document postition parameters
...
for menuentry command.
2013-07-13 18:48:34 +04:00
Andrey Borzenkov
f5ae3717e4
* util/grub-mknetdir.in: Remove stray line from help output.
2013-07-13 18:44:27 +04:00
Vladimir 'phcoder' Serbinenko
9c28da2a89
Remove early sm712 init as there is no reason for it (the "watchdog"
...
effect was due to wrong GPIO map).
2013-07-11 16:24:35 +02:00
Vladimir 'phcoder' Serbinenko
139072b83a
* grub-core/commands/pcidump.c: Remove static variables.
2013-07-11 16:11:03 +02:00
Vladimir 'phcoder' Serbinenko
c6a61bda9b
* grub-core/commands/sleep.c: Refresh screen before sleeping.
2013-07-11 16:02:22 +02:00
Vladimir 'phcoder' Serbinenko
5136961498
* configure.ac: Move delimiter after the infos.
2013-07-11 14:54:49 +02:00
Vladimir 'phcoder' Serbinenko
efa8640adb
* grub-core/bus/usb/usbhub.c: Fix recheck logic.
2013-07-11 14:52:46 +02:00
Vladimir 'phcoder' Serbinenko
6f80a7b231
* util/grub-mkfont.c (write_font_ascii_bitmap): Fix handling of glyphs
...
not filling whole 8x16 space.
2013-07-11 13:50:18 +02:00
Vladimir 'phcoder' Serbinenko
a2371e19b3
* grub-core/normal/charset.c (bidi_line_wrap): Fix spurios warning.
2013-07-11 13:34:20 +02:00
Vladimir 'phcoder' Serbinenko
64fce2d829
* configure.ac: Indicate which liblzma is used if any.
2013-07-11 13:22:11 +02:00
Paul Wise
eb272d84a4
* util/grub-reboot.in: Document submenu usage.
...
Also-By: Craig Sanders <savannah@taz.net.au>
2013-07-11 13:18:43 +02:00
Colin Watson
a9e5abee0f
* .bzrignore: Update with a number of new test-related files.
2013-06-25 15:32:36 +01:00
Colin Watson
e639c204e0
* 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 .
2013-06-25 15:08:11 +01:00
Andrey Borzenkov
a4c89b1731
* grub-core/disk/diskfilter.c: Forgot to remove comment
...
from previous commit.
2013-06-16 16:35:20 +04:00
Andrey Borzenkov
5b06b53cbd
* grub-core/term/gfxterm.c (grub_virtual_screen_setup): Use
...
grub_term_normal_color, do not hardcode GRUB_TERM_DEFAULT_NORMAL_COLOR.
2013-06-16 16:24:05 +04:00
Andrey Borzenkov
702da5c9bf
* conf/Makefile.extra-dist: Add grub-core/fs/cpio_common.c.
2013-06-16 16:20:44 +04:00
Andrey Borzenkov
aa62a5b7f1
* grub-core/disk/diskfilter.c (scan_devices): Iteratively
...
rescan diskfilter devices until nothing new is found.
2013-06-16 16:12:50 +04:00
Vladimir 'phcoder' Serbinenko
4aa237c8a4
Fix casts when compiling coreboot-specific code for 64-bit EFI.
2013-06-16 04:19:38 +02:00
Vladimir 'phcoder' Serbinenko
93d8479b70
Don't try to detect cbfs on *-emu.
2013-06-16 04:06:41 +02:00
Vladimir 'phcoder' Serbinenko
837222cc30
* grub-core/term/gfxterm.c: USe right background color when scrolling.
2013-06-16 03:53:07 +02:00
Vladimir 'phcoder' Serbinenko
99c971afd3
Add support for processed coreboot payload chainloading.
2013-06-16 02:54:37 +02:00
Vladimir 'phcoder' Serbinenko
e6930a454d
Enable coreboot information commands even when not loaded as
...
coreboot payload (e.g. when loaded from SeaBIOS-as-payload).
2013-06-16 01:57:55 +02:00
Vladimir 'phcoder' Serbinenko
5027af38cf
Support for cbfs. Also factor out the part which is common
...
for all archives to a separate module. This splits tar from cpio
as they are very different but keeps cpio, cpio_be, odc and newc
together since they're very similar.
2013-06-16 00:06:13 +02:00
David Michael
a5b55c4b32
* configure.ac (FREETYPE): Change AC_CHECK_PROGS to AC_CHECK_TOOLS.
...
(freetype_cflags,freetype_libs): Change freetype-config to $FREETYPE.
2013-06-15 21:13:04 +02:00
Vladimir 'phcoder' Serbinenko
0301a8b36d
* tests/grub_script_eval.in: Really add the eval test.
2013-06-15 17:39:45 +02:00
Vladimir 'phcoder' Serbinenko
3d84cb1793
Move flavour-specific parts out of common cpio.c file and
...
rename remaining to cpio_common.c
2013-06-14 20:44:59 +02:00
Andrey Borzenkov
593e430cd6
* grub-core/script/execute.c (grub_script_execute_sourcecode): Split
...
off new function grub_script_execute_new_scope. Change callers to use
either of them as appropriate.
* grub-core/commands/eval.c: New command eval.
* docs/grub.texi (Commands): Document it.
2013-06-07 18:36:42 +02:00
Andrey Borzenkov
63c2984922
* grub-core/kern/corecmd.c (grub_core_cmd_set): Use grub_env_get
...
to fetch values when listing.
2013-06-07 18:25:19 +02:00
Andrey Borzenkov
cc28411296
Fix make dist on non-pc.
2013-06-07 18:23:08 +02:00
Francesco Lavra
b8578da640
* grub-core/kern/corecmd.c (grub_core_cmd_ls): Fix handling of paths
...
without a device name.
2013-06-07 16:28:13 +02:00
Vladimir 'phcoder' Serbinenko
69544d1e43
Remove enable_executable_check as it's not needed anymore.
...
Reported by: dougray.
2013-06-07 16:02:16 +02:00
Vladimir 'phcoder' Serbinenko
96dbe64813
* grub-core/disk/diskfilter.c (insert_array): Fix order to discover
...
ambigouos RAID before discovering RAIDs on top of it.
Reported by: bodom.
2013-06-07 15:41:10 +02:00
Vladimir 'phcoder' Serbinenko
ccfc0bdb53
Fix typo (failback vs fallback).
2013-06-07 15:35:16 +02:00
Andrey Borzenkov
f25870887b
* util/grub.d/30_os-prober.in: Add support for probing EFI
...
System Partition (as of os-prober 1.58).
2013-05-31 20:29:03 +04:00
Vladimir 'phcoder' Serbinenko
cec5cf0ced
* configure.ac: Add yet another path to unifont. For parabola.
2013-05-31 18:10:31 +02:00
Josh Triplett
e40b459617
* grub-core/normal/cmdline.c (grub_cmdline_get): Fix Ctrl-u
...
handling to copy the killed characters to the kill buffer as
UCS4 stored as grub_uint32_t rather than as 8-bit characters
stored as char. Eliminates UCS4 truncation and corruption
observed when killing characters with Ctrl-u and yanking them
back with Ctrl-y.
2013-05-31 00:59:02 +02:00
Vladimir 'phcoder' Serbinenko
fc4c4fddf6
Detach optional parts of gfxterm and integrate in with coreboot init.
2013-05-31 00:42:33 +02:00
Vladimir 'phcoder' Serbinenko
6570b2050e
Move blit and fill dispatcher to appropriate files to decrease export
...
and relocation overhead.
2013-05-30 22:06:28 +02:00
Vladimir 'phcoder' Serbinenko
b8323067e8
* grub-core/font/font.c, include/grub/font.h: Inline simple font
...
functions.
2013-05-30 21:58:24 +02:00
Vladimir 'phcoder' Serbinenko
3cc1878faf
* grub-core/Makefile.am: Fix compilation problem with some
...
automake versions.
2013-05-30 21:55:18 +02:00
Vladimir 'phcoder' Serbinenko
4b80e43c8c
* configure.ac: Add Ubuntu path to unifont and report unifont path used.
2013-05-30 21:51:34 +02:00
Vladimir 'phcoder' Serbinenko
57e0c20cb5
* Makefile.am, conf/Makefile.common: Fix compilation problem with some
...
automake versions.
2013-05-30 21:36:12 +02:00
Vladimir 'phcoder' Serbinenko
4fd42c53f3
* grub-core/commands/acpihalt.c: Fix handling of DSDT in presence of
...
SSDT.
2013-05-30 21:32:01 +02:00
Vladimir 'phcoder' Serbinenko
5bac5d9ad6
* grub-core/partmap/dfly.c: New partition map.
2013-05-16 16:18:37 +02:00
Vladimir 'phcoder' Serbinenko
141430a295
* grub-core/lib/dtc/libfdt-grub.diff: Remove extraneous uintptr_t
...
declaration.
2013-05-16 16:17:05 +02:00
Radosław Szymczyszyn
1e908b34a6
* grub-core/partmap/dfly.c: New partition map.
2013-05-15 17:26:49 +02:00
Vladimir 'phcoder' Serbinenko
1359e4740a
* grub-core/kern/corecmd.c (grub_core_cmd_ls): Fix empty path
...
checking.
Reported by: Francesco Lavra.
2013-05-15 10:11:25 +02:00
Andrey Borzenkov
17806392f1
* gentpl.py: Replace EXTRA_DIST with dist_noinst_DATA or
...
dist_<directory>_DATA. EXTRA_DIST is ignored by automake inside
false conditions.
* conf/Makefile.common: define dist_grubconf_DATA
2013-05-14 20:54:05 +04:00
Vladimir 'phcoder' Serbinenko
cdce14fad4
Progressively skip menu elements on small terminals rather
...
than crashing.
2013-05-14 08:57:18 +02:00
Vladimir 'phcoder' Serbinenko
c8d6cc3cf0
* grub-core/normal/cmdline.c (grub_cmdline_get): Fix off-by-one error
...
to avoid losing last column.
2013-05-14 08:54:18 +02:00
Vladimir 'phcoder' Serbinenko
a73b31ce5c
* po/exclude.pot: Add missing string "%C".
2013-05-14 08:47:10 +02:00
Vladimir 'phcoder' Serbinenko
1202c76486
* tests/util/grub-shell.in: Remove the temporary directory on grub-emu
...
after the test.
2013-05-14 08:41:39 +02:00
Vladimir 'phcoder' Serbinenko
50268344c0
* util/grub-install.in: Gettextize "Not found" message.
2013-05-11 15:54:22 +02:00
Vladimir 'phcoder' Serbinenko
62b15edfd1
Fix distfiles list.
...
Reported by: Andrey Borzenkov <arvidjaar@gmail.com>
2013-05-11 15:48:08 +02:00
Paulo Flabiano Smorigo
a9c0b699c0
* grub-core/net/bootp.c (grub_cmd_bootp): Check if there is any card
...
present.
* include/grub/err.h (grub_err_t): New enum value GRUB_ERR_NET_NO_CARD.
2013-05-11 11:25:29 +02:00
Vladimir 'phcoder' Serbinenko
709ad61b07
* grub-core/tests/setjmp_test.c: Ignore missing noreturn.
2013-05-11 10:17:19 +02:00
Vladimir 'phcoder' Serbinenko
d128901ace
* grub-core/fs/hfspluscomp.c (grub_hfsplus_compress_attr): Add packed
...
attribute since structure is not necessarily aligned.
2013-05-11 09:59:59 +02:00
Andrey Borzenkov
34b22f5cda
* docs/grub.texi (Device syntax): Clarify description of network
...
drives.
2013-05-11 09:23:26 +04:00
Vladimir 'phcoder' Serbinenko
0f7e980b29
Redirect xasprintf to grub_xvasprintf rather than having #ifdef's
...
for vasprintf presence.
2013-05-10 20:57:32 +02:00
Vladimir 'phcoder' Serbinenko
30b03dc22e
* util/grub-install.in: Handle efibootmgr presence check.
...
Reported by: Leif Lindholm.
2013-05-10 16:58:25 +02:00
Vladimir 'phcoder' Serbinenko
0dc11c08d7
* grub-core/commands/testspeed.c: Reuse formatting string to decrease
...
new strings to translate.
2013-05-10 16:25:36 +02:00
Vladimir 'phcoder' Serbinenko
f8024c3f9a
* util/grub-mkrescue.in: Replace STR' with
STRING' to avoid adding
...
yet another string (pun intended) to translate.
2013-05-10 16:23:47 +02:00