]> code.ossystems Code Review - openembedded-core.git/commit
lttng-modules: do not search in non-existing folder during install
authorAndrey Zhizhikin <andrey.z@gmail.com>
Wed, 8 Dec 2021 20:21:18 +0000 (14:21 -0600)
committerSteve Sakoman <steve@sakoman.com>
Sat, 11 Dec 2021 15:21:06 +0000 (05:21 -1000)
commitdb8a8b53f440f37731c7c5db9561ac46ef59d891
tree47e59a54d006ab9d976453d431165632e32864f5
parent3c8e50b073a1505cc3586ca51dfe1e75338feafc
lttng-modules: do not search in non-existing folder during install

When CONFIG_TRACEPOINTS is not enabled in kernel config - module
compilation is skipped, which causes the ${D}/${nonarch_base_libdir} not
to be created.

This fails later in do_install:append() due to the fact that find
command in executed for non-existing folder.

Check for folder existence before find command in executed.

Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit de0aa1700ed4e6f04b0a233eb1f6d2ac598e7ed8)
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-kernel/lttng/lttng-modules_2.11.6.bb