poky/scripts/lib/recipetool
Richard Purdie 99206cb7b4 package: Build pkgdata specific to the current recipe
This switches the code to build pkgdata specific to the current recipe
which means that its filtered to the recipes dependencies and can perform
better as we can drop the lockfile.

It uses a similar method to the staging code to do this, using BB_TASKDEPDATA
to construct a list of packagedata task output which this recipe should "see".

The original pkgdata store is left unaltered so existing code works.

The lock file was there to prevent files disappearing as they were read or as
directories were listed. Since we have a copy of the data and only access output
from completed tasks (as per their manifests), we can remove the lock.

The lock was causing starvation issues on systems with parallelism.

There was also a potential determinism problem as the current code could "see"
data from recipes which it doesn't depend upon.

[YOCTO #13412]

(From OE-Core rev: 1951132576bfb95675b4879287f8b3b7c47524fa)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-30 22:40:52 +01:00
..
__init__.py scripts/recipetool: Add a recipe auto-creation script 2014-12-23 10:18:15 +00:00
append.py meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
create_buildsys_python.py recipetool: add python3 support 2019-06-10 17:38:10 +01:00
create_buildsys.py meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
create_kernel.py meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
create_kmod.py meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
create_npm.py meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
create.py package: Build pkgdata specific to the current recipe 2019-06-30 22:40:52 +01:00
edit.py meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
newappend.py meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
setvar.py meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00