diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2016-10-22 14:30:42 +0200 |
---|---|---|
committer | Stefan Agner <stefan.agner@toradex.com> | 2017-01-10 15:12:36 -0800 |
commit | 342ec1f0ac9d01b8a4f33c2f854649dabacffd85 (patch) | |
tree | 6b34273981b6615d09df1d5affcc855999fc4b83 /recipes-images/images | |
parent | 7f9384eba7c8f3625f427fb472b6f15d96991fad (diff) |
trdx-image-fstype: use DATE variable set by bitbake
bitbake provides the build date in DATE, use that instead of system time.
This avoids
| ERROR: console-trdx-image-V2.6.2-r0 do_imagedeploy: Taskhash mismatch ab883ff241d53c36d27b32a14f097fb1 versus 11833452ea92ee48688ab00a9ceba7d9
| for /build/krm/oe-core_V2.6.2/build/../layers/meta-toradex-demos/recipes-images/images/console-trdx-image.bb.do_imagedeploy
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Stefan Agner <stefan.agner@toradex.com>
Diffstat (limited to 'recipes-images/images')
-rw-r--r-- | recipes-images/images/trdx-image-fstype.inc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/recipes-images/images/trdx-image-fstype.inc b/recipes-images/images/trdx-image-fstype.inc index b86cd91..9eacbb9 100644 --- a/recipes-images/images/trdx-image-fstype.inc +++ b/recipes-images/images/trdx-image-fstype.inc @@ -161,7 +161,6 @@ fakeroot imagedeploy_arm() { rm -f ${IMAGE_NAME}${PV}/rootfs.lock #create tarball - DATE=`date +%Y%m%d` tar -cjf ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}${PV}_${DATE}.tar.bz2 ${IMAGE_NAME}${PV} } |