distro-manifest-generator: add support for JSON output format 55/18155/3 6.99.1 guppy/6.99.1 guppy_6.99.1
authorStephane Desneux <stephane.desneux@iot.bzh>
Wed, 21 Nov 2018 22:04:28 +0000 (22:04 +0000)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Fri, 23 Nov 2018 19:18:02 +0000 (19:18 +0000)
commit7d027fc6280a9ffe234736a38c8aed32243a4dd6
treef5b933afc9649f69bea86650873fd48350ab2fc8
parent0998dd12e5d6e4cf5471b97fe2150b56303358ac
distro-manifest-generator: add support for JSON output format

Distro build manifest is easier to parse if output is made in a structured
format. Adding JSON output format will allow bindings to read information
more easily.

The files created are now:

On target:
* /etc/platform-info/build (shell format)
* /etc/platform-info/build.json (JSON format)

In image deploy dir (.../tmp/deploy/images/$MACHINE/):
* build-info (shell format)
* build-info.json (JSON format)

In sdk deploy dir (.../tmp/deploy/sdk/):
* poky-agl-<version details>.build-info (shell format)
* poky-agl-<version details>.build-info.json (JSON format)

Bug-AGL: SPEC-720, SPEC-1917

Change-Id: If45d2c5dd96b15ce790aa7f7f97c24f119ad117b
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
meta-agl-profile-core/recipes-core/distro-build-manifest/distro-build-manifest.bb
scripts/distro-manifest-generator.sh