build: store artifacts in JSON
authorPaul Spooren <mail@aparcar.org>
Mon, 13 Sep 2021 09:44:04 +0000 (23:44 -1000)
committerPaul Spooren <mail@aparcar.org>
Tue, 14 Sep 2021 20:42:38 +0000 (10:42 -1000)
commit5ef4608c02ef6db9698c8d10011b9c14a8ca073b
tree7175c2906b6317bd8f726cead257c7cc07422d6c
parent02a2b44eabf607fb5405ff0d7da4ad0748d3e1b1
build: store artifacts in JSON

Multiple profiles create artifacts, these should be stored in the JSON
file as well, allowing downstream tooling to show those files, too.

Artifacts don't have specific filesystems so only the fields `name`,
`type` and `sha256` are available.

Rename env variable names from IMAGE_ to FILE_ prefixes to reflect that
images, kernels and artifacts are added with the same command.

Signed-off-by: Paul Spooren <mail@aparcar.org>
include/image.mk
scripts/json_add_image_info.py