]> code.ossystems Code Review - openembedded-core.git/commit
image.bbclass: add function to disable SSH DNS Lookup for Qemu
authorSaul Wold <sgw@linux.intel.com>
Mon, 31 Mar 2014 17:37:38 +0000 (10:37 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 1 Apr 2014 09:52:09 +0000 (10:52 +0100)
commitc93eeecb15c4acac9226a3394c93d7e99a809d6b
treeafecbdc13a4a9c641be1d838601c02b4c3677701
parent90dc31c24adfa8e916a9c475ae1afc58ad179dfb
image.bbclass: add function to disable SSH DNS Lookup for Qemu

This function disables the reverse DNS lookup on QEMU targets to reduce the
delay when using static IP address. By disabling DNS lookup we can save a great
deal of time during automated testing on the autobuilder (on the order of ~400
seconds per ssh tranaction). This is seen when using the testimage, there is a
delay getting logged-in from the server to target.

It's enabled for all qemu imgaes by default and can be overridden by setting
the SSH_DISABLE_DNS_LOOKUP variable.

[YOCTO #5954]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/image.bbclass