mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 13:09:50 +00:00
bitbake: toaster: enable project import and merged Toaster settings
Enable the ability to select an existing build directory into Toaster. This opens to the user the backend features of 12823, for command line user compatibility. Enable the ability to select saving Toaster settings in the regular "bblayers.conf" and "local.conf" instead of the default "toaster_bblayers.conf" and "toaster.conf". This opens to the user the backend features of 12821, for command line user compatibility. [YOCTO #12902] (Bitbake rev: 8ce51fbd92ab42365a38e0c1c260bb4979377a89) Signed-off-by: David Reyna <David.Reyna@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
1035d9decb
commit
4c41fc3f6e
@@ -373,8 +373,8 @@ class LocalhostBEController(BuildEnvironmentController):
|
||||
conf.write('INHERIT+="toaster buildhistory"')
|
||||
else:
|
||||
# Append the Toaster-specific values directly to the bblayers.conf
|
||||
bblconfpath = os.path.join(bitbake.req.project.builddir, "conf/bblayers.conf")
|
||||
bblconfpath_save = os.path.join(bitbake.req.project.builddir, "conf/bblayers.conf.save")
|
||||
bblconfpath = os.path.join(builddir, "conf/bblayers.conf")
|
||||
bblconfpath_save = os.path.join(builddir, "conf/bblayers.conf.save")
|
||||
shutil.copyfile(bblconfpath, bblconfpath_save)
|
||||
with open(bblconfpath) as bblayers:
|
||||
content = bblayers.readlines()
|
||||
@@ -399,8 +399,8 @@ class LocalhostBEController(BuildEnvironmentController):
|
||||
bblayers.write(' "\n')
|
||||
bblayers.write('#=== TOASTER_CONFIG_EPILOG ===\n')
|
||||
# Append the Toaster-specific values directly to the local.conf
|
||||
bbconfpath = os.path.join(bitbake.req.project.builddir, "conf/local.conf")
|
||||
bbconfpath_save = os.path.join(bitbake.req.project.builddir, "conf/local.conf.save")
|
||||
bbconfpath = os.path.join(builddir, "conf/local.conf")
|
||||
bbconfpath_save = os.path.join(builddir, "conf/local.conf.save")
|
||||
shutil.copyfile(bbconfpath, bbconfpath_save)
|
||||
with open(bbconfpath) as f:
|
||||
content = f.readlines()
|
||||
|
||||
Reference in New Issue
Block a user