]> code.ossystems Code Review - openembedded-core.git/commit
kernel-yocto.bbclass: chdir to ${WORKDIR} for do_kernel_checkout
authorKai Kang <kai.kang@windriver.com>
Fri, 23 Apr 2021 03:29:04 +0000 (11:29 +0800)
committerAnuj Mittal <anuj.mittal@intel.com>
Mon, 26 Apr 2021 00:57:15 +0000 (08:57 +0800)
commit51b03665de86c14f5b3887a60154b118c0d37aa3
treefe5a81c33baafbc05fdb6cfdacc4bf0d9fab4197
parent280596107b2744de63e6f34007324e5e2c857758
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.

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>
meta/classes/kernel-yocto.bbclass