diff options
author | Patrick Ohly <patrick.ohly@intel.com> | 2017-05-05 12:25:24 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-05-18 14:01:46 +0100 |
commit | 3208824ae6c39eacf3941a85c7a5735c4d55be74 (patch) | |
tree | 537f7328738c023c83f8436033c30abeba41db7a /meta/classes/tinderclient.bbclass | |
parent | c2221c4ca14e72196589993ff5a06175dc062c6f (diff) | |
download | poky-3208824ae6c39eacf3941a85c7a5735c4d55be74.tar.gz |
archiver.bbclass: various fixes for original+diff mode
The diff.gz gets created in do_unpack_and_patch, but
do_deploy_archives did not depend on it, so there was a race
condition. For example, "bitbake linux-intel:do_deploy_archives"
without a prior "bitbake linux-intel:do_kernel_configme" did not
deploy the diff.gz.
When do_unpack_and_patch ran first, it failed because the output
directory didn't exist yet and the error was not detected because the
result of the diff command wasn't checked.
Changing the current working directory in create_diff_gz() without
returning to the original directory caused warnings like this:
WARNING: linux-intel-... do_unpack_and_patch: Task do_unpack_and_patch changed cwd to .../tmp-glibc/work-shared/intel-corei7-64
(From OE-Core rev: 18aac553ca35049c80b6cc82ff0e69ce8a7a03a9)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/tinderclient.bbclass')
0 files changed, 0 insertions, 0 deletions