build: preserve profiles.json between builds
authorMoritz Warning <moritzwarning@web.de>
Sun, 21 Feb 2021 23:18:10 +0000 (00:18 +0100)
committerPaul Spooren <mail@aparcar.org>
Mon, 21 Jun 2021 19:43:21 +0000 (09:43 -1000)
commit8add3e139ca5b58b91098aa0615f3492d1191241
tree06cbd9c9b2faf81a0fe837b70091303dbbeb68c4
parentb2a3df91fa7e9a7f8b9216a99496ecc935f3e56d
build: preserve profiles.json between builds

Keep other profiles.json content if the data belongs to the current
build version.

Also useful for the ImageBuilder, which builds for a single model each
time. Without this commit the profiles.json would only contain the
latest build profile information.

Signed-off-by: Moritz Warning <moritzwarning@web.de>
[improve commit message]
Signed-off-by: Paul Spooren <mail@aparcar.org>
(cherry picked from commit a463b96241fbc2d142982387eaed9989e201ac7a)
scripts/json_overview_image_info.py