MentorEmbedded/meta-mentor — pull request #23 by drewmoseley (2013-08-22 21:51:45+00:00)
Title: openssh: Add dependency on libbsd.

There is a race condition when libbsd and openssh are included
in a configuration. The libbsd recipe will eventually stage
a libutil.h file to the sysroot. The openssh configure step
checks the existence of that file and if it exists will use it.
There are cases where the file will exist during the configure
step but have been cleaned up during the compile step, presumably
depending on libbsd being rebuilt. It can be arbitrarily made
to happen by the following steps:

$ bitbake -c cleansstate libbsd openssh
$ bitbake libbsd
$ bitbake -c configure openssh
$ bitbake -c clean libbsd
$ bitbake -c compile openssh

Adding an explicit dependency ensure this cannot happen.

Signed-off-by: Drew Moseley