[rear-devel] [rear/rear] 2162f4: Better user messages during GRUB_RESCUE setup

Johannes Meixner noreply at github.com
Tue May 11 12:12:47 CEST 2021


  Branch: refs/heads/master
  Home:   https://github.com/rear/rear
  Commit: 2162f4aa01aea350da1d6b6b56457176b7907c5c
      https://github.com/rear/rear/commit/2162f4aa01aea350da1d6b6b56457176b7907c5c
  Author: Johannes Meixner <jsmeix at suse.com>
  Date:   2021-05-04 (Tue, 04 May 2021)

  Changed paths:
    M usr/share/rear/output/default/940_grub2_rescue.sh

  Log Message:
  -----------
  Better user messages during GRUB_RESCUE setup

Improved user messages during GRUB_RESCUE setup in particular for the UEFI case
plus some error checking in the UEFI case and some minor code simplifications.


  Commit: f1dbecd7d43c22ab26445a90f1752a85dd5ec04d
      https://github.com/rear/rear/commit/f1dbecd7d43c22ab26445a90f1752a85dd5ec04d
  Author: Johannes Meixner <jsmeix at suse.com>
  Date:   2021-05-04 (Tue, 04 May 2021)

  Changed paths:
    M usr/share/rear/lib/uefi-functions.sh

  Log Message:
  -----------
  Update uefi-functions.sh

This build_bootx86_efi function that errors out in case of an error is also called in
output/USB/Linux-i386/100_create_efiboot.sh and output/default/940_grub2_rescue.sh


  Commit: 57a6d4e65dd37e9d624ac19be5ae518df15daeef
      https://github.com/rear/rear/commit/57a6d4e65dd37e9d624ac19be5ae518df15daeef
  Author: Johannes Meixner <jsmeix at suse.com>
  Date:   2021-05-04 (Tue, 04 May 2021)

  Changed paths:
    M usr/share/rear/output/default/940_grub2_rescue.sh

  Log Message:
  -----------
  Update 940_grub2_rescue.sh

No error checking of the build_bootx86_efi function in output/default/940_grub2_rescue.sh
because that function errors out if it cannot make a bootable EFI image of GRUB2.


  Commit: 3eb8f0589d6d2d6b49bf589137517f36b675f9dc
      https://github.com/rear/rear/commit/3eb8f0589d6d2d6b49bf589137517f36b675f9dc
  Author: Johannes Meixner <jsmeix at suse.com>
  Date:   2021-05-04 (Tue, 04 May 2021)

  Changed paths:
    M usr/share/rear/output/default/940_grub2_rescue.sh

  Log Message:
  -----------
  Update 940_grub2_rescue.sh

In the GRUB2 configuration file that is created by output/default/940_grub2_rescue.sh
do no longer "insmod" the GRUB2 modules efi_gop efi_uga video_bochs video_cirrus
to create this GRUB2 configuration file like the create_grub2_cfg function does it
cf. https://github.com/rear/rear/commit/0cc1b6a7450133f952b8c187e85d61397a45dbe1
and https://github.com/rear/rear/commit/2470edf534bc836a3f13d8c48e3007a24bb63bf4


  Commit: 84d867dfaa257c9957a5aba134488155f1e34cf8
      https://github.com/rear/rear/commit/84d867dfaa257c9957a5aba134488155f1e34cf8
  Author: Johannes Meixner <jsmeix at suse.com>
  Date:   2021-05-04 (Tue, 04 May 2021)

  Changed paths:
    M usr/share/rear/output/default/940_grub2_rescue.sh

  Log Message:
  -----------
  Update 940_grub2_rescue.sh

Add references to https://github.com/rear/rear/pull/954 for the UEFI case


  Commit: a373c32ad9ee0c4a9ad10c442759df132153917d
      https://github.com/rear/rear/commit/a373c32ad9ee0c4a9ad10c442759df132153917d
  Author: Johannes Meixner <jsmeix at suse.com>
  Date:   2021-05-04 (Tue, 04 May 2021)

  Changed paths:
    M usr/share/rear/conf/default.conf

  Log Message:
  -----------
  Update default.conf

Document differences between UEFI and BIOS for GRUB_RESCUE


  Commit: 4a94e857ed63b5857bf8b04a5e90429226b8c6e2
      https://github.com/rear/rear/commit/4a94e857ed63b5857bf8b04a5e90429226b8c6e2
  Author: Johannes Meixner <jsmeix at suse.com>
  Date:   2021-05-10 (Mon, 10 May 2021)

  Changed paths:
    M usr/share/rear/output/default/940_grub2_rescue.sh

  Log Message:
  -----------
  Update 940_grub2_rescue.sh

Only log when "Skipping GRUB_RESCUE setup for GRUB 2 (no GRUB 2 found)"
because then output/default/940_grub_rescue.sh is responsible.


  Commit: 4b1680b2420023ee6d450960863770f406c930e8
      https://github.com/rear/rear/commit/4b1680b2420023ee6d450960863770f406c930e8
  Author: Johannes Meixner <jsmeix at suse.com>
  Date:   2021-05-10 (Mon, 10 May 2021)

  Changed paths:
    M usr/share/rear/output/default/940_grub2_rescue.sh

  Log Message:
  -----------
  Update 940_grub2_rescue.sh

Added TODO comment:
When the ESP is located on MD RAID we need to determine the physical RAID components
and call efibootmgr on each of them, cf. https://github.com/rear/rear/pull/2608


  Commit: c6500f9c42f1e68a5aaf36d556b144cbb8e69369
      https://github.com/rear/rear/commit/c6500f9c42f1e68a5aaf36d556b144cbb8e69369
  Author: Johannes Meixner <jsmeix at suse.com>
  Date:   2021-05-11 (Tue, 11 May 2021)

  Changed paths:
    M usr/share/rear/conf/default.conf
    M usr/share/rear/lib/uefi-functions.sh
    M usr/share/rear/output/default/940_grub2_rescue.sh

  Log Message:
  -----------
  Merge pull request #2609 from rear/jsmeix-GRUB_RESCUE-UEFI-improvement

Better description and error checking for GRUB_RESCUE with UEFI
plus some alignment with the create_grub2_cfg function,
cf. https://github.com/rear/rear/issues/2545
Better describe GRUB_RESCUE with UEFI in default.conf
and in output/default/940_grub2_rescue.sh better error checking
plus some alignment with how create_grub2_cfg() creates a GRUB2 config file
i.e. no longer "insmod" the GRUB2 modules efi_gop efi_uga video_bochs video_cirrus
cf. https://github.com/rear/rear/pull/2609#issuecomment-831883795
and the discussion in https://github.com/rear/rear/issues/2388


Compare: https://github.com/rear/rear/compare/33bce12e1ca1...c6500f9c42f1


More information about the rear-devel mailing list