]> code.ossystems Code Review - openembedded-core.git/commit
kernel-yocto: set cwd before querying the meta data dir
authorBruce Ashfield <bruce.ashfield@gmail.com>
Wed, 12 Aug 2020 17:03:26 +0000 (13:03 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 13 Aug 2020 07:03:32 +0000 (08:03 +0100)
commit36f95f5e22cb4858c927f2a5a3bfeae630a41f1d
treeec3f9899331bb02376d76c28f42a5159cb0cade1
parent740d87766cb87f75c477666d97cb0480c10217f4
kernel-yocto: set cwd before querying the meta data dir

To aid classifying options and streamling reports, fragments
and classification info are consolidated into a kernel meta
directory.

The name of the meta directory is (somewhat) flexible, and hence
is queried by the tools and created if it doesn't exist.

The recent enhancements to the .config auditing introduced a
new query for the meta directory, but isn't being run in the
kernel's source directory .. and is hence creating an unwanted
file in $TOPDIR. We set the kernel source directory as the cwd
for the call, and everything goes back to where it belongs.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/kernel-yocto.bbclass