]> git.proxmox.com Git - grub2.git/log
grub2.git
10 years agoAdd configure option to reduce visual clutter at boot time
Colin Watson [Mon, 13 Jan 2014 12:13:26 +0000 (12:13 +0000)]
Add configure option to reduce visual clutter at boot time

If this option is enabled, then do all of the following:

Don't display introductory message about line editing unless we're
actually offering a shell prompt.  (This is believed to be a workaround
for a different bug.  We'll go with this for now, but will drop this in
favour of a better fix upstream if somebody figures out what that is.)

Don't clear the screen just before booting if we never drew the menu in
the first place.

Remove verbose messages printed before reading configuration.  In some
ways this is awkward because it makes debugging harder, but it's a
requirement for a smooth-looking boot process; we may be able to do
better in future.  Upstream doesn't want this, though.

Disable the cursor as well, for similar reasons of tidiness.

Suppress kernel/initrd progress messages, except in recovery mode.

Suppress "GRUB loading" message unless Shift is held down.  Upstream
doesn't want this, as it makes debugging harder.  Ubuntu wants it to
provide a cleaner boot experience.

Bug-Ubuntu: https://bugs.launchpad.net/bugs/386922
Bug-Ubuntu: https://bugs.launchpad.net/bugs/861048
Forwarded: (partial) http://lists.gnu.org/archive/html/grub-devel/2009-09/msg00056.html
Last-Update: 2014-01-03

Patch-Name: maybe_quiet.patch

10 years agoSkip Windows os-prober entries on Wubi systems
Colin Watson [Mon, 13 Jan 2014 12:13:24 +0000 (12:13 +0000)]
Skip Windows os-prober entries on Wubi systems

Since we're already being booted from the Windows boot loader, including
entries that take us back to it mostly just causes confusion, and stops
us from being able to hide the menu if there are no other OSes
installed.

https://blueprints.launchpad.net/ubuntu/+spec/foundations-o-wubi

Forwarded: not-needed
Last-Update: 2013-11-26

Patch-Name: wubi_no_windows.patch

10 years agoAllow Shift to interrupt 'sleep --interruptible'
Colin Watson [Mon, 13 Jan 2014 12:13:23 +0000 (12:13 +0000)]
Allow Shift to interrupt 'sleep --interruptible'

Upstream would like to consider this at more length. See
http://lists.gnu.org/archive/html/grub-devel/2009-08/msg00718.html, and
the rest of the thread for context.

Forwarded: http://lists.gnu.org/archive/html/grub-devel/2009-08/msg00694.html
Last-Update: 2013-12-04

Patch-Name: sleep_shift.patch

10 years agoInstall signed images if UEFI Secure Boot is enabled
Colin Watson [Mon, 13 Jan 2014 12:13:22 +0000 (12:13 +0000)]
Install signed images if UEFI Secure Boot is enabled

Author: Stéphane Graber <stgraber@ubuntu.com>
Author: Steve Langasek <steve.langasek@ubuntu.com>
Forwarded: no
Last-Update: 2014-03-31

Patch-Name: install_signed.patch

10 years agoGenerate configuration for signed UEFI kernels if available
Colin Watson [Mon, 13 Jan 2014 12:13:21 +0000 (12:13 +0000)]
Generate configuration for signed UEFI kernels if available

Forwarded: no
Last-Update: 2013-12-25

Patch-Name: mkconfig_signed_kernel.patch

10 years agoIf running under UEFI secure boot, attempt to use linuxefi loader
Colin Watson [Mon, 13 Jan 2014 12:13:20 +0000 (12:13 +0000)]
If running under UEFI secure boot, attempt to use linuxefi loader

Author: Steve Langasek <steve.langasek@canonical.com>
Forwarded: no
Last-Update: 2013-12-20

Patch-Name: linuxefi_non_sb_fallback.patch

10 years agoMake linuxefi refuse to boot without shim
Colin Watson [Mon, 13 Jan 2014 12:13:19 +0000 (12:13 +0000)]
Make linuxefi refuse to boot without shim

This is only intended as a temporary measure.

Forwarded: not-needed
Last-Update: 2013-01-29

Patch-Name: linuxefi_require_shim.patch

10 years agoAdd more debugging to linuxefi
Colin Watson [Mon, 13 Jan 2014 12:13:18 +0000 (12:13 +0000)]
Add more debugging to linuxefi

Forwarded: no
Last-Update: 2013-01-29

Patch-Name: linuxefi_debug.patch

10 years agoOnly build linuxefi on amd64
Colin Watson [Mon, 13 Jan 2014 12:13:16 +0000 (12:13 +0000)]
Only build linuxefi on amd64

Forwarded: no
Last-Update: 2013-12-25

Patch-Name: linuxefi_amd64_only.patch

10 years agoAdd "linuxefi" loader which avoids ExitBootServices
Matthew Garrett [Mon, 13 Jan 2014 12:13:15 +0000 (12:13 +0000)]
Add "linuxefi" loader which avoids ExitBootServices

Origin: vendor, http://pkgs.fedoraproject.org/cgit/grub2.git/tree/grub2-linuxefi.patch
Forwarded: no
Last-Update: 2013-12-25

Patch-Name: linuxefi.patch

10 years agoRemove GNU/Linux from default distributor string for Ubuntu
Mario Limonciello [Mon, 13 Jan 2014 12:13:14 +0000 (12:13 +0000)]
Remove GNU/Linux from default distributor string for Ubuntu

Ubuntu is called "Ubuntu", not "Ubuntu GNU/Linux".

Author: Colin Watson <cjwatson@debian.org>
Author: Harald Sitter <apachelogger@kubuntu.org>
Forwarded: not-needed
Last-Update: 2013-12-25

Patch-Name: mkconfig_ubuntu_distributor.patch

10 years agoOutput a menu entry for firmware setup on UEFI FastBoot systems
Steve Langasek [Mon, 13 Jan 2014 12:13:12 +0000 (12:13 +0000)]
Output a menu entry for firmware setup on UEFI FastBoot systems

Forwarded: no
Last-Update: 2013-12-25

Patch-Name: uefi_firmware_setup.patch

10 years agoBlacklist 1440x900x32 from VBE preferred mode handling
Colin Watson [Mon, 13 Jan 2014 12:13:11 +0000 (12:13 +0000)]
Blacklist 1440x900x32 from VBE preferred mode handling

Bug-Ubuntu: https://bugs.launchpad.net/bugs/701111
Forwarded: no
Last-Update: 2013-11-14

Patch-Name: blacklist_1440x900x32.patch

10 years agoRead /etc/default/grub.d/*.cfg after /etc/default/grub
Colin Watson [Mon, 13 Jan 2014 12:13:10 +0000 (12:13 +0000)]
Read /etc/default/grub.d/*.cfg after /etc/default/grub

Bug-Ubuntu: https://bugs.launchpad.net/bugs/901600
Forwarded: no
Last-Update: 2014-01-28

Patch-Name: default_grub_d.patch

10 years agoDon't permit loading modules on UEFI secure boot
Matthew Garrett [Mon, 13 Jan 2014 12:13:09 +0000 (12:13 +0000)]
Don't permit loading modules on UEFI secure boot

Author: Colin Watson <cjwatson@ubuntu.com>
Origin: vendor, http://pkgs.fedoraproject.org/cgit/grub2.git/tree/grub-2.00-no-insmod-on-sb.patch
Forwarded: no
Last-Update: 2013-12-25

Patch-Name: no_insmod_on_sb.patch

10 years agoAvoid getting confused by inaccessible loop device backing paths
Colin Watson [Mon, 13 Jan 2014 12:13:08 +0000 (12:13 +0000)]
Avoid getting confused by inaccessible loop device backing paths

Bug-Ubuntu: https://bugs.launchpad.net/bugs/938724
Forwarded: no
Last-Update: 2013-12-20

Patch-Name: mkconfig_nonexistent_loopback.patch

10 years agoPrefer translations from Ubuntu language packs if available
Colin Watson [Mon, 13 Jan 2014 12:13:07 +0000 (12:13 +0000)]
Prefer translations from Ubuntu language packs if available

Bug-Ubuntu: https://bugs.launchpad.net/bugs/537998
Forwarded: not-needed
Last-Update: 2013-12-25

Patch-Name: install_locale_langpack.patch

10 years ago"single" -> "recovery" when friendly-recovery is installed
Colin Watson [Mon, 13 Jan 2014 12:13:06 +0000 (12:13 +0000)]
"single" -> "recovery" when friendly-recovery is installed

If configured with --enable-ubuntu-recovery, also set nomodeset for
recovery mode, and disable 'set gfxpayload=keep' even if the system
normally supports it.  See
https://launchpad.net/ubuntu/+spec/desktop-o-xorg-tools-and-processes.

Author: Stéphane Graber <stgraber@ubuntu.com>
Forwarded: no
Last-Update: 2013-12-25

Patch-Name: mkconfig_ubuntu_recovery.patch

10 years agoFall back to i386-pc if booted using EFI but -efi is missing
Colin Watson [Mon, 13 Jan 2014 12:13:05 +0000 (12:13 +0000)]
Fall back to i386-pc if booted using EFI but -efi is missing

It may be possible, particularly in recovery situations, to be booted
using EFI on x86 when only the i386-pc target is installed.  There's
nothing actually stopping us installing i386-pc from an EFI environment,
and it's better than returning a confusing error.

Forwarded: no
Last-Update: 2013-12-20

Patch-Name: install_efi_fallback.patch

10 years agoBail out if trying to run grub-mkconfig during upgrade to 2.00
Colin Watson [Mon, 13 Jan 2014 12:13:03 +0000 (12:13 +0000)]
Bail out if trying to run grub-mkconfig during upgrade to 2.00

Since files in /etc/grub.d/ are conffiles, they are not put in place
until grub-common is configured, meaning that they may be out of sync
with the parts of grub-mkconfig that reside in /usr/.  In GRUB 1.99,
/etc/grub.d/00_header contained a reference to ${GRUB_PREFIX}/video.lst.
This and other code from 1.99 breaks with 2.00's grub-mkconfig.
Deferring this to when grub-PLATFORM.postinst eventually runs is safe
and avoids this problem.

Forwarded: no
Last-Update: 2013-12-25

Patch-Name: mkconfig_mid_upgrade.patch

10 years agoSilence error messages when translations are unavailable
Colin Watson [Mon, 13 Jan 2014 12:13:02 +0000 (12:13 +0000)]
Silence error messages when translations are unavailable

Bug: https://savannah.gnu.org/bugs/?35880
Forwarded: https://savannah.gnu.org/bugs/?35880
Last-Update: 2013-11-14

Patch-Name: gettext_quiet.patch

10 years agoRestore grub-mkdevicemap
Colin Watson [Mon, 13 Jan 2014 12:13:01 +0000 (12:13 +0000)]
Restore grub-mkdevicemap

This is kind of a mess, requiring lots of OS-specific code to iterate
over all possible devices.  However, we use it in a number of scripts to
discover devices and reimplementing those in terms of something else
would be very complicated.

Patch-Name: restore_mkdevicemap.patch

10 years agoHandle filesystems loop-mounted on file images
Colin Watson [Mon, 13 Jan 2014 12:13:00 +0000 (12:13 +0000)]
Handle filesystems loop-mounted on file images

Improve prepare_grub_to_access_device to emit appropriate commands for
such filesystems, and ignore them in Linux grub.d scripts.

This is needed for Ubuntu's Wubi installation method.

This patch isn't inherently Debian/Ubuntu-specific.  losetup and
/proc/mounts are Linux-specific, though, so we might need to refine this
before sending it upstream.  The changes to the Linux grub.d scripts
might be better handled by integrating 10_lupin properly instead.

Patch-Name: mkconfig_loopback.patch

10 years agoBuild part_msdos and vfat into EFI boot images
Mario Limonciello [Mon, 13 Jan 2014 12:12:59 +0000 (12:12 +0000)]
Build part_msdos and vfat into EFI boot images

Author: Colin Watson <cjwatson@ubuntu.com>
Bug-Ubuntu: https://bugs.launchpad.net/bugs/677758
Forwarded: http://lists.gnu.org/archive/html/grub-devel/2011-01/msg00028.html
Last-Update: 2013-12-25

Patch-Name: mkrescue_efi_modules.patch

10 years agoIf GRUB Legacy is still around, tell packaging to ignore it
Colin Watson [Mon, 13 Jan 2014 12:12:58 +0000 (12:12 +0000)]
If GRUB Legacy is still around, tell packaging to ignore it

Bug-Debian: http://bugs.debian.org/586143
Forwarded: not-needed
Last-Update: 2013-12-25

Patch-Name: install_stage2_confusion.patch

10 years agoDisable gfxpayload=keep by default
Colin Watson [Mon, 13 Jan 2014 12:12:57 +0000 (12:12 +0000)]
Disable gfxpayload=keep by default

Setting gfxpayload=keep has been known to cause efifb to be
inappropriately enabled.  In any case, with the current Linux kernel the
result of this option is that early kernelspace will be unable to print
anything to the console, so (for example) if boot fails and you end up
dumped to an initramfs prompt, you won't be able to see anything on the
screen.  As such it shouldn't be enabled by default in Debian, no matter
what kernel options are enabled.

gfxpayload=keep is a good idea but rather ahead of its time ...

Bug-Debian: http://bugs.debian.org/567245
Forwarded: no
Last-Update: 2013-12-25

Patch-Name: gfxpayload_keep_default.patch

10 years agoMake grub.cfg world-readable if it contains no passwords
Colin Watson [Mon, 13 Jan 2014 12:12:55 +0000 (12:12 +0000)]
Make grub.cfg world-readable if it contains no passwords

Patch-Name: grub.cfg_400.patch

10 years agoDisable use of floppy devices
Colin Watson [Mon, 13 Jan 2014 12:12:54 +0000 (12:12 +0000)]
Disable use of floppy devices

An ugly kludge.  Should this be merged upstream?

Author: Robert Millan

Patch-Name: disable_floppies.patch

10 years agoSupport running grub-probe in grub-legacy's update-grub
Robert Millan [Mon, 13 Jan 2014 12:12:53 +0000 (12:12 +0000)]
Support running grub-probe in grub-legacy's update-grub

Author: Colin Watson <cjwatson@debian.org>
Forwarded: not-needed
Last-Update: 2013-12-25

Patch-Name: grub_legacy_0_based_partitions.patch

10 years agoImprove handling of Debian kernel version numbers
Robert Millan [Mon, 13 Jan 2014 12:12:52 +0000 (12:12 +0000)]
Improve handling of Debian kernel version numbers

Forwarded: not-needed
Last-Update: 2013-12-20

Patch-Name: dpkg_version_comparison.patch

10 years agoWrite marker if core.img was written to filesystem
Colin Watson [Mon, 13 Jan 2014 12:12:51 +0000 (12:12 +0000)]
Write marker if core.img was written to filesystem

The Debian bug reporting script includes a warning in this case.

Patch-Name: core_in_fs.patch

10 years agoHack prefix for OLPC
Colin Watson [Mon, 13 Jan 2014 12:12:50 +0000 (12:12 +0000)]
Hack prefix for OLPC

This sucks, but it's better than what OFW was giving us.

Patch-Name: olpc_prefix_hack.patch

10 years ago * configure.ac: Set version to 2.02~beta2.
Vladimir Serbinenko [Tue, 24 Dec 2013 20:53:23 +0000 (21:53 +0100)]
* configure.ac: Set version to 2.02~beta2.

10 years ago * grub-core/disk/efi/efidisk.c (name_devices): Skip Apple ghosts.
Vladimir Serbinenko [Tue, 24 Dec 2013 19:32:14 +0000 (20:32 +0100)]
* grub-core/disk/efi/efidisk.c (name_devices): Skip Apple ghosts.

10 years ago * util/grub-probe.c: Improve help message and simplify list handling.
Andrey Borzenkov [Tue, 24 Dec 2013 19:30:16 +0000 (20:30 +0100)]
* util/grub-probe.c: Improve help message and simplify list handling.

10 years ago Fix buffer overflow in grub_efi_print_device_path.
Vladimir Serbinenko [Tue, 24 Dec 2013 18:04:46 +0000 (19:04 +0100)]
Fix buffer overflow in grub_efi_print_device_path.

10 years ago Show SATA device path.
Vladimir Serbinenko [Tue, 24 Dec 2013 17:10:28 +0000 (18:10 +0100)]
Show SATA device path.

10 years ago Revert grub-file usage in grub-mkconfig.
Vladimir Serbinenko [Tue, 24 Dec 2013 16:47:27 +0000 (17:47 +0100)]
Revert grub-file usage in grub-mkconfig.

10 years ago Make newly-created files other than grub.cfg world-readable.
Vladimir Serbinenko [Tue, 24 Dec 2013 16:36:10 +0000 (17:36 +0100)]
Make newly-created files other than grub.cfg world-readable.

10 years ago * util/grub.d/00_header.in: Improve compatibility with old config.
Andrey Borzenkov [Tue, 24 Dec 2013 16:26:05 +0000 (17:26 +0100)]
* util/grub.d/00_header.in: Improve compatibility with old config.

10 years ago Make rijndael.c respect aliasing rules.
Vladimir Serbinenko [Tue, 24 Dec 2013 15:57:28 +0000 (16:57 +0100)]
Make rijndael.c respect aliasing rules.

Trivial backport of dfb4673da8ee52d95e0a62c9f49ca8599943f22e.

10 years ago Make grub_util_device_is_mapped_stat available in grub-emu core.
Vladimir Serbinenko [Tue, 24 Dec 2013 15:56:14 +0000 (16:56 +0100)]
Make grub_util_device_is_mapped_stat available in grub-emu core.

10 years ago Add -Qn to TARGET_CFLAGS if it's supported.
Vladimir Serbinenko [Tue, 24 Dec 2013 14:00:46 +0000 (15:00 +0100)]
Add -Qn to TARGET_CFLAGS if it's supported.
Fixes compilation on cygwin.

Reported by: Andrey Borzenkov.
Suggested by: Andrey Borzenkov.

10 years ago Save TARGET_CC version in modinfo.sh.
Vladimir Serbinenko [Tue, 24 Dec 2013 13:47:44 +0000 (14:47 +0100)]
Save TARGET_CC version in modinfo.sh.

Suggested by: Andrey Borzenkov.

10 years ago Make grub_util_devmapper_part_to_disk and grub_util_find_partition_start
Vladimir Serbinenko [Tue, 24 Dec 2013 13:16:57 +0000 (14:16 +0100)]
Make grub_util_devmapper_part_to_disk and grub_util_find_partition_start
follow the same algorithm to avoid method mismatch. Don't assume
DMRAID- UUID to mean full disk but instead check that mapping is linear.

10 years ago Declare GRUB_EFI_VENDOR_APPLE_GUID.
Vladimir Serbinenko [Tue, 24 Dec 2013 13:14:19 +0000 (14:14 +0100)]
Declare GRUB_EFI_VENDOR_APPLE_GUID.

10 years ago Dump type and vendor specific data when printing device path.
Vladimir Serbinenko [Tue, 24 Dec 2013 13:05:48 +0000 (14:05 +0100)]
Dump type and vendor specific data when printing device path.

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

10 years ago ARM64 support for grub-mkrescue.
Vladimir Serbinenko [Mon, 23 Dec 2013 16:52:52 +0000 (17:52 +0100)]
ARM64 support for grub-mkrescue.

10 years ago Install modinfo.sh to keep build information around.
Vladimir Serbinenko [Mon, 23 Dec 2013 16:51:39 +0000 (17:51 +0100)]
Install modinfo.sh to keep build information around.

10 years ago * grub-core/modinfo.sh.in: Add build config information.
Vladimir Serbinenko [Mon, 23 Dec 2013 16:37:19 +0000 (17:37 +0100)]
* grub-core/modinfo.sh.in: Add build config information.

10 years ago ARM64 grub-file and grub-mkconfig support.
Vladimir Serbinenko [Mon, 23 Dec 2013 16:35:18 +0000 (17:35 +0100)]
ARM64 grub-file and grub-mkconfig support.

10 years ago Remove leftover options defines.
Vladimir Serbinenko [Mon, 23 Dec 2013 16:24:52 +0000 (17:24 +0100)]
Remove leftover options defines.

10 years agoUpdate some documentation to refer to Git rather than Bazaar.
Colin Watson [Mon, 23 Dec 2013 14:43:41 +0000 (14:43 +0000)]
Update some documentation to refer to Git rather than Bazaar.

* docs/grub.texi (Obtaining and Building GRUB): Refer to Git rather
than Bazaar.
* po/README: Likewise.  Fix spelling mistake.

10 years agoDon't distribute config.h.
Colin Watson [Mon, 23 Dec 2013 14:30:35 +0000 (14:30 +0000)]
Don't distribute config.h.

* Makefile.am (platform_HEADERS): Move to ...
(nodist_platform_HEADERS): ... here.  Fixes gettext_strings_test
failure when building from a distributed tarball.

10 years ago* configure.ac: Fix spelling.
Colin Watson [Mon, 23 Dec 2013 13:32:35 +0000 (13:32 +0000)]
* configure.ac: Fix spelling.
* grub-core/commands/parttool.c: Fix grammar.
* grub-core/disk/ldm.c: Use consistent capitalisation for "LDM
Embedding Partition".

10 years ago * include/grub/arm64/linux.h: Remove leftovers. Add missing prefixes.
Vladimir Serbinenko [Mon, 23 Dec 2013 04:56:31 +0000 (05:56 +0100)]
* include/grub/arm64/linux.h: Remove leftovers. Add missing prefixes.

10 years ago * grub-core/loader/arm64/linux.c: Add missing bracket.
Vladimir Serbinenko [Mon, 23 Dec 2013 04:34:13 +0000 (05:34 +0100)]
* grub-core/loader/arm64/linux.c: Add missing bracket.

10 years ago Add arm64-efi recognition to grub-file.
Vladimir Serbinenko [Mon, 23 Dec 2013 04:33:44 +0000 (05:33 +0100)]
Add arm64-efi recognition to grub-file.

10 years ago Fix ia64-efi recognition in grub-file.
Vladimir Serbinenko [Mon, 23 Dec 2013 04:27:04 +0000 (05:27 +0100)]
Fix ia64-efi recognition in grub-file.

10 years ago Recognize raspberry pi kernel in grub-file.
Vladimir Serbinenko [Mon, 23 Dec 2013 04:19:42 +0000 (05:19 +0100)]
Recognize raspberry pi kernel in grub-file.

10 years ago Enable cache on ARM U-Boot port.
Vladimir Serbinenko [Mon, 23 Dec 2013 04:01:58 +0000 (05:01 +0100)]
Enable cache on ARM U-Boot port.

Without it the port is reidiculously slow.

10 years ago Fix ARM cache maintainance.
Vladimir Serbinenko [Mon, 23 Dec 2013 03:27:53 +0000 (04:27 +0100)]
Fix ARM cache maintainance.

More code was converted from ASM to C for easier handling.

10 years ago * grub-core/kern/arm/cache.c (grub_arm_disable_caches_mmu): Use v6
Vladimir Serbinenko [Sun, 22 Dec 2013 21:33:35 +0000 (22:33 +0100)]
* grub-core/kern/arm/cache.c (grub_arm_disable_caches_mmu): Use v6
algorithm on v5.

Suggested by: Leif Lindholm.

10 years agogrub-mkconfig: fix Xen platform conditions
Andrey Borzenkov [Sun, 22 Dec 2013 19:47:26 +0000 (23:47 +0400)]
grub-mkconfig: fix Xen platform conditions

10 years agosplit grub-mkresecue help text to facilitate translations
Andrey Borzenkov [Sun, 22 Dec 2013 18:51:54 +0000 (22:51 +0400)]
split grub-mkresecue help text to facilitate translations

Split single string in help message into several strings used before in shell
grub-mkrescue to minimize changes to existing translations.

Reported by Benno Schulenberg

10 years agoarm64: add EFI Linux loader
Leif Lindholm [Wed, 4 Dec 2013 15:21:16 +0000 (15:21 +0000)]
arm64: add EFI Linux loader

Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
10 years agofdt: additions required for arm64 Linux loader
Leif Lindholm [Wed, 4 Dec 2013 13:09:21 +0000 (13:09 +0000)]
fdt: additions required for arm64 Linux loader

- Add grub_fdt_create_empty_tree() function.
- Add 64-bit setprop.

10 years ago Add module loading and parsing boot time checkpoints.
Vladimir Serbinenko [Sun, 22 Dec 2013 17:14:42 +0000 (18:14 +0100)]
Add module loading and parsing boot time checkpoints.

10 years ago * grub-core/loader/arm/linux.c: Pass arguments through on ATAG
Vladimir Serbinenko [Sun, 22 Dec 2013 17:14:00 +0000 (18:14 +0100)]
* grub-core/loader/arm/linux.c: Pass arguments through on ATAG
platforms.

10 years ago * util/grub-mkconfig.in: Skip non-executable files.
Lars Wendler [Sun, 22 Dec 2013 15:38:28 +0000 (16:38 +0100)]
* util/grub-mkconfig.in: Skip non-executable files.

10 years ago Workaround buggy timer in raspberry pie by using our own timer
Vladimir Serbinenko [Sun, 22 Dec 2013 01:48:42 +0000 (02:48 +0100)]
Workaround buggy timer in raspberry pie by using our own timer
implementation.

10 years ago * include/grub/arm/uboot/kernel.h (GRUB_KERNEL_MACHINE_HEAP_SIZE):
Vladimir Serbinenko [Sat, 21 Dec 2013 23:32:55 +0000 (00:32 +0100)]
* include/grub/arm/uboot/kernel.h (GRUB_KERNEL_MACHINE_HEAP_SIZE):
Increase to 16 MiB to allow loading the whole memdisk.

10 years ago Fix ARM Linux Loader on non-FDT platforms.
Vladimir Serbinenko [Sat, 21 Dec 2013 23:30:19 +0000 (00:30 +0100)]
Fix ARM Linux Loader on non-FDT platforms.

10 years ago * configure.ac: Choose link format based on host_os on emu.
Vladimir Serbinenko [Sat, 21 Dec 2013 19:19:34 +0000 (20:19 +0100)]
* configure.ac: Choose link format based on host_os on emu.

10 years ago * grub-core/osdep/unix/getroot.c: Non-unix build fix.
Vladimir Serbinenko [Sat, 21 Dec 2013 17:10:05 +0000 (18:10 +0100)]
* grub-core/osdep/unix/getroot.c: Non-unix build fix.

10 years ago * grub-core/kern/emu/main.c: Build fix for emu.
Vladimir Serbinenko [Sat, 21 Dec 2013 17:09:19 +0000 (18:09 +0100)]
* grub-core/kern/emu/main.c: Build fix for emu.

10 years ago Build fixes for argp.h with older gcc.
Vladimir Serbinenko [Sat, 21 Dec 2013 17:08:25 +0000 (18:08 +0100)]
Build fixes for argp.h with older gcc.

10 years ago * util/grub-glue-efi.c: Use "universal binary" rather "fat binary"
Vladimir Serbinenko [Sat, 21 Dec 2013 15:12:24 +0000 (16:12 +0100)]
* util/grub-glue-efi.c: Use "universal binary" rather "fat binary"
in strings.

Suggested by: David Prévot.

10 years ago * include/grub/crypto.h (grub_crypto_xor): Fix cast-align warning.
Vladimir Serbinenko [Sat, 21 Dec 2013 14:35:15 +0000 (15:35 +0100)]
* include/grub/crypto.h (grub_crypto_xor): Fix cast-align warning.

10 years ago Enable -Wformat=2 if it's supported.
Vladimir Serbinenko [Sat, 21 Dec 2013 14:28:28 +0000 (15:28 +0100)]
Enable -Wformat=2 if it's supported.

10 years ago * configure.ac: Add -Wmissing-include-dirs -Wmissing-prototypes
Vladimir Serbinenko [Sat, 21 Dec 2013 13:47:55 +0000 (14:47 +0100)]
* configure.ac: Add -Wmissing-include-dirs -Wmissing-prototypes
-Wmissing-declarations if supported.

10 years ago* grub-core/commands/macbless.c (grub_mac_bless_inode): Pass inode as u32
Vladimir Serbinenko [Sat, 21 Dec 2013 13:40:53 +0000 (14:40 +0100)]
* grub-core/commands/macbless.c (grub_mac_bless_inode): Pass inode as u32
as both HFS and HFS+ have 32-bit inodes.

10 years ago * include/grub/misc.h (grub_strtol): Fix overflow.
Vladimir Serbinenko [Sat, 21 Dec 2013 13:35:46 +0000 (14:35 +0100)]
* include/grub/misc.h (grub_strtol): Fix overflow.

10 years ago * include/grub/term.h (grub_unicode_estimate_width): Use grub_size_t
Vladimir Serbinenko [Sat, 21 Dec 2013 13:33:36 +0000 (14:33 +0100)]
* include/grub/term.h (grub_unicode_estimate_width): Use grub_size_t
as return type in both conditionals.

10 years ago * include/grub/video.h (grub_video_rgba_color_rgb): Fix prototype
Vladimir Serbinenko [Sat, 21 Dec 2013 13:31:47 +0000 (14:31 +0100)]
* include/grub/video.h (grub_video_rgba_color_rgb): Fix prototype
to use uint8_t for color.

10 years ago * util/misc.c (grub_util_get_image_size): Check for overflow.
Vladimir Serbinenko [Sat, 21 Dec 2013 13:28:14 +0000 (14:28 +0100)]
* util/misc.c (grub_util_get_image_size): Check for overflow.

10 years ago * grub-core/disk/raid6_recover.c (grub_raid_block_mulx): Use grub_size_t
Vladimir Serbinenko [Sat, 21 Dec 2013 13:16:49 +0000 (14:16 +0100)]
* grub-core/disk/raid6_recover.c (grub_raid_block_mulx): Use grub_size_t
for size.

10 years ago * grub-core/disk/lvm.c: Use grub_size_t for sizes and grub_ssize_t
Vladimir Serbinenko [Sat, 21 Dec 2013 13:15:04 +0000 (14:15 +0100)]
* grub-core/disk/lvm.c: Use grub_size_t for sizes and grub_ssize_t
for pointer difference.

10 years ago * util/import_gcry.py: Skip sample keys.
Vladimir Serbinenko [Sat, 21 Dec 2013 13:07:42 +0000 (14:07 +0100)]
* util/import_gcry.py: Skip sample keys.

10 years ago * util/misc.c (grub_qsort_strcmp): Don't discard const attribute.
Vladimir Serbinenko [Sat, 21 Dec 2013 13:04:50 +0000 (14:04 +0100)]
* util/misc.c (grub_qsort_strcmp): Don't discard const attribute.

10 years ago * configure.ac: Remove duplicate warning arguments.
Vladimir Serbinenko [Sat, 21 Dec 2013 12:53:42 +0000 (13:53 +0100)]
* configure.ac: Remove duplicate warning arguments.

10 years ago Add missing static qualifiers.
Vladimir Serbinenko [Sat, 21 Dec 2013 12:50:13 +0000 (13:50 +0100)]
Add missing static qualifiers.

10 years ago Add missing includes.
Vladimir Serbinenko [Sat, 21 Dec 2013 12:47:27 +0000 (13:47 +0100)]
Add missing includes.

10 years ago Inline printf templates when possible to enable format checking.
Vladimir Serbinenko [Sat, 21 Dec 2013 12:40:18 +0000 (13:40 +0100)]
Inline printf templates when possible to enable format checking.

10 years ago * include/grub/crypto.h: Don't discard const attribute.
Vladimir Serbinenko [Sat, 21 Dec 2013 12:36:42 +0000 (13:36 +0100)]
* include/grub/crypto.h: Don't discard const attribute.

10 years ago * grub-core/net/bootp.c (grub_cmd_dhcpopt): Use snprintf where it
Vladimir Serbinenko [Sat, 21 Dec 2013 12:35:28 +0000 (13:35 +0100)]
* grub-core/net/bootp.c (grub_cmd_dhcpopt): Use snprintf where it
was intended.

10 years ago * grub-core/lib/crypto.c: Don't discard const attribute.
Vladimir Serbinenko [Sat, 21 Dec 2013 12:34:03 +0000 (13:34 +0100)]
* grub-core/lib/crypto.c: Don't discard const attribute.

10 years ago * grub-core/lib/disk.c: Fix potential overflow.
Vladimir Serbinenko [Sat, 21 Dec 2013 12:32:39 +0000 (13:32 +0100)]
* grub-core/lib/disk.c: Fix potential overflow.

10 years ago * grub-core/lib/arg.c: Don't discard const attribute.
Vladimir Serbinenko [Sat, 21 Dec 2013 12:28:52 +0000 (13:28 +0100)]
* grub-core/lib/arg.c: Don't discard const attribute.