From c58c94824b29665f52ae67ceae3f096930c89fe5 Mon Sep 17 00:00:00 2001 From: Alexandru DAMIAN Date: Tue, 27 Jan 2015 17:59:25 +0000 Subject: 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 Signed-off-by: Richard Purdie --- bitbake/lib/toaster/bldcontrol/management/commands/loadconf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bitbake/lib/toaster/bldcontrol/management/commands/loadconf.py') 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): for i in LayerSource.SOURCE_TYPE: if s == i[1]: return i[0] - raise Exception("Could not find definition for sourcetype " + s) + 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 )))) class Command(BaseCommand): help = "Loads a toasterconf.json file in the database" -- cgit v1.2.3-54-g00ecf