mirror of
https://git.yoctoproject.org/poky
synced 2026-03-06 23:39:40 +01:00
devtool: update-recipe: enable var history tracking
Enable variable history tracking so that the variables are updated in the correct file - i.e. in the file they are already defined. [YOCTO #7715] (From OE-Core rev: b54796d013c562972e962126400503085281b425) Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
979de7703c
commit
f047ee8c95
@@ -96,7 +96,7 @@ def exec_fakeroot(d, cmd, **kwargs):
|
||||
newenv[splitval[0]] = splitval[1]
|
||||
return subprocess.call("%s %s" % (fakerootcmd, cmd), env=newenv, **kwargs)
|
||||
|
||||
def setup_tinfoil(config_only=False, basepath=None):
|
||||
def setup_tinfoil(config_only=False, basepath=None, tracking=False):
|
||||
"""Initialize tinfoil api from bitbake"""
|
||||
import scriptpath
|
||||
orig_cwd = os.path.abspath(os.curdir)
|
||||
@@ -108,7 +108,7 @@ def setup_tinfoil(config_only=False, basepath=None):
|
||||
sys.exit(1)
|
||||
|
||||
import bb.tinfoil
|
||||
tinfoil = bb.tinfoil.Tinfoil()
|
||||
tinfoil = bb.tinfoil.Tinfoil(tracking=tracking)
|
||||
tinfoil.prepare(config_only)
|
||||
tinfoil.logger.setLevel(logger.getEffectiveLevel())
|
||||
os.chdir(orig_cwd)
|
||||
|
||||
Reference in New Issue
Block a user