summaryrefslogtreecommitdiffstats
path: root/meta
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* oeqa/selftest/sstate: Move common code to base classRichard Purdie2023-03-131-99/+98
| | | | | | | | | Move the other common shares test functions to the base class to improve the code structure. (From OE-Core rev: de3e6f85c5537a3571ffbe2326b73f2c2526bce2) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/selftest/sstate: Merge sstate test class with tests themselvesRichard Purdie2023-03-133-70/+60
| | | | | | | | | Having this base class as a separate file is just confusing. Merge with the rest of the test code. (From OE-Core rev: 977522a3b063225e22e2fd04b8265a4595606db2) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* selftest/recipetool: Stop test corrupting tinfoil classRichard Purdie2023-03-131-1/+4
| | | | | | | | | | | | | | | | | | | | | | Running recipetool.RecipetoolTests.test_recipetool_handle_license_vars followed by wic.Wic2.test_biosplusefi_plugin_qemu would show a failure of: File "/media/build/poky/meta/lib/oeqa/utils/commands.py", line 351, in runqemu qemu = oeqa.targetcontrol.QemuTarget(recipedata, targetlogger, image_fstype) File "/media/build/poky/meta/lib/oeqa/targetcontrol.py", line 116, in __init__ use_kvm = oe.types.qemu_use_kvm(d.getVar('QEMU_USE_KVM'), d.getVar('TARGET_ARCH')) File "/media/build/poky/meta/lib/oe/types.py", line 182, in qemu_use_kvm if kvm and boolean(kvm): File "/media/build/poky/meta/lib/oe/types.py", line 128, in boolean raise ValueError("Invalid boolean value '%s'" % value) ValueError: Invalid boolean value '/media/build/poky/meta/files/common-licenses' which made no sense until you realise the recipetool test is corrupting the tinfoil class. Work on a copy instead to avoid this. (From OE-Core rev: 7fe76fe17f67c1bbd108d02836692fed20d24771) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libpam: Remove flex dependencyMartin Larsson2023-03-131-1/+1
| | | | | | | | | | | | libpam does not have a direct build time dependency toward flex. The libpam code does not have any references to the lib and does not use flex for anything else at runtime. (From OE-Core rev: d48fc8e1f26120e75377caefb5f66eedce50081c) Signed-off-by: Martin Larsson <martin.larsson@actia.se> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox: Fix ptest dependenciesRichard Purdie2023-03-131-1/+1
| | | | | | | | | | | Ironically, busybox ptests don't all work without coreutils being present. This dependency fixes execution in minimal images but the failing start-stop-daemon test case should probably be investigated in due course and the dependency removed when possible. (From OE-Core rev: 658c5ed34e279983b1827abfe4e439524b72d4a9) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gnutls: Add missing python ptest dependencyRichard Purdie2023-03-121-0/+2
| | | | | | | | Add dependency on python3 to fix execution in minimal images. (From OE-Core rev: bf5b15a8b7a2b2276109efc8a6fe54788908ef0d) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gstreamer1.0: Add missing gconv ptest dependencyRichard Purdie2023-03-121-0/+2
| | | | | | | | Add dependencies on missing gconv module to fix execution in minimal images. (From OE-Core rev: 859f36e40b380262804e96bbfd29d8846911bfa3) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libxml-perl: Add missing perl module ptest dependenciesRichard Purdie2023-03-121-1/+1
| | | | | | | | Add dependencies on missing perl modules to fix execution in minimal images. (From OE-Core rev: de55c939f591ec28d949294e05a97695a488eda9) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* opkg: Add missing python module ptest dependenciesRichard Purdie2023-03-121-1/+1
| | | | | | | | Add dependencies on missing python modules to fix execution in minimal images. (From OE-Core rev: e817f67e62fff9058b8396fb5e5afa106b4d7476) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc-tests: Add missing bash ptest dependencyRichard Purdie2023-03-122-2/+2
| | | | | | | | | | The script has a bashism and needs bash to execute correctly. Mark it as such and add the missing bash dependency so it executes in minimal images. (From OE-Core rev: a1b5afac108d9c94e8fc2ad8cfebfee16f6f243b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gettext: Add missing bash ptest dependencyRichard Purdie2023-03-121-1/+1
| | | | | | | | Add a dependency on bash to fix execution in minimal images. (From OE-Core rev: f63647f742488117c2ff7196479a6b0a2da61ddc) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-tools: Improve ptest debugging and fix dependenciesRichard Purdie2023-03-122-5/+18
| | | | | | | | | | | | | | | Improve the ptest runner script: * log output is available should any test fail to aid debugging * document how to limit the runner to a single test * stop hiding errors to stderr * allow easier single test execution by avoiding path issues with PWD Also depend upon binutils since one of the tests uses addr2line. (From OE-Core rev: 0f111c6eb1673a60663bcdd3d70c0f81bad370c4) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* babeltrace: Fix ptest dependencyRichard Purdie2023-03-121-1/+1
| | | | | | | | Add a missing dependency on make so ptests can run in a minimal image. (From OE-Core rev: 3d0c068cdeaf819a62f5b918a70c36ab4fb86e76) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* babeltrace2: Fix ptest execution in minimal images and add debug infoRichard Purdie2023-03-122-2/+13
| | | | | | | | | | | | Tweak the ptest dependencies so they work correctly in minimal images. There appears to be some usage of find or xargs that doesn't work with busybox. Also improve the test runner so the test-suite.log is dumped upon error which makes debugging much easier. (From OE-Core rev: 6f52a0a9f0f26ac0039af3edd3df22e21bd8a4a7) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libxml-sax-perl: Fix ptest dependenciesRichard Purdie2023-03-121-1/+1
| | | | | | | | | Add a missing ptest perl module dependency to fix execution in minimal ptest images. (From OE-Core rev: 9c35001345d107ec3869216a214439818099c1de) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libconvert-asn1-perl: Fix ptest dependenciesRichard Purdie2023-03-121-1/+2
| | | | | | | | | Add dependencies for missing perl modules to fix execution in minimal images. (From OE-Core rev: eba3d013b077ec94641118bf925779edf6deb8de) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>