diff options
author | Zheng Junling <zhengjunling@huawei.com> | 2014-12-03 12:38:30 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-12-31 10:17:40 +0000 |
commit | af1096b7e1e9c15d83fb44739d449fcbaf70c220 (patch) | |
tree | 82be4d21e337256f1f459b986b01b8c160fd1b1c /meta/recipes-connectivity/resolvconf | |
parent | 54bff44ffbec47de6c8f6b60ac9d683831413a41 (diff) | |
download | openembedded-core-af1096b7e1e9c15d83fb44739d449fcbaf70c220.tar.gz openembedded-core-af1096b7e1e9c15d83fb44739d449fcbaf70c220.tar.bz2 openembedded-core-af1096b7e1e9c15d83fb44739d449fcbaf70c220.zip |
openssh: fix using the original config files in srcdir
Currently, we install our own ssh_config and sshd_config into ${S} in
do_compile_append() task. So when finishing compiling, their .out files
are generated by the original files, rather than by our own files.
In most cases, installing "$(CONFIGFILES)" in Makefile will generate .out
files again, and then installing "install-sysconf", which will install
these two files into $(DESTDIR), thus we get what we expect.
However, when parallel installing, "install-sysconf" may be installed
before "$(CONFIGFILES)" sometimes. In this rare case, the .out files
generated in the first time rather than those in the second time will be
installed into $(DESTDIR), and thus we get an unexpect result.
This patch fixes this bug through transfering the installing of our own
files from do_compile_append() into do_configure_prepend().
(From OE-Core rev: 6a60a4ba8d8e529882daa33140c9a2fc08714fb2)
Signed-off-by: Zheng Junling <zhengjunling@huawei.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta/recipes-connectivity/resolvconf')
0 files changed, 0 insertions, 0 deletions