No description
Find a file
Javier Martinez Canillas 46dcf6afe9
Make 20-grub.install to exit if there is no machine ID set
The kernel-install plugins are called with an environment variable named
$KERNEL_INSTALL_MACHINE_ID, which is set to the machine ID read from the
/etc/machine-id file. If the file doesn't exist or is empty, the variable
is empty and $BOOT_DIR_ABS is set to a temporary directory that's removed
after all the plugins exit.

So if $KERNEL_INSTALL_MACHINE_ID is not set, just exit the script since
installing a kernel BootLoaderSpec fragment won't be possible anyways.

Resolves: rhbz#1576573

Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
2018-06-15 15:21:30 +02:00
.git.diff.order Add .git.diff.order file 2018-05-14 15:22:03 -04:00
.gitattributes
.gitignore Make ia32 work as well. 2017-08-16 11:22:59 -04:00
0001-Bump-version-to-2.03.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0002-Remove-bashisms-from-tests.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0003-fs-tester-make-sh-compatible.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0004-support-busybox-date.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0005-Don-t-retrieve-fstime-when-it-s-not-useful.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0006-Support-lseek64.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0007-Use-SHELL-rather-than-bin-sh.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0008-po-Use-SHELL-rather-than-bin-sh.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0009-Add-termux-path-to-dict.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0010-Fix-shebang-for-termux.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0011-Add-strtoull-test.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0012-strtoull-Fix-behaviour-on-chars-between-9-and-a.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0013-Add-Virtual-LAN-support.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0014-mkimage-Pass-layout-to-mkimage_generate_elfXX-rather.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0015-Refactor-arm-uboot-code-to-make-it-genereic.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0016-coreboot-Split-parts-that-are-platform-independent.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0017-Rename-uboot-halt.c-to-dummy-halt.c.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0018-Rename-uboot-datetime-to-dummy-datetime.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0019-arm-coreboot-Start-new-port.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0020-Add-support-for-device-tree-based-drivers.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
20-grub.install Make 20-grub.install to exit if there is no machine ID set 2018-06-15 15:21:30 +02:00
0021-arm-coreboot-Support-for-vexpress-timer.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0022-arm-coreboot-Export-FDT-routines.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0023-at_keyboard-Split-protocol-from-controller-code.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0024-arm_coreboot-Support-keyboard-for-vexpress.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0025-arm_coreboot-Support-grub-mkstandalone.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0026-arm_coreboot-Support-loading-linux-images.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0027-arm_coreboot-Support-DMA.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0028-ehci-Split-core-code-from-PCI-part.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0029-arm_coreboot-Support-EHCI.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0030-Fix-bug-on-FDT-nodes-with-compatible-property.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0031-fdtbus-Add-ability-to-send-receive-messages-on-paren.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0032-rk3288_spi-Add-SPI-driver.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0033-arm_coreboot-Add-Chromebook-keyboard-driver.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0034-Missing-parts-of-previous-commit.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0035-coreboot-Changed-cbmemc-to-support-updated-console-f.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0036-at_keyboard-Fix-falco-chromebook-case.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0037-sparc64-Close-cdboot-ihandle.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0038-arm64-xen_boot-Fix-Xen-boot-using-GRUB2-on-AARCH64.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0039-arm64-Add-nounzip-option-support-in-xen_module-comma.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0040-util-grub.d-20_linux_xen.in-Add-xen_boot-command-sup.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0041-arm64-Update-the-introduction-of-Xen-boot-commands-i.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0042-sparc64-Don-t-use-devspec-to-determine-the-OBP-path.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0043-Allow-GRUB-to-mount-ext2-3-4-filesystems-that-have-t.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0044-ehci-Fix-compilation-for-amd64.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0045-cache-Fix-compilation-for-ppc-sparc-and-arm64.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0046-ehci-Fix-compilation-on-i386.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0047-crypto-Fix-use-after-free.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0048-arm-efi-Fix-compilation.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0049-fdt-silence-clang-warning.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0050-Fix-a-segfault-in-lsefi.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0051-zfs-remove-size_t-typedef-and-use-grub_size_t-instea.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0052-udf-Fix-reading-label-lvd.ident-is-dstring.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0053-grub-core-fs-udf.c-Add-support-for-UUID.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0054-mkrescue-Check-xorriso-presence-before-doing-anythin.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0055-Fail-if-xorriso-failed.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0056-efi-refactor-grub_efi_allocate_pages.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0057-Remove-grub_efi_allocate_pages.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0058-efi-move-fdt-helper-library.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0059-efi-Add-GRUB_PE32_MAGIC-definition.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0060-arm64-linux-loader-improve-type-portability.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0061-efi-change-heap-allocation-type-to-GRUB_EFI_LOADER_C.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0062-core-use-GRUB_TERM_-definitions-when-handling-term-c.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0063-io-add-a-GRUB_GZ-prefix-to-gzio-specific-defines.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0064-re-write-.gitignore.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0065-IBM-client-architecture-CAS-reboot-support.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0066-for-ppc-reset-console-display-attr-when-clear-screen.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0067-Disable-GRUB-video-support-for-IBM-power-machines.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0068-Honor-a-symlink-when-generating-configuration-by-gru.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0069-Move-bash-completion-script-922997.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0070-Update-to-minilzo-2.08.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0071-Allow-fallback-to-include-entries-by-title-not-just-.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0072-Add-GRUB_DISABLE_UUID.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0073-Make-exit-take-a-return-code.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0074-Mark-po-exclude.pot-as-binary-so-git-won-t-try-to-di.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0075-Make-efi-machines-load-an-env-block-from-a-variable.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0076-DHCP-client-ID-and-UUID-options-added.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0077-trim-arp-packets-with-abnormal-size.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0078-Fix-bad-test-on-GRUB_DISABLE_SUBMENU.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0079-Add-support-for-UEFI-operating-systems-returned-by-o.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0080-Migrate-PPC-from-Yaboot-to-Grub2.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0081-Add-fw_path-variable-revised.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0082-Add-support-for-linuxefi.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0083-Use-linuxefi-and-initrdefi-where-appropriate.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0084-Don-t-allow-insmod-when-secure-boot-is-enabled.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0085-Pass-x-hex-hex-straight-through-unmolested.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0086-Add-X-option-to-printf-functions.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0087-Search-for-specific-config-file-for-netboot.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0088-blscfg-add-blscfg-module-to-parse-Boot-Loader-Specif.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0089-Don-t-write-messages-to-the-screen.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0090-Don-t-print-GNU-GRUB-header.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0091-Don-t-add-to-highlighted-row.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0092-Message-string-cleanups.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0093-Fix-border-spacing-now-that-we-aren-t-displaying-it.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0094-Use-the-correct-indentation-for-the-term-help-text.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0095-Indent-menu-entries.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0096-Fix-margins.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0097-Use-2-instead-of-1-for-our-right-hand-margin-so-line.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0098-Use-linux16-when-appropriate-880840.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0099-Enable-pager-by-default.-985860.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0100-F10-doesn-t-work-on-serial-so-don-t-tell-the-user-to.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0101-Don-t-say-GNU-Linux-in-generated-menus.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0102-Don-t-draw-a-border-around-the-menu.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0103-Use-the-standard-margin-for-the-timeout-string.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0104-Add-.eh_frame-to-list-of-relocations-stripped.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0105-Make-10_linux-work-with-our-changes-for-linux16-and-.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0106-Don-t-print-during-fdt-loading-method.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0107-Don-t-munge-raw-spaces-when-we-re-doing-our-cmdline-.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0108-Don-t-require-a-password-to-boot-entries-generated-b.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0109-Don-t-emit-Booting-.-message.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0110-Replace-a-lot-of-man-pages-with-slightly-nicer-ones.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0111-use-fw_path-prefix-when-fallback-searching-for-grub-.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0112-Try-mac-guid-etc-before-grub.cfg-on-tftp-config-file.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0113-Fix-convert-function-to-support-NVMe-devices.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0114-Switch-to-use-APM-Mustang-device-tree-for-hardware-t.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0115-Use-the-default-device-tree-from-the-grub-default-fi.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0116-reopen-SNP-protocol-for-exclusive-use-by-grub.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0117-Revert-reopen-SNP-protocol-for-exclusive-use-by-grub.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0118-Add-grub_util_readlink.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0119-Make-editenv-chase-symlinks-including-those-across-d.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0120-Generate-OS-and-CLASS-in-10_linux-from-etc-os-releas.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0121-Minimize-the-sort-ordering-for-.debug-and-rescue-ker.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0122-Load-arm-with-SB-enabled.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0123-Try-prefix-if-fw_path-doesn-t-work.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0124-Update-info-with-grub.cfg-netboot-selection-order-11.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0125-Use-Distribution-Package-Sort-for-grub2-mkconfig-112.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0126-Handle-rssd-storage-devices.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0127-Try-to-emit-linux16-initrd16-and-linuxefi-initrdefi-.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0128-Make-grub2-mkconfig-construct-titles-that-look-like-.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0129-Add-friendly-grub2-password-config-tool-985962.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0130-Make-grub2-mkconfig-construct-titles-that-look-like-.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0131-Try-to-make-sure-configure.ac-and-grub-rpm-sort-play.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0132-tcp-add-window-scaling-support.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0133-efinet-retransmit-if-our-device-is-busy.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0134-Be-more-aggro-about-actually-using-the-configured-ne.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0135-efinet-add-filter-for-the-first-exclusive-reopen-of-.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0136-Fix-security-issue-when-reading-username-and-passwor.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0137-Warn-if-grub-password-will-not-be-read-1290803.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0138-Clean-up-grub-setpassword-documentation-1290799.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0139-Fix-locale-issue-in-grub-setpassword-1294243.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0140-efiemu-Handle-persistent-RAM-and-unknown-possible-fu.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0141-efiemu-Fix-compilation-failure.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0142-Revert-reopen-SNP-protocol-for-exclusive-use-by-grub.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0143-Add-a-url-parser.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0144-efinet-and-bootp-add-support-for-dhcpv6.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0145-Add-grub-get-kernel-settings-and-use-it-in-10_linux.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0146-Normalize-slashes-in-tftp-paths.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0147-Fix-malformed-tftp-packets.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0148-Fix-race-in-EFI-validation.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0149-bz1374141-fix-incorrect-mask-for-ppc64.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0150-Use-device-part-of-chainloader-target-if-present.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0151-Add-secureboot-support-on-efi-chainloader.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0152-Make-any-of-the-loaders-that-link-in-efi-mode-honor-.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0153-Make-grub_fatal-also-backtrace.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0154-Rework-linux-command.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0155-Rework-linux16-command.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0156-Make-grub-editenv-build-again.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0157-Fix-up-some-man-pages-rpmdiff-noticed.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0158-Re-work-some-intricacies-of-PE-loading.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0159-Rework-even-more-of-efi-chainload-so-non-sb-cases-wo.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0160-linuxefi-fix-double-free-on-verification-failure.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0161-fix-machine-type-test-in-30_os-prober.in.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0162-efi-chainloader-fix-wrong-sanity-check-in-relocate_c.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0163-efi-chainloader-truncate-overlong-relocation-section.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0164-linuxefi-minor-cleanups.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0165-Handle-multi-arch-64-on-32-boot-in-linuxefi-loader.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0166-Fix-up-linux-params-usage.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0167-Make-exit-take-a-return-code.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0168-arm64-make-sure-fdt-has-address-cells-and-size-cells.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0169-Add-some-grub_dprintf-in-the-secure-boot-verify-code.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0170-Make-our-info-pages-say-grub2-where-appropriate.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0171-print-more-debug-info-in-our-module-loader.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0172-macos-just-build-chainloader-entries-don-t-try-any-x.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0173-grub2-btrfs-Add-ability-to-boot-from-subvolumes.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0174-export-btrfs_subvol-and-btrfs_subvolid.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0175-grub2-btrfs-03-follow_default.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0176-grub2-btrfs-04-grub2-install.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0177-grub2-btrfs-05-grub2-mkconfig.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0178-grub2-btrfs-06-subvol-mount.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0179-No-more-Bootable-Snapshot-submenu-in-grub.cfg.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0180-Fallback-to-old-subvol-name-scheme-to-support-old-sn.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0181-Grub-not-working-correctly-with-btrfs-snapshots-bsc-.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0182-Add-grub_efi_allocate_pool-and-grub_efi_free_pool-wr.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0183-Use-grub_efi_.-memory-helpers-where-reasonable.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0184-Add-PRIxGRUB_EFI_STATUS-and-use-it.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0185-Don-t-use-dynamic-sized-arrays-since-we-don-t-build-.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0186-don-t-ignore-const.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0187-don-t-use-int-for-efi-status.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0188-make-GRUB_MOD_INIT-declare-its-function-prototypes.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0189-Clean-up-some-errors-in-the-linuxefi-loader.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0190-editenv-handle-relative-symlinks.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0191-Make-libgrub.pp-depend-on-config-util.h.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0192-Don-t-guess-boot-efi-as-HFS-on-ppc-machines-in-grub-.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0193-Fix-util-grub.d-20_linux_xen.in-Add-xen_boot-command.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0194-Use-grub-file-to-figure-out-whether-multiboot2-shoul.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0195-20_linux_xen-load-xen-or-multiboot-2-modules-as-need.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0196-tsc-Change-default-tsc-calibration-method-to-pmtimer.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0197-Make-pmtimer-tsc-calibration-not-take-51-seconds-to-.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0198-align-struct-efi_variable-better.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0199-Add-quicksort-implementation.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0200-Add-blscfg-command-support-to-parse-BootLoaderSpec-c.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0201-Add-BLS-support-to-grub-mkconfig.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0202-Remove-duplicated-grub_exit-definition-for-grub-emu-.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0203-Don-t-attempt-to-backtrace-on-grub_abort-for-grub-em.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0204-Enable-blscfg-command-for-the-emu-platform.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0205-Add-linux-and-initrd-commands-for-grub-emu.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0206-Fix-the-efidir-in-grub-setpassword.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0207-Add-grub2-switch-to-blscfg.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0208-Add-grub_debug_enabled.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0209-make-better-backtraces.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0210-normal-don-t-draw-our-startup-message-if-debug-is-se.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0211-Work-around-some-minor-include-path-weirdnesses.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0212-Make-it-possible-to-enabled-build-id-sha1.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0213-Add-grub_qdprintf-grub_dprintf-without-the-file-line.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0214-Make-a-gdb-dprintf-that-tells-us-load-addresses.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0215-Only-attempt-to-scan-different-BLS-directories-on-EF.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0216-Core-TPM-support.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0217-Measure-kernel-initrd.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0218-Add-BIOS-boot-measurement.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0219-Measure-kernel-and-initrd-on-BIOS-systems.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0220-Measure-the-kernel-commandline.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0221-Measure-commands.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0222-Measure-multiboot-images-and-modules.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0223-Fix-boot-when-there-s-no-TPM.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0224-Rework-TPM-measurements.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0225-Fix-event-log-prefix.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0226-Set-the-first-boot-menu-entry-as-default-when-using-.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0227-tpm-fix-warnings-when-compiling-for-platforms-other-.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0228-Make-TPM-errors-less-fatal.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0229-blscfg-handle-multiple-initramfs-images.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0230-BLS-Fix-grub2-switch-to-blscfg-on-non-EFI-machines.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0231-BLS-Use-etcdefaultgrub-instead-of-etc.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0232-Add-missing-options-to-grub2-switch-to-blscfg-man-pa.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0233-Make-grub2-switch-to-blscfg-to-generate-debug-BLS-wh.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0234-Make-grub2-switch-to-blscfg-to-generate-BLS-fragment.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0235-Only-attempt-to-query-dev-mounted-in-boot-efi-as-boo.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0236-Include-OSTree-path-when-searching-kernels-images-if.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0237-Use-BLS-version-field-to-compare-entries-if-id-field.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0238-Add-version-field-to-BLS-generated-by-grub2-switch-t.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0239-Fixup-for-newer-compiler.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0240-Don-t-attempt-to-export-the-start-and-_start-symbols.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0241-Simplify-BLS-entry-key-val-pairs-lookup.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0242-Add-relative-path-to-the-kernel-and-initrds-BLS-fiel.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
0243-Skip-leading-spaces-on-BLS-field-values.patch More fixes for BLS 2018-06-07 19:02:21 +02:00
10002-Make-it-possible-to-enabled-build-id-sha1.patch Rebased to newer f24 code 2016-04-07 10:46:33 -04:00
do-rebase Allow do-rebase to pull the patches from different repositories 2018-05-14 15:22:03 -04:00
gitignore Rebased to grub 2.02 for fedora-27 2017-07-11 07:38:34 -04:00
grub.macros A couple of fixes needed by Fedora Atomic - javierm 2018-04-24 10:42:11 -04:00
grub.patches More fixes for BLS 2018-06-07 19:02:21 +02:00
grub2.spec Make 20-grub.install to exit if there is no machine ID set 2018-06-15 15:21:30 +02:00
README.Fedora
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/