diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2014-03-25 11:10:52 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-03-27 09:42:05 +0000 |
commit | 2614e613e035d72e293e6da3b91a071be10ca78e (patch) | |
tree | 68a0f0f615400ad6bc84e730addd7f4c978866d2 /meta | |
parent | f782e39581d728449b6f14cd73606276209a53af (diff) | |
download | poky-2614e613e035d72e293e6da3b91a071be10ca78e.tar.gz |
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>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-core/base-files/base-files_3.0.14.bb | 1 |
1 files changed, 1 insertions, 0 deletions
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 cee19a10ff..9699e31625 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 () { | |||
103 | ln -sf /proc/mounts ${D}${sysconfdir}/mtab | 103 | ln -sf /proc/mounts ${D}${sysconfdir}/mtab |
104 | } | 104 | } |
105 | 105 | ||
106 | DISTRO_VERSION[vardepsexclude] += "DATE" | ||
106 | do_install_basefilesissue () { | 107 | do_install_basefilesissue () { |
107 | if [ "${hostname}" != "" ]; then | 108 | if [ "${hostname}" != "" ]; then |
108 | if [ -n "${MACHINE}" -a "${hostname}" = "openembedded" ]; then | 109 | if [ -n "${MACHINE}" -a "${hostname}" = "openembedded" ]; then |