From: Martin Jansa Date: Wed, 26 Sep 2012 13:56:05 +0000 (+0200) Subject: bitbake.conf: exclude DATETIME var dependency from IMAGE_NAME X-Git-Tag: 2015-4~8299 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=084d16cd00365ac3db9010a2e0e08ec49b50a144;p=openembedded-core.git bitbake.conf: exclude DATETIME var dependency from IMAGE_NAME * resolves ERROR shown when bitbake -S is used for image: ERROR: Bitbake's cached basehash does not match the one we just generated (/OE/oe-core/openembedded-core/meta/recipes-core/images/core-image-minimal.bb.do_rootfs)! ERROR: The mismatched hashes were 8c35cdf8a5d09c03941f081dd9f6d8dc and b5d6e2e5952770557c48c5779ddb73fc Signed-off-by: Martin Jansa Signed-off-by: Saul Wold --- diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index be3bfc2092..578c29f46c 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf @@ -407,6 +407,7 @@ STAGING_KERNEL_DIR = "${STAGING_DIR_HOST}/usr/src/kernel" IMAGE_ROOTFS = "${WORKDIR}/rootfs" IMAGE_BASENAME = "${PN}" IMAGE_NAME = "${IMAGE_BASENAME}-${MACHINE}-${DATETIME}" +IMAGE_NAME[vardepsexclude] += "DATETIME" IMAGE_LINK_NAME = "${IMAGE_BASENAME}-${MACHINE}" # This option allows for a percentage overage of the actual image size rather than a