Patchwork [RFC,2/2] bitbake.conf: exclude DATETIME var dependency from IMAGE_NAME

login
register
mail settings
Submitter Martin Jansa
Date Sept. 28, 2012, 6:03 p.m.
Message ID <1348855430-11091-2-git-send-email-Martin.Jansa@gmail.com>
Download mbox | patch
Permalink /patch/37455/
State Accepted, archived
Commit 084d16cd00365ac3db9010a2e0e08ec49b50a144
Headers show

Comments

Martin Jansa - Sept. 28, 2012, 6:03 p.m.
* 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 <Martin.Jansa@gmail.com>
---
 meta/conf/bitbake.conf | 1 +
 1 file changed, 1 insertion(+)

Patch

diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index e168ef1..8ac2769 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -401,6 +401,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