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

Koen Kooi koen at dominion.thruhere.net
Tue Mar 18 07:14:04 UTC 2014


Op 17 mrt. 2014, om 18:00 heeft Saul Wold <sgw at linux.intel.com> het volgende geschreven:

> 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.

> 
> [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
> 
> -- 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
> 




More information about the Openembedded-core mailing list