summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* base-files: profile: allow profile.d to set EDITORJohannes Schneider2023-10-191-4/+12
| | | | | | | | | | | | | | | | | With a profile.d configuration in place that sets the EDITOR variable, the automatic terminal 'resize' logic would not trigger. Which then would possibly lead to a 80x24 fallback on the debug serial console. This can simply be avoided by setting a flag variable when the shell is first opened, then processing all profile.d includes, trigger the 'resize' depending on the flag and shell-level and finally only set EDITOR to some default if it is still unset. (From OE-Core rev: dcdb30c83eb77fb2d5ea04f9b7fd7371da633a34) Signed-off-by: Johannes Schneider <johannes.schneider@leica-geosystems.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-ruamel-yaml: upgrade 0.17.32 -> 0.17.35Wang Mingyu2023-10-191-1/+1
| | | | | | | | | | | | | | | | | | | | | Changelog: ============== - support for loading dataclasses with 'InitVar' variables (some special coding was necessary to get the, unexecpected, default value in the corresponding instance attribute in [this question](https://stackoverflow.com/q/77228378/1307905)) - Python 3.12 also loads C version when using 'typ='safe'' - added 'flow_seq_start', 'flow_seq_end', 'flow_seq_separator', 'flow_map_start', 'flow_map_end', 'flow_map_separator' **class** attributes to the 'Emitter' class so flow style output can more easily be influenced (From OE-Core rev: 0151bba91387559852c27e044d6e58c3a53d26d5) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pycairo: upgrade 1.24.0 -> 1.25.0Wang Mingyu2023-10-191-1/+1
| | | | | | | | | | | | | Changelog: ========== Update to cairo 1.18.0 for the Windows wheel Provide a Windows arm64 wheel (From OE-Core rev: 69da990cc1ace08e90a8cbb30fb206dee036ebb2) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-packaging: upgrade 23.1 -> 23.2Wang Mingyu2023-10-191-1/+1
| | | | | | | | | | | | | | | | | | | | | Changelog: ========== -Document calendar-based versioning scheme -Enforce that the entire marker string is parsed -Requirement parsing no longer automatically validates the URL -Canonicalize names for requirements comparison -Introduce metadata.Metadata -Introduce the validate keyword parameter to utils.validate_name() -Introduce utils.is_normalized_name() -Make utils.parse_sdist_filename() and utils.parse_wheel_filename() raise InvalidSdistFilename and InvalidWheelFilename, respectively, when the version component of the name is invalid (From OE-Core rev: b191effe2c89b405ed732d124ceeffbb4935ad3c) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-markdown: upgrade 3.4.4 -> 3.5Wang Mingyu2023-10-191-1/+1
| | | | | | | | | | | | | | | | | | Changelog: =========== Add permalink_leading configuration option to the toc extension (#1339) Add support for cPython version 3.12 (and PyPy 3.10) and drop support for Python version 3.7 (#1357). Refactor changelog to use the format defined at https://keepachangelog.com/. Update the list of empty HTML tags (#1353). Add customizable TOC title class to TOC extension (#1293). Add API documentation of the code base which is generated by mkdocstrings (#1220). Fix a corner case in admonitions where if an indented code block was provided as the first block, the output would be malformed (#1329). (From OE-Core rev: 218a206b04d3cabfa4d18fb7ffd99bf654c566b3) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-iso8601: upgrade 2.0.0 -> 2.1.0Wang Mingyu2023-10-191-1/+1
| | | | | | | | | | | | | | | | | | | Changelog: ============ Fixed ------ Use ruff for linting Fixed CHANGELOG version links Added ------ Add readthedocs configuration (From OE-Core rev: 8c793b8491c2866f29642437c4df96a85168463e) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-hypothesis: upgrade 6.86.2 -> 6.87.4Wang Mingyu2023-10-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Changelog: ============ -When randoms() was called with use_true_randoms=False, calling sample on it with an empty sequence and 0 elements would result in an error, when it should have returned an empty sequence to agree with the normal behaviour of random.Random. This fixes that discrepancy. -This patch ensures that the hypothesis codemod CLI will print a warning instead of stopping with an internal error if one of your files contains invalid syntax (issue #3759). -This patch makes some small changes to our NumPy integration to ensure forward compatibility. Thanks to Mateusz Sokół for pull request #3761. -Fixes issue #3755, where an internal condition turns out to be reachable after all. -This release deprecates use of assume() and reject() outside of property-based tests, because these functions work by raising a special exceptioni. It also fixes some type annotations (issue #3753). (From OE-Core rev: 634f289c702e112964cc91eee02f9af7b6431bc5) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-cffi: upgrade 1.15.1 -> 1.16.0Wang Mingyu2023-10-191-1/+1
| | | | | | | | | | | | | | | | | | Changelog: =========== -Add support for Python 3.12. -Drop support for end-of-life Python versions (2.7, 3.6, 3.7). -Add support for PEP517 builds; setuptools is now a required build dependency. -Declare python_requires metadata for Python 3.8+. This allows unsupported Pythons to continue using previously released sdists and wheels. -Move project source under src/; a more standard layout that also enables CI to more easily catch packaging errors. (From OE-Core rev: 6107d1553905ab43875f84aafc09fbb21b7da6d9) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-beartype: upgrade 0.15.0 -> 0.16.2Wang Mingyu2023-10-191-1/+1
| | | | | | | | (From OE-Core rev: 8c33b4653ecc923972f82d7b49028f839788fea7) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-babel: upgrade 2.12.1 -> 2.13.0Wang Mingyu2023-10-191-1/+1
| | | | | | | | | | | | | | | | | | | | | Changelog: =========== Features -------- Add flag to ignore POT-Creation-Date for updates Support 't' specifier in keywords Add f-string parsing for Python 3.12 (PEP 701) Fixes ------- Various typing-related fixes babel.messages.catalog: deduplicate _to_fuzzy_match_key logic (From OE-Core rev: fd684c60fff4f4034e49749c20c711cdf0aa7925) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-git: upgrade 3.1.36 -> 3.1.37Wang Mingyu2023-10-191-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | License-Update: remove excess whitespace Changelog: ========== -Improve Python version and OS compatibility, fixing deprecations -Better document env_case test/fixture and cwd -Remove spurious executable permissions -Fix up checks in Makefile and make them portable -Fix URLs that were redirecting to another license -Assorted small fixes/improvements to root dir docs -Use venv instead of virtualenv in test_installation -Omit py_modules in setup -Don't track code coverage temporary files -Configure tox -Format tests with black and auto-exclude untracked paths -Upgrade and broaden flake8, fixing style problems and bugs -Fix rollback bug in SymbolicReference.set_reference -Remove @NoEffect annotations -Add more checks for the validity of refnames (From OE-Core rev: 9a816ef16c514b718400c73f4c5bd153e732bf83) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libva: upgrade 2.19.0 -> 2.20.0Wang Mingyu2023-10-193-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: ============ * va: drop no longer applicable vaGetDriverNames check * va: remove unreachable "DRIVER BUG" * x11/dri2: limit the array handling to avoid out of range access * va/backend: document the vaGetDriver* APIs * va/backend: annotate vafool as deprecated * win32: remove duplicate adapter_luid entry * va: Added Q416 fourcc (three-plane 16-bit YUV 4:4:4) * trace: fix minor issue about printf data type and value range * jpeg: add support for crop and partial decode * trace: Unlock mutex before return * trace: Add trace for vaExportSurfaceHandle * av1: Revise offsets comments for av1 encode * va: Add new VADecodeErrorType to indicate the reset happended in the driver. * drm: limit the array size to avoid out of range * va: fix:set driver number to be zero if vaGetDriverNames failed * va: fix:don't leak driver names, when override is set * win32: Only print win32 driver messages in DEBUG builds * va: Add vendor string on va_TraceInitialize * va: remove legacy code paths * drm: remove no longer used helpers * x11: remove legacy code paths * x11: allow disabling DRI3 via LIBVA_DRI3_DISABLE env var * x11: implement vaGetDriverNames * va/x11/va_nvctrl: remove some dead code * va/x11/va_fglrx: remove some dead code * va: optimize code of getting driver name for all protocols/os(wayland,x11,drm,win32,android) (From OE-Core rev: 89ef2922394e916c85478cca61a122c511b517f2) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: upgrade 20230516 -> 20230929Wang Mingyu2023-10-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Changelog: ============ -New tests -Increased coverage -ebizzy benchmark counter increment races and overflows were fixed -A few more testcases were converted to guarded buffers that is data passed by pointer to kernel are immediatelly following a PROT_NONE page and followed by canaries to catch off-by-one errors -Tests that modprobe kernel modules are now skipped when secure boot is enabled on x86 and ppc64le -ioprio tests now use IOPRIO_PRIO_NUM instead of hardcoded value to check for prio range -35 testcases were converted to the new test library -The usual amount of fixes and cleanups (From OE-Core rev: 4f19f8b0305ecf17964b73b7fd65b0b91d56a39c) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libubootenv: upgrade 0.3.4 -> 0.3.5Wang Mingyu2023-10-191-1/+1
| | | | | | | | | | | | | | | Changelog: ========== Fix slowness on SPI flash Fixes validating Env flags Feature: get U-Boot namespace from DT Feature: specify UBI volumes from MTD path (From OE-Core rev: c104259333e976de0cf6fd7bea2fece1b683dbbe) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libsdl2: upgrade 2.28.3 -> 2.28.4Wang Mingyu2023-10-191-1/+1
| | | | | | | | (From OE-Core rev: f47de111cd66c3f9a5a6d5589e1fd034027a0a75) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libcomps: upgrade 0.1.19 -> 0.1.20Wang Mingyu2023-10-192-68/+1
| | | | | | | | | | | 0001-libcomps-Use-Py_hash_t-instead-of-long-in-PyCOMPS_ha.patch removed since it's included in 0.1.20 (From OE-Core rev: 12316f4746352495c89e2f9808a2180d582ba29e) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kmod: upgrade 30 -> 31Wang Mingyu2023-10-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: =========== - Improvements - Allow passing a path to modprobe so the module is loaded from anywhere from the filesystem, but still handling the module dependencies recorded in the indexes. - Use in-kernel decompression if available. - Make modprobe fallback to syslog when stderr is not available, as was documented in the man page, but not implemented - Better explaing `modprobe -r` and how it differentiates from rmmod - depmod learned a `-o <dir>` option to allow using a separate output directory. - Add compat with glibc >= 2.32.9000 that dropped __xstat - Improve testsuite to stop skipping tests when sysconfdir is something other than /etc - Build system improvements and updates - Change a few return codes from -ENOENT to -ENODATA to avoid confusing output in depmod when the module itself lacks a particular ELF section due to e.g. CONFIG_MODVERSIONS=n in the kernel. - Bug Fixes - Fix testsuite using uninitialized memory when testing module removal with --wait - Fix testsuite not correctly overriding the stat syscall on 32-bit platforms. For most architectures this was harmless, but for MIPS it was causing some tests to fail. - Fix handling unknown signature algorithm - Fix linking with a static liblzma, libzstd or zlib - Fix memory leak when removing module holders - Fix out-of-bounds access when using very long paths as argument to rmmod - Fix warnings reported by UBSan (From OE-Core rev: 15baf1183c1551ec7204abc679bd973ffb39770f) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ell: upgrade 0.58 -> 0.59Wang Mingyu2023-10-191-1/+1
| | | | | | | | | | | Changelog: Fix issue with symbol visibility. (From OE-Core rev: 14eba663b56f8f3b9c3aff5661cbe2aa7befe86e) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dhcpcd: upgrade 10.0.2 -> 10.0.3Wang Mingyu2023-10-192-35/+1
| | | | | | | | | | | | | | | | | | | | | | | | 0001-privsep-fix-strlcpy-overflow-in-psp_ifname-239.patch removed since it's included in 10.0.3 Changelog: =========== Do not crash on dhcpcd test run Add automated CI builds for Ubuntu, OpenBSD, FreeBSD and NetBSD dhcpcd: Fix off-by-one overflow when read() writes full BUFSIZ privsep: fix strlcpy overflow in psp_ifname ci: execute tests after successful build compat: update arc4random() to newer chacha20 based version from OpenBSD Support libcrypto for hmac and sha256 Use a local variable instead of the optind Send correct amount of used buffer for prefix exclude option compat: use OpenSSL RAND_priv_bytes() for entropy (From OE-Core rev: fcb9ac0f1c6cac0841d7b7a29b7180c4c580920f) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* createrepo-c: upgrade 1.0.0 -> 1.0.1Wang Mingyu2023-10-192-48/+1
| | | | | | | | | | | 0001-Move-cr_compress_groupfile-outside-WITH_LIBMODULEMD.patch removed since it's included in 1.0.1. (From OE-Core rev: 531b32892e3e4bfa43a8809c36432a86fe93e69b) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* btrfs-tools: upgrade 6.5.1 -> 6.5.2Wang Mingyu2023-10-191-1/+1
| | | | | | | | (From OE-Core rev: 116895c05c78a60488b14516ea25f8c27d2ece7e) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bluez5: upgrade 5.69 -> 5.70Wang Mingyu2023-10-191-1/+1
| | | | | | | | (From OE-Core rev: b051bf5e7706e36b40452cecb6b9149e9b364ef1) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* openssh: Add sshd.serviceMingli Yu2023-10-192-1/+20
| | | | | | | | | | | | | | | | For systems with a large amount of SSH traffic, it shoule be better to run a single SSH server for all incoming connections. And both sshd.socket and sshd.service are deployed on other distros like ubuntu, fedora and etc. So add sshd.service to make it possible to run a standalone SSH server. (From OE-Core rev: 3ecebc70f957e53e3dcf1cc835ff359115db6e56) Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/sdk/rust: Add build and run test of rust binary with SDK hostSean Nyekjaer2023-10-191-0/+22
| | | | | | | | | | | Add a QA test to the SDK to test that a basic cargo build works for the SDK host. (From OE-Core rev: 7f05760debd3aeb69c3294f3ceb92d4f1aceec1f) Signed-off-by: Sean Nyekjaer <sean@geanix.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rust-cross-canadian: set CARGO_TARGET_<triple>_RUNNER for nativesdkSean Nyekjaer2023-10-191-0/+3
| | | | | | | | | | | | | | | | This will enable us to build and run rust programs on the sdk host. % cargo run --target x86_64-oesdk-linux-gnu -vv Fresh hello v0.1.0 (~/development/hello) Finished dev [unoptimized + debuginfo] target(s) in 0.02s Running `/usr/local/sdk/sysroots/x86_64-oesdk-linux/lib/ld-linux-x86-64.so.2 target/x86_64-oesdk-linux-gnu/debug/hello` Hello, world (From OE-Core rev: 0dc848e0b560947f93a780f4bf7b6d1926a570eb) Signed-off-by: Sean Nyekjaer <sean@geanix.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rust-cross-canadian: set CARGO_TARGET_<triple>_RUSTFLAGSSean Nyekjaer2023-10-191-1/+3
| | | | | | | | | | | | | Avoid setting sdk-wide RUSTFLAGS as these flags only are valid when building for target. This will enable building for different targets with different RUSTFLAGS. (From OE-Core rev: 25627606aadacae3a2ab805a6098c81fed154b27) Signed-off-by: Sean Nyekjaer <sean@geanix.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl: fix intermittent test failureWilliam Lyu2023-10-192-0/+78
| | | | | | | | | | | | | | | Fixes [YOCTO #15136] This fix addresses the intermittent failure of the Perl ptest t/op/sigsystem.t. (From OE-Core rev: 8c1ee92efa107ed055f1737640a027fa89077494) Signed-off-by: William Lyu <William.Lyu@windriver.com> Signed-off-by: Randy MacLeod <randy.macleod@windriver.com> Reported-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sstatesig: be more precise and show the full path in exceptionsJose Quaresma2023-10-191-2/+2
| | | | | | | | | | | | | | | | | | | | Also remove the warning than doesn't make sense as the code will generate an exception and bitbake will abort. Before: | WARNING: core-image-minimal-initramfs-1.0-r0 do_image_complete: KeyError in . | Exception: Exception: KeyError: 'getpwuid(): uid not found: xxxxx' | Path . is owned by uid xxxxx, gid yyy, which doesn't match any user/group on target. This may be due to host contamination. After: | Exception: Exception: KeyError: 'getpwuid(): uid not found: xxxxx' | Path /build/tmp/work/intel_corei7_64-lmp-linux/core-image-minimal-initramfs/1.0-r0/sstate-build-image_complete is owned by uid xxxxx, gid yyy, which doesn't match any user/group on target. This may be due to host contamination. (From OE-Core rev: 90f84e345950a02bf91f823cc9c6d893e7cd1100) Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* goarch: Move Go architecture mapping to a libraryJoshua Watt2023-10-193-27/+38
| | | | | | | | | | | | Other spaces uses the Go architecture definitions as their own (for example, container arches are defined to be Go arches). To make it easier for other places to use this mapping, move the code that does the translation of OpenEmbedded arches to Go arches to a library. (From OE-Core rev: 3e86f72fc2e1cc2e5ea4b4499722d736941167ce) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* packagegroup-core-tools-profile: Remove PROFILE_TOOLS_XFabio Estevam2023-10-191-4/+0
| | | | | | | | | | | | | Since commit d085e70eeedb ("sysprof: move recipe to meta-oe") PROFILE_TOOLS_X is always set to an empty string. Remove PROFILE_TOOLS_X as it is no longer needed. Reported-by: Robert P. J. Day <rpjday@crashcourse.ca> (From OE-Core rev: cf767f4f4aaaf7c568816675c1c811132a892e30) Signed-off-by: Fabio Estevam <festevam@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* scripts/bitbake-whatchanged: removeAlexander Kanavin2023-10-191-318/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is not documented or tested, and indeed hasn't been producing useful reports for some time. The script works by redirecting STAMPS_DIR into a separate location, then running bitbake -S none, then comparing the two sets of stamp filenames with regexes: Match the stamp's filename group(1): PE_PV (may no PE) group(2): PR group(3): TASK group(4): HASH stamp_re = re.compile("(?P<pv>.*)-(?P<pr>r\d+)\.(?P<task>do_\w+)\.(?P<hash>[^\.]*)") Then there's some code that finds out what changed in the above between the two sets. Messing about with STAMPS_DIR like that isn't supported, and will either do nothing, or remove the original stamps. Also stamp filenames aren't really a 'public API'. For finding out the changes between two builds, 'bitbake -s printdiff' is a supported and tested option. It may be a bit too verbose, but that can be more easily fixed than rewriting bitbake-whatchanged into a working state. (From OE-Core rev: f8193978eb0944e693e6a5cfbf9035e104e489f0) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake.conf: Drop DEPLOY_DIR_TARBELHADJ SALEM Talel2023-10-191-1/+0
| | | | | | | | | DEPLOY_DIR_TAR is never used since package_tar.bbclass is removed. (From OE-Core rev: 7f3963834c60e407f4252084b1f8e004c10b7c25) Signed-off-by: Talel BELHAJSALEM <bhstalel@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* man-db: remove inexplicable man_db.conf patchRoss Burton2023-10-192-18/+1
| | | | | | | | | | | | | | | The patch we're applying to man_db.conf claims that the variable @config_file_basename@ will be replaced with the package name, and that this breaks multilib systems as that causes conflicts. However, this suggests that both man-db and lib32-man-db are being installed which is pointless, and the variable expands to the basename which is just man_db.conf. (From OE-Core rev: 8d80cce2921346b60c11f5cba630b94103bf05f3) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* man-db: add RRECOMMENDS on glibc-utils for iconvRoss Burton2023-10-191-1/+3
| | | | | | | | | | Sometimes man will want to call iconv to convert character encodings, so recommend glibc-utils on glibc systems for that binary. (From OE-Core rev: 067c5e1e590fff557581b6bec94dcfd083d56fb1) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-urllib3: Update to 2.0.6Khem Raj2023-10-191-1/+1
| | | | | | | | | | | | Only changes in this release [1] fixes CVE-2023-43804 [2] on top of 2.0.5 [1] https://github.com/urllib3/urllib3/commit/644124ecd0b6e417c527191f866daa05a5a2056d [2] https://github.com/advisories/GHSA-v845-jxx5-vc9f (From OE-Core rev: 2a9ae3ca372075868c046d3a3ba2ba9b483e986d) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* vim: Upgrade 9.0.2009 -> 9.0.2048Siddharth Doshi2023-10-191-2/+2
| | | | | | | | | This includes CVE fix for CVE-2023-5535. (From OE-Core rev: 9292eb70a2a0871cf235e4df0257d7028f43a278) Signed-off-by: Siddharth Doshi <sdoshi@mvista.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* SECURITY.md: add fileMarta Rybczynska2023-10-191-0/+22
| | | | | | | | | | Add a SECURITY.md file with hints for security researchers and other parties who might report potential security vulnerabilities. (From OE-Core rev: 4895e1892a49417fc5a806bd02c1bbac01f37253) Signed-off-by: Marta Rybczynska <marta.rybczynska@syslinbit.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: Update to master head revisionRichard Purdie2023-10-171-1/+1
| | | | | | (From OE-Core rev: 4f84537670020a8d902248479efa9f062089c0d3) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* poky.conf: Bump version for 4.3 nanbield releaseRichard Purdie2023-10-171-2/+2
| | | | | | (From meta-yocto rev: c9f0946b6fd35ab7cb0197599a489560d129daf2) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* patchtest/selftest: fix command argumentsTrevor Gamblin2023-10-171-1/+1
| | | | | | | | | | | | Changes to patchtest's command-line arguments to work with oe-core by default do not match the selftest script's argument list. Explicitly use the --testdir and --repodir flags in selftest so that it is compatible them. (From OE-Core rev: 6cd547b24896596d4e0fe57f26f553842c5560b5) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* patchtest: update SPDX identifiersTrevor Gamblin2023-10-1734-161/+35
| | | | | | | | | | Replace full license headers with SPDX identifiers and adjust all patchtest-related code to use GPL-2.0-only. (From OE-Core rev: 9bea6b39074296bb8d8719a3300636e316f19d1b) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* strace: further clean up of ptest foldersAlexandre Belloni2023-10-171-1/+1
| | | | | | | | | | | | | Removing the out files removes about 350MB of data which helps staying in the currently allocated ptest image space as we are hitting disk space issues after enabling the parallelization of tests. Fixes [Yocto #15220] (From OE-Core rev: fc424293b22bd15b3b13d98f8eedda599709c930) Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemuarmv5: Drop QB_DTB conditional for older kernelsAlejandro Hernandez Samaniego2023-10-171-1/+1
| | | | | | | | | | | The conditional for the DTB nomenclature hasnt changed and the 4.7 kernel is old enough at this point, hence this check has become unnecessary' (From OE-Core rev: f5dee6290ca750519455e311e429951b8eb7301b) Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* patchtest: set default repo and testdir targetsTrevor Gamblin2023-10-173-8/+17
| | | | | | | | | | | | | | | | | Since patchtest is in oe-core, the Python os module's methods can be used to retrieve the repository path and tests directory by default. This reduces the number of mandatory arguments for invocation of patchtest unless the user wants to use a custom test suite or test patches against a different repo. The REPO and TESTDIR arguments are likewise adjusted so that they are optional. Also, make it more obvious what the --startdir flag is meant for on the command line by renaming it to --testdir, and update the scripts/patchtest.README file to be consistent with the new usage. (From OE-Core rev: bae7421ece4806f5148f164293810b9fe75e0756) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* patchtest: add scripts to oe-coreTrevor Gamblin2023-10-176-0/+790
| | | | | | | | | | | | | | | | | | | | | | | | Add the following from the patchtest repo: - patchtest: core patch testing tool - patchtest-get-branch: determine the target branch of a patch - patchtest-get-series: pull patch series from Patchwork - patchtest-send-results: send test results to selected mailing list - patchtest-setup-sharedir: create sharedir for use with patchtest guest mode - patchtest.README: instructions for using patchtest based on the README in the original repository Note that the patchtest script was modified slightly from the repo version to retain compatibility with the oe-core changes. patchtest-send-results and patchtest-setup-sharedir are also primarily intended for automated testing in guest mode, but are added for consistency. (From OE-Core rev: cf318c3c05fc050b8c838c04f28797325c569c5c) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* patchtest: add supporting modulesTrevor Gamblin2023-10-174-0/+532
| | | | | | | | | | | | Add modules that support core patchtest functionality to meta/lib/patchtest. These include classes and functions for handling repository and patch objects, parsing the patchtest CLI arguments, and other utilities. (From OE-Core rev: 499cdad7a16f6cc256837069c7add294132127a4) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* patchtest/requirements.txt: updateTrevor Gamblin2023-10-171-0/+2
| | | | | | | | | Add git-pw and boto3 to the list of requirements for patchtest. (From OE-Core rev: f88e295cb5034950e9a0899c1dc3ca685a30a176) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* insane: unimplemented-ptest: ignore source file errorsYoann Congal2023-10-171-10/+16
| | | | | | | | | | | | | | | In some cases, pathlib.Path.glob() might throw FileNotFoundError when file/directory disappear while it is iterating over them. This "warning" is not important enough to crash build in this case so just take a bb.note of the problem and move on. (From OE-Core rev: 85ddbb67f0f6f823cac0966db78e5b74c5a54c4c) Signed-off-by: Yoann Congal <yoann.congal@smile.fr> Reported-by: Mark Hatle <mark.hatle@amd.com> Closes: https://lists.openembedded.org/g/openembedded-core/message/189254 Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* insane: skip unimplemented-ptest on S=WORKDIR recipesYoann Congal2023-10-171-0/+2
| | | | | | | | | | | | On S=WORKDIR recipes, the unimplemented-ptest check will scan the whole WORKDIR and "see" disappearing file and directory. (From OE-Core rev: 9a2d2f7c2b7236667a6d80355f73db4c27e6582e) Signed-off-by: Yoann Congal <yoann.congal@smile.fr> Reported-by: Mark Hatle <mark.hatle@amd.com> Closes: https://lists.openembedded.org/g/openembedded-core/message/189254 Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: ignore RHEL specific CVE-2023-2680Lee Chee Yang2023-10-171-0/+3
| | | | | | | (From OE-Core rev: 43b6d040979a766baa0fb2b1ff9125a94bb0152f) Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>