When DISABLE_BACKUP=1, by not checking/updating sector flags during copies from UPDATE to BOOT partitions, a copy operation getting interrupted by power failure will be less likely to cause problems to the integrity of the BOOT image. This is because in case of interruptions, the copy operation will be restarted from the first sector.
Thanks @jpbland1 - I've added two more test cases to check the combination of DISABLE_BACKUP with the two options mentioned above. Please consider for merging.
When
DISABLE_BACKUP=1
, by not checking/updating sector flags during copies from UPDATE to BOOT partitions, a copy operation getting interrupted by power failure will be less likely to cause problems to the integrity of the BOOT image. This is because in case of interruptions, the copy operation will be restarted from the first sector.Idea taken from ZD17551.