#1746 PR merged: Fixed 100_include_partition_code.sh regarding autoresizing partitions

Labels: bug, fixed / solved / done

jsmeix opened issue at 2018-03-06 13:22:

  • Type: Bug Fix

  • Impact: Normal

  • Reference to related issue (URL):
    https://github.com/rear/rear/pull/1733

  • How was this pull request tested?
    Om my test system as in https://github.com/rear/rear/pull/1733

  • Brief description of the changes in this pull request:
    In 100_include_partition_code.sh do all what belongs to autoresizing partitions
    via AUTORESIZE_PARTITIONS only in MIGRATION_MODE.

Without that fix autoresizing partitions would happen in 100_include_partition_code.sh
when AUTORESIZE_PARTITIONS is true also when not in MIGRATION_MODE
but when not in MIGRATION_MODE "rear recover" must and can recreate
byte-by-byte identical partitioning (if a disk size changed MIGRATION_MODE
would be true).


[Export of Github issue for rear/rear.]