mirror of
https://github.com/linux-sunxi/meta-sunxi.git
synced 2024-12-26 13:08:21 +01:00
sdcard_image-sunxi.bbclass: add vardepsexclude to fix taskhash mismatch
IMAGEDATESTAMP may change while bitbake is running which can result in a taskhash mismatch error for do_image_sunxi_sdimg. Signed-off-by: Jonathan Liu <net147@gmail.com>
This commit is contained in:
parent
26c32a3228
commit
f6417032a0
@ -43,6 +43,7 @@ rootfs[depends] += "virtual/kernel:do_deploy"
|
||||
SDIMG = "${IMGDEPLOYDIR}/${IMAGE_NAME}.rootfs.sunxi-sdimg"
|
||||
|
||||
IMAGEDATESTAMP = "${@time.strftime('%Y.%m.%d',time.gmtime())}"
|
||||
IMAGE_CMD_sunxi-sdimg[vardepsexclude] += "IMAGEDATESTAMP"
|
||||
|
||||
IMAGE_CMD_sunxi-sdimg () {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user