summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python
diff options
context:
space:
mode:
authorTomasz Dziendzielski <tomasz.dziendzielski@gmail.com>2021-01-26 00:56:26 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-02-10 23:55:53 +0000
commit4633b1696d21e43f763c934b63eb757160c4b185 (patch)
tree21066b1849efc9f34715a9624c7fb7b010e5977f /meta/recipes-devtools/python
parent555c367bb1c8c483ba9f683eb57b956f49f38410 (diff)
downloadpoky-4633b1696d21e43f763c934b63eb757160c4b185.tar.gz
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: 35ca0a401e62a8a8b88c3089929eda401a90f762) Signed-off-by: Tomasz Dziendzielski <tomasz.dziendzielski@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit a746d034fa7eaad4f4876fa61c5a8c3c15e211c8) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python')
-rw-r--r--meta/recipes-devtools/python/python3_3.8.2.bb5
1 files changed, 1 insertions, 4 deletions
diff --git a/meta/recipes-devtools/python/python3_3.8.2.bb b/meta/recipes-devtools/python/python3_3.8.2.bb
index a86542e547..a448b3ed97 100644
--- a/meta/recipes-devtools/python/python3_3.8.2.bb
+++ b/meta/recipes-devtools/python/python3_3.8.2.bb
@@ -312,11 +312,8 @@ do_create_manifest() {
312} 312}
313 313
314# bitbake python -c create_manifest 314# bitbake python -c create_manifest
315addtask do_create_manifest
316
317# Make sure we have native python ready when we create a new manifest 315# Make sure we have native python ready when we create a new manifest
318do_create_manifest[depends] += "${PN}:do_prepare_recipe_sysroot" 316addtask do_create_manifest after do_patch do_prepare_recipe_sysroot
319do_create_manifest[depends] += "${PN}:do_patch"
320 317
321# manual dependency additions 318# manual dependency additions
322RRECOMMENDS_${PN}-core_append_class-nativesdk = " nativesdk-python3-modules" 319RRECOMMENDS_${PN}-core_append_class-nativesdk = " nativesdk-python3-modules"