openssh: dont use DNS lookup for Qemu
PATCH 1/1 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]
--- meta/recipes-connectivity/openssh/openssh_6.5p1.bb | 4 ++++ 1 file changed, 4 insertions(+)
meta/recipes-connectivity/openssh/openssh_6.5p1.bb +4 -0
@@ -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"
Signature · 1 line
1.8.3.1
Op 17 mrt. 2014, om 18:00 heeft Saul Wold <[email protected]> het volgende geschreven:
Quoted 2 lines
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.
This is better done in your image file as IMAGE_PREPROCESS_CMD since not everyone uses qemu the way you are using it.
Quoted 32 lines
[YOCTO #5954]
Signed-off-by Saul Wold <[email protected]>---
meta/recipes-connectivity/openssh/openssh_6.5p1.bb | 4 ++++1 file changed, 4 insertions(+)meta/recipes-connectivity/openssh/openssh_6.5p1.bb +4
-0@@ -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"
Signature · 7 lines
1.8.3.1 -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core