[rear-devel] [rear/rear] 154dad: Update bootloader-functions.sh

Johannes Meixner noreply at github.com
Wed Jan 12 14:02:11 CET 2022


  Branch: refs/heads/master
  Home:   https://github.com/rear/rear
  Commit: 154dadc4d1804c43a03ae2e627229f73ba8f8d4b
      https://github.com/rear/rear/commit/154dadc4d1804c43a03ae2e627229f73ba8f8d4b
  Author: Flunkyball <36796685+Flunkyball at users.noreply.github.com>
  Date:   2022-01-08 (Sat, 08 Jan 2022)

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

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

Due to the performance issues involved when using TFTP for file transfer modern PXE server support HTTP(s) downloads as well.
Since it is necessary for rear to mount the upload target during creating of the rescue information HTTP targets are not supported. Hence the url specified via $PXE_TFTP_URL used for nfs, sshfs upload and TFTP download may differ from the HTTP source offered by the same PXE server.

Therefore the change introduces a new config variable $PXE_HTTP_URL to specify explicitly the HTTP download source for PXE.
If the variable is set the PXE config file will generate an additional 3rd boot option besides the unchanged standard option "rear" (via TFTP) and "local". Namely "rear-http" which includes the HTTP url information to download the kernel and initrd data.


  Commit: 544c0e4513be1a5d52b2b32faf65b4c49d7f536e
      https://github.com/rear/rear/commit/544c0e4513be1a5d52b2b32faf65b4c49d7f536e
  Author: Flunkyball <36796685+Flunkyball at users.noreply.github.com>
  Date:   2022-01-11 (Tue, 11 Jan 2022)

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

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

Removed the unnecessary ""/"" when echoing out the full path for kernel and initrd


  Commit: 3f7908d7b4e8c73fcc64ef071a8ea624afbe0c2e
      https://github.com/rear/rear/commit/3f7908d7b4e8c73fcc64ef071a8ea624afbe0c2e
  Author: Flunkyball <36796685+Flunkyball at users.noreply.github.com>
  Date:   2022-01-11 (Tue, 11 Jan 2022)

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

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

Added a description/documentation regarding the newly introduced config option "PXE_HTTP_URL"


  Commit: 0e207c3a24d2d2e21ac7f65b9aaa4f6512677f71
      https://github.com/rear/rear/commit/0e207c3a24d2d2e21ac7f65b9aaa4f6512677f71
  Author: Johannes Meixner <jsmeix at suse.com>
  Date:   2022-01-12 (Wed, 12 Jan 2022)

  Changed paths:
    M usr/share/rear/conf/default.conf
    M usr/share/rear/lib/bootloader-functions.sh

  Log Message:
  -----------
  Merge pull request #2738 from Flunkyball/patch-1

Support for HTTP sources when using PXE:
There is a new config variable PXE_HTTP_URL to specify the HTTP download source for PXE.
If the variable is set the PXE config file will generate an additional 3rd boot option
(besides the unchanged standard options "rear" via TFTP and "local") namely "rear-http"
which includes the HTTP URL information to download the kernel and initrd data.


Compare: https://github.com/rear/rear/compare/48ebb134401d...0e207c3a24d2


More information about the rear-devel mailing list