[oe-commits] Martin Jansa : bitbake.conf: exclude DATETIME var dependency from IMAGE_NAME

git at git.openembedded.org git at git.openembedded.org
Wed Dec 19 18:02:03 UTC 2012


Module: openembedded-core.git
Branch: master-next
Commit: 084d16cd00365ac3db9010a2e0e08ec49b50a144
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=084d16cd00365ac3db9010a2e0e08ec49b50a144

Author: Martin Jansa <Martin.Jansa at gmail.com>
Date:   Wed Sep 26 15:56:05 2012 +0200

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 <Martin.Jansa at gmail.com>
Signed-off-by: Saul Wold <sgw at linux.intel.com>

---

 meta/conf/bitbake.conf |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index be3bfc2..578c29f 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





More information about the Openembedded-commits mailing list