diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2015-04-29 13:46:04 +0800 |
---|---|---|
committer | Chen Qi <Qi.Chen@windriver.com> | 2015-06-10 15:13:42 +0800 |
commit | 47e7d91a824b72ade9e18a070e1ca8b7ea893ba9 (patch) | |
tree | 1571c50ad5593e42943f64737b859322c655e212 /meta/lib/oe/copy_buildsystem.py | |
parent | de6a26b95a7f7bd8f9dc47ab35d8b07ba671f4eb (diff) | |
download | openembedded-core-contrib-47e7d91a824b72ade9e18a070e1ca8b7ea893ba9.tar.gz |
populate_sdk_ext: install the latest buildtools-tarball
If we do `bitbake buildtools-tarball' and then after one day do `bitbake
core-image-minimal -c populate_sdk_ext', we would meet errors like below.
| install: cannot stat '/buildarea2/chenqi/poky/build-systemd/tmp/deploy/sdk/
poky-glibc-x86_64-buildtools-tarball-core2-64-buildtools-nativesdk-standalone
-1.8+snapshot-20150429.sh': No such file or directory
The problem is that the output name for buildtools-tarball has ${DATE} in it.
So if populate_sdk_ext task is executed but buildtools-tarball is not rebuilt,
the above error appears.
Instead of hardcoding ${DISTRO_VERSION} which consists of ${DATE} in the
install_tools() function, we should find the latest buildtools-tarball based
on the modification time and install it.
[YOCTO #7674]
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Diffstat (limited to 'meta/lib/oe/copy_buildsystem.py')
0 files changed, 0 insertions, 0 deletions