summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* systemd: extract dependencies from .note.dlopen ELF segmentsRoss Burton2024-11-212-2/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | First, this is likely not the final implementation, but a RFC and prototype. Some binaries don't dynamically link to libraries, but instead at runtime dlopen() them. This means extra work for distributions as the dependencies are not detected automatically, so libraries may be missing. systemd is one such project which does this, and in an attempt to solve the packaging problem it also embeds the names of the libraries that can potentially be opened at runtime into ELF notes. These can be read to generate package dependencies. For example: packages/cortexa57-poky-linux/systemd/libsystemd-shared: RRECOMMENDS: added "libkmod (['>= 33']) libzstd (['>= 1.5.6'])" packages/cortexa57-poky-linux/systemd/libsystemd: RRECOMMENDS: added "libzstd (['>= 1.5.6'])" I expect this code to be changed before merging. Whilst systemd is the main user of his approach right now, I expect to see it used in more places in the future so there's a reasonably good argument to merge it into the core shlibs code. Also it currently manually extracts and parses the data, whereas maybe we should incorporate pyelftools into meta/lib/oe and use that to parse ELF files across all of OE. This also means we can remove the explicit dependency on libkmod in udev, which now comes in via libsystemd-shared. (From OE-Core rev: 905da779bcfe98f105adac708e0045ce8ffe5636) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* scripts: patchreview: fix failure when running from a different folderNicolas Dechesne2024-11-211-1/+1
| | | | | | | | | | | | | | | | | | | | When running patchreview with --blame, the scripts runs a git log command on the analyzed patch. When trying to analyse a layer which is not in poky tree, we might be running the git log command from outside the git workspace where the file is located, which results in such failures: Missing Signed-off-by tag ([truncated]/meta-qcom-hwe/recipes-devtools/partition-utils/qcom-ptool/0001-ptool.py-Generate-zero-files-in-output-folder-when-s.patch) fatal: not a git repository (or any parent up to mount point /local/mnt) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). Fix this situation by setting the current work dir inside the git workspace of the patch when running git log. (From OE-Core rev: 8cc1c900b91d60e633f62bfe16a2ffc2d61c3f55) Signed-off-by: Nicolas Dechesne <nicolas.dechesne@oss.qualcomm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: wrap mtime based time with packageconfigDaniel McGregor2024-11-211-1/+3
| | | | | | | | | | | | | | | | | | Recently the systemd recipe grew support for setting the epoch time at image build time. Unfortunately this is unconditional, and our use case for the set-time-epoch PACKAGECONFIG is we have a system requirement that our product boot with the time set to the UNIX epoch. Instead of trying to complicate things with either an image hook or overriding the systemd recipe, just make setting the epoch at image time optional, with the same PACKAGECONFIG that controls hardcoding the systemd build time as the default epoch. (From OE-Core rev: ae433b35fb2d5475e33dea61e6bc65d83d3af56a) Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tcl8: fix headers pathYoann Congal2024-11-211-2/+2
| | | | | | | | | | | | | | During the tcl_8.x removal[0] and its reintegration as tcl8_x[1], BPN has changed from tcl to tcl8. But, recipes that depends on tcl headers search the tcl8.6.15 directory where the current recipe generate a tcl88.6.15 ($BPN+$VERSION) directory. Fix this by hardcoding the base part of the directory name to "tcl". (From OE-Core rev: dd8461f27b4a55dbf79baa4a71dc08b127801181) Signed-off-by: Yoann Congal <yoann.congal@smile.fr> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cython: swap prefix-mapping patch for an upstream commitRoss Burton2024-11-214-152/+74
| | | | | | | | | | | | | Upstream has solved the absolute path problem differently by taking paths relative to the top of the module. This appears to solve the problem, at least I've not found any cases where it breaks. Drop my patch, and backport the relevant commit from upstream. (From OE-Core rev: 47f7808dd93e50fb3ecddbf980e40e51dd7376cb) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake/documentation.conf: Show warnings for BB_DANGLINGAPPENDS_WARNONLY usageRichard Purdie2024-11-212-1/+1
| | | | | | | | | Following bitbake "cooker: Drop support for BB_DANGLINGAPPENDS_WARNONLY", show warnings for use of the variable. (From OE-Core rev: ab0f6898a0f3892a9c4536919adaa1d8d847bb7c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: bitbake-getvar: Catch NoProvider exceptionBELHADJ SALEM Talel2024-11-211-1/+5
| | | | | | | | | | | | | | | | | | | | | | When the recipe provided by (-r, --recipe) is not found tinfoil raises an exception that is not catched for readability, example: Traceback (most recent call last): File "/.../poky/bitbake/bin/bitbake-getvar", line 45, in <module> d = tinfoil.parse_recipe(args.recipe) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/.../poky/bitbake/lib/bb/tinfoil.py", line 633, in parse_recipe fn = self.get_recipe_file(pn) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/.../poky/bitbake/lib/bb/tinfoil.py", line 550, in get_recipe_file raise bb.providers.NoProvider('Unable to find any recipe file matching "%s"' % pn) bb.providers.NoProvider: Unable to find any recipe file matching "aaa" (Bitbake rev: 06aa6c292813a28c84736193b550fb2d18884d43) Signed-off-by: Talel BELHAJSALEM <bhstalel@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: fetch/wget: Increase timeout to 100s from 30sRichard Purdie2024-11-211-2/+2
| | | | | | | | | | Testing shows the worst case CDN response time can be up to 100s. The wget fetcher is used for accessing sstate from the CDN so increase our timeouts there to match our worst case repsonse times. (Bitbake rev: 7aca591529e115bc277f93811d8c586630acc8c3) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: bitbake-worker/cooker: Increase default pipe sizeRichard Purdie2024-11-212-3/+13
| | | | | | | | | | | | | | | | The default pipe size is 64kb on builds, which can be inefficient for larger log files from workers. Increase the pipe size to 512kb since build systems have decent amounts of memory and this is a more efficient way of batching the data. Tweak the default read sizes to match the pipe size for efficiency. Since the contstant is only present in python 3.10 onwards, add some compatibility code. (Bitbake rev: 69c14e46600ba5ae9703f67704ab2548875ae6d7) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: bitbake-worker: Improve bytearray truncation performanceRichard Purdie2024-11-211-1/+1
| | | | | | | | | | | | | | | | | If there are large amounts of data being transferred to the cooker from the worker, recreating the bytearray becomes inefficient as it happens for every pipesize block of data, defaulting to 64kb. Instead we can use the deletion API for bytearrays to make this more efficient and avoid the object recreation. We noticed this with a strace ptest image taking days to complete the build after having 6GB of data in the testimage log. Whilst there are other issues there, making this code more efficient doesn't hurt. (Bitbake rev: a4a72b7edb368f352784c856a647236a887010dd) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: bitbake-layers: ensure tinfoil.shutdown() gets executed when ↵Alexander Kanavin2024-11-211-7/+7
| | | | | | | | | | | | | | | | | tinfoil.prepare() fails https://git.yoctoproject.org/poky/commit/bitbake/bin/bitbake-layers?id=f6de2b033d32c0f92f19f5a4a8c4c8874a00a8f7 erroneously moved tinfoil.prepare() out of try..finally block, where 'finally' contains a tinfoil.shutdown() call. Without the shutdown, if there is an error in tinfoil.prepare() (such as parsing errors), the tool locks up, as seen here: https://valkyrie.yoctoproject.org/#/builders/71/builds/431 (Bitbake rev: 06b8a18339434be8f754e534dacb790a2c9cb91d) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: cooker: Drop support for BB_DANGLINGAPPENDS_WARNONLYRichard Purdie2024-11-212-19/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | DANGLINGAPPENDS_WARNONLY is a very poorly designed interface and is commonly abused. The challenge is that once it is set, by any layer, it applies everywhere. Some layers rely on this to get notification they need to update bbappend files and having the behaviour change from inclusion of an antisocial layer is not good. In addition, showing warnings as an accepted thing on the console devalues them and trains the user to ignore them. I want to steer us away from this mindset. We could extend the functionality and make it apply only to certain layers, or only to certain appends but then we've basically re-invented BBMASK. Given all the above, we should drop support for BB_DANGLINGAPPENDS_WARNONLY and direct anyone with issues to BBMASK instead. https://lists.openembedded.org/g/openembedded-architecture/message/2029 [YOCTO #14870] (Bitbake rev: fca9c9e3cb6f8e9f99bf51dc5e8a8d83f4c84c69) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemtap: add --with-extra-version configure optionVictor Kamensky2024-11-191-0/+1
| | | | | | | | | | | | | | | | | | | When --with-extra-version="oe" option is used, systemtap code stop using GIT_PRETTY_REV that comes from 'git describe --dirty --always --abbrev=8' output in its version and uses --with-extra-version value instead. 'git describe' output has reproducibility issue since it depends on commits present in lattest branch, and that may change. Thus using fixed value instead addresses systemtap reproducibility issue. [YOCTO #15288] https://bugzilla.yoctoproject.org/show_bug.cgi?id=15288 (From OE-Core rev: 37fb7c4e469baf53f85319c3cbb75af41a6ddbe7) Signed-off-by: Victor Kamensky <victor.kamensky7@gmail.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemtap: upgrade 5.1 -> 5.2Victor Kamensky2024-11-194-95/+6
| | | | | | | | | | | | * removed all backported patches * fixed patch fuzz issue (From OE-Core rev: ac4841118b4a61c59f52aeca117209bce088e714) Signed-off-by: Victor Kamensky <victor.kamensky7@gmail.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* patchtest: use HEAD commit as base for the selftest and not masterAlexander Kanavin2024-11-191-1/+1
| | | | | | | | | | | | | | | | Patchtest applies patches on top of poky master branch by default; this means selftest does the same, and any commits from the branch-under-test are then discarded. This can cause issues for example, if bitbake-server process started by selftest from the master branch tries to parse bitbake.conf from the branch under test: https://valkyrie.yoctoproject.org/#/builders/71/builds/460 (From OE-Core rev: 03c6b2e0277c00faf55c12c4d0b4b5e3a4898f8c) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libpam: drop cracklib from DEPENDSGuðni Már Gilbert2024-11-191-1/+1
| | | | | | | | | | | | cracklib was dropped as a dependency in libpam v1.5.0 See the following commit as reference: https://github.com/linux-pam/linux-pam/commit/d702ff714c309069111899fd07c09e31c414c166 (From OE-Core rev: f206c48a71e10195fb1d20a5b4efafad4ae64d95) Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libxml2: upgrade 2.13.4 -> 2.13.5Guðni Már Gilbert2024-11-192-3/+3
| | | | | | | | | | | | | | | | | | | | | https://gitlab.gnome.org/GNOME/libxml2/-/releases/v2.13.5 Regressions * xmlIO: Fix reading from non-regular files like pipes * xmlreader: Fix return value of xmlTextReaderReadString * parser: Fix loading of parameter entities in external DTDs * parser: Fix downstream code that swaps DTDs * parser: Fix detection of duplicate attributes * string: Fix va_copy fallback Bug fixes * xpath: Fix parsing of non-ASCII names (From OE-Core rev: c6dc275850d5a98803eee7d4712bb66b19051c82) Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libsndfile1: backport the fix for CVE-2024-50612Ross Burton2024-11-192-0/+410
| | | | | | | | | | Backport the fix from upstream. (From OE-Core rev: 2fc6b711a6a7252ddf13587927c06333f5a38d71) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rootfs-postcommands: Actually do the re-orderingRalph Siemsen2024-11-191-3/+3
| | | | | | | | | | | | | | | | | Previous commit added logic to move certain tasks to the end, but these had no effect, because the result of the make_last() function was not used to update the post_process_cmds variable. Also, once this is fixed, it becomes evident that the commands need to be joined using whitespace, otherwise they all run together, and cannot be executed as individual commands anymore. Fixes: 0ffff2c1f8 ("rootfs-postcommands: Try and improve ordering constraints") (From OE-Core rev: 2a4e8f06bac1bff0a167f775f7babab94b32732a) Signed-off-by: Ralph Siemsen <ralph.siemsen@linaro.org> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cve-update-nvd2-native: Handle BB_NO_NETWORK and missing dbMark Hatle2024-11-191-0/+5
| | | | | | | | | | | | | | | | | The custom do_fetch routine is ignoring BB_NO_NETWORK, add a check for this as the correct behavior for the user is to set: CVE_DB_UPDATE_INTERVAL = "-1" If CVE_DB_UPDATE_INTERNAL is set to -1, check that a DB file exists, if not we need to error so the user can deal with this. Note, MIRRORs are NOT handled by this code. (From OE-Core rev: 337c0806d2784d74bee8d6420fb8b4d48795d5fa) Signed-off-by: Mark Hatle <mark.hatle@amd.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: set better sane time at startupGaël PORTAY2024-11-191-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When systemd is started, it sets the system clock to epoch to ensure the system clock is reasonably initialized if no working RTC. As init process, systemd sets epoch very early to the more recent timestamp of[1]: - the build time of systemd (-Dtime-epoch) - the modification time ("mtime") of /var/lib/systemd/timesync/clock (systemd-timesyncd) - the modification time ("mtime") of /usr/lib/clock-epoch (systemd) The first epoch timestamp is hard-coded at build-time by the systemd recipe (using either SOURCE_DATE_EPOCH, git-tag, or NEWS modification time[2]). The second epoch timestamp is maintained at run-time if the system runs systemd-timesyncd. This implements the third epoch timestamp at image build-time, by touching the timestamp file /usr/lib/clock-epoch from the package post-install script. [1]: https://github.com/systemd/systemd/commit/863098fdc9cd91e4f760085356ac02c4b7ba6df1 [2]: https://github.com/systemd/systemd/blob/v256/meson.build#L804-L825 (From OE-Core rev: 0f51fee4a5408c17cbaf827053f13d6c3b9dbc2c) Signed-off-by: Gaël PORTAY <gael.portay+rtone@gmail.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gdk-pixbuf: enable other loaders by defaultChangqing Li2024-11-191-1/+3
| | | | | | | | | | | | | | | | | | | | | Refer [1], upstream gdk-pixbuf disable some loaders by default from 2.42.11, this makes some format of icons not works well after upgrade gdk-pixbuf, report error like: matchbox-deskto[501]: Error loading icon: Failed to load /usr/share/pixmaps/xinput_calibrator.xpm: Unrecognized image file format Add PACKAGECONFIG gif, others, and fix the same as some other sdks and arch linux, disable these loaders by default, refer [2][3][4] [1] https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/commit/e052a112075a19fb75f1f2ff3de4c82923de13f2 [2] https://gitlab.gnome.org/GNOME/gnome-build-meta/-/issues/846 [3] https://gitlab.com/freedesktop-sdk/freedesktop-sdk/-/commit/3ab7810255c64ce8aa2ae3ac10250148588ab49b [4] https://gitlab.archlinux.org/archlinux/packaging/packages/gdk-pixbuf2/-/commit/4fa2d98a197781354b66a9710c9d596d502c961b (From OE-Core rev: 10ea616e0aa0921e02c00689df5a7f2ec5e2b7ce) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dosfstools: add backported patch for honouring SOURCE_DATE_EPOCHRasmus Villemoes2024-11-192-0/+160
| | | | | | | | | | | | | | | | | | | | | | | | | | Currently, file system images created with mkfs.vfat are not reproducible, because both the file system creation time and the volume id are derived from the current time. Upstream has added a patch for deriving those from SOURCE_DATE_EPOCH, when defined, many years ago, but unfortunately there is no official release containing that patch. The issue [1] is 2.5 years old, so there's no reason to believe such a release would be just around the corner. The patch applies cleanly, and e.g. Arch Linux already uses this exact combination of source tarball and this single patch [2], so I think this should be ok. It certainly works for the images I've tested on. [1] https://github.com/dosfstools/dosfstools/issues/179 [2] https://gitlab.archlinux.org/archlinux/packaging/packages/dosfstools/-/blob/main/PKGBUILD?ref_type=heads (From OE-Core rev: bf9e6bf884bc780547d3dc88c3977c8102e1faeb) Signed-off-by: Rasmus Villemoes <ravi@prevas.dk> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/selftest: add a test for bitbake "-e" and "-getvar" differenceYoann Congal2024-11-182-0/+21
| | | | | | | | | | This is a non-regression test for [YOCTO #15638] (From OE-Core rev: 22b508da24e0f7e5ad8ce4e090832bd0829963f0) Signed-off-by: Yoann Congal <yoann.congal@smile.fr> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* shared-mime-info: drop itstool-native from DEPENDSGuðni Már Gilbert2024-11-181-1/+1
| | | | | | | | | | | itstool was dropped as a dependency in shared-mime-info release v2.2 (2022-03-27) (From OE-Core rev: 8ca8687b3361e66e7c9ab7429b9b87c3ec342f8e) Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes-recipe/cython: handle builds with no .c sourcesRoss Burton2024-11-181-1/+1
| | | | | | | | | | | | | | | | This didn't seem to be possible considering the entire point of Cython is to generate C bindings, but some Python build systems remove the build tree once the wheel has been generated, so we never get to see the sources. As xargs will call the specified command even without any files this results in sed failing. Pass --no-run-if-empty so that this case doesn't result in an error. (From OE-Core rev: f1c1bdb05ea8f79a14a4b53e110889b70881f4d7) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/runtime/ping: don't bother trying to ping localhostRoss Burton2024-11-181-0/+7
| | | | | | | | | | | | | | | | | | | | If SLIRP is being used instead of TAP for networking to the guest then the target IP will be localhost. There's no point in pinging localhost to see if the target is up but whilst you'd think it is harmless, in some containers ping doesn't actually have enough rights to work: ping: socktype: SOCK_RAW ping: socket: Operation not permitted ping: => missing cap_net_raw+p capability or setuid? Look at the target address and if it's localhost or 127.0.0.* return immediately. (From OE-Core rev: a06ef43d2a50e16c32bd6edbdc7b32c3528687d5) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-firmware: package QCS615 Adreno ZAP shaderDmitry Baryshkov2024-11-181-0/+4
| | | | | | | | | | | Add a new package with the Adreno ZAP shader for the Qualcomm QCS615 platform. (From OE-Core rev: 8d36621f0a931c36045d02a006500a602b5b8865) Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-firmware: package Qualcomm X1 Elite audio DSP firmwareDmitry Baryshkov2024-11-181-1/+4
| | | | | | | | | | Package ADSP firmware usable on Qualcomm X1 Elite CRD and QCP platforms. (From OE-Core rev: 2ae4ca92366b7be151a00ae75e7c68fe6f49713c) Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-firmware: upgrade 20241017 -> 20241110Dmitry Baryshkov2024-11-182-34/+2
| | | | | | | | | | License-Update: additional files (From OE-Core rev: 59f41bcfd3e5fc266335e6e417e5160254e387d8) Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sstate: rewrite sstate_archive_package in pythonRoss Burton2024-11-181-27/+26
| | | | | | | | | | | | | | As sstate_archive_package just calls tar, writing the function in shell is actually more complex and opaque than the equivalent python. Don't check for zstd vs pzstd, we have pzstd in HOSTTOOLS so it will always be available. (From OE-Core rev: c9ac5d9d94f254292cf3cafdf273dd6b61d3baa7) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* u-boot: Set CVE_PRODUCTMaik Otto2024-11-181-0/+2
| | | | | | | | | | | The CPE vendor is "denx" and the CPE product is "u-boot". Set CVE_PRODUCT for properly matching in the NVD database. (From OE-Core rev: d2e5d427de13b33694a1d802f5ac833b2c04ced6) Signed-off-by: Maik Otto <m.otto@phytec.de> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-wheel: upgrade 0.44.0 -> 0.45.0Wang Mingyu2024-11-181-1/+1
| | | | | | | | | | | | | | | | Changelog: =========== - Refactored the convert command to not need setuptools to be installed - Don't configure setuptools logging unless running bdist_wheel - Added a redirection from wheel.bdist_wheel.bdist_wheel to setuptools.command.bdist_wheel.bdist_wheel to improve compatibility with setuptools' latest fixes. (From OE-Core rev: deba45d6d23aae40573b51e16716918f7841ef51) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-websockets: upgrade 13.1 -> 14.0Wang Mingyu2024-11-181-1/+1
| | | | | | | | | | | Changelog: https://websockets.readthedocs.io/en/stable/project/changelog.html (From OE-Core rev: aaafdc7a252540376c5a352a0c0650fc4d3ae5fe) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-rpds-py: upgrade 0.20.0 -> 0.21.0Wang Mingyu2024-11-182-15/+13
| | | | | | | | | | | Changelog: bump pyO3 to 0.22.6 (From OE-Core rev: 278ec90488c057b37927be874a33c609c14c3494) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pyproject-metadata: upgrade 0.8.1 -> 0.9.0Wang Mingyu2024-11-181-1/+1
| | | | | | | | | | | Changelog: https://pep621.readthedocs.io/en/stable/changelog.html (From OE-Core rev: a0eb3bb4e7db70bb94c438ae2129421a1fcadb3c) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pip: upgrade 24.2 -> 24.3.1Wang Mingyu2024-11-182-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | no_shebang_mangling.patch refreshed for 24.3.1 Changelog: ========= - Deprecate wheel filenames that are not compliant with PEP 440. - Detect recursively referencing requirements files and help users identify the source. - Support for PEP 730 iOS wheels. - Display a better error message when an already installed package has an invalid requirement - Ignore PIP_TARGET and pip.conf global.target when preparing a build environment. - Restore support for macOS 10.12 and older (via truststore). - Allow installing pip in editable mode in a virtual environment on Windows. - Upgrade certifi to 2024.8.30 - Upgrade distlib to 0.3.9 - Upgrade truststore to 0.10.0 - Upgrade urllib3 to 1.26.20 - Allow multiple nested inclusions of the same requirements file again. (From OE-Core rev: 0ee321a8080226347116e9beeb66e1f00436cb22) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-packaging: upgrade 24.1 -> 24.2Wang Mingyu2024-11-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: ========== - The source is auto-formatted with ruff, not black - Bump the github-actions group across 1 directory with 3 updates - Apply ruff rules (RUF) - Fix typo in Version __str__ - Bump the github-actions group with 3 updates - Get rid of duplicate test cases - Fix doc for canonicalize_version and a typo in a docstring - docs: public/base_version comparison - Apply ruff/bugbear rules (B) - Apply ruff/pyupgrade rules (UP) - Add a changelog entry for dropping Python 3.7 support - Patch python_full_version unconditionally - Refactor canonicalize_version - Allow creating a SpecifierSet from a list of specifiers - Fix uninformative error message - Fix prerelease detection for > and < - Bump the github-actions group across 1 directory with 4 updates - Add support for PEP 730 iOS tags. - Update the changelog to reflect 24.1 changes - Mention updating changelog in release process - Add a comment as to why Metadata.name isn't normalized - Use !r formatter for error messages with filenames. - PEP 639: Implement License-Expression and License-File - Bump the github-actions group with 4 updates - Upgrade to latest mypy - Extraneous quotes (From OE-Core rev: 7e134bd24e7b621a0fbf4ef8143334fb039445e3) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-markupsafe: upgrade 3.0.1 -> 3.0.2Wang Mingyu2024-11-181-1/+1
| | | | | | | | | | | | | Changelog: ========== - Fix compatibility when __str__ returns a str subclass. - Build requires setuptools >= 70.1. (From OE-Core rev: 786ce51f9411b23281919b6251a4d700d8c75c41) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-license-expression: upgrade 30.3.1 -> 30.4.0Wang Mingyu2024-11-181-1/+1
| | | | | | | | | | | | | | Changelog: ============ - Update licensedb to 3.24 - Update licenses with SPDX license list 3.25 - Update README and setup.cfg (From OE-Core rev: 81575d889cacf94fc1067348595adb76f50d85be) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-hypothesis: upgrade 6.115.3 -> 6.118.6Wang Mingyu2024-11-181-1/+1
| | | | | | | | | | | Changelog: https://hypothesis.readthedocs.io/en/latest/changes.html (From OE-Core rev: 1c2a671179b1230e50cc6759e3ab026c0aa38c32) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xtrans: upgrade 1.5.1 -> 1.5.2Wang Mingyu2024-11-181-1/+1
| | | | | | | | | | | | | Changelog: ============ - is_numeric: Add !defined(IPv6) to checks - Fix build when HAVE_STRCASECMP is not defined (From OE-Core rev: 78d345e918bc4c99bd8a0fa13a0bcf20010742a7) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xrandr: upgrade 1.5.2 -> 1.5.3Wang Mingyu2024-11-181-1/+1
| | | | | | | | | | | | | | Changelog: ========== - set_gamma_info: remove unnecessary round-trip to server - xrandr: Print/consume the CTM prop in human readable form - Reworked transform fix (From OE-Core rev: bacd5aa9cfa26c304ac2c86e5c7f7431909cf046) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* vte: upgrade 0.78.0 -> 0.78.1Wang Mingyu2024-11-183-75/+5
| | | | | | | | | | | | 0001-tests-Remove-excessive-constrexpr.patch 0003-Add-missing-system-headers.patch removed since they're included in 0.78.1 (From OE-Core rev: fcbe84b713ec9a65820ef1e80ec41c7e7c02635f) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* stress-ng: upgrade 0.18.02 -> 0.18.06Wang Mingyu2024-11-181-1/+1
| | | | | | | | (From OE-Core rev: b1a8ba7305d1473d807f1c86e8daeb68092a35fd) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sqlite3: upgrade 3.46.1 -> 3.47.0Wang Mingyu2024-11-181-1/+1
| | | | | | | | | | | Changelog: https://www.sqlite.org/releaselog/3_47_0.html (From OE-Core rev: aad3b46be2a02901bb4e7fc042f9c61cb191fb33) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* seatd: upgrade 0.8.0 -> 0.9.1Wang Mingyu2024-11-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | Changelog: =========== - libseat could end up not servicing seat enable/disable events if they were received immediately after a response, leading to the session deadlocking in a deactivated state. - Some protocol strings lacked validation of the NULL termination requirement. - libseat/seatd: Remove read_and_execute - libseat/seatd: Read remaining events after processing responses - libseat/seatd: Cleanup of request error handling - libseat/seatd: Set EINVAL if target session is invalid - libseat/seatd: Set backend error if poll fails - seatd: Add validation of device path libseat/seatd: Add validation of seat_name - seatd: Add strict message size comparison (From OE-Core rev: ff226ea917a891f04bd4b18419d2773f99431709) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ruby: upgrade 3.3.5 -> 3.3.6Wang Mingyu2024-11-182-4/+4
| | | | | | | | | | | 0005-Mark-Gemspec-reproducible-change-fixing-784225-too.patch refreshed for 3.3.6 (From OE-Core rev: f1be2b0edfa9f11de350e9e0d979bc0c6e0b85a4) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* repo: upgrade 2.48 -> 2.49.3Wang Mingyu2024-11-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | Changelog: ========== - sync: fix connection error on macOS - upload: Return correct tuple values in _ProcessResults - worktree: Do not try to fix relative paths - forall: Fix returning results early - Use full name of the revision when checking dest-branch - Add REPO_SKIP_SELF_UPDATE check in sync - manifest: add optional base check on remove and extend - [event_log] Stop leaking semaphore resources - progress: always show done message - subcmds: reduce multiprocessing serialization overhead - sync: reduce multiprocessing serialization overhead - Fix incremental syncs for prjs with submodules (From OE-Core rev: 92e274a819ab6d1202519fd6b0b0cd9bf2b2e727) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ofono: upgrade 2.11 -> 2.12Wang Mingyu2024-11-181-1/+1
| | | | | | | | | | | | | Changelog: =========== - Fix issue with access technology reporting. - Fix issue with detecting Phonet devices. (From OE-Core rev: 9705971a48e866765ea5f4e41f53f4d327b798ac) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>