diff options
Diffstat (limited to 'bitbake/lib/toaster/bldcontrol/localhostbecontroller.py')
| -rw-r--r-- | bitbake/lib/toaster/bldcontrol/localhostbecontroller.py | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py b/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py index 39ea736b58..75674ccbf1 100644 --- a/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py +++ b/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py | |||
| @@ -7,27 +7,24 @@ | |||
| 7 | # | 7 | # |
| 8 | 8 | ||
| 9 | import os | 9 | import os |
| 10 | import sys | ||
| 11 | import re | 10 | import re |
| 12 | import shutil | 11 | import shutil |
| 13 | import time | 12 | import time |
| 14 | from django.db import transaction | 13 | from bldcontrol.models import BuildEnvironment, BuildRequest, Build |
| 15 | from django.db.models import Q | 14 | from orm.models import CustomImageRecipe, Layer, Layer_Version, Project, ToasterSetting |
| 16 | from bldcontrol.models import BuildEnvironment, BuildRequest, BRLayer, BRVariable, BRTarget, BRBitbake, Build | ||
| 17 | from orm.models import CustomImageRecipe, Layer, Layer_Version, Project, ProjectLayer, ToasterSetting | ||
| 18 | from orm.models import signal_runbuilds | 15 | from orm.models import signal_runbuilds |
| 19 | import subprocess | 16 | import subprocess |
| 20 | 17 | ||
| 21 | from toastermain import settings | 18 | from toastermain import settings |
| 22 | 19 | ||
| 23 | from bldcontrol.bbcontroller import BuildEnvironmentController, ShellCmdException, BuildSetupException, BitbakeController | 20 | from bldcontrol.bbcontroller import BuildEnvironmentController, ShellCmdException, BuildSetupException |
| 24 | 21 | ||
| 25 | import logging | 22 | import logging |
| 26 | logger = logging.getLogger("toaster") | 23 | logger = logging.getLogger("toaster") |
| 27 | 24 | ||
| 28 | install_dir = os.environ.get('TOASTER_DIR') | 25 | install_dir = os.environ.get('TOASTER_DIR') |
| 29 | 26 | ||
| 30 | from pprint import pprint, pformat | 27 | from pprint import pformat |
| 31 | 28 | ||
| 32 | class LocalhostBEController(BuildEnvironmentController): | 29 | class LocalhostBEController(BuildEnvironmentController): |
| 33 | """ Implementation of the BuildEnvironmentController for the localhost; | 30 | """ Implementation of the BuildEnvironmentController for the localhost; |
