summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2020-12-03releases: conf: add link to 3.1.4, update to include 3.1.4Michael Halstead
(From yocto-docs rev: 20b7be912040ae02fb2df652fb79b09dd5f281e8) Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30python3-numpy: Add ptestKhem Raj
Since 1.15, numpy have replaced nose with pytest testing framework it additionally needs hypothesis and sortedcontainers modules (From OE-Core rev: 13ff38ffd216fcd7044d7a0f46c8907d64ce3f6e) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30python3-numpy: Upgrade to 1.19.4Khem Raj
Unify inc file into single recipe, py2 is gone (From OE-Core rev: 968994491db660515f7bd8f1a0dc64c8e22c5dfa) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30python3-hypothesis: upgrade 5.41.3 -> 5.41.4Tim Orling
Upstream release notes: """ 5.41.4 - 2020-11-28 This patch fixes issue #2657, where passing unicode patterns compiled with re.IGNORECASE to from_regex() could trigger an internal error when casefolding a character creates a longer string (e.g. "\u0130".lower() -> "i\u0370"). """ (From OE-Core rev: 20985457e3c063be4479eb927afae5d1a2018777) Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30maintainers.inc: add self for new python recipesTim Orling
* Add self as maintainer for: - python3-hypothesis - python3-sortedcontainers (From OE-Core rev: 926ff93278b84dc3e6874830b2d1306dd250811d) Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30python3-sortedcontainers: move from meta-pythonTim Orling
Sorted Containers is an Apache2 licensed sorted collections library, written in pure-Python, and fast as C-extensions. * Part of the dependency chain for python3-numpy ptest (From OE-Core rev: 14c436769012c3f44401178a2c59cbd0a5eb86ce) Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30python3-hypothesis: move from meta-pythonTim Orling
A library for property-based testing * Part of the dependency chain for python3-numpy ptest (From OE-Core rev: 476a7534498f1e12efc7cc00cf215f6af898527d) Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30python3-pytest: RDEPENDS on python3-tomlTim Orling
The generated requires.txt in pytest-*-py3.9.egg-info shows the requirement. Caught during ptest of python3-wcwidth: Signed-off-byROR collecting tests/test_core.py ______________________ tests/test_core.py:4: in <module> import pkg_resources ../../python3.9/site-packages/pkg_resources/__init__.py:3239: in <module> def _initialize_master_working_set(): ../../python3.9/site-packages/pkg_resources/__init__.py:3222: in _call_aside f(*args, **kwargs) ../../python3.9/site-packages/pkg_resources/__init__.py:3251: in _initialize_master_working_set working_set = WorkingSet._build_master() ../../python3.9/site-packages/pkg_resources/__init__.py:567: in _build_master ws.require(__requires__) ../../python3.9/site-packages/pkg_resources/__init__.py:884: in require needed = self.resolve(parse_requirements(requirements)) ../../python3.9/site-packages/pkg_resources/__init__.py:770: in resolve raise DistributionNotFound(req, requirers) E pkg_resources.DistributionNotFound: The 'toml' distribution was not found and is required by pytest (From OE-Core rev: 8e2ec368e4c8fe7594bc178fffe42fbb8ac632e7) Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30python3-importlib-metadata: upgrade 2.0.0 to 3.1.0Tim Orling
Upstream release notes: " v3.1.0 Merge with 2.1.0. v2.1.0 #253: When querying for package metadata, the lookup now honors package normalization rules. v3.0.0 Require Python 3.6 or later. " (From OE-Core rev: e6be2a1dbf1743edb1bfa97a91d87e5f7ab2d555) Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30python3-more-itertools: upgrade 8.5.0 -> 8.6.0Tim Orling
Upstream release notes: " * New itertools - all_unique (thanks to brianmaissy) - nth_product and nth_permutation (thanks to N8Brooks) * Changes to existing itertools - chunked and sliced now accept a strict parameter (thanks to shlomif and jtwool) * Other changes - Python 3.5 has reached its end of life and is no longer supported. - Python 3.9 is officially supported. - Various documentation fixes (thanks to timgates42) (From OE-Core rev: 16c211427056a4bfc3545202ea485247a72c832a) Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30maintainers.inc: add self for new pytest packagesTim Orling
(From OE-Core rev: 4cda7821f7a588a9106d63f3efcd1c06dcfa4f5d) Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30python3-pytest: move from meta-pythonTim Orling
Simple powerful testing with python (From OE-Core rev: 3299ddeab5eb32a21efaee63c2b7f490089b8476) Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30python3-pluggy: move from meta-pythonTim Orling
Plugin and hook calling mechanisms for python * Part of the dependency chain for pytest (From OE-Core rev: 7b1f4345009973d3fcb8fc1e8fc212ce92de8015) Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30python3-importlib-metadata: move from meta-pythonTim Orling
Read metadata from Python packages * Part of the dependency chain for pytest (From OE-Core rev: a054b48fc7827256cbe64492c3cc83692f80346d) Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30python3-zipp: move from meta-pythonTim Orling
Backport of pathlib-compatible object wrapper for zip files * Part of the dependency chain for pytest (From OE-Core rev: 8167b5bfa65dc2be422a892334d44e6edf861450) Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30python3-wcwidth: move from meta-pythonTim Orling
Library for bulding powerful interactive command lines in Python * Part of the dependency chain for pytest (From OE-Core rev: e7b8f091733cb163a0fffed265c6d88b5f0cfae2) Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30python3-packaging: move from meta-pythonTim Orling
Core utilities for Python packages * Part of the dependency chain for pytest (From OE-Core rev: c1aa2915bb16d7db4ade38b0cf107917aab09644) Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30python3-setuptools-scm: move from meta-pythonTim Orling
The blessed package to manage your versions by scm tags * Part of the dependency chain for pytest (From OE-Core rev: 875c12f55ea34dbda6b11756d226ac09dfb282df) Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30python3-py: move from meta-pythonTim Orling
Library with cross-pythonpath, ini-parsing, io, code, log facilities * Part of the dependency chain for pytest (From OE-Core rev: 7990c78d14ad1862e4c9147f657c10e492cdf8b1) Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30python3-toml: move from meta-pythonTim Orling
Python Library for Tom's Obvious, Minimimal Language * Part of the dependency chain for pytest (From OE-Core rev: 3ec8796a318f535d21aca1d36b7f813452648418) Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30python3-pathlib2: move from meta-pythonTim Orling
Object-oriented filesystem paths * Part of the dependency chain for pytest (From OE-Core rev: 9544e2f79ec5d4b4250689cc970ecfdc86520212) Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30python3-more-itertools: move from meta-pythonTim Orling
More routines for operating on iterables, beyond itertools * Part of the dependency chain for pytest (From OE-Core rev: 8d125296b5c57d0076f9f3e6c3d50b5a6ab95de0) Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30python3-iniconfig: move from meta-pythonTim Orling
A small and simple INI-file parser module * Part of the dependency chain for pytest (From OE-Core rev: 67c3f0f78e793aff31789d2e1861a88a1090820d) Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30python3-attrs: move from meta-pythonTim Orling
Classes Without Boilerplate * Part of the dependency chain for pytest (From OE-Core rev: e96e24ed35a087b5a44172161a93717627d79f49) Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30python3-atomicwrites: move from meta-pythonTim Orling
Powerful Python library for atomic file writes * Part of the dependency chain for python3-pytest (From OE-Core rev: 5b0b24882d061d2d1ada5c53c1837fc502974447) Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-29wireless-regdb: upgrade 2020.04.29 -> 2020.11.20zangrc
(From OE-Core rev: c5461c6b0e21877c58a75834f62324a4798c2000) Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-29pulseaudio: upgrade 13.0 -> 14.0zangrc
0001-remap-arm-Adjust-inline-asm-constraints.patch 0001-remap_neon-use-register-r12-instead-of-r7.patch Removed since these are included in 14.0. (From OE-Core rev: 5ae2156d971ddd18f13a4377b4f9cc99bd4173fe) Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-29libxkbcommon: upgrade 1.0.1 -> 1.0.3zangrc
(From OE-Core rev: 9117c0d6b4995ee22feb3162dd1f3a3ea7839fe6) Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-29libjpeg-turbo: upgrade 2.0.5 -> 2.0.6zangrc
-License-Update: Copyright year updated to 2020. Refresh the following patch: 0001-libjpeg-turbo-fix-package_qa-error.patch (From OE-Core rev: 490fe53f625417494dd63a4fe4dcaa98a3c54eb9) Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-29libcap-ng: upgrade 0.8 -> 0.8.1zangrc
(From OE-Core rev: 54c662d28a3b05c6f0172bdc4d4dfb13e9755101) Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-29hdparm: upgrade 9.58 -> 9.60zangrc
(From OE-Core rev: a02f3acdaba1e287b4c54f603470f758221c372f) Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-29gtk-doc: upgrade 1.33.0 -> 1.33.1zangrc
(From OE-Core rev: 790de5b5d7eb9dcfa55ed5c4d3c1c792fddf1480) Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-29grub: Add support for RISC-VNorbert Kaminski
This patch adds RISC-V to the COMPATIBLE_HOST. Since GRUB 2.04, the source code supports the RISC-V, thanks to Alexander Graf. Adding the GRUBPLATFORM for RISC-V prevents autoconf problems. Also, the patch appends the __anonymous method with RISC-V architecture. (From OE-Core rev: 42ea75d441ae38cdffed3b1cd671af886c19fbb6) Signed-off-by: Norbert Kaminski <norbert.kaminski@3mdeb.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-29classes/buildhistory: record LICENSESaul Wold
Buildhistory stores various bits of information at both recipe and package level, while there is an associated license manifest directory tree it would require additional scripting to extract that information. (From OE-Core rev: 909bafef282f00dd4a83fab0569885e9788a4ed9) Signed-off-by: Saul Wold <saul.wold@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-29libsdl2: Add directfb to PACKAGECONFIG rdependsMark Jonas
PACKAGECONFIG[directfb] already adds directfb to the build dependencies. But the automatically generated runtime dependencies do not add the directfb package to the runtime dependencies. Most likely this happens because libsdl2 does not link against directfb but uses dlopen() or similar. Thus, the runtime dependency to directfb needs to be declared explicitly. (From OE-Core rev: 62d3cbe7c8261c1c875ff6da11572409262aaf02) Signed-off-by: Mark Jonas <toertel@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-29cve-update-db-native: handle all-wildcard versionsRoss Burton
If a CPE version field is just *:*:*:* it should be handled the same as -:*:*:*, that is 'all versions'. To ease handling, transform this case to use -. (From OE-Core rev: 04a9bc4ca5294fe6834513669c7746a824d12b04) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-24uninative: Don't use single sstate for pseudo-nativeRichard Purdie
pseudo-native is a bit special. It conditionally compiles in support for xattr, statx and statvfs amongst other options. If a pseudo-native binary is used on a system where these functions are present but it wasn't compiled in we see hard to debug permissions problems. An example is the devtool.DevtoolExtractTests.test_devtool_deploy_target oe-selftest which shows a cryptic error: File "/home/pokybuild/yocto-worker/oe-selftest-fedora/build/meta/lib/oeqa/selftest/cases/devtool.py", line 1388, in test_devtool_deploy_target self.assertEqual(filelist1, filelist2) File "/usr/lib64/python3.9/unittest/case.py", line 831, in assertEqual assertion_func(first, second, msg=msg) File "/usr/lib64/python3.9/unittest/case.py", line 1037, in assertListEqual self.assertSequenceEqual(list1, list2, msg, seq_type=list) File "/usr/lib64/python3.9/unittest/case.py", line 1019, in assertSequenceEqual self.fail(msg) File "/usr/lib64/python3.9/unittest/case.py", line 670, in fail raise self.failureException(msg) AssertionError: Lists differ: ['-rwxr-xr-x 6000 6000 /etc/init.d/mdmonitor', '-rw-r-[10124 chars]n.8'] != ['-rwxr-xr-x root root /etc/init.d/mdmonitor', '-rw-r-[10124 chars]n.8'] First differing element 0: '-rwxr-xr-x 6000 6000 /etc/init.d/mdmonitor' '-rwxr-xr-x root root /etc/init.d/mdmonitor' This is due to a version of pseudo without statx being used on a system where ls uses statx, hence the files are displayed as 6000.6000 instead of root.root. Avoid this by always building pseudo-native for the specific distro in question rather than using a universal sstate feed. This hopefully fixes one of the mysterious AB-INT issues. (From OE-Core rev: 6e3785a3f1f3cf68f5fe101cd6bebe91db165973) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-24package management: Allow dynamic loading of PMFredrik Gustafsson
Dynamic loading of package managers will allow other layers to simply add their package manager code in package_manager/ and have bitbake find it according to the package manager configuration. This is useful for adding new (faster) package managers to Open Embedded while not increasing the test scope or require Open Embedded to support more package managers. How this is tested: * Build core-image-minimal with all three package managers * Build the sdk with all three package managers. dpkg fails, but it fails on master as well. * Run the complete test suite, all tests passed except 16 * Run those 16 tests on master and verify that they fail there as well * Fix errors making tests works on master but not with this patch. (From OE-Core rev: 02670501dea192879ddf9f8048eea57a94719fc1) Signed-off-by: Fredrik Gustafsson <fredrigu@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-24sudo: fix multilib conflictKai Kang
It fails to install sudo and lib32-sudo at same time: | Error: Transaction test error: | file /usr/libexec/sudo/audit_json.so conflicts between attempted installs of lib32-sudo-1.9.3p1-r0.core2_32 and sudo-1.9.3p1-r0.core2_64 | file /usr/libexec/sudo/group_file.so conflicts between attempted installs of lib32-sudo-1.9.3p1-r0.core2_32 and sudo-1.9.3p1-r0.core2_64 Pass ${libdir} to configure option --libexecdir of sudo that it installs plugin libraries to /usr/lib{,64} rather than /usr/libexec/. Then add a patch to fix multilib conflict of sudo.conf. [RP: Add missing Upstream-Status] (From OE-Core rev: c9b6974cfcac370c6848d28400e0546ac85512e9) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-24bitbake: Revert "bb.ui: delete __init__.py to make bb.ui a namespace package"Hongxu Jia
The commit [991f92b4d bb.ui: delete __init__.py to make bb.ui a namespace package] caused `bitbake -h' failed ... $ bitbake -h Traceback (most recent call last): File "/buildarea/raid5/hjia/community/poky/bitbake/bin/bitbake", line 35, in <module> sys.exit(bitbake_main(BitBakeConfigParameters(sys.argv), File "/buildarea/raid5/hjia/community/poky/bitbake/lib/bb/cookerdata.py", line 27, in __init__ self.options, targets = self.parseCommandLine(argv or sys.argv) File "/buildarea/raid5/hjia/community/poky/bitbake/lib/bb/main.py", line 297, in parseCommandLine options, targets = parser.parse_args(argv) File "/usr/lib64/python3.6/optparse.py", line 1387, in parse_args stop = self._process_args(largs, rargs, values) File "/usr/lib64/python3.6/optparse.py", line 1431, in _process_args self._process_short_opts(rargs, values) File "/usr/lib64/python3.6/optparse.py", line 1536, in _process_short_opts option.process(opt, value, values, self) File "/usr/lib64/python3.6/optparse.py", line 785, in process self.action, self.dest, opt, value, values, parser) File "/usr/lib64/python3.6/optparse.py", line 807, in take_action parser.print_help() File "/usr/lib64/python3.6/optparse.py", line 1647, in print_help file.write(self.format_help()) File "/usr/lib64/python3.6/optparse.py", line 1635, in format_help result.append(self.format_option_help(formatter)) File "/usr/lib64/python3.6/optparse.py", line 1615, in format_option_help result.append(OptionContainer.format_option_help(self, formatter)) File "/usr/lib64/python3.6/optparse.py", line 1061, in format_option_help result.append(formatter.format_option(option)) File "/buildarea/raid5/hjia/community/poky/bitbake/lib/bb/main.py", line 54, in format_option valid_uis = list_extension_modules(bb.ui, 'main') File "/buildarea/raid5/hjia/community/poky/bitbake/lib/bb/main.py", line 72, in list_extension_modules pkgdir = os.path.dirname(pkg.__file__) AttributeError: module 'bb.ui' has no attribute '__file__' ... This reverts commit 991f92b4d15b0571b6a540964e5216d1b9728539 (Bitbake rev: 22b8c53205f8915b33d1e0ad6a666dcacc01491d) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-24bitbake: docs: Makefile: enable parallel buildNicolas Dechesne
>From sphinx-build man page: -j N build in parallel with N processes where possible (special value "auto" will set N to cpu-count) (Bitbake rev: e0d08058d849cb28cd70ade0cb35863a91019353) Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-24bitbake: providers: selected version not available should be a warningRoss Burton
If the selected version if not available, bitbake will happily attempt to build something else. This should be a loud warning not a small note. (Bitbake rev: 78cd63285713fde59506eb2e71a7b7ee59a594ff) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-24bitbake: fetch2: use relative symlinks for anything pulled from PREMIRRORSHombourger, Cedric
try_mirror_url() creates a symlink named as the original file to make everything look like files specified in SRC_URI were downloaded from their original location. The link is however created as an absolute reference, this makes DL_DIR non-relocatable. This also causes issues with the Isar project since it bind mounts DL_DIR to /downloads to perform some of its build tasks in a chrooted environment (rendering all symbolic links from DL_DIR invalid). Modify ensure_symlink() to take an optional "relative" argument and have that function use os.path.relpath() to produce a relative symlink. (Bitbake rev: 481e66ea8fc2fc91903127d66b0f1b0fe86baedb) Signed-off-by: Cedric Hombourger <Cedric_Hombourger@mentor.com> Cc: Chris Larson <Chris_Larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-24bitbake: bitbake: cache: Remove bad keys() functionJoshua Watt
Removes the keys() function from the MulticonfigCache. This appears to be a leftover from before the class inherited from collections.Mapping, is now unnecessary, and was outright incorrect. (Bitbake rev: 5f37b6d2829fcac1f16602d9697f8bfbcb65ff62) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-24bitbake: bitbake: hashserve: Add support for readonly upstreamJoshua Watt
Adds support for an upstream server to be specified. The upstream server will be queried for equivalent hashes whenever a miss is found in the local server. If the server returns a match, it is merged into the local database. In order to keep the get stream queries as fast as possible since they are the critical path when bitbake is preparing the run queue, missing tasks provided by the server are not immediately pulled from the upstream server, but instead are put into a queue to be backfilled by a worker task later. (Bitbake rev: e6d6c0b39393e9bdf378c1eba141f815e26b724b) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-24bitbake: bitbake: hashserve: Add async clientJoshua Watt
Adds support for create a client that operates using Python asynchronous I/O. (Bitbake rev: cf9bc0310b0092bf52b61057405aeb51c86ba137) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-24e2fsprogs: Fix a ptest permissions determinism issueRichard Purdie
When comparing builds built with different host umasks, this file jumped out. The umask from do_compile was influencing ${D} and as cp was used to add the file it wasn't deterministic. Fix the file mode to ensure determinism. (From OE-Core rev: 37f37f4a52de3711973b372160f23672b61ff6ad) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-24fs-perms: Ensure /usr/src/debug/ file modes are correctRichard Purdie
If files are copied into /usr/src/debug directly from WORKDIR (e.g. makedevs) we'd get the permissions from the checkout which would depend on the host umask. Avoid this and be deterministic by setting the file modes consistently. Core code copies the files in so we're responsible for the permissions. Unfortunately to force this change to apply we need to invalidate both the package tasks and the hash equivalance mappings since file mode 'corruption' already made it into the output hashes (both input options were mapped to the output hashes). (From OE-Core rev: 1f958bcd6c9cd12ec76d80586cba15f4d6ed17a7) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-24lttng-modules: Backport a patch to fix btrfs build failureHe Zhe
lttng-modules-2.12.3/probes/lttng-probe-btrfs.c:36: lttng-modules-2.12.3/probes/../probes/lttng-tracepoint-event-impl.h:131:6: error: conflicting types for 'trace_find_free_extent' (From OE-Core rev: 42c791ab3815b47188fdd98998cdcb3d2c62ef20) Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-24binutils: Fix linker errors on chromium/ffmpeg on aarch64Khem Raj
ffmpeg in qtwebengine/chromium fails to build on aarch64 ffmpeg/ffmpeg_internal/videodsp.o: in function `ff_prefetch_aarch64': (.text+0x10): relocation truncated to fit: R_AARCH64_CONDBR19 against symbol `ff_prefetch_aarch64' defined in .text section in obj/third_party/ffmpeg/ffmpeg_internal/videodsp.o Backport an upstream fix to handle this error which is a regrression in binutils 2.35 (From OE-Core rev: 0a68def6b1f69b61096e58ae7778b61412dec4a2) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>