]> 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)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 24 Apr 2021 16:53:01 +0000 (17:53 +0100)
commitcf0e3397d3f86c7ea1f3c66c50a44d6205f5921b
tree0a017e4b27035a4aa69194079098c0b33ea9a035
parent0fb6280432a36985590d9a714a5f11164aaebb51
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>
meta/classes/kernel-yocto.bbclass