summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/bldcontrol/bbcontroller.py
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2016-03-02 21:26:55 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-03-07 17:23:03 +0000
commit3db71b408719d8588191edfc3b82554f72283e59 (patch)
tree32e7d541bfd2888e85ec7d15eef9807740223712 /bitbake/lib/toaster/bldcontrol/bbcontroller.py
parent790b2d1387a150b85612ad38a53bab788154e4bb (diff)
downloadpoky-3db71b408719d8588191edfc3b82554f72283e59.tar.gz
bitbake: toaster: don't use sshbecontroller
Removed usage of sshbecontroller from bbcontroller, models, tests and database schema. (Bitbake rev: 3ee06eb7e96de5dba539ad52201867e77d06a53e) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: brian avery <avery.brian@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/bldcontrol/bbcontroller.py')
-rw-r--r--bitbake/lib/toaster/bldcontrol/bbcontroller.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/bitbake/lib/toaster/bldcontrol/bbcontroller.py b/bitbake/lib/toaster/bldcontrol/bbcontroller.py
index f228d37459..f40103cb45 100644
--- a/bitbake/lib/toaster/bldcontrol/bbcontroller.py
+++ b/bitbake/lib/toaster/bldcontrol/bbcontroller.py
@@ -76,13 +76,10 @@ def getBuildEnvironmentController(**kwargs):
76 """ 76 """
77 77
78 from localhostbecontroller import LocalhostBEController 78 from localhostbecontroller import LocalhostBEController
79 from sshbecontroller import SSHBEController
80 79
81 be = BuildEnvironment.objects.filter(Q(**kwargs))[0] 80 be = BuildEnvironment.objects.filter(Q(**kwargs))[0]
82 if be.betype == BuildEnvironment.TYPE_LOCAL: 81 if be.betype == BuildEnvironment.TYPE_LOCAL:
83 return LocalhostBEController(be) 82 return LocalhostBEController(be)
84 elif be.betype == BuildEnvironment.TYPE_SSH:
85 return SSHBEController(be)
86 else: 83 else:
87 raise Exception("FIXME: Implement BEC for type %s" % str(be.betype)) 84 raise Exception("FIXME: Implement BEC for type %s" % str(be.betype))
88 85
@@ -105,9 +102,6 @@ class BuildEnvironmentController(object):
105 on the local machine, with the "build/" directory under the "poky/" source checkout directory. 102 on the local machine, with the "build/" directory under the "poky/" source checkout directory.
106 Bash is expected to be available. 103 Bash is expected to be available.
107 104
108 * SSH controller will run the Toaster BE on a remote machine, where the current user
109 can connect without raise Exception("FIXME: implement")word (set up with either ssh-agent or raise Exception("FIXME: implement")phrase-less key authentication)
110
111 """ 105 """
112 def __init__(self, be): 106 def __init__(self, be):
113 """ Takes a BuildEnvironment object as parameter that points to the settings of the BE. 107 """ Takes a BuildEnvironment object as parameter that points to the settings of the BE.