]> code.ossystems Code Review - openembedded-core.git/commit
python3: Use addtask statement instead of task dependencies
authorTomasz Dziendzielski <tomasz.dziendzielski@gmail.com>
Mon, 25 Jan 2021 23:56:26 +0000 (00:56 +0100)
committerAnuj Mittal <anuj.mittal@intel.com>
Mon, 1 Feb 2021 05:43:10 +0000 (13:43 +0800)
commit782f7f4f73d7b1e1bd649db1984a63d94d2410fe
tree4de2f72e86f56f83549f40d91309b71cb4435cb4
parent1dadeb58e88c4d953be612654fe4a76b51ff0553
python3: Use addtask statement instead of task dependencies

The externalsrc class deletes do_patch task which results with:
| ERROR: Task do_create_manifest in <PATH>/python3_3.8.2.bb depends upon
| non-existent task do_patch in <PATH>/python3_3.8.2.bb

Use addtask to define correct order to prevent this error, since addtask
mechanism accepts deleted tasks.

[YOCTO #14151]

(From OE-Core rev: a746d034fa7eaad4f4876fa61c5a8c3c15e211c8)

Signed-off-by: Tomasz Dziendzielski <tomasz.dziendzielski@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8ed8b81af60c7d9c7a1c614ad137408637bc43ed)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
meta/recipes-devtools/python/python3_3.8.5.bb