[oe-commits] Saul Wold : openssh: dont use DNS lookup for Qemu

git at git.openembedded.org git at git.openembedded.org
Tue Mar 18 10:23:31 UTC 2014


Module: openembedded-core.git
Branch: master-next
Commit: 5defc919c7989fe4da015331a8ec9734fd59d228
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=5defc919c7989fe4da015331a8ec9734fd59d228

Author: Saul Wold <sgw at linux.intel.com>
Date:   Mon Mar 17 16:58:01 2014 +0000

openssh: dont use DNS lookup for Qemu

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>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 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..07f1521 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"



More information about the Openembedded-commits mailing list