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:
David Reyna
2018-08-26 15:33:32 -07:00
committed by Richard Purdie
parent 1035d9decb
commit 4c41fc3f6e
4 changed files with 48 additions and 42 deletions

View File

@@ -484,11 +484,8 @@ class Command(BaseCommand):
def handle(self, *args, **options):
project_name = options['name']
project_path = options['path']
project_callback = options['callback']
if options['release']:
release_name = options['release']
else:
release_name = ''
project_callback = options['callback'] if options['callback'] else ''
release_name = options['release'] if options['release'] else ''
#
# Delete project