[OE-core] [PATCH] openssh: dont use DNS lookup for Qemu

Saul Wold sgw at linux.intel.com
Mon Mar 17 17:00:49 UTC 2014


Since we are always using ip address to connect to the sshd server, it does not need
to use reverse DNS to look up the ip address.  This will save some time during testing.

[YOCTO #5954]

Signed-off-by: Saul Wold <sgw at linux.intel.com>
---
 meta/recipes-connectivity/openssh/openssh_6.5p1.bb | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta/recipes-connectivity/openssh/openssh_6.5p1.bb b/meta/recipes-connectivity/openssh/openssh_6.5p1.bb
index 6c413af..9ad25fa 100644
--- a/meta/recipes-connectivity/openssh/openssh_6.5p1.bb
+++ b/meta/recipes-connectivity/openssh/openssh_6.5p1.bb
@@ -109,6 +109,10 @@ do_install_append () {
 		${D}${systemd_unitdir}/system/sshd.socket ${D}${systemd_unitdir}/system/*.service
 }
 
+do_install_append_qemuall() {
+	sed -i -e 's:#UseDNS yes:UseDNS no:' ${WORKDIR}/sshd_config ${D}${sysconfdir}/ssh/sshd_config
+}
+
 ALLOW_EMPTY_${PN} = "1"
 
 PACKAGES =+ "${PN}-keygen ${PN}-scp ${PN}-ssh ${PN}-sshd ${PN}-sftp ${PN}-misc ${PN}-sftp-server"
-- 
1.8.3.1




More information about the Openembedded-core mailing list