[rear-devel] [rear/rear] 3280c3: Require bootlist & ofpathname if needed

Renaud Métrich noreply at github.com
Thu Aug 19 14:34:38 CEST 2021


  Branch: refs/heads/master
  Home:   https://github.com/rear/rear
  Commit: 3280c3c31d30d0e904d812c42e3e20b22ea691f2
      https://github.com/rear/rear/commit/3280c3c31d30d0e904d812c42e3e20b22ea691f2
  Author: Pavel Cahyna <pcahyna at redhat.com>
  Date:   2021-08-03 (Tue, 03 Aug 2021)

  Changed paths:
    M usr/share/rear/conf/Linux-ppc64.conf
    M usr/share/rear/conf/Linux-ppc64le.conf

  Log Message:
  -----------
  Require bootlist & ofpathname if needed

As reported by @rmetrich, the ofpathname binary is called by
grub2-install. Therefore, it is required in the rescue system in order
to make the recovered system bootable, except for the PowerNV (Not
Virtualized - bare metal) case. Under PowerVM, we also need the bootlist
executable to make the system bootable.

Add those two binaries to REQUIRED_PROGS instead of PROGS under the
appropriate conditions.

Do not handle PowerNV for ppc64: according to
89ddb9fc17adb022ce9c10be0c3e5b835ba139d7, only ppc64le Linux can run in
PowerNV.

(Wouldn't it be simpler though to symlink Linux-ppc64.conf to
Linux-ppc64le.conf? Their differences seem to be minimal.)


  Commit: c4d156b979ac1167f02bde726f1d95dd13e59535
      https://github.com/rear/rear/commit/c4d156b979ac1167f02bde726f1d95dd13e59535
  Author: Renaud Métrich <1163635+rmetrich at users.noreply.github.com>
  Date:   2021-08-19 (Thu, 19 Aug 2021)

  Changed paths:
    M usr/share/rear/conf/Linux-ppc64.conf
    M usr/share/rear/conf/Linux-ppc64le.conf

  Log Message:
  -----------
  Merge pull request #2665 from pcahyna/fix-ppc-requirements

On POWER require bootlist & ofpathname if needed


Compare: https://github.com/rear/rear/compare/6589c8d20111...c4d156b979ac


More information about the rear-devel mailing list