[gnome-continuous-yocto/gnomeostree-3.28-rocko: 8170/8267] masterimage.py: fix stop()
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-continuous-yocto/gnomeostree-3.28-rocko: 8170/8267] masterimage.py: fix stop()
- Date: Sun, 17 Dec 2017 07:16:33 +0000 (UTC)
commit ee7f665f0a3155f453e7c80ad2cebe5c49e81799
Author: Erik Botö <erik boto pelagicore com>
Date: Mon Nov 6 10:13:04 2017 -0800
masterimage.py: fix stop()
The stop() function is called in the context of the masterimage,
so self.master should be used instead of self.connection which is
undefined at that time.
[YOCTO #11524]
(From OE-Core rev: 1871d61b75f2fbc0df1368960b7746371fd875f5)
Signed-off-by: Erik Botö <erik boto pelagicore com>
Signed-off-by: Stephano Cetola <stephano cetola linux intel com>
Signed-off-by: Ross Burton <ross burton intel com>
Signed-off-by: Armin Kuster <akuster mvista com>
Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>
meta/lib/oeqa/controllers/masterimage.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/meta/lib/oeqa/controllers/masterimage.py b/meta/lib/oeqa/controllers/masterimage.py
index fe90967..e2ff3f1 100644
--- a/meta/lib/oeqa/controllers/masterimage.py
+++ b/meta/lib/oeqa/controllers/masterimage.py
@@ -156,7 +156,7 @@ class MasterImageHardwareTarget(oeqa.targetcontrol.BaseTarget, metaclass=ABCMeta
def stop(self):
bb.plain("%s - reboot/powercycle target" % self.pn)
- self.power_cycle(self.connection)
+ self.power_cycle(self.master)
class SystemdbootTarget(MasterImageHardwareTarget):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]