]>
git.proxmox.com Git - grub2.git/log
Colin Watson [Mon, 18 Nov 2013 16:19:49 +0000 (16:19 +0000)]
Disable gfxterm_menu tests for now as they are broken.
Colin Watson [Sun, 17 Nov 2013 14:44:11 +0000 (14:44 +0000)]
Add hwmatch dependency on libgnulib.a.
Colin Watson [Sun, 17 Nov 2013 14:27:25 +0000 (14:27 +0000)]
Disable shift check in boot.S in hybrid boot image, as it won't fit.
Colin Watson [Sun, 17 Nov 2013 13:58:19 +0000 (13:58 +0000)]
Remove use of nested functions from hwmatch.
Colin Watson [Sun, 17 Nov 2013 10:37:44 +0000 (10:37 +0000)]
Update for new grub_term_poll_usb signature.
Colin Watson [Sun, 17 Nov 2013 10:18:23 +0000 (10:18 +0000)]
Fix manual page generation for grub-mkdevicemap.
Colin Watson [Fri, 15 Nov 2013 17:08:58 +0000 (17:08 +0000)]
Use grub_util_fd_{open,close} rather than {fopen,fclose}.
Colin Watson [Fri, 15 Nov 2013 16:53:14 +0000 (16:53 +0000)]
Fix un-nesting of grub_util_iterate_devices hooks.
Colin Watson [Fri, 15 Nov 2013 16:38:01 +0000 (16:38 +0000)]
New upstream snapshot.
Colin Watson [Fri, 15 Nov 2013 16:25:05 +0000 (16:25 +0000)]
* .gitignore: Only ignore grub-mk* at the top level.
Colin Watson [Fri, 15 Nov 2013 16:23:45 +0000 (16:23 +0000)]
Include <grub/emu/hostdisk.h> in grub-mkdevicemap.c.
Colin Watson [Fri, 15 Nov 2013 16:03:14 +0000 (16:03 +0000)]
Fix mismerged brace position in probe_fusionio.patch.
Colin Watson [Fri, 15 Nov 2013 15:39:31 +0000 (15:39 +0000)]
Add grub-uboot* and grub-efi-arm* binary packages.
Colin Watson [Fri, 15 Nov 2013 15:27:41 +0000 (15:27 +0000)]
Document upstream changes.
Colin Watson [Fri, 15 Nov 2013 14:32:03 +0000 (14:32 +0000)]
* util/grub-reboot.in (usage): Fix a typo.
Colin Watson [Fri, 15 Nov 2013 14:17:45 +0000 (14:17 +0000)]
libncurses5-dev is no longer needed.
Colin Watson [Fri, 15 Nov 2013 10:21:26 +0000 (10:21 +0000)]
New upstream snapshot.
Vladimir Serbinenko [Fri, 15 Nov 2013 02:28:34 +0000 (03:28 +0100)]
Replace libgcc version of ctz with our own.
On upcoming arm64 port libgcc ctz* are not usable in standalone
environment. Since we need ctz* for this case and implementation is
in C we may as well use it on all concerned platforms.
Vladimir Serbinenko [Thu, 14 Nov 2013 22:17:18 +0000 (23:17 +0100)]
* configure.ac: Probe for linking format rather than guessing it based
on target_os.
Vladimir Serbinenko [Thu, 14 Nov 2013 21:42:54 +0000 (22:42 +0100)]
* grub-core/disk/xen/xendisk.c (grub_xendisk_fini): Set state to
"1" prior to handoff.
Reported by: M A Young.
Vladimir Serbinenko [Thu, 14 Nov 2013 21:40:50 +0000 (22:40 +0100)]
* grub-core/kern/xen/init.c (grub_xenstore_write_file): Don't add
\0 to all files.
Reported by: M A Young.
Vladimir Serbinenko [Thu, 14 Nov 2013 21:38:36 +0000 (22:38 +0100)]
* grub-core/osdep/bsd/hostdisk.c (grub_util_get_fd_size_os): Fix
compilation on NetBSD.
Vladimir Serbinenko [Thu, 14 Nov 2013 21:37:20 +0000 (22:37 +0100)]
* acinclude.m4: Don't add -P on initial nm test.
Note: even though this patch postdates Andrey's it bears 14 Nov as
date due to timezone difference.
Vladimir Serbinenko [Thu, 14 Nov 2013 21:28:03 +0000 (22:28 +0100)]
Merge branch 'master' of git.sv.gnu.org:/srv/git/grub
Andrey Borzenkov [Thu, 14 Nov 2013 20:51:30 +0000 (00:51 +0400)]
add grub-core/tests/signatures.h to distfiles
Vladimir Serbinenko [Thu, 14 Nov 2013 17:41:41 +0000 (18:41 +0100)]
* Makefile.am (default_payload.elf): Add uhci, ohci and usb_keyboard.
Colin Watson [Thu, 14 Nov 2013 16:45:27 +0000 (16:45 +0000)]
* util/grub-install_header: Set localedir here, since this file is
where it's used.
* util/grub-install.in: Remove setting of localedir.
* util/grub-mkrescue.in: Likewise.
Vladimir Serbinenko [Thu, 14 Nov 2013 16:39:01 +0000 (17:39 +0100)]
* configure.ac: Move nm checks to the end.
Call grub_PROG_NM_WORKS.
* acinclude.m4: New check grub_PROG_NM_WORKS.
Use $TARGET_CFLAGS -c when compiling test binary.
Colin Watson [Thu, 14 Nov 2013 15:08:37 +0000 (15:08 +0000)]
* util/getroot.c (grub_util_biosdisk_get_grub_dev) [__GNU__]: Remove
unused variables.
Matthew Garrett [Thu, 14 Nov 2013 14:53:32 +0000 (15:53 +0100)]
* grub-core/kern/main.c (grub_set_prefix_and_root): Set variable
cmdpath to firmware directory.
Vladimir Serbinenko [Thu, 14 Nov 2013 14:50:43 +0000 (15:50 +0100)]
* grub-core/kern/efi/efi.c (grub_efi_get_filename): Reset the pointer
at the start of second iteration.
Colin Watson [Thu, 14 Nov 2013 11:41:03 +0000 (11:41 +0000)]
releasing package grub2 version 2.00-20
Colin Watson [Thu, 14 Nov 2013 11:39:28 +0000 (11:39 +0000)]
Make grub.cfg world-unreadable if even hashed passwords are in use (closes: #632598).
Vladimir Serbinenko [Thu, 14 Nov 2013 11:05:48 +0000 (12:05 +0100)]
* grub-core/Makefile.am (efiemu64.o): Explicitly set link format.
Colin Watson [Wed, 13 Nov 2013 01:22:35 +0000 (01:22 +0000)]
Ubuntu merge complete!
Colin Watson [Wed, 13 Nov 2013 01:21:54 +0000 (01:21 +0000)]
Probe FusionIO devices (LP: #
1237519 ).
Colin Watson [Wed, 13 Nov 2013 01:19:25 +0000 (01:19 +0000)]
Migrate timeout settings from menu.lst.
Colin Watson [Wed, 13 Nov 2013 01:09:42 +0000 (01:09 +0000)]
Enable hidden timeout support by default.
Colin Watson [Wed, 13 Nov 2013 01:00:34 +0000 (01:00 +0000)]
Set default timeout to 10 seconds.
Colin Watson [Wed, 13 Nov 2013 00:54:28 +0000 (00:54 +0000)]
In recovery mode, add nomodeset to the Linux kernel arguments, and remove the 'set gfxpayload=keep' command.
Vladimir Serbinenko [Thu, 14 Nov 2013 10:28:38 +0000 (11:28 +0100)]
* Makefile.am (default_payload.elf): New target for easier coreboot
build.
Vladimir Serbinenko [Thu, 14 Nov 2013 09:05:54 +0000 (10:05 +0100)]
Merge branch 'master' of git.sv.gnu.org:/srv/git/grub
Conflicts:
ChangeLog
Vladimir Serbinenko [Thu, 14 Nov 2013 08:15:18 +0000 (09:15 +0100)]
* grub-core/kern/arm/cache_armv6.S: Remove special handling for
clang (not necessarry with -no-integrated-as).
* include/grub/symbol.h [__arm__]: Likewise.
Colin Watson [Thu, 14 Nov 2013 08:13:06 +0000 (08:13 +0000)]
* grub-core/fs/ext2.c (grub_ext2_read_block): Factor out common code for indirect block handling.
Saves 185 bytes on compressed image.
Vladimir Serbinenko [Thu, 14 Nov 2013 07:36:35 +0000 (08:36 +0100)]
* configure.ac: Use -no-integrated-as on arm with clang.
* INSTALL: Mention ARM compilation with clang.
Vladimir Serbinenko [Thu, 14 Nov 2013 07:34:54 +0000 (08:34 +0100)]
* conf/Makefile.common (CCASFLAGS_PLATFORM) [COND_arm]: Add
-mthumb-interwork.
Vladimir Serbinenko [Thu, 14 Nov 2013 07:33:14 +0000 (08:33 +0100)]
Merge branch 'master' of git.sv.gnu.org:/srv/git/grub
Paulo Flabiano Smorigo [Thu, 14 Nov 2013 01:03:22 +0000 (23:03 -0200)]
fix make clean
* Makefile.am: Remove build-grub-* in make clean.
Paulo Flabiano Smorigo [Thu, 14 Nov 2013 01:02:31 +0000 (23:02 -0200)]
new files to .gitignore
* .gitignore: Add build-grub-gen-asciih, build-grub-gen-widthspec,
build-grub-mkfont, and grub-emu-lite. Remove .bzrignore.
Leif Lindholm [Thu, 14 Nov 2013 00:33:06 +0000 (01:33 +0100)]
* grub-core/kern/arm/misc.S: Make thumb2-compatible.
Leif Lindholm [Wed, 13 Nov 2013 20:53:57 +0000 (20:53 +0000)]
* .gitignore: fix rules for .dep* and add *.a post git migration
Colin Watson [Wed, 13 Nov 2013 00:29:14 +0000 (00:29 +0000)]
Set vt.handoff=7 for smooth handoff to kernel graphical mode.
Colin Watson [Wed, 13 Nov 2013 00:21:54 +0000 (00:21 +0000)]
Set GRUB_GFXPAYLOAD_LINUX=keep unless it's known to be unsupported on the current hardware.
Colin Watson [Wed, 13 Nov 2013 00:08:56 +0000 (00:08 +0000)]
Show the boot menu if the previous boot failed.
Colin Watson [Tue, 12 Nov 2013 18:05:25 +0000 (18:05 +0000)]
If building for Ubuntu, bypass menu unless other OSes are installed or Shift is pressed.
Colin Watson [Tue, 12 Nov 2013 17:40:43 +0000 (17:40 +0000)]
Adjust UEFI installation to cope with Kubuntu setting GRUB_DISTRIBUTOR (LP: #
1242417 ).
Colin Watson [Tue, 12 Nov 2013 17:38:28 +0000 (17:38 +0000)]
If MokManager is present on the host system, copy it onto the EFI boot partition for use (Steve Langasek).
Colin Watson [Tue, 12 Nov 2013 17:37:15 +0000 (17:37 +0000)]
Unconditionally create grub.cfg on our EFI boot partition in Secure Boot mode; GRUB always needs some configuration in this case to find /boot/grub, since we can't modify the signed image at install time (Steve Langasek, LP: #
1236625 ).
Colin Watson [Tue, 12 Nov 2013 17:27:32 +0000 (17:27 +0000)]
Handle probing striped DM-RAID devices (thanks, Robert Collins; LP: #803658).
Colin Watson [Tue, 12 Nov 2013 16:55:11 +0000 (16:55 +0000)]
Remove obsolete DM-Upload-Allowed field.
Colin Watson [Tue, 12 Nov 2013 16:55:05 +0000 (16:55 +0000)]
Move packaging to git, following upstream. Adjust Vcs-* fields.
Colin Watson [Wed, 13 Nov 2013 14:57:12 +0000 (14:57 +0000)]
* configure.ac (AM_INIT_AUTOMAKE): Require at least version 1.10.1,
to match INSTALL.
Colin Watson [Wed, 13 Nov 2013 14:47:23 +0000 (14:47 +0000)]
* grub-core/kern/misc.c: Don't redirect divisions in the
GRUB_UTIL case.
* include/grub/misc.h: Likewise.
Colin Watson [Wed, 13 Nov 2013 13:34:57 +0000 (13:34 +0000)]
* grub-core/osdep/unix/emuconsole.c (put): Pacify the compiler on
systems that require checking the return value of write.
Colin Watson [Wed, 13 Nov 2013 13:05:39 +0000 (13:05 +0000)]
* util/grub-install.in (efi_quiet): Fix inverted logic: make
efibootmgr quiet when --debug is not used, rather than when it is.
Colin Watson [Wed, 13 Nov 2013 12:46:37 +0000 (12:46 +0000)]
* gentpl.py (define_macro_for_platform_dependencies): Remove
first (and thus unused) of two definitions for this function.
(platform_dependencies): Likewise.
Colin Watson [Wed, 13 Nov 2013 12:01:39 +0000 (12:01 +0000)]
* acinclude.m4 (grub_apple_cc): Remove; since the removal of nested
functions, we only need to check this for the target, not the host.
* configure.ac (grub_apple_cc): Likewise.
Vladimir Serbinenko [Wed, 13 Nov 2013 08:58:52 +0000 (09:58 +0100)]
* grub-core/kern/arm/cache.c (probe_caches): Move asm part to ...
* grub-core/kern/arm/cache_armv6.S: ... here. This allows this
asm to stay in arm even if surrounding is thumb.
Vladimir Serbinenko [Wed, 13 Nov 2013 08:52:33 +0000 (09:52 +0100)]
* grub-core/kern/arm/misc.S: Add __muldi3 and __aeabi_lmul. Those
helper functions are needed for thumb.
Vladimir Serbinenko [Wed, 13 Nov 2013 08:40:16 +0000 (09:40 +0100)]
* grub-core/disk/diskfilter.c (grub_diskfilter_make_raid): Make
level / 3 division explicitly unsigned. Saves few bytes.
Vladimir Serbinenko [Wed, 13 Nov 2013 08:27:36 +0000 (09:27 +0100)]
* grub-core/fs/zfs/zfs.c (ZAP_LEAF_NUMCHUNKS): Use unsigned arithmetics.
Vladimir Serbinenko [Wed, 13 Nov 2013 08:26:13 +0000 (09:26 +0100)]
* grub-core/normal/datetime.c (grub_get_weekday): Use if rather than
division.
Vladimir Serbinenko [Wed, 13 Nov 2013 05:28:15 +0000 (06:28 +0100)]
* grub-core/kern/uboot/init.c: Move grub_uboot_machine_type and
grub_uboot_boot_data to asm part.
Vladimir Serbinenko [Wed, 13 Nov 2013 05:27:03 +0000 (06:27 +0100)]
* grub-core/kern/arm/uboot/startup.S: Remove = by replacing with
literal load.
(grub_uboot_syscall): Save/restore r9 and align stack.
Vladimir Serbinenko [Wed, 13 Nov 2013 05:23:32 +0000 (06:23 +0100)]
* grub-core/kern/arm/cache.S: Replace = with explicit litteral load.
Vladimir Serbinenko [Wed, 13 Nov 2013 04:19:30 +0000 (05:19 +0100)]
* include/grub/symbol.h (END) [__arm__]: New macros. Replace all .end
occurencies with END.
Colin Watson [Wed, 13 Nov 2013 02:15:57 +0000 (02:15 +0000)]
* util/grub-editenv.c (help_filter, argp): Document how to delete
the whole environment block.
Reported by Dan Jacobson. Fixes Debian bug #726265.
Colin Watson [Wed, 13 Nov 2013 02:08:50 +0000 (02:08 +0000)]
* docs/grub.texi (Internationalisation, Supported kernels): Fix
sectioning.
Josh Triplett [Wed, 13 Nov 2013 01:27:11 +0000 (02:27 +0100)]
* grub-core/normal/term.c (grub_set_more): Use bool logic rather than
increment/decrement.
Vladimir Serbinenko [Wed, 13 Nov 2013 01:17:20 +0000 (02:17 +0100)]
Revert " * include/grub/symbol.h (ADDR): New macro. Replace all occurences of"
This reverts commit
286551b4ebac0b6807c42d2034181d508479c542 .
Vladimir Serbinenko [Wed, 13 Nov 2013 00:08:47 +0000 (01:08 +0100)]
* grub-core/kern/arm/cache_armv6.S [__clang__]: Don't add .armv6 when
compiling with clang.
Vladimir Serbinenko [Wed, 13 Nov 2013 00:06:30 +0000 (01:06 +0100)]
* grub-core/kern/arm/uboot/startup.S: Use .org rather than assigning
".".
Vladimir Serbinenko [Wed, 13 Nov 2013 00:04:56 +0000 (01:04 +0100)]
* include/grub/symbol.h (ADDR): New macro. Replace all occurences of
=x with ADDR(x) in arm assembly.
(END): New macro. Replace all .end with END.
Vladimir Serbinenko [Tue, 12 Nov 2013 23:53:53 +0000 (00:53 +0100)]
Redirect all divisions to grub_divmod64.
Vladimir Serbinenko [Tue, 12 Nov 2013 23:51:06 +0000 (00:51 +0100)]
* grub-core/term/tparm.c (tparam_internal): Use unsigned divisions.
Vladimir Serbinenko [Tue, 12 Nov 2013 23:43:03 +0000 (00:43 +0100)]
Add missing includes of loader.h.
Vladimir Serbinenko [Tue, 12 Nov 2013 21:44:01 +0000 (22:44 +0100)]
* configure.ac: Allow disabling themes.
Lukas Schwaighofer [Tue, 12 Nov 2013 20:03:27 +0000 (21:03 +0100)]
* util/grub.d/20_linux_xen.in: Don't decompress initrd.
Vladimir Serbinenko [Tue, 12 Nov 2013 18:30:46 +0000 (19:30 +0100)]
* grub-core/term/at_keyboard.c: Don't poll non-functional AT controller
until it becomes operational.
Vladimir Serbinenko [Tue, 12 Nov 2013 17:44:58 +0000 (18:44 +0100)]
* grub-core/Makefile.core.def (legacy_password_test): Disable
on platforms where no legacycfg is compiled.
* grub-core/tests/lib/functional_test.c: Tolerate failure to
load legacy_password_test.
Vladimir Serbinenko [Tue, 12 Nov 2013 15:14:33 +0000 (16:14 +0100)]
* grub-core/loader/i386/bsd.c: Remove variable length arrays.
Vladimir Serbinenko [Tue, 12 Nov 2013 15:12:28 +0000 (16:12 +0100)]
* grub-core/efiemu/prepare.c: Remove variable length arrays.
Vladimir Serbinenko [Tue, 12 Nov 2013 15:09:42 +0000 (16:09 +0100)]
* grub-core/osdep/windows/hostdisk.c (grub_util_fd_strerror): Silence
strict-aliasing warning.
(fsync): Silence cast warning.
Vladimir Serbinenko [Tue, 12 Nov 2013 15:07:30 +0000 (16:07 +0100)]
* grub-core/commands/verify.c: Remove variable length arrays.
Load gcry_dsa/gcry_rsa automatically.
Vladimir Serbinenko [Tue, 12 Nov 2013 15:05:57 +0000 (16:05 +0100)]
* grub-core/tests/signature_test.c: New test.
Vladimir Serbinenko [Tue, 12 Nov 2013 15:01:19 +0000 (16:01 +0100)]
* grub-core/disk/cryptodisk.c (luks_script_get): Adapt to new procfs
API.
Vladimir Serbinenko [Tue, 12 Nov 2013 14:59:58 +0000 (15:59 +0100)]
* grub-core/tests/legacy_password_test.c (vectors): Make static.
* grub-core/tests/pbkdf2_test.c (vectors): Likewise.
Vladimir Serbinenko [Tue, 12 Nov 2013 14:58:50 +0000 (15:58 +0100)]
* grub-core/tests/setjmp_test.c: Reset counter to 0 before starting.
Vladimir Serbinenko [Tue, 12 Nov 2013 14:57:09 +0000 (15:57 +0100)]
* grub-core/fs/proc.c: Allow \0 in proc files.
Vladimir Serbinenko [Tue, 12 Nov 2013 13:11:34 +0000 (14:11 +0100)]
* grub-core/tests/xnu_uuid_test.c: Fix assert message.