Bootloader with support for Linux, Multiboot and more
Go to file
Javier Martinez Canillas d8bbf039e9
20-grub-install: Restore default SELinux security contexts for BLS files
The BLS files are copied from /lib/modules/$(uname -r)/bls.conf and this
file has a SELinux label of "system_u:object_r:modules_object_t" like all
the other files that are installed by the kernel package.

But the files in the /boot directory are expected to have a SELinux label
of "system_u:object_r:boot_t". For all the other files that are copied to
/boot by the kernel-install script, the SELinux security contexts are
restored to the default but that was missing for the BLS files.

Resolves: rhbz#1726020

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

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/