From 9695cf0964c354e03e0f9791e2083a428f9342f8 Mon Sep 17 00:00:00 2001 From: Bruce Leidl Date: Mon, 7 Jan 2019 18:57:38 -0500 Subject: [PATCH] Add build timestamp to metainfo of image --- meta-citadel/classes/citadel-image.bbclass | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-citadel/classes/citadel-image.bbclass b/meta-citadel/classes/citadel-image.bbclass index d9dbf9d..eb54256 100644 --- a/meta-citadel/classes/citadel-image.bbclass +++ b/meta-citadel/classes/citadel-image.bbclass @@ -18,6 +18,7 @@ do_citadel_mkimage() { image-type = "${CITADEL_IMAGE_TYPE}" channel = "${CITADEL_IMAGE_CHANNEL}" version = ${CITADEL_IMAGE_VERSION} +timestamp = "${DATETIME}" source = "${IMGDEPLOYDIR}/${IMAGE_LINK_NAME}.ext2" EOF @@ -37,4 +38,5 @@ EOF addtask do_citadel_mkimage after do_image_ext2 before do_image_complete do_citadel_mkimage[cleandirs] = "${B}" +do_citadel_mkimage[vardepsexclude] = "DATETIME"