[rear-devel] [rear/rear] 92fb78: fixed output usb format script for none efi cases

Johannes Meixner noreply at github.com
Fri Jul 23 16:12:43 CEST 2021


  Branch: refs/heads/jsmeix-improve-GRUB2-USB
  Home:   https://github.com/rear/rear
  Commit: 92fb78ea4c2f934ee96417ba90c70cb95f23cd2e
      https://github.com/rear/rear/commit/92fb78ea4c2f934ee96417ba90c70cb95f23cd2e
  Author: DEvil0000 <DEvil0000 at users.noreply.github.com>
  Date:   2021-07-12 (Mon, 12 Jul 2021)

  Changed paths:
    M usr/share/rear/format/USB/default/300_format_usb_disk.sh

  Log Message:
  -----------
  fixed output usb format script for none efi cases


  Commit: c602e53134142c2efbb69b155e8886653fb25e33
      https://github.com/rear/rear/commit/c602e53134142c2efbb69b155e8886653fb25e33
  Author: DEvil0000 <DEvil0000 at users.noreply.github.com>
  Date:   2021-07-16 (Fri, 16 Jul 2021)

  Changed paths:
    M usr/share/rear/format/USB/default/300_format_usb_disk.sh

  Log Message:
  -----------
  improved some comments and log lines


  Commit: 20e887f8ec3e30d577d1598f26ae09a62534b13a
      https://github.com/rear/rear/commit/20e887f8ec3e30d577d1598f26ae09a62534b13a
  Author: Johannes Meixner <jsmeix at suse.com>
  Date:   2021-07-20 (Tue, 20 Jul 2021)

  Changed paths:
    M usr/share/rear/format/USB/default/300_format_usb_disk.sh

  Log Message:
  -----------
  Merge pull request #2656 from wingcon/fix_usb_formating_rebased

Fixed format/USB/default/300_format_usb_disk.sh for none EFI cases
by adding a BIOS boot partition and setting the 'legacy_boot' flag
in case of GPT partitioning.


  Commit: 6515fee45df5310b35233e1e0db9d825b97b1f46
      https://github.com/rear/rear/commit/6515fee45df5310b35233e1e0db9d825b97b1f46
  Author: Johannes Meixner <jsmeix at suse.com>
  Date:   2021-07-20 (Tue, 20 Jul 2021)

  Changed paths:
    M usr/share/rear/format/USB/default/300_format_usb_disk.sh

  Log Message:
  -----------
  Update 300_format_usb_disk.sh

Improved format/USB/default/300_format_usb_disk.sh
in particular regarding creating BIOS boot partition.


  Commit: ecb94cf782a3438544e5405244d9a47739e83003
      https://github.com/rear/rear/commit/ecb94cf782a3438544e5405244d9a47739e83003
  Author: Johannes Meixner <jsmeix at suse.com>
  Date:   2021-07-21 (Wed, 21 Jul 2021)

  Changed paths:
    M usr/share/rear/format/USB/default/350_label_usb_disk.sh

  Log Message:
  -----------
  Update 350_label_usb_disk.sh

Use global variable USB_DATA_PARTITION_NUMBER


  Commit: 58aa363117c92f6f38f7715517226392c65c20c8
      https://github.com/rear/rear/commit/58aa363117c92f6f38f7715517226392c65c20c8
  Author: Johannes Meixner <jsmeix at suse.com>
  Date:   2021-07-21 (Wed, 21 Jul 2021)

  Changed paths:
    M usr/share/rear/format/USB/default/300_format_usb_disk.sh

  Log Message:
  -----------
  Update 300_format_usb_disk.sh

Use local variables in particular use current_partition_number
and use USB_DATA_PARTITION_NUMBER as global variable


  Commit: 7195cb2cecfc2830945a34c935a2df2fcea9316e
      https://github.com/rear/rear/commit/7195cb2cecfc2830945a34c935a2df2fcea9316e
  Author: Johannes Meixner <jsmeix at suse.com>
  Date:   2021-07-21 (Wed, 21 Jul 2021)

  Changed paths:
    M usr/share/rear/lib/format-workflow.sh

  Log Message:
  -----------
  Update format-workflow.sh

Use FORMAT_EFI instead of only EFI
and FORMAT_FORCE instead of only FORCE
and FORMAT_YES instead of only YES


  Commit: b822591bad964f559c608425466482f2af33782d
      https://github.com/rear/rear/commit/b822591bad964f559c608425466482f2af33782d
  Author: Johannes Meixner <jsmeix at suse.com>
  Date:   2021-07-21 (Wed, 21 Jul 2021)

  Changed paths:
    M usr/share/rear/lib/format-workflow.sh

  Log Message:
  -----------
  Update format-workflow.sh

Use FORMAT_DEVICE instead of only DEVICE


  Commit: ac2365ec787f65f7c677f666a6c3891b275fae7d
      https://github.com/rear/rear/commit/ac2365ec787f65f7c677f666a6c3891b275fae7d
  Author: Johannes Meixner <jsmeix at suse.com>
  Date:   2021-07-21 (Wed, 21 Jul 2021)

  Changed paths:
    M usr/share/rear/format/USB/default/200_check_usb_layout.sh

  Log Message:
  -----------
  Update 200_check_usb_layout.sh

Use FORMAT_DEVICE instead of only DEVICE
and FORMAT_YES instead of only YES
and USB_FORMAT_ANSWER instead of USB_format_answer


  Commit: 46f84857992ea73f47cfcc27aef071f3443e57db
      https://github.com/rear/rear/commit/46f84857992ea73f47cfcc27aef071f3443e57db
  Author: Johannes Meixner <jsmeix at suse.com>
  Date:   2021-07-21 (Wed, 21 Jul 2021)

  Changed paths:
    M usr/share/rear/format/USB/default/200_check_usb_layout.sh

  Log Message:
  -----------
  Update 200_check_usb_layout.sh

Let the error message match the actually tested condition


  Commit: 50b0dc4a77e40b424d529d345a9f2d2505540e50
      https://github.com/rear/rear/commit/50b0dc4a77e40b424d529d345a9f2d2505540e50
  Author: Johannes Meixner <jsmeix at suse.com>
  Date:   2021-07-21 (Wed, 21 Jul 2021)

  Changed paths:
    M usr/share/rear/format/USB/default/300_format_usb_disk.sh

  Log Message:
  -----------
  Update 300_format_usb_disk.sh

USE FORMAT_FORCE instead of only FORCE
and USB_FORMAT_ANSWER instead of USB_format_answer


  Commit: 07f863fe19ef32c3eaa830fce2e7d07b9c0a27bc
      https://github.com/rear/rear/commit/07f863fe19ef32c3eaa830fce2e7d07b9c0a27bc
  Author: Johannes Meixner <jsmeix at suse.com>
  Date:   2021-07-21 (Wed, 21 Jul 2021)

  Changed paths:
    M usr/share/rear/format/USB/default/350_label_usb_disk.sh

  Log Message:
  -----------
  Update 350_label_usb_disk.sh

USE FORMAT_FORCE instead of only FORCE
and USB_FORMAT_ANSWER instead of USB_format_answer


  Commit: b17630d307965adf0b3084f3233c814fb58cb12b
      https://github.com/rear/rear/commit/b17630d307965adf0b3084f3233c814fb58cb12b
  Author: Johannes Meixner <jsmeix at suse.com>
  Date:   2021-07-21 (Wed, 21 Jul 2021)

  Changed paths:
    M usr/share/rear/format/USB/default/200_check_usb_layout.sh

  Log Message:
  -----------
  Update 200_check_usb_layout.sh

Let the error message match the actually tested condition


  Commit: b906fe748291e2220153e1f401b15871ce73ad0f
      https://github.com/rear/rear/commit/b906fe748291e2220153e1f401b15871ce73ad0f
  Author: Johannes Meixner <jsmeix at suse.com>
  Date:   2021-07-21 (Wed, 21 Jul 2021)

  Changed paths:
    M usr/share/rear/format/USB/default/200_check_usb_layout.sh

  Log Message:
  -----------
  Update 200_check_usb_layout.sh

Typo fix in code "test b" -> "test -b"


  Commit: 24c793f895703e6ab57252b208b98d5247a438cf
      https://github.com/rear/rear/commit/24c793f895703e6ab57252b208b98d5247a438cf
  Author: Johannes Meixner <jsmeix at suse.com>
  Date:   2021-07-21 (Wed, 21 Jul 2021)

  Changed paths:
    M usr/share/rear/format/USB/default/300_format_usb_disk.sh

  Log Message:
  -----------
  Update 300_format_usb_disk.sh

To be on the safe side have the boot partition fallback label "REARBOOT" only 8 characters long.


  Commit: 3c46181d99ba5a06d935bca23349a148c9e92476
      https://github.com/rear/rear/commit/3c46181d99ba5a06d935bca23349a148c9e92476
  Author: Johannes Meixner <jsmeix at suse.com>
  Date:   2021-07-21 (Wed, 21 Jul 2021)

  Changed paths:
    M usr/share/rear/format/USB/default/300_format_usb_disk.sh

  Log Message:
  -----------
  Update 300_format_usb_disk.sh


  Commit: 2bb16a6b923744f15508c515deb70a13770a8d5e
      https://github.com/rear/rear/commit/2bb16a6b923744f15508c515deb70a13770a8d5e
  Author: Johannes Meixner <jsmeix at suse.com>
  Date:   2021-07-22 (Thu, 22 Jul 2021)

  Changed paths:
    M usr/share/rear/format/USB/default/300_format_usb_disk.sh

  Log Message:
  -----------
  Update 300_format_usb_disk.sh

Set the right flag for the boot partition unless no flag should be set


  Commit: b9b614d0630d21d2efe482efbccdf04e735a7171
      https://github.com/rear/rear/commit/b9b614d0630d21d2efe482efbccdf04e735a7171
  Author: Johannes Meixner <jsmeix at suse.com>
  Date:   2021-07-22 (Thu, 22 Jul 2021)

  Changed paths:
    M usr/share/rear/format/USB/default/300_format_usb_disk.sh

  Log Message:
  -----------
  Update 300_format_usb_disk.sh

Create a USB boot partition only if specified to make it possible to still create
the USB partitioning as had been in the past (i.e. without a USB boot partition).


  Commit: 74c4223ced414e58f47faedf7ddd0a5f32402a94
      https://github.com/rear/rear/commit/74c4223ced414e58f47faedf7ddd0a5f32402a94
  Author: Johannes Meixner <jsmeix at suse.com>
  Date:   2021-07-22 (Thu, 22 Jul 2021)

  Changed paths:
    M usr/share/rear/format/USB/default/300_format_usb_disk.sh

  Log Message:
  -----------
  Update 300_format_usb_disk.sh

Create filesystem on boot partition only if there is a boot partition


  Commit: 3beacd3a1fbe33e72821fc37768a63eaa7b2515b
      https://github.com/rear/rear/commit/3beacd3a1fbe33e72821fc37768a63eaa7b2515b
  Author: Johannes Meixner <jsmeix at suse.com>
  Date:   2021-07-22 (Thu, 22 Jul 2021)

  Changed paths:
    M usr/share/rear/format/USB/default/300_format_usb_disk.sh

  Log Message:
  -----------
  Update 300_format_usb_disk.sh

Set the right flag for the partition wherefrom is booted
which is the boot partition if exists
or the data partition when there is no boot partition.


  Commit: 3218e36bbba1782ad8b9587b3fefe579eb3f9b9d
      https://github.com/rear/rear/commit/3218e36bbba1782ad8b9587b3fefe579eb3f9b9d
  Author: Johannes Meixner <jsmeix at suse.com>
  Date:   2021-07-23 (Fri, 23 Jul 2021)

  Changed paths:
    M usr/share/rear/output/USB/Linux-i386/850_make_USB_bootable.sh

  Log Message:
  -----------
  Update 850_make_USB_bootable.sh

Making USB disk bootable with syslinux/extlinux
also when the booting related files are on a separated boot partition


  Commit: 006ab85377a41ddf455fb829ea1e29f00a8e772d
      https://github.com/rear/rear/commit/006ab85377a41ddf455fb829ea1e29f00a8e772d
  Author: Johannes Meixner <jsmeix at suse.com>
  Date:   2021-07-23 (Fri, 23 Jul 2021)

  Changed paths:
    M usr/share/rear/output/USB/Linux-i386/850_make_USB_bootable.sh

  Log Message:
  -----------
  Update 850_make_USB_bootable.sh

In debug modes tell when there is no need to update syslinux on USB disk


  Commit: dd11d25990ea92af30376110d7d28e874cb6a219
      https://github.com/rear/rear/commit/dd11d25990ea92af30376110d7d28e874cb6a219
  Author: Johannes Meixner <jsmeix at suse.com>
  Date:   2021-07-23 (Fri, 23 Jul 2021)

  Changed paths:
    M usr/share/rear/format/USB/default/200_check_usb_layout.sh
    M usr/share/rear/format/USB/default/300_format_usb_disk.sh
    M usr/share/rear/format/USB/default/350_label_usb_disk.sh
    M usr/share/rear/lib/format-workflow.sh
    M usr/share/rear/output/USB/Linux-i386/850_make_USB_bootable.sh

  Log Message:
  -----------
  Merge pull request #2660 from rear/jsmeix-USB-BIOS-boot-partition

Cleanup USB format scripts and related code:
Now OUTPUT=USB should behave sufficiently OK
on BIOS systems with syslinux/extlinux as bootloader
with a separated boot partition and without it (still the default).
To use OUTPUT=USB on BIOS with syslinux/extlinux
with a separated boot partition size of e.g. 1024 MiB
specify in etc/rear/local.conf something like
OUTPUT=USB
USB_BOOT_PART_SIZE=1024
OUTPUT_URL=usb:///dev/disk/by-label/REARBOOT
BACKUP=NETFS
BACKUP_URL=usb:///dev/disk/by-label/REAR-000


  Commit: eb49580f4dc4b5b58c7f8ddc39af5aa7742a0b54
      https://github.com/rear/rear/commit/eb49580f4dc4b5b58c7f8ddc39af5aa7742a0b54
  Author: Johannes Meixner <jsmeix at suse.com>
  Date:   2021-07-23 (Fri, 23 Jul 2021)

  Changed paths:
    M usr/share/rear/format/USB/default/200_check_usb_layout.sh
    M usr/share/rear/format/USB/default/300_format_usb_disk.sh
    M usr/share/rear/format/USB/default/350_label_usb_disk.sh
    M usr/share/rear/lib/format-workflow.sh
    M usr/share/rear/output/USB/Linux-i386/850_make_USB_bootable.sh

  Log Message:
  -----------
  Merge branch 'master' into jsmeix-improve-GRUB2-USB


Compare: https://github.com/rear/rear/compare/b20858a41d6a...eb49580f4dc4


More information about the rear-devel mailing list