Go to file
Javier Martinez Canillas 0ca82180b8
Manual build for the Fedora 31 mass rebuild to succeed
Releng attempted to build the grub2 package as a part of the Fedora 31
mass rebuild [0], but this failed due lack of credentials to build the
grub2 package. Do a manual build for the rebuild to succeed.

[0]: https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild

Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
2019-08-01 18:37:28 +02:00
.git.diff.order
.gitattributes
.gitignore
20-grub.install
99-grub-mkconfig.install
0001-Add-support-for-Linux-EFI-stub-loading.patch
0002-Rework-linux-command.patch
0003-Rework-linux16-command.patch
0004-Add-secureboot-support-on-efi-chainloader.patch
0005-Make-any-of-the-loaders-that-link-in-efi-mode-honor-.patch
0006-Handle-multi-arch-64-on-32-boot-in-linuxefi-loader.patch
0007-re-write-.gitignore.patch
0008-IBM-client-architecture-CAS-reboot-support.patch
0009-for-ppc-reset-console-display-attr-when-clear-screen.patch
0010-Disable-GRUB-video-support-for-IBM-power-machines.patch
0011-Honor-a-symlink-when-generating-configuration-by-gru.patch
0012-Move-bash-completion-script-922997.patch
0013-Update-to-minilzo-2.08.patch
0014-Allow-fallback-to-include-entries-by-title-not-just-.patch
0015-Add-GRUB_DISABLE_UUID.patch
0016-Make-exit-take-a-return-code.patch
0017-Mark-po-exclude.pot-as-binary-so-git-won-t-try-to-di.patch
0018-Make-efi-machines-load-an-env-block-from-a-variable.patch
0019-DHCP-client-ID-and-UUID-options-added.patch
0020-Fix-bad-test-on-GRUB_DISABLE_SUBMENU.patch
0021-Add-support-for-UEFI-operating-systems-returned-by-o.patch
0022-Migrate-PPC-from-Yaboot-to-Grub2.patch
0023-Add-fw_path-variable-revised.patch
0024-Pass-x-hex-hex-straight-through-unmolested.patch
0025-Add-X-option-to-printf-functions.patch
0026-Search-for-specific-config-file-for-netboot.patch
0027-blscfg-add-blscfg-module-to-parse-Boot-Loader-Specif.patch
0028-Add-devicetree-loading.patch
0029-Don-t-write-messages-to-the-screen.patch
0030-Don-t-print-GNU-GRUB-header.patch
0031-Don-t-add-to-highlighted-row.patch
0032-Message-string-cleanups.patch
0033-Fix-border-spacing-now-that-we-aren-t-displaying-it.patch
0034-Use-the-correct-indentation-for-the-term-help-text.patch
0035-Indent-menu-entries.patch
0036-Fix-margins.patch
0037-Use-2-instead-of-1-for-our-right-hand-margin-so-line.patch
0038-Enable-pager-by-default.-985860.patch
0039-F10-doesn-t-work-on-serial-so-don-t-tell-the-user-to.patch
0040-Don-t-say-GNU-Linux-in-generated-menus.patch
0041-Don-t-draw-a-border-around-the-menu.patch
0042-Use-the-standard-margin-for-the-timeout-string.patch
0043-Add-.eh_frame-to-list-of-relocations-stripped.patch
0044-Don-t-munge-raw-spaces-when-we-re-doing-our-cmdline-.patch
0045-Don-t-require-a-password-to-boot-entries-generated-b.patch
0046-Don-t-emit-Booting-.-message.patch
0047-Replace-a-lot-of-man-pages-with-slightly-nicer-ones.patch
0048-use-fw_path-prefix-when-fallback-searching-for-grub-.patch
0049-Try-mac-guid-etc-before-grub.cfg-on-tftp-config-file.patch
0050-Fix-convert-function-to-support-NVMe-devices.patch
0051-Add-grub_util_readlink.patch
0052-Make-editenv-chase-symlinks-including-those-across-d.patch
0053-Generate-OS-and-CLASS-in-10_linux-from-etc-os-releas.patch
0054-Minimize-the-sort-ordering-for-.debug-and-rescue-ker.patch
0055-Try-prefix-if-fw_path-doesn-t-work.patch
0056-Update-info-with-grub.cfg-netboot-selection-order-11.patch
0057-Use-Distribution-Package-Sort-for-grub2-mkconfig-112.patch
0058-Handle-rssd-storage-devices.patch
0059-Make-grub2-mkconfig-construct-titles-that-look-like-.patch
0060-Add-friendly-grub2-password-config-tool-985962.patch
0061-tcp-add-window-scaling-support.patch
0062-Fix-security-issue-when-reading-username-and-passwor.patch
0063-Add-a-url-parser.patch
0064-efinet-and-bootp-add-support-for-dhcpv6.patch
0065-Add-grub-get-kernel-settings-and-use-it-in-10_linux.patch
0066-Normalize-slashes-in-tftp-paths.patch
0067-bz1374141-fix-incorrect-mask-for-ppc64.patch
0068-Make-grub_fatal-also-backtrace.patch
0069-Fix-up-some-man-pages-rpmdiff-noticed.patch
0070-arm64-make-sure-fdt-has-address-cells-and-size-cells.patch
0071-Make-our-info-pages-say-grub2-where-appropriate.patch
0072-print-more-debug-info-in-our-module-loader.patch
0073-macos-just-build-chainloader-entries-don-t-try-any-x.patch
0074-grub2-btrfs-Add-ability-to-boot-from-subvolumes.patch
0075-export-btrfs_subvol-and-btrfs_subvolid.patch
0076-grub2-btrfs-03-follow_default.patch
0077-grub2-btrfs-04-grub2-install.patch
0078-grub2-btrfs-05-grub2-mkconfig.patch
0079-grub2-btrfs-06-subvol-mount.patch
0080-Fallback-to-old-subvol-name-scheme-to-support-old-sn.patch
0081-Grub-not-working-correctly-with-btrfs-snapshots-bsc-.patch
0082-Add-grub_efi_allocate_pool-and-grub_efi_free_pool-wr.patch
0083-Use-grub_efi_.-memory-helpers-where-reasonable.patch
0084-Add-PRIxGRUB_EFI_STATUS-and-use-it.patch
0085-Don-t-use-dynamic-sized-arrays-since-we-don-t-build-.patch
0086-don-t-ignore-const.patch
0087-don-t-use-int-for-efi-status.patch
0088-make-GRUB_MOD_INIT-declare-its-function-prototypes.patch
0089-editenv-handle-relative-symlinks.patch
0090-Make-libgrub.pp-depend-on-config-util.h.patch
0091-Don-t-guess-boot-efi-as-HFS-on-ppc-machines-in-grub-.patch
0092-20_linux_xen-load-xen-or-multiboot-2-modules-as-need.patch
0093-Make-pmtimer-tsc-calibration-not-take-51-seconds-to-.patch
0094-align-struct-efi_variable-better.patch
0095-Add-BLS-support-to-grub-mkconfig.patch
0096-Don-t-attempt-to-backtrace-on-grub_abort-for-grub-em.patch
0097-Add-linux-and-initrd-commands-for-grub-emu.patch
0098-Add-grub2-switch-to-blscfg.patch
0099-Add-grub_debug_enabled.patch
0100-make-better-backtraces.patch
0101-normal-don-t-draw-our-startup-message-if-debug-is-se.patch
0102-Work-around-some-minor-include-path-weirdnesses.patch
0103-Make-it-possible-to-enabled-build-id-sha1.patch
0104-Add-grub_qdprintf-grub_dprintf-without-the-file-line.patch
0105-Make-a-gdb-dprintf-that-tells-us-load-addresses.patch
0106-TPM-support.patch
0107-Fixup-for-newer-compiler.patch
0108-Don-t-attempt-to-export-the-start-and-_start-symbols.patch
0109-Fixup-for-newer-compiler.patch
0110-Use-xid-to-match-DHCP-replies.patch
0111-Add-support-for-non-Ethernet-network-cards.patch
0112-misc-fix-invalid-character-recongition-in-strto-l.patch
0113-net-read-bracketed-ipv6-addrs-and-port-numbers.patch
0114-bootp-New-net_bootp6-command.patch
0115-efinet-UEFI-IPv6-PXE-support.patch
0116-grub.texi-Add-net_bootp6-doument.patch
0117-bootp-Add-processing-DHCPACK-packet-from-HTTP-Boot.patch
0118-efinet-Setting-network-from-UEFI-device-path.patch
0119-efinet-Setting-DNS-server-from-UEFI-protocol.patch
0120-Fix-one-more-coverity-complaint.patch
0121-Support-UEFI-networking-protocols.patch
0122-AUDIT-0-http-boot-tracker-bug.patch
0123-grub-core-video-efi_gop.c-Add-support-for-BLT_ONLY-a.patch
0124-efi-uga-use-64-bit-for-fb_base.patch
0125-EFI-console-Do-not-set-text-mode-until-we-actually-n.patch
0126-EFI-console-Add-grub_console_read_key_stroke-helper-.patch
0127-EFI-console-Implement-getkeystatus-support.patch
0128-Make-grub_getkeystatus-helper-funtion-available-ever.patch
0129-Accept-ESC-F8-and-holding-SHIFT-as-user-interrupt-ke.patch
0130-grub-editenv-Add-incr-command-to-increment-integer-v.patch
0131-Add-auto-hide-menu-support.patch
0132-Output-a-menu-entry-for-firmware-setup-on-UEFI-FastB.patch
0133-Add-grub-set-bootflag-utility.patch
0134-docs-Add-grub-boot-indeterminate.service-example.patch
0135-gentpl-add-disable-support.patch
0136-gentpl-add-pc-firmware-type.patch
0137-efinet-also-use-the-firmware-acceleration-for-http.patch
0138-efi-http-Make-root_url-reflect-the-protocol-hostname.patch
0139-Force-everything-to-use-python3.patch
0140-Fix-an-8-year-old-typo.patch
0141-autogen-don-t-run-autoreconf-in-the-topdir.patch
0142-Make-it-so-we-can-tell-configure-which-cflags-utils-.patch
0143-module-verifier-make-it-possible-to-run-checkers-on-.patch
0144-grub-module-verifier-report-the-filename-or-modname-.patch
0145-Rework-how-the-fdt-command-builds.patch
0146-Disable-non-wordsize-allocations-on-arm.patch
0147-strip-R-.note.gnu.property-at-more-places.patch
0148-Prepend-prefix-when-HTTP-path-is-relative.patch
0149-Make-linux_arm_kernel_header.hdr_offset-be-at-the-ri.patch
0150-Make-grub_error-more-verbose.patch
0151-Make-reset-an-alias-for-the-reboot-command.patch
0152-EFI-more-debug-output-on-GOP-and-UGA-probing.patch
0153-Add-a-version-command.patch
0154-Add-more-dprintf-and-nerf-dprintf-in-script.c.patch
0155-arm-arm64-loader-Better-memory-allocation-and-error-.patch
0156-Try-to-pick-better-locations-for-kernel-and-initrd.patch
0157-Attempt-to-fix-up-all-the-places-Wsign-compare-error.patch
0158-Don-t-use-Wno-sign-compare-Wno-conversion-Wno-error-.patch
0159-x86-efi-Use-bounce-buffers-for-reading-to-addresses-.patch
0160-x86-efi-Re-arrange-grub_cmd_linux-a-little-bit.patch
0161-x86-efi-Make-our-own-allocator-for-kernel-stuff.patch
0162-x86-efi-Allow-initrd-params-cmdline-allocations-abov.patch
0163-Fix-getroot.c-s-trampolines.patch
0164-Do-not-allow-stack-trampolines-anywhere.patch
0165-Reimplement-boot_counter.patch
0166-Make-grub_strtoul-end-pointer-have-the-right-constif.patch
0167-Fix-menu-entry-selection-based-on-ID-and-title.patch
0168-Make-the-menu-entry-users-option-argument-to-be-opti.patch
0169-Add-efi-export-env-and-efi-load-env-commands.patch
0170-Make-it-possible-to-subtract-conditions-from-debug.patch
0171-Export-all-variables-from-the-initial-context-when-c.patch
0172-Fix-the-looking-up-grub.cfg-XXX-while-tftp-booting.patch
0173-Try-to-set-fPIE-and-friends-on-libgnu.a.patch
0174-Don-t-make-grub_strtoull-print-an-error-if-no-conver.patch
0175-Fix-the-type-of-grub_efi_status_t.patch
0176-mkimage-Use-EFI32_HEADER_SIZE-define-in-arm-efi-case.patch
0177-mkimage-Align-efi-sections-on-4k-boundary.patch
0178-mkimage-Clarify-file-alignment-in-efi-case.patch
0179-grub.d-Split-out-boot-success-reset-from-menu-auto-h.patch
0180-Fix-systemctl-kexec-exit-status-check.patch
0181-Print-grub-emu-linux-loader-messages-as-debug.patch
0182-Don-t-assume-that-boot-commands-will-only-return-on-.patch
0183-Fix-undefined-references-for-fdt-when-building-with-.patch
0184-arm-Move-trampolines-into-code-section.patch
0185-arm-Align-section-alignment-with-manual-relocation-o.patch
0186-grub-core-loader-efi-fdt.c-Do-not-copy-random-memory.patch
0187-linux-efi-arm-fdt-break-FDT-extra-allocation-space-o.patch
do-rebase
gitignore
grub2.spec Manual build for the Fedora 31 mass rebuild to succeed 2019-08-01 18:37:28 +02:00
grub.macros
grub.patches
Makefile
README.Fedora
release-to-master.patch
sources
strtoull_test.c

Using GNU GRUB 2 in Fedora
==========================

GRUB 2 provides various feature enhancements over the previous GRUB version
(referred to as "GRUB", or "GRUB Legacy") which has been unmaintained upstream
for years. GRUB has thus been deprecated in Fedora and replaced by GRUB 2 for
BIOS systems. (EFI systems still uses GRUB Legacy from the new grub-efi package.)

Utilities
---------

The GRUB 2 utilities are prefixed with 'grub2':

grub2-bin2h
grub2-editenv
grub2-fstest
grub2-install
grub2-kbdcomp
grub2-menulst2cfg
grub2-mkconfig
grub2-mkdevicemap
grub2-mkfont
grub2-mkimage
grub2-mklayout
grub2-mknetdir
grub2-mkpasswd-pbkdf2
grub2-mkrelpath
grub2-mkrescue
grub2-probe
grub2-reboot
grub2-script-check
grub2-set-default
grub2-setup

The default location for boot loader installation is /boot/grub2/ .

GRUB 2 in Fedora
----------------

The Fedora installer (anaconda) will make sure grub2 is installed for new and
updated systems.  It will run grub2-install to install the boot loader in the
MBR and in /boot/grub2/, and it will write /etc/default/grub and run
grub2-mkconfig to create /boot/grub2/grub.cfg.

The active boot loader will not be changed when the GRUB 2 package is updated.
A new boot loader can be installed with something like:

  grub2-install /dev/sda

grubby will patch grub.cfg (through /etc/grub2.cfg) when new kernels are
installed. The GRUB 2 configuration system in /etc/default/grub and /etc/grub.d/
is thus only used initially by anaconda, but it is possible to generate a new
grub.cfg with:

  grub2-mkconfig -o /boot/grub2/grub.cfg

Documentation
-------------

The GRUB 2 manual can be found in grub.html or on
http://www.gnu.org/software/grub/manual/ .

Support channels
----------------

If you find a bug in this package, report them to the Red Hat Bugzilla [2].
For talk about using grub2, use IRC channel #grub on freenode Network [3].

[2] http://bugzilla.redhat.com/
[3] http://freenode.net/