summaryrefslogtreecommitdiffstats
path: root/yocto-poky
diff options
context:
space:
mode:
authorChris Austen <austenc@us.ibm.com>2015-11-06 13:40:32 -0600
committerChris Austen <austenc@us.ibm.com>2015-11-06 13:40:32 -0600
commit0a1d4344e19ab70bebcd7d696e417d903c20a5e8 (patch)
tree584a8e9a2046a416311ce3ccfd7ad64dfe14e4e1 /yocto-poky
parentd19d16b4d1e2f27841e71c08b548a683a1946df4 (diff)
downloadtalos-openbmc-0a1d4344e19ab70bebcd7d696e417d903c20a5e8.tar.gz
talos-openbmc-0a1d4344e19ab70bebcd7d696e417d903c20a5e8.zip
Enable robottest for ssh
Dropbear last year added a change that breaks the SSHLibrary for robot test framework. Details about the problem... https://github.com/robotframework/SSHLibrary/issues/128 The actual commit that caused the problem https://github.com/mkj/dropbear/commit/ca86726f9f943b2b18e5694b442d3d2e1c0fa903
Diffstat (limited to 'yocto-poky')
-rw-r--r--yocto-poky/meta/recipes-core/dropbear/dropbear.inc1
-rw-r--r--yocto-poky/meta/recipes-core/dropbear/dropbear/0010-stop-robot-test-SSHLibrary-from-hanging.patch28
2 files changed, 29 insertions, 0 deletions
diff --git a/yocto-poky/meta/recipes-core/dropbear/dropbear.inc b/yocto-poky/meta/recipes-core/dropbear/dropbear.inc
index a2c736e17..9d650209d 100644
--- a/yocto-poky/meta/recipes-core/dropbear/dropbear.inc
+++ b/yocto-poky/meta/recipes-core/dropbear/dropbear.inc
@@ -17,6 +17,7 @@ SRC_URI = "http://matt.ucc.asn.au/dropbear/releases/dropbear-${PV}.tar.bz2 \
file://0003-configure.patch \
file://0004-fix-2kb-keys.patch \
file://0007-dropbear-fix-for-x32-abi.patch \
+ file://0010-stop-robot-test-SSHLibrary-from-hanging.patch \
file://init \
file://dropbearkey.service \
file://dropbear@.service \
diff --git a/yocto-poky/meta/recipes-core/dropbear/dropbear/0010-stop-robot-test-SSHLibrary-from-hanging.patch b/yocto-poky/meta/recipes-core/dropbear/dropbear/0010-stop-robot-test-SSHLibrary-from-hanging.patch
new file mode 100644
index 000000000..851c89ff6
--- /dev/null
+++ b/yocto-poky/meta/recipes-core/dropbear/dropbear/0010-stop-robot-test-SSHLibrary-from-hanging.patch
@@ -0,0 +1,28 @@
+From aa4ff477eed539085609dc9a8a011ff2f010bd1c Mon Sep 17 00:00:00 2001
+From: Chris Austen <austenc@us.ibm.com>
+Date: Fri, 6 Nov 2015 13:15:54 -0600
+Subject: [PATCH] stop robot test SSHLibrary from hanging
+
+This reverts a change made in this commit
+
+https://github.com/mkj/dropbear/commit/ca86726f9f943b2b18e5694b442d3d2e1c0fa903
+---
+ common-channel.c | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/common-channel.c b/common-channel.c
+index abe5941..5a02d73 100644
+--- a/common-channel.c
++++ b/common-channel.c
+@@ -258,6 +258,8 @@ void channelio(fd_set *readfds, fd_set *writefds) {
+ do_check_close = 1;
+ ses.channel_signal_pending = 0;
+ }
++
++do_check_close = 1;
+
+ /* handle any channel closing etc */
+ if (do_check_close) {
+--
+1.9.1
+
OpenPOWER on IntegriCloud