distro-build-manifest: add DIST_BUILD_TS in all manifests 13/21913/2
authorStephane Desneux <stephane.desneux@iot.bzh>
Tue, 16 Jul 2019 16:39:48 +0000 (16:39 +0000)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tue, 23 Jul 2019 15:31:19 +0000 (15:31 +0000)
commitf2e6e87245e6c53c176fa1e2a16fbe59bd776112
tree3f99f30955a4e77ea966e1a7944d922272f48903
parent032f5d7cfc443f391752b2bb0c8dec1e64ffae2f
distro-build-manifest: add DIST_BUILD_TS in all manifests

The build timestamp is added to build manifests deployed in target images and SDK.

Also, this patch adds a new option '-t|--timestamp' to distro-manifest-generator.sh
to let the recipe pass the same timestamp as the one used for the image suffix
(in Yocto 2.6/Thud, DATETIME is used). So DIST_BUILD_TS should have the same value
as the image version suffix.

Bug-AGL: SPEC-2649

Change-Id: I2a9d11b2ce59753bca31ebb8e82d46c224110d68
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