summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSenthil Kumaran S <senthil.kumaran@linaro.org>2015-03-30 08:23:29 (GMT)
committerSenthil Kumaran S <senthil.kumaran@linaro.org>2015-03-31 07:07:55 (GMT)
commit970a149ebf36a7fd43de92a8fcde4cce43fe7afc (patch)
tree41818f98a96dcfb297ce7d92cd3266ac7cdcde10
parentb48226d36542ea0415a543ffc3c2bf0ae0c73beb (diff)
downloadlava-dispatcher-970a149ebf36a7fd43de92a8fcde4cce43fe7afc.tar.gz
lava-dispatcher-970a149ebf36a7fd43de92a8fcde4cce43fe7afc.tar.xz
Fix typo in assignment of qemu bootloadertype.
Change-Id: I54d75da8298c3d6f97bdb128d689516cf3a6fb1f
-rw-r--r--lava_dispatcher/device/qemu.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/lava_dispatcher/device/qemu.py b/lava_dispatcher/device/qemu.py
index 50092b7..60b8b97 100644
--- a/lava_dispatcher/device/qemu.py
+++ b/lava_dispatcher/device/qemu.py
@@ -107,7 +107,7 @@ class QEMUTarget(Target):
self._dtb = dtb
if bootloadertype == 'uefi':
- self._bootloadertype == 'uefi'
+ self._bootloadertype = 'uefi'
self._download_needed_files()
if firmware is not None:
@@ -117,7 +117,7 @@ class QEMUTarget(Target):
def deploy_linaro(self, hwpack, rootfs, dtb, rootfstype, bootloadertype):
odir = self.scratch_dir
if bootloadertype == 'uefi':
- self._bootloadertype == 'uefi'
+ self._bootloadertype = 'uefi'
self._download_needed_files()
self._sd_image = generate_image(self, hwpack, rootfs, dtb,
odir, bootloadertype, rootfstype)
@@ -125,7 +125,7 @@ class QEMUTarget(Target):
def deploy_linaro_prebuilt(self, image, dtb, rootfstype, bootloadertype):
if bootloadertype == 'uefi':
- self._bootloadertype == 'uefi'
+ self._bootloadertype = 'uefi'
self._download_needed_files()
self._sd_image = download_image(image, self.context)
self.customize_image(self._sd_image)