diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-09-21 17:49:56 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-09-26 10:25:42 +0100 |
commit | 374fd90865bb35f6a9e48266e132966571fc6861 (patch) | |
tree | d83f986cd03f1f256a10e36729a899aadbc95a51 /meta | |
parent | 8815eefb0d6218661794a58008e1144a77d3394f (diff) | |
download | poky-374fd90865bb35f6a9e48266e132966571fc6861.tar.gz |
lib: Import packagedata oe module by default
Variable dependencies for functions in the oe.packagedata module were
missing as it was not present in BBIMPORTS. Add it as the fact it was
missing is likely just historical oversight from base.bbclass history
and the dependencies are useful.
Add an exclusion to bitbake.conf to ensure BB_NUMBER_THREADS doesn't
change task checksums.
(From OE-Core rev: 7df9178766ee7939d139648e04f5747b0ffe1e13)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/conf/bitbake.conf | 1 | ||||
-rw-r--r-- | meta/lib/oe/__init__.py | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index 67577c8fe7..7be5cbc992 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf | |||
@@ -977,3 +977,4 @@ oe.utils.get_multilib_datastore[vardepsexclude] = "DEFAULTTUNE_MULTILIB_ORIGINAL | |||
977 | oe.path.format_display[vardepsexclude] = "TOPDIR" | 977 | oe.path.format_display[vardepsexclude] = "TOPDIR" |
978 | oe.utils.get_bb_number_threads[vardepsexclude] = "BB_NUMBER_THREADS" | 978 | oe.utils.get_bb_number_threads[vardepsexclude] = "BB_NUMBER_THREADS" |
979 | oe.packagedata.emit_pkgdata[vardepsexclude] = "BB_NUMBER_THREADS" | 979 | oe.packagedata.emit_pkgdata[vardepsexclude] = "BB_NUMBER_THREADS" |
980 | oe.packagedata.read_subpkgdata_extended[vardepsexclude] = "BB_NUMBER_THREADS" | ||
diff --git a/meta/lib/oe/__init__.py b/meta/lib/oe/__init__.py index 47be7b51d7..da7cbab308 100644 --- a/meta/lib/oe/__init__.py +++ b/meta/lib/oe/__init__.py | |||
@@ -7,6 +7,6 @@ | |||
7 | from pkgutil import extend_path | 7 | from pkgutil import extend_path |
8 | __path__ = extend_path(__path__, __name__) | 8 | __path__ = extend_path(__path__, __name__) |
9 | 9 | ||
10 | BBIMPORTS = ["data", "path", "utils", "types", "package", \ | 10 | BBIMPORTS = ["data", "path", "utils", "types", "package", "packagedata", \ |
11 | "packagegroup", "sstatesig", "lsb", "cachedpath", "license", \ | 11 | "packagegroup", "sstatesig", "lsb", "cachedpath", "license", \ |
12 | "qa", "reproducible", "rust", "buildcfg"] | 12 | "qa", "reproducible", "rust", "buildcfg"] |