build,json: fix generation with empty profiles
authorPaul Spooren <mail@aparcar.org>
Mon, 21 Jun 2021 06:23:45 +0000 (20:23 -1000)
committerPaul Spooren <mail@aparcar.org>
Mon, 21 Jun 2021 19:43:21 +0000 (09:43 -1000)
commit2e157714a8d4a0e1dbd6351ca0a3fe2fce75b0eb
tree48b86e7b73a62497b2f9fa7804f3ebcb3d39b52f
parent8add3e139ca5b58b91098aa0615f3492d1191241
build,json: fix generation with empty profiles

If the image generation doesn't add any profiles to the output the
*profile merge* will fail. To avoid that set an empty profile as
fallback.

Signed-off-by: Paul Spooren <mail@aparcar.org>
(cherry picked from commit fd0d9909bf50f114d5e7f7cedf53e542de878a2c)
scripts/json_overview_image_info.py