summaryrefslogtreecommitdiffstats
path: root/meta
Commit message (Collapse)AuthorAgeFilesLines
* python3: add missing -modules dependenciesRoss Burton2023-03-212-1/+3
| | | | | | | | | | The python3-modules package should depend on zoneinfo, and gdbm if it was enabled. (From OE-Core rev: 0e0a5a635f44931dd490ae6a99548f05bd5205a8) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: missing ptest dependenciesRoss Burton2023-03-211-2/+2
| | | | | | | | | The tests need a broad set of locales and timezones to be installed. (From OE-Core rev: 372233d7ad22e45aa31db0d6c0e989393f116dfe) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-numpy: add missing dependency for the testsRoss Burton2023-03-211-0/+1
| | | | | | | (From OE-Core rev: 3056ddfd08962114b2ee2a52bc7d421efe01bf69) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* binutils: Fix CVE-2023-25586Yash Shinde2023-03-172-0/+35
| | | | | | | | | | Upstream-Status: Backport [https://sourceware.org/git/?p=binutils-gdb.git;h=5830876a0cca17bef3b2d54908928e72cca53502] (From OE-Core rev: c8b9196d8ae2452c36bc8c2863a3cca740b4999e) Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-wheel: upgrade 0.38.4 -> 0.40.0Tim Orling2023-03-172-104/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | * Drop pyproject.toml patch, merged upstream https://wheel.readthedocs.io/en/stable/news.html#release-notes 0.40.0 (2023-03-14) * Added a wheel tags command to modify tags on an existing wheel (PR by Henry Schreiner) * Updated vendored packaging to 23.0 * wheel unpack now preserves the executable attribute of extracted files * Fixed spaces in platform names not being converted to underscores (PR by David Tucker) * Fixed RECORD files in generated wheels missing the regular file attribute * Fixed DeprecationWarning about the use of the deprecated pkg_resources API (PR by Thomas Grainger) * Wheel now uses flit-core as a build backend (PR by Henry Schreiner) License-Update: use LICENSE.txt for LIC_FILES_CHKSUM instead of PKG-INFO (From OE-Core rev: d88ec936065f45851dd2a15bd8549c75e7746c75) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemtap: Disable dangling-pointer warningKhem Raj2023-03-171-0/+3
| | | | | | | | | | | | | | | | | | | | | This is to fix build in RISCV64 | In constructor 'symresolution_info::symresolution_info(systemtap_session&, bool)', | inlined from 'int semantic_pass_symbols(systemtap_session&)' at ../git/elaborate.cxx:1884:28: | ../git/elaborate.cxx:2601:21: error: storing the address of local variable 'sym' in '*s.systemtap_session::symbol_resolver' [-Werror=dangling-pointer=] | 2601 | s.symbol_resolver = this; // save resolver for early PR25841 function resolution | | ~~~~~~~~~~~~~~~~~~^~~~~~ | ../git/elaborate.cxx: In function 'int semantic_pass_symbols(systemtap_session&)': | ../git/elaborate.cxx:1884:22: note: 'sym' declared here | 1884 | symresolution_info sym (s); | | ^~~ | ../git/elaborate.cxx:1884:22: note: 's' declared here (From OE-Core rev: dcc891059c5f3a17781febfff4a4280b4b7c8754) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: fix wrong nobody-group assignmentPiotr Łobacz2023-03-171-1/+1
| | | | | | | | | | | | | | | The generated /etc/group file had a wrong group name for nobody-group which was nobody with same id as nogroup groupd. This was leading to duplcate groups, with same ids and different names. More can be read on this link: https://bugzilla.yoctoproject.org/show_bug.cgi?id=11766 (From OE-Core rev: d69fccf2e5d108dd7c6059310924588d36a45865) Signed-off-by: Piotr Łobacz <p.lobacz@welotec.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "systemd-systemctl: Create machine-id with "uninitialized" text in it"Chen Qi2023-03-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 33d9b3a8ed186c2d212acb83f715367912010e7f. The reverted patch was forcing systemd to do preset-all at boot time (first boot) in a function that simuilates 'preset-all' at rootfs time. This is not right. To force a first boot, just do not run this function, as said in the comment: """ # If we populate the systemd links we also create /etc/machine-id, which # allows systemd to boot with the filesystem read-only before generating # a real value and then committing it back. # # For the stateless configuration, where /etc is generated at runtime # (for example on a tmpfs), this script shouldn't run at all and we # allow systemd to completely populate /etc. """ For example, removing 'systemd_preset_all;' from IMAGE_PREPROCESS_COMMAND in some distro conf file will achieve the same effect of the original patch. (From OE-Core rev: a2ac09c32acfc2e076a7778447919d97553d38a2) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cargo.bbclass: use offline mode for buildingFrederic Martinsons2023-03-161-1/+1
| | | | | | | | | | | | | | | | | | | There should not be any network access during the build step so specify this explicitely to cargo. This will allow better error message, e.g: | Caused by: | can't checkout from 'ssh://git@.../fmartinsons/zbus-git-dep-test.git': you are in the offline mode (--offline) Instead of | Updating git repository `ssh://git@.../fmartinsons/zbus-git-dep-test.git` | warning: spurious network error (2 tries remaining): failed to resolve address for gitlab.com: Temporary failure in name resolution;class=Net (12) (From OE-Core rev: 8e9ec03c73e8c09e223d6f6cce297df363991350) Signed-off-by: Frederic Martinsons <frederic.martinsons@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cracklib: update github branch to 'main'Tim Orling2023-03-161-1/+1
| | | | | | | (From OE-Core rev: ab041ca5d036c2a1a1514893c6ffb5c7188ff00f) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mdadm: Fix raid0 testsMingli Yu2023-03-164-0/+185
| | | | | | | | | | | | | | Backport patches to fix raid0 tests: tests/00raid0 tests/00readonly tests/03r0assem tests/04r0update tests/04update-metadata (From OE-Core rev: cb8ab2674d155fa8d90956c3522653b013ce6e6c) Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mdadm: fix tests/02lineargrowMingli Yu2023-03-162-0/+34
| | | | | | | | | | | Backport patch [1] to fix tests/02lineargrow. [1] https://git.kernel.org/pub/scm/utils/mdadm/mdadm.git/commit/?id=a2c832465fc75202e244327b2081231dfa974617 (From OE-Core rev: 4f7175b9af3f4407f6dfa1e1eb18b2c3d3a72c88) Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mdadm: Fix testcase 06wrmostlyMingli Yu2023-03-162-0/+46
| | | | | | | | | | | Backport patch [1] to fix the failure of the 06wrmostly test. [1] https://git.kernel.org/pub/scm/utils/mdadm/mdadm.git/commit/?id=41edf6f45895193f4a523cb0a08d639c9ff9ccc9 (From OE-Core rev: e7359d98ab588eb7969e4d26979cccae79095479) Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* openssl: Fix reproducibility issueRichard Purdie2023-03-162-0/+23
| | | | | | | | | | | Fix an issue introduced in the new openssl version where an assembler file isn't generated in a reproducible way by seeding the perl random number generator consistently. It has no crypto impact, it is just used to avoid function name clashes. (From OE-Core rev: 448df3e1c02fe224d62f59a236fdcd47ea7e695f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* openssl: update from 3.0.8 to 3.1.0Randy MacLeod2023-03-162-33/+1
| | | | | | | | | | | | | | | | | | | | >From the NEWS.md file: ### Major changes between OpenSSL 3.0 and OpenSSL 3.1.0 [14 Mar 2023] * SSL 3, TLS 1.0, TLS 1.1, and DTLS 1.0 only work at security level 0. * Performance enhancements and new platform support including new assembler code algorithm implementations. * Deprecated LHASH statistics functions. * FIPS 140-3 compliance changes. Drop the upstreamed afalg.patch: c425e365f4 Configure: don't try to be clever when configuring afalgeng (From OE-Core rev: 71c763ed4fbbea22a6a0b145e4e29436c7e59625) Signed-off-by: Randy MacLeod <randy.macleod@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* matchbox-terminal: Fix PV to match standard formatRichard Purdie2023-03-161-1/+1
| | | | | | (From OE-Core rev: 48b6f5e0d65cfa2410cb24b9a3ab47d181cf7a5e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-urllib3: upgrade 1.26.14 -> 1.26.15Wang Mingyu2023-03-161-1/+1
| | | | | | | | | | | | | | Changelog: ========== * Fix socket timeout value when "HTTPConnection" is reused ('#2645 <https://github.com/urllib3/urllib3/issues/2645>'__) * Remove "!" character from the unreserved characters in IPv6 Zone ID parsing ('#2899 <https://github.com/urllib3/urllib3/issues/2899>'__) * Fix IDNA handling of '\x80' byte ('#2901 <https://github.com/urllib3/urllib3/issues/2901>'__) (From OE-Core rev: 8e062efbac29a81831c3060bcae601dc533d65dd) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-testtools: upgrade 2.5.0 -> 2.6.0Wang Mingyu2023-03-162-1/+2
| | | | | | | | | | | | | | | | | | | | | | Improvements ------------ * Add support for Python 3.10 and 3.11. * Drop support for Python 3.5 (EOL). * Distutils integration is deprecated and will be removed in the next major version. * Use "CompoundFixture" from "fixtures>=2.0" rather than rolling our own. * Provide a "testtools[twisted]" extra documenting dependencies needed for "testtools.twistedsupport". * Make "TestCase" hashable. * Prevent "AttributeError" in "TestCase.__eq__" for objects lacking a "__dict__" attribute. * Replace deprecated "cgi" module usage with "email". (From OE-Core rev: c0d0428deabf519e86bc0ffb7ff47e9bb0a165c4) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-scons: upgrade 4.4.0 -> 4.5.1Wang Mingyu2023-03-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: ========== - Fix a problem in 4.5.0 where using something like the following code will cause a Clone()'d environment to share the CPPDEFINES with the original Environment() which was cloned. Causing leakage of changes to CPPDEFINES when they should be completely independent after the Clone. env=Environment(CPPDEFINES=['a']) env.Append(CPPDEFINES=['b']) (or AppendUnique,Prepend,PrependUnique) env1=env.Clone() env1.Append(CPPDEFINES=['c']) (or any other modification, but not overwriting CPPDEFINES Now env['CPPDEFINES'] will contain 'c' when it should not. - Do not initialize DefaultEnvironment when calling EnsureSConsVersion(), EnsurePythonVersion(), Exit(), GetLaunchDir() and SConscriptChdir(). - Remove unused private method SConsEnvironment._exceeds_version(). - Added ValidateOptions() which will check that all command line options are in either those specified by SCons itself, or by AddOption() in SConstruct/SConscript. It should not be called until all AddOption() calls are completed. Resolves Issue #4187 - Refactored SCons/Taskmaster into a package. Moved SCons/Jobs.py into that package. NOTE: If you hook into SCons.Jobs, you'll have to change that to use SCons.Taskmaster.Jobs - Changed the Taskmaster trace logic to use python's logging module. The output formatting should remain (mostly) the same. Minor update to unittest for this to adjust for 1 less newline. - Migrated logging logic for --taskmastertrace to use Python's logging module. Added logging to NewParallel Job class (Andrew Morrow's new parallel job implementation) - Ninja: Fix execution environment sanitation for launching ninja. Previously if you set an execution environment variable set to a python list it would crash. Now it will create a string joining the list with os.pathsep - Move execution environment sanitation from Action._subproc() to SCons.Util.sanitize_shell_env(ENV) - Moved rpm and debian directories under packaging - Added logic to help packagers enable reproducible builds into packaging/etc/. Please read packaging/etc/README.txt if you are interested. - Added --experimental=tm_v2, which enables Andrew Morrow's new NewParallel Job implementation. This should scale much better for highly parallel builds. You can also enable this via SetOption(). - Fixed command line argument --diskcheck: previously a value of 'none' was ignored. SetOption('diskcheck','none') is unaffected, as it did not have the problem. - Added overrides argument to SCons.Subst.scons_subst(), subst_list(), subst(), and Action's process(), strfunction(). This allows passing a dictionary of envvars to override when evaluating subst()'d strings/lists - Fixed Issue #4275 - when outputting compilation db and TEMPFILE was in use, the compilation db would have command lines using the generated tempfile for long command lines, instead of the full command line for the compilation step for the source/target pair. - Renamed the qt tools to qt3 since the logic in that tool is only for QT version 3. Renamed all env vars which affect qt3 from QT_ to QT3_. If you are still using SCons to build QT 3 code, you'll need to update your SConscripts. Note that using 'qt' tool has been deprecated for some time. - Added JAVAPROCESSORPATH construction variable which populates -processorpath. - Updated JavaScanner to scan JAVAPROCESSORPATH. - Added FILE_ENCODING, to allow explicitly setting the text encoding for files written by the Textfile() and Substfile() builders. If not specified, Textfile() and Substfile() builders will write files as UTF-8. Fixed Issue #4302. - Add newline to end of compilation db (compile_commands.json). - Added error message to handle the case when SCons attempts to retrieve all the targets for a specified builder from the CacheDir, fails to do so, and then runs into an error when deleting the files which were retrieved. Previously if this happened there was no errors or warnings. - Fix issue #2757, where Configure checks that perform a check which reads a modified source (including program, source or header file(s)) would incorrectly mark that file "up to date" so the actual build would not see the file as modified. Leading to incorrect incremental builds. Now configure checks now clear node info for non conftest nodes, so they will be re-evaluated for the real taskmaster run when the build commences. - Avoid returning UniqueList for `children` and other `Executor` APIs. This type iterates more slowly than the builtin types. Also simplify uniquer_hashables to use an faster implementation under the assumption of ordered dictionaries. - Fixed runtest.py failure on Windows caused by excessive escaping of the path to python.exe. - Run LaTeX after biber/bibtex only if necessary - Added -fsanitize support to ParseFlags(). This will propagate to CCFLAGS and LINKFLAGS. - A list argument as the source to the Copy() action function is now correctly handled by converting elements to string. Copy errors out if asked to copy a list to an existing non-directory destination. Both the implementation and the strfunction which prints the progress message were adjusted. Fixes #3009. - doc: EnsureSConsVersion, EnsurePythonVersion, Exit, GetLaunchDir and SConscriptChdir are now listed as Global functions only; the Environment versions still work but are not documented. - The Java scanner processing of JAVACLASSPATH for dependencies was changed to split on os.pathsep instead of space, to match usage of passing a path string like "xxx:yyy:zzz". This is not portable - passing a POSIX-style path string (with ':') won't work on Windows (';') - which is now documented with a hint to use a list instead to be portable. Splitting on space broke paths with embedded spaces. Fixes #4243. - Cleanup: make sure BoolVariable usage in tests and examples uses Python boolean values instead of 0/1. - Stop telling people to run "python setup.py install" in the User Guide. Adds new content on using virtualenvs to be able to have multiple different SCons versions available on one system. - Added the "DefaultEnvironment(tools=[])" stanza to a number of tests that are known to be particularly slow. It's still just a tiny speedup, but the Windows CI had been occasionally timing out, so maybe this helps a bit. - Remove an extra existence check in one ninja test that caused it to be skipped on some otherwise-valid Windows installations. - test framework tests now pass on Linux and Windows (the latter can still run into problems on some configurations), and automated tests are now run on changes in this area so future problems can be spotted. - The single-file Util module was split into a package with a few functional areas getting their own files - Util.py had grown to over 2100 lines. - Add a zipapp package of scons-local: can use SCons from a local file which does not need unpacking. - Additional explanations for MSVSProject and MSVSSolution builders. - Fix a problem (present in 4.4.0 only) where a Java inner class could not be cached because the emitted filename contained a '$' and when looked up through a node ended up generating a Python SyntaxError because it was passed through scons_subst(). - Have the gfortran tool do a better job of honoring user preferences for the dialect tools (F77, F90, F03 and F09, as well as the shared-library equivalents SHF77, SHF90, SHF03, SHF09). Previously these were unconditionally overwritten to 'gfortran'; the change should be more in line with expectations of how these variables should work. Also cleaned a few Fortran tests - test behavior does not change. - Updated MSVC documentation - adds "version added" annotations on recently added construction variables and provides a version-mapping table. - Add Python 3.12 support, and indicate 3.11/3.12 support in package. 3.12 is in alpha for this SCons release, the bytecode sequences embedded in SCons/ActionTests.py may need to change later, but based on what is known now, 3.12 itself should work with this release. - Add "append" keyword argument to Configure context's CheckLib and CheckLibWithHeader to control whether to append or prepend (issue #2767) Also added "unique" keyword, to control whether a library is added or not if it is already in the $LIBS construction var in the configure context. (issue #2768). - Completely refactored the CPPDEFINES logic in Append/AppendUnique/Prepend/PrependUnique This change fixes the following GH Issues: - GH Issue #3876 - Append() and AppendUnique() will handle CPPDEFINES the same - GH Issue #4254 - Make handling tuples in CPPDEFINES consistent. - We no longer sort the keys added to CPPDEFINES by their dictionary keys. We take advantage that their order is now stable based on insertion order in Python 3.5+ - Added/modifed unit and system tests to verify these changes. (From OE-Core rev: 158785d12a18e221be4a1fa35851c35214eee591) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pytest: upgrade 7.2.1 -> 7.2.2Wang Mingyu2023-03-161-1/+1
| | | | | | | | | | | | | | | | | | | | | Bug Fixes ========= #10533: Fixed pytest.approx() handling of dictionaries containing one or more values of 0.0. #10592: Fixed crash if --cache-show and --help are passed at the same time. #10597: Fixed bug where a fixture method named teardown would be called as part of nose teardown stage. #10626: Fixed crash if --fixtures and --help are passed at the same time. #10660: Fixed pytest.raises() to return a ‘ContextManager’ so that type-checkers could narrow pytest.raises(...) if ... else nullcontext() down to ‘ContextManager’ rather than ‘object’. Improved Documentation ====================== #10690: Added CI and BUILD_NUMBER environment variables to the documentation. #10721: Fixed entry-points declaration in the documentation example using Hatch. #10753: Changed wording of the module level skip to be very explicit about not collecting tests and not executing the rest of the module. (From OE-Core rev: e99106eec6e4b0017b621844092c12791b02ca11) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-poetry-core: upgrade 1.5.1 -> 1.5.2Wang Mingyu2023-03-161-1/+1
| | | | | | | | | | | Fixed ======= Fix an issue where wheels built on Windows could contain duplicate entries in the RECORD file (#555). (From OE-Core rev: 8270be34afa7ccde7306f31387b2082971caa239) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-setuptools: upgrade 67.4.0 -> 67.6.0Wang Mingyu2023-03-161-1/+1
| | | | | | | | | | | | | | | Changelog: ========= #3804: Added caching for supported wheel tags. #3846: Added pruning heuristics to PackageFinder based on exclude. #3843: Although pkg_resources has been discouraged for use, some projects still consider pkg_resources viable for usage. This change makes it clear that pkg_resources should not be used, emitting a DeprecationWarning when imported. (From OE-Core rev: 31ad28d785d199716d98550193c9d3a9877b94ef) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* grep: upgrade 3.8 -> 3.9Wang Mingyu2023-03-161-1/+1
| | | | | | | | | | | | | | | | | | | Bug fixes ========== With -P, some non-ASCII UTF8 characters were not recognized as word-constituent due to our omission of the PCRE2_UCP flag. E.g., given f(){ echo Perú|LC_ALL=en_US.UTF-8 grep -Po "$1"; } and this command, echo $(f 'r\w'):$(f '.\b'), before it would print ":r". After the fix, it prints the correct results: "rú:ú". When given multiple patterns the last of which has a back-reference, grep no longer sometimes mistakenly matches lines in some cases. [Bug#36148#13 introduced in grep 3.4] (From OE-Core rev: 59a2cad44782eb04a304d0b7a1022570d08477b0) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* matchbox-config-gtk: Update to latest SRCREVRichard Purdie2023-03-161-3/+3
| | | | | | | | | License changes were the addition of SPDX license headers and license header fixes. (From OE-Core rev: 3466aace65faad08c98188b7072d92f5ba597fa3) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* matchbox-terminal: Update to latest SRCREVRichard Purdie2023-03-161-3/+3
| | | | | | | | | License changes were the addition of SPDX license headers and license header fixes. (From OE-Core rev: 08b6100a6eaf0a640004bbe71f8f12ac169d2f30) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* matchbox-desktop-2: Update 2.2 -> 2.3Richard Purdie2023-03-161-4/+3
| | | | | | | | | License changes were the addition of SPDX license headers and license header fixes. (From OE-Core rev: 3177ca0dea44c7ef2121127dfa85cf65e7a4fa6a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* matchbox-panel-2: Update 2.11 -> 2.12Richard Purdie2023-03-161-4/+3
| | | | | | | | | License changes were the addition of SPDX license headers and license header fixes. (From OE-Core rev: 6761b8d781314dd9170c3810d42bd83aa67b40c8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* matchbox-wm: Update 1.2.2 -> 1.2.3Richard Purdie2023-03-162-47/+4
| | | | | | | | | Drop a patch merged in the upstream repo. License changes are due to the addition of SPDX license headers. (From OE-Core rev: 3409b6b22c7c443e9f4d6c1a5b5f740eaa6587ac) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cpio: fix ptest failureChangqing Li2023-03-142-1/+2
| | | | | | | | | | Fix following ptest failure: /usr/lib64/cpio/ptest/run-ptest: line 7: cd: /usr/lib/cpio/ptest/tests/: No such file or directory (From OE-Core rev: 1809329c336cb509349bd39f13cc78acd8efe0cd) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tzcode-native: fix build with gcc-13 on hostMartin Jansa2023-03-142-0/+303
| | | | | | | | | | | | | | | | * passing -std=c2x to avoid build failure with gcc-13 on host works as well, but the resulting zic then segfaults when used in tzdata, use a fix from upstream instead * reported upstream in https://mm.icann.org/pipermail/tz/2023-March/032690.html * fixes: http://errors.yoctoproject.org/Errors/Details/697913/ (From OE-Core rev: 5dabf677f38c209fb6a8ba837d5a66fd89f57d4d) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tzdata: use separate B instead of WORKDIR for zic outputMartin Jansa2023-03-141-5/+9
| | | | | | | | | | * avoid copying whole exec_prefix over base_prefix as there were only zoneinfo files anyway (From OE-Core rev: 37846f8735683ed0fab5ef5c12d77c6041348801) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* timezone: use 'tz' subdir instead of ${WORKDIR} directlyMartin Jansa2023-03-143-7/+4
| | | | | | | (From OE-Core rev: bc53ccaf82c57826acac5f9c2557e403ec367807) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* vim: upgrade to 9.0.1403Ross Burton2023-03-141-4/+3
| | | | | | | | | | | | This incorporates fixes for CVE-2023-1127, CVE-2023-1170, CVE-2023-1175. Also remove runtime/doc/uganda.txt from the license checksum: the Vim license is also in the top-level LICENSE file so this is redundant. (From OE-Core rev: 71111e6b62d37c5e6853d7940dec2993df127a35) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa rtc.py: skip if read-only-rootfsMikko Rapeli2023-03-141-3/+5
| | | | | | | | | | | hwclock command fails on read-only-rootfs: AssertionError: 1 != 0 : Failed to reset RTC time, output: hwclock: cannot open /etc/adjtime: Read-only file system (From OE-Core rev: 017bf8c160f6ab67d9f8e8d9e30b15bf84f73807) Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* vim: set modified-by to the recipe MAINTAINERRoss Burton2023-03-141-0/+1
| | | | | | | | | | | | | | | | Clause II.3 of the Vim license states that any distribution of Vim that has been extended or modified must _at least_ indicate in the :version output that this is the case. Handily, Vim has a --with-modified-by argument to add a line in that text, so use MAINTAINER. This is the distribution maintainer contact, by default it is OE-Core Developers <openembedded-core@lists.openembedded.org>. (From OE-Core rev: acc007e23445aa53182e13902dd9509c39dd5645) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* npm.bbclass: avoid DeprecationWarning with new pythonMartin Jansa2023-03-141-1/+1
| | | | | | | | | | meta/classes-recipe/npm.bbclass:85: DeprecationWarning: invalid escape sequence '\.' '--transform', 's,^\./,package/,', (From OE-Core rev: 47f102cfbbaa83d17999747233a81f1b570f448e) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* file: add few more PACKAGECONFIGs to avoid autodetected deps from hostMartin Jansa2023-03-141-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * there are few more autodetected compression libs --disable-zlib disable zlib compression support [default=auto] --disable-bzlib disable bz2lib compression support [default=auto] --disable-xzlib disable liblzma/xz compression support --disable-zstdlib disable zstdlib compression support [default=auto] --disable-lzlib disable liblz (lzip) compression support and lzlib was detected on my gentoo (even when it doesn't say that default is auto detection) I've noticed this, because I've reused sstate-cache from my gentoo build in docker container with ubuntu-23.04 and esdk.oeSDKExtSelfTest.test_install_libraries_headers test was now failing with: Exception: subprocess.CalledProcessError: Command '/OE/build/poky/build/build-st-2023-03-12-esdk-patch1/esdk.oeSDKExtSelfTest.test_install_libraries_headers/build-st/tmp/work/x86_64-nativesdk-pokysdk-linux/buildtools-tarball/1.0-r0/recipe-sysroot-native/usr/bin/createrepo_c --update -q /OE/build/poky/build/build-st-2023-03-12-esdk-patch1/esdk.oeSDKExtSelfTest.test_install_libraries_headers/build-st/tmp/work/x86_64-nativesdk-pokysdk-linux/buildtools-tarball/1.0-r0/oe-sdk-repo' returned non-zero exit status 127. Subprocess output: /OE/build/poky/build/build-st-2023-03-12-esdk-patch1/esdk.oeSDKExtSelfTest.test_install_libraries_headers/build-st/tmp/work/x86_64-nativesdk-pokysdk-linux/buildtools-tarball/1.0-r0/recipe-sysroot-native/usr/bin/createrepo_c: error while loading shared libraries: liblz.so.1: cannot open shared object file: No such file or directory and liblz.so.1 ended in createrepo_c.real because of libmagic.so from file-native-replacement. * use PACKAGECONFIG for seccomp as well and keep it disabled as it was explicitly disabled before (${@bb.utils.filter('DISTRO_FEATURES', 'seccomp', d)} can be added to default PACKAGECONFIG later if someone finds it useful) (From OE-Core rev: b7c51fe740f00f60c591099fe5c2155b2126068c) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sudo: update 1.9.12p2 -> 1.9.13p3Xiangyu Chen2023-03-141-1/+1
| | | | | | | | (From OE-Core rev: 7d5193a9437dedb3f2cf35cb466acfe29cfa654e) Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* go: use go as CVE product for all golang recipe veriantsPeter Marko2023-03-142-0/+5
| | | | | | | | | | | | | | | | | All golang vulnerabilities are reported under product 'go'. By default there is no vulnerability reported for images with golang components because none of used golang packages have correct CVE product set: * go-binary-native * go-runtime * go-cross-* (From OE-Core rev: 09f3a27a809bbec9b08c4e4a2b846b68f386c35c) Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: split out qemu-guest-agent, add startup scriptsClément Péron2023-03-143-1/+111
| | | | | | | | | | | | | | | | | Split out the QEMU guest agent into a separate package. The agent is intended to be installed within a QEMU VM guest where a user is likely to not want to have the rest of the QEMU installation within it. Additionally, an initscript, udev rules file, and systemd unit file are added to the package so that the guest agent can start automatically; the former two come from Debian's packaging for qemu-guest-agent. (From OE-Core rev: d62fd31c70a9161596594f43c58c73898bfcf52c) Signed-off-by: Brenda Streiff <brenda.streiff@ni.com> Signed-off-by: Clément Péron <peron.clem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* image_types: fix multiubi var initRomuald Jeanne2023-03-141-0/+3
| | | | | | | | | | | | | | Make sure to expand all MKUBIFS_ARGS_<label> and UBINIZE_ARGS_<label> vars in 'do_image_multiubi' task to use them to init the local 'mkubifs_args' and 'ubinize_args' vars. See [YOCTO #15065] (From OE-Core rev: 09d05215cf61981c7bc828cc0ff64c2fd5edc43c) Signed-off-by: Romuald JEANNE <romuald.jeanne@st.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd.bbclass: Add /usr/lib/systemd to searchpaths as wellKhem Raj2023-03-141-0/+1
| | | | | | | | | | | | | | | | Some packages like lirc places its unit files into $systemd_user_unitdir and also uses them in SYSTEMD_SERVICE list in recipe. This fails in do_package ERROR: Didn't find service unit 'lircmd.service', specified in SYSTEMD_SERVICE:lirc. here lircmd.service is installed in /usr/lib/systemd/system/lircmd.service (From OE-Core rev: 12808a4159835b67d8d53d32bc9135811701a779) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pypi.bbclass: Set SRC_URI downloadfilename with an optional prefixZoltan Boszormenyi2023-03-141-1/+3
| | | | | | | | | | | | | | | | This allows avoiding clashes between source archives of a main project and a pypi project using the same name and version. The new optional setting is PYPI_ARCHIVE_NAME_PREFIX which is empty by default so previous downloads can be used. Example usage: PYPI_ARCHIVE_NAME_PREFIX = "pypi-" (From OE-Core rev: 6f9a6a3dbe5c8eb9f0d19987410932fec3d6dd1a) Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* image_types: fix vname var init in multiubi_mkfs() functionRomuald JEANNE2023-03-141-6/+7
| | | | | | | | | | | | | As vname var is needed in multiubi_mkfs() function, we need to keep it defined and use it as parameter to the new write_ubi_config() function. See [YOCTO #15027] (From OE-Core rev: 8b5e1cce35e129b21d871ab45b03811fdb6eaf8f) Signed-off-by: Romuald JEANNE <romuald.jeanne@st.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libgit2: update license informationSudip Mukherjee2023-03-141-1/+1
| | | | | | | | | | | | | | | The LICENSE did not have complete information. Some examples of missing license: Zlib: deps/zlib/ ISC: tests/clar/clar.c LGPL-2.1-or-later: src/libgit2/xdiff/xdiffi.c CC0-1.0: src/util/rand.c (From OE-Core rev: 5560a0e15bd860a59671a66cc76ad1bb7e07c9d1) Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: Fix musl fix patchKhem Raj2023-03-141-3/+2
| | | | | | | | | | | | | Current patch with fail when stdint.h is in include path before this typedef which can also happen with re-includes. Therefore shunt that by defining __DEFINED_wchar_t which helps musl builds of systemd-boot recipe (From OE-Core rev: 7fce95e47601f766b384bc0d5805986ad933681f) Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ptest-packagelists: Simplify ptest list/codeRichard Purdie2023-03-144-129/+129
| | | | | | | | | All the usage sites remove the -ptest suffix. Simply the original list instead and clean up the code. (From OE-Core rev: 4a28057849f9edc6ac06d115531f579673d788b5) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* core-image-ptest: Switch to BBCLASSEXTEND parallel executionRichard Purdie2023-03-143-38/+59
| | | | | | | | | | | | | | | | | | | Replace the two images where tests are run serially with an image per ptest in the form core-image-ptest-XXX using class extensions. The original two images are then replaced with dependencies on these images. This allows parallel execution of the tests. The downside to this approach is the parsing time of an image generating this number of class extensions is slow but making it easier to execute and collect test data should outweigh that. A useful advantage is that the dependencies of each ptest package are checked/tested indvidually. (From OE-Core rev: f3f63ff01971df7d67213a7e7b1294489a5d3c0f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* base-files: Drop localhost.localdomain from hosts fileRichard Purdie2023-03-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | This was likely something we took inspiration from elsewhere with. It was added in: https://git.openembedded.org/openembedded/commit/packages/netbase/netbase/hosts?id=c8e5702127e507e82e6f68a4b8c546803accea9d in 2005. Debian added this entry around 2004 and discussed and dropped it in 2005: https://lists.debian.org/debian-devel/2005/10/msg00559.html resulting in: https://salsa.debian.org/installer-team/netcfg/-/commit/3c15ee521b2b8f47b34ccc7f610523cd284f2221 We should drop this for some of the reasons in those threads, it doesn't seem to be doing anything too helpful and isn't what most applications expect. (From OE-Core rev: e730d005fa8aec07f9ae25c58d4566eaa92a6997) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/selftest/sstate: Split classes to allow more parallelismRichard Purdie2023-03-131-4/+8
| | | | | | | | | | | By splitting the single class into multiple classes, it allows more parallelism in the execution. These tests don't have interdependencies that benefit from sstate reuse or anything like that so this makes sense to improve overall test execution time if/where possible. (From OE-Core rev: 9dbc2f4ebbde47b1c997948a9690ffb8eb29b552) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>