diff options
author | Alexandru DAMIAN <alexandru.damian@intel.com> | 2015-01-27 17:59:25 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-01-30 15:14:58 +0000 |
commit | c58c94824b29665f52ae67ceae3f096930c89fe5 (patch) | |
tree | 56b36f521404879976306f086dab08794b89b9a8 /bitbake/lib/toaster/bldcontrol/management/commands/loadconf.py | |
parent | 635130d0d1234c503aa8b7ea10473f63afd36ad5 (diff) | |
download | poky-c58c94824b29665f52ae67ceae3f096930c89fe5.tar.gz |
bitbake: toaster: update texts for the startup sequence
This patch updates the prompts to the user to better explain
what Toaster is doing and the information it needs from the user.
Additionally, fixes a check in loadconf command.
[YOCTO #6785]
[YOCTO #7251]
(Bitbake rev: 90ef8975f35e2da824bc1c80e41ca26d9af0b208)
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/bldcontrol/management/commands/loadconf.py')
-rw-r--r-- | bitbake/lib/toaster/bldcontrol/management/commands/loadconf.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/bldcontrol/management/commands/loadconf.py b/bitbake/lib/toaster/bldcontrol/management/commands/loadconf.py index 2257a7143b..e2f61e4cb4 100644 --- a/bitbake/lib/toaster/bldcontrol/management/commands/loadconf.py +++ b/bitbake/lib/toaster/bldcontrol/management/commands/loadconf.py | |||
@@ -22,7 +22,7 @@ def _get_id_for_sourcetype(s): | |||
22 | for i in LayerSource.SOURCE_TYPE: | 22 | for i in LayerSource.SOURCE_TYPE: |
23 | if s == i[1]: | 23 | if s == i[1]: |
24 | return i[0] | 24 | return i[0] |
25 | raise Exception("Could not find definition for sourcetype " + s) | 25 | raise Exception("Could not find definition for sourcetype '%s'. Valid source types are %s" % (str(s), ', '.join(map(lambda x: "'%s'" % x[1], LayerSource.SOURCE_TYPE )))) |
26 | 26 | ||
27 | class Command(BaseCommand): | 27 | class Command(BaseCommand): |
28 | help = "Loads a toasterconf.json file in the database" | 28 | help = "Loads a toasterconf.json file in the database" |