diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-06-03 23:21:56 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-07-06 13:02:30 +0100 |
commit | 175cf0be148455a7fcc9a6885b968e79a4987834 (patch) | |
tree | 574ccbf75a66f90e4cd0ef783a534c56bfb7391d /meta-poky/recipes-core/tiny-init | |
parent | 4f79cdf16eb3be8b485a46ce3bbdd553e6908696 (diff) | |
download | poky-175cf0be148455a7fcc9a6885b968e79a4987834.tar.gz |
selftest/fetch: Avoid occasional selftest failure from poor temp file name choice
The temp file name may contain "_" characters. Switch to a temporary directory
and a fixed filename to avoid this to avoid errors like:
bb.data_smart.ExpansionError: Failure expanding variable PN, expression was
${@bb.parse.vars_from_file(d.getVar('FILE', False),d)[0] or 'defaultpkgname'}
which triggered exception ParseError:
ParseError in /tmp/tmpd_f2__to.bb: Unable to generate default variables from
filename (too many underscores)
(From OE-Core rev: 8c2d92f855fe0d692228f7ebf7e7b116195ccf0c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 086e2ae7b2b7496b4f3ae01436b4049d7f2ff8c4)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-poky/recipes-core/tiny-init')
0 files changed, 0 insertions, 0 deletions