Add build timestamp to metainfo of image

This commit is contained in:
Bruce Leidl 2019-01-07 18:57:38 -05:00
parent a07d8d7511
commit 9695cf0964

View File

@ -18,6 +18,7 @@ do_citadel_mkimage() {
image-type = "${CITADEL_IMAGE_TYPE}" image-type = "${CITADEL_IMAGE_TYPE}"
channel = "${CITADEL_IMAGE_CHANNEL}" channel = "${CITADEL_IMAGE_CHANNEL}"
version = ${CITADEL_IMAGE_VERSION} version = ${CITADEL_IMAGE_VERSION}
timestamp = "${DATETIME}"
source = "${IMGDEPLOYDIR}/${IMAGE_LINK_NAME}.ext2" source = "${IMGDEPLOYDIR}/${IMAGE_LINK_NAME}.ext2"
EOF EOF
@ -37,4 +38,5 @@ EOF
addtask do_citadel_mkimage after do_image_ext2 before do_image_complete addtask do_citadel_mkimage after do_image_ext2 before do_image_complete
do_citadel_mkimage[cleandirs] = "${B}" do_citadel_mkimage[cleandirs] = "${B}"
do_citadel_mkimage[vardepsexclude] = "DATETIME"