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]

(From OE-Core rev: cd06824bda76a9d08a3318e0621e31c0e8c39f74)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Robert Yang 2014-03-25 11:10:52 +08:00 committed by Richard Purdie
parent f782e39581
commit 2614e613e0
1 changed files with 1 additions and 0 deletions

View File

@ -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