summaryrefslogtreecommitdiffstats
path: root/scripts/distro-manifest-generator.sh
AgeCommit message (Collapse)AuthorFilesLines
2019-06-20distro-manifest-generator: enhance git repos detectionStephane Desneux1-2/+2
Following recent change 334a201 (#21619), it's now necessary to explore the layers folder to find git repositories. But when the build directory is a subfolder of $METADIR (repo folder), 'find' digs too deeply to find git repositories. This patch adds some limits for 'find' to dig into subfolders: * only find "top" git repos (no git submodules) * limit the search depth to 2 Bug-AGL: SPEC-2450 Change-Id: Idd907737673d196cc8ba157a5c49492119efeb88 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2019-06-17distro-build-manifest: fix DIST_LAYERS due to new layoutStephane Desneux1-1/+1
New layout with subfolders causes incomplete DIST_LAYERS to be generated in deploy/images/.../build-info. This patches fixes how git repos are found in the layers directory. Bug-AGL: SPEC-2450 Change-Id: I4b6a62b68064de12119e668522242677e11c65eb Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2018-11-23distro-manifest-generator: add support for JSON output formatguppy_6.99.1guppy/6.99.16.99.1Stephane Desneux1-49/+206
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>
2018-10-09aglsetup: generate setup manifest fileStephane Desneux1-0/+146
This patch modifies aglsetup to output the execution context in a "setup manifest" located in $builddir/aglsetup.manifest This file can then be processed by another script (distro-manifest-generator.sh) to generate a complete distro manifest at build time. Bug-AGL: SPEC-720, SPEC-1741 Change-Id: I1f9bc8a6d8bc4c659e59ed0025f71ad9e1c86355 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>