diff options
| author | Kai Kang <kai.kang@windriver.com> | 2021-04-23 11:29:04 +0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-05-04 22:57:50 +0100 |
| commit | 81a90094bb30c52f8a624c0513768b9f25c36a66 (patch) | |
| tree | 837bacee83f4d21218fc577312ddae021faa6bbf /scripts/lib/devtool/build-image.py | |
| parent | e7aece6988e48819ce1ea785de6826300afe736f (diff) | |
| download | poky-81a90094bb30c52f8a624c0513768b9f25c36a66.tar.gz | |
kernel-yocto.bbclass: chdir to ${WORKDIR} for do_kernel_checkout
It chdirs to ${S} at the beginning of task do_kernel_checkout. Then it
removes ${S} when it still resides in ${S}. It may fail to run the task
do_kernel_checkout when bitbake is called by third-part wrapper script.
So chdir to ${WORKDIR} by default for do_kernel_checkout. And it will
chdir to ${S} afterwards in task do_kernel_checkout.
(From OE-Core rev: 51b03665de86c14f5b3887a60154b118c0d37aa3)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit cf0e3397d3f86c7ea1f3c66c50a44d6205f5921b)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/devtool/build-image.py')
0 files changed, 0 insertions, 0 deletions
