[oe-commits] Robert Yang : base-files: do_install.sigdata: remove the depends on DATE

git at git.openembedded.org git at git.openembedded.org
Thu Mar 27 09:36:06 UTC 2014


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

Author: Robert Yang <liezhi.yang at windriver.com>
Date:   Tue Mar 25 11:10:52 2014 +0800

base-files: do_install.sigdata: remove the depends on DATE

If we run "bitbake -S base-files" today, and re-run it tomorrow with
nothing changed, we would see that the do_install.sigdata changes
because of:

do_intall -> do_install_basefilesissue -> DISTRO_VERSION -> DATE

We had set:
IMAGE_NAME[vardepsexclude] += "DATETIME"
in meta/conf/bitbake.conf, we can set a similar line in
base-files_3.0.14.bb to fix the problem.

[YOCTO #6032]

Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/recipes-core/base-files/base-files_3.0.14.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-core/base-files/base-files_3.0.14.bb b/meta/recipes-core/base-files/base-files_3.0.14.bb
index cee19a1..9699e31 100644
--- a/meta/recipes-core/base-files/base-files_3.0.14.bb
+++ b/meta/recipes-core/base-files/base-files_3.0.14.bb
@@ -103,6 +103,7 @@ do_install () {
 	ln -sf /proc/mounts ${D}${sysconfdir}/mtab
 }
 
+DISTRO_VERSION[vardepsexclude] += "DATE"
 do_install_basefilesissue () {
 	if [ "${hostname}" != "" ]; then
 		if [ -n "${MACHINE}" -a "${hostname}" = "openembedded" ]; then



More information about the Openembedded-commits mailing list