]> code.ossystems Code Review - openembedded-core.git/commit
devtool: Fix do_kernel_configme task
authorAlejandro Hernandez Samaniego <alhe@linux.microsoft.com>
Fri, 12 Mar 2021 17:41:15 +0000 (10:41 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 14 Mar 2021 16:33:03 +0000 (16:33 +0000)
commit08dcc0e68095dcf2a159546a48b29d40c9aabc0b
tree191333db014ffa5ef6d74a2988137e914bd5fbc5
parent698ece14e22d0efd9074493ef443b2cce5625d51
devtool: Fix do_kernel_configme task

The do_kernel_configme task is no longer part of SRCTREECOVEREDTASKS,
its been removed from the kernel-yocto.bbclass since b72dbb2e4, but
there wasnt a matching patch for devtool for those changes.

This patch enables us to invoke the do_kernel_configme task when
using a devtool workspace, it also prepends a check for an existing
.config file in the source directory and moves it if thats the case,
since when using devtool modify a .config is created and
do_kernel_configme complains about it, this is not the case when
using bitbake since the .config file would be on B instead.

Alowing do_kernel_configme to run also fixes the flow where testing a
new config fragment from devtool workspace isnt added properly
(config queue shows it as ///frg.cfg) and as a side effect it never
gets merged into the final config.

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alhe@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/devtool/standard.py