Removes entries from the final update.cfg file for which no image was generated.
authorMateusz Moscicki <m.moscicki2@partner.samsung.com>
Fri, 4 Jun 2021 09:51:07 +0000 (11:51 +0200)
committerMateusz Moscicki <m.moscicki2@partner.samsung.com>
Fri, 4 Jun 2021 09:51:07 +0000 (11:51 +0200)
commita3ee0b405dfb2bb8d627618ac1759fb07c8db04d
tree2b4b662d8860312f9943a09430ac55a2a0e68dc1
parent55d17f01e3204aec84063ab635390b705791e6dd
Removes entries from the final update.cfg file for which no image was generated.

Until now, the update.cfg file has contained entries even when the
related image file was not generated due to lack of differences. For
example if there were no differences between Tizen versions for boot.img
then the image as not placed in delta.tar file, but in update.cfg the
entry associated with it remained.

This patch removes entries for which there is no corresponding image. In
case the resulting update.cfg (e.g. an update between the same
versions), the mk_delta.sh script will end with an error.

Change-Id: I61278a8f1efb69bd908b1dd1aae5ebf714963f6e
mk_delta/common/bin/mk_delta.sh