diff options
author | grygorii tertychnyi <gtertych@cisco.com> | 2019-11-01 09:10:43 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-11-14 13:20:59 +0000 |
commit | 6961d96cba503ee9704a785ed28412f683425762 (patch) | |
tree | fbbfaeedf0336308d48fb68025cc9c5eea3aa5d7 /meta/recipes-extended/iputils | |
parent | 3aed62d68741101ff5ac0a1276cc789d224bdfdb (diff) | |
download | poky-6961d96cba503ee9704a785ed28412f683425762.tar.gz |
archiver: avoid empty incfile in ar_recipe
do_ar_recipe fails on perf recipe on line:
include ${@bb.utils.contains('PACKAGECONFIG', 'scripting', 'perf-perl.inc', '', d)}
1. "${...}" part expands into empty string
2. bb.utils.which() takes empty string and returns first directory name from bbpath
3. shutil.copy() fails on copying directory:
Exception: IsADirectoryError: [Errno 21] Is a directory: ......
Hence, check "incfile" variable on each step.
(From OE-Core rev: 3b393da7d2d15de12e2a8a9c11591078b40b188a)
Signed-off-by: grygorii tertychnyi <gtertych@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/iputils')
0 files changed, 0 insertions, 0 deletions