]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
5 months agogrub: patch CVE-2025-0622
Peter Marko [Tue, 11 Mar 2025 18:09:53 +0000 (19:09 +0100)] 
grub: patch CVE-2025-0622

Cherry-pick patch mentioning this CVE.

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agogrub: patch CVE-2024-45775
Peter Marko [Tue, 11 Mar 2025 18:09:52 +0000 (19:09 +0100)] 
grub: patch CVE-2024-45775

Cherry-pick patch mentioning this CVE.

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agogrub: patch CVE-2024-45774
Peter Marko [Tue, 11 Mar 2025 18:09:51 +0000 (19:09 +0100)] 
grub: patch CVE-2024-45774

Cherry-pick patch mentioning this CVE.

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agogrub: patch CVE-2025-0624
Peter Marko [Tue, 11 Mar 2025 18:09:50 +0000 (19:09 +0100)] 
grub: patch CVE-2025-0624

Cherry-pick patch mentioning this CVE.

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agogrub: patch CVE-2024-45783
Peter Marko [Tue, 11 Mar 2025 18:09:49 +0000 (19:09 +0100)] 
grub: patch CVE-2024-45783

Cherry-pick patch mentioning this CVE.

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agogrub: patch CVE-2024-45780
Peter Marko [Tue, 11 Mar 2025 18:09:48 +0000 (19:09 +0100)] 
grub: patch CVE-2024-45780

Cherry-pick patch mentioning this CVE.

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agogrub: patch CVE-2024-45782 and CVE-2024-56737
Peter Marko [Tue, 11 Mar 2025 18:09:47 +0000 (19:09 +0100)] 
grub: patch CVE-2024-45782 and CVE-2024-56737

Cherry-pick patch mentioning these CVEs.

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agogrup: patch CVE-2024-45781
Peter Marko [Tue, 11 Mar 2025 18:09:46 +0000 (19:09 +0100)] 
grup: patch CVE-2024-45781

Cherry-pick patch mentioning this CVE.

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agogrub: backport strlcpy function
Peter Marko [Tue, 11 Mar 2025 18:09:45 +0000 (19:09 +0100)] 
grub: backport strlcpy function

It is used to fix multiple CVEs.

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agogrub: drop obsolete CVE statuses
Peter Marko [Tue, 11 Mar 2025 18:09:44 +0000 (19:09 +0100)] 
grub: drop obsolete CVE statuses

CVE-2021-46705 was needed only with 2.06
CVE-2023-4692 and CVE-2023-4693 were fixed in NVD DB meanwhile

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agobtrfs-tools: upgrade 6.12 -> 6.13
Wang Mingyu [Tue, 11 Mar 2025 07:36:18 +0000 (15:36 +0800)] 
btrfs-tools: upgrade 6.12 -> 6.13

Add patch fix the error when do_image_btrfs:
  ERROR: lzo support not compiled in

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>
5 months agoman-pages: 6.12 -> 6.13
Hongxu Jia [Tue, 11 Mar 2025 04:59:11 +0000 (12:59 +0800)] 
man-pages: 6.12 -> 6.13

Changelog:
============
-  Build system:
   -  PDF book:
      -  Add support for UNIX V10 sources.
   -  Makefiles:
      -  Don't pass an escaped # to grep(1).  Use a trick to work with
         both new and old systems.  This fixes a regressions in the
         build system from man-pages-6.11, which was itself introduced
         while fixing a regression introduced in man-pages-6.10.

[RP: Tweak version typo in commit message]
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agognupg: 2.5.4 -> 2.5.5
Hongxu Jia [Tue, 11 Mar 2025 04:59:10 +0000 (12:59 +0800)] 
gnupg: 2.5.4 -> 2.5.5

Noteworthy changes in version 2.5.5 (2025-03-07)
------------------------------------------------

  * gpg: Fix a verification DoS due to a malicious subkey in the
    keyring.  [T7527]

  * dirmngr: Fix possible hangs due to blocking connection requests.
    [T6606, T7434]

  * w32: On socket nonce mismatch close the socket.  [T7434]

  * w32: Print more detailed diagnostics for IPC errors.

  * GPGME is not any more distributed with the Windows installer.
    Please install gpg4win to get gpgme version.

  See-also: gnupg-announce/2025q1/000491.html
  Release-info: https://dev.gnupg.org/T7530

https://dev.gnupg.org/source/gnupg/browse/master/NEWS

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agoxwayland: mark CVEs fixed in 24.1.6 as fixed
Peter Marko [Mon, 10 Mar 2025 12:49:49 +0000 (13:49 +0100)] 
xwayland: mark CVEs fixed in 24.1.6 as fixed

These are tracked as versionless redhat CVEs in NVD DB.

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agolibcap: upgrade 2.73 -> 2.74
Yogita Urade [Mon, 10 Mar 2025 10:28:09 +0000 (10:28 +0000)] 
libcap: upgrade 2.73 -> 2.74

This upgrade includes fix for CVE-2025-1390

Changelog:
https://sites.google.com/site/fullycapable/release-notes-for-libcap#h.ccbrq82zh7n9

Signed-off-by: Yogita Urade <yogita.urade@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agopatchtest: Fix minor README typo
Sofiane HAMAM [Mon, 10 Mar 2025 09:10:40 +0000 (10:10 +0100)] 
patchtest: Fix minor README typo

Fix minor typo in patchtest.README.

Signed-off-by: Sofiane HAMAM <sofiane.hamam@smile.fr>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agolibsdl2: fix build with pipewire 1.4.0
Markus Volk [Sun, 9 Mar 2025 06:56:27 +0000 (07:56 +0100)] 
libsdl2: fix build with pipewire 1.4.0

This commit adds a backport patch to address a build issue with pipewire 1.4.0

| /home/flk/poky/build/tmp/work/corei7-64-poky-linux/libsdl2/2.32.2/SDL2-2.32.2/src/audio/pipewire/SDL_pipewire.c:593:37: error: passing argument 1 of 'pw_node_enum_params' from incompatible pointer type [-Wincompatible-pointer-types]

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agolib: spdx30_tasks: remove duplicated patched CVEs
Hongxu Jia [Wed, 12 Mar 2025 05:58:03 +0000 (13:58 +0800)] 
lib: spdx30_tasks: remove duplicated patched CVEs

Due to commit [lib: spdx30_tasks: Handle patched CVEs][1] applied,
duplicated CVE identifier for each CVE which increased +25% build
time (image task: do_create_image_sbom_spdx)

$ bitbake binutils-cross-x86_64
$ jq . tmp/deploy/spdx/3.0.1/x86_64/recipes/recipe-binutils-cross-x86_64.spdx.json | grep CVE-2023-25584
      "spdxId": "http://spdx.org/spdxdocs/binutils-cross-x86_64-5de92009-80e6-55c5-8b1f-cc37f04fbe09/962efd5da447b81b017db54d3077be796d2e5b6e770a6b050467b24339c0995f/vulnerability/CVE-2023-25584",
          "https://rdf.openembedded.org/spdx/3.0/alias": "http://spdxdocs.org/openembedded-alias/by-doc-hash/594f521fb7a3a4e9a2d3905303ffb04b016c3ce7693a775cca08be5af4d06658/binutils-cross-x86_64/UNIHASH/vulnerability/CVE-2023-25584"
          "identifier": "CVE-2023-25584",
            "https://cveawg.mitre.org/api/cve/CVE-2023-25584",
            "https://www.cve.org/CVERecord?id=CVE-2023-25584"
      "spdxId": "http://spdx.org/spdxdocs/binutils-cross-x86_64-5de92009-80e6-55c5-8b1f-cc37f04fbe09/962efd5da447b81b017db54d3077be796d2e5b6e770a6b050467b24339c0995f/vulnerability/CVE-2023-25584",
          "https://rdf.openembedded.org/spdx/3.0/alias": "http://spdxdocs.org/openembedded-alias/by-doc-hash/594f521fb7a3a4e9a2d3905303ffb04b016c3ce7693a775cca08be5af4d06658/binutils-cross-x86_64/UNIHASH/vulnerability/CVE-2023-25584"
          "identifier": "CVE-2023-25584",
            "https://cveawg.mitre.org/api/cve/CVE-2023-25584",
            "https://www.cve.org/CVERecord?id=CVE-2023-25584"

Since the commit [cve-check: annotate CVEs during analysis][2] improved
function get_patched_cves to:
- Check each patch file;
- Search for additional patched CVEs from CVE_STATUS;

And return dictionary patched_cve for each cve:
{
  "abbrev-status": "xxx",
  "status": "xxx",
  "justification": "xxx",
  "resource": "xxx",
  "affected-vendor": "xxx",
  "affected-product": "xxx",
}

But while adding CVE in meta/lib/oe/spdx30_tasks.py, the cve_by_status
requires decoded_status
{
  "mapping": "xxx",
  "detail": "xxx",
  "description": "xxx",
}

This commit converts patched_cve to decoded_status

  patched_cve["abbrev-status"] --> decoded_status["mapping"]
  patched_cve["status"] --> decoded_status["detail"]
  patched_cve["justification"] --> decoded_status["description"]

And remove duplicated search for additional patched CVEs from CVE_STATUS
(calling oe.cve_check.decode_cve_status)

After applying this commit
$ bitbake binutils-cross-x86_64
$ jq . tmp/deploy/spdx/3.0.1/x86_64/recipes/recipe-binutils-cross-x86_64.spdx.json | grep CVE-2023-25584
      "spdxId": "http://spdx.org/spdxdocs/binutils-cross-x86_64-5de92009-80e6-55c5-8b1f-cc37f04fbe09/381bf593d99c005ecd2c2e0815b86bca2b9ff4cc2db59587aaddd3db95c67470/vulnerability/CVE-2023-25584",
          "https://rdf.openembedded.org/spdx/3.0/alias": "http://spdxdocs.org/openembedded-alias/by-doc-hash/594f521fb7a3a4e9a2d3905303ffb04b016c3ce7693a775cca08be5af4d06658/binutils-cross-x86_64/UNIHASH/vulnerability/CVE-2023-25584"
          "identifier": "CVE-2023-25584",
            "https://cveawg.mitre.org/api/cve/CVE-2023-25584",
            "https://www.cve.org/CVERecord?id=CVE-2023-25584"

[1] https://git.openembedded.org/openembedded-core/commit/?id=1ff496546279d8a97df5ec475007cfb095c2a0bc
[2] https://git.openembedded.org/openembedded-core/commit/?id=452e605b55ad61c08f4af7089a5a9c576ca28f7d

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agolib: Fix dependencies on SPDX code
Joshua Watt [Tue, 11 Mar 2025 14:03:02 +0000 (08:03 -0600)] 
lib: Fix dependencies on SPDX code

The SPDX library code was being ignored from taskhash calculations due
to accidentally being omitted from BBIMPORTS. This meant that changes in
the code or dependent variables would not cause the task to rebuild
correctly.

In order to add spdx_common, convert the `Dep` object from a named tuple
to a frozen dataclass. These function more or less equivalently, but the
bitbake code parser cannot handle named tuples.

Finally, the vardepsexclude that used to be present on the recipe tasks
needs to be moved to the python code in order for the variables to be
correctly ignored. Several unused exclusions were removed

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agoxserver-xorg: upgrade 21.1.15 -> 21.1.16
Vijay Anusuri [Tue, 11 Mar 2025 11:22:42 +0000 (11:22 +0000)] 
xserver-xorg: upgrade 21.1.15 -> 21.1.16

Includes security fix

  * CVE-2025-26594
  * CVE-2025-26595
  * CVE-2025-26596
  * CVE-2025-26597
  * CVE-2025-26598
  * CVE-2025-26599
  * CVE-2025-26600
  * CVE-2025-26601

Ref: https://lists.x.org/archives/xorg-announce/2025-February/003584.html
     https://lists.x.org/archives/xorg-announce/2025-February/003585.html

Signed-off-by: Vijay Anusuri <vanusuri@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agoxserver-xf86-config: remove obsolete configuration files
Ross Burton [Tue, 11 Mar 2025 11:22:41 +0000 (11:22 +0000)] 
xserver-xf86-config: remove obsolete configuration files

For reasons we have explicit xorg.conf files for a number of the qemu
machines, but not all of them. These mainly disabled screen blanking
(which is now down with a separate fragment) but also explictly set the
device driver to fbdev which meant they didn't use the modesettings
driver as they should (with the virtio framebuffer from qemu).

This is the root cause of why the xserver 21.1.16 upgrade doesn't work
on a number of machines: the /sys probing changed and the fbdev driver
now refuses to use the PCI framebuffer device as there are better
drivers, but we've explictly told xorg to use the wrong driver.

For more details, see https://gitlab.freedesktop.org/xorg/xserver/-/issues/1798.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agoxserver-xf86-config: add a configuration fragment to disable screen blanking
Ross Burton [Tue, 11 Mar 2025 11:22:40 +0000 (11:22 +0000)] 
xserver-xf86-config: add a configuration fragment to disable screen blanking

Add a configuration fragment that disables screen blanking, and add it
to all qemu machines.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agogcr: exclude x.y.9z pre-releases from upstream version check
Alexander Kanavin [Tue, 11 Mar 2025 10:05:00 +0000 (11:05 +0100)] 
gcr: exclude x.y.9z pre-releases from upstream version check

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agognupg: follow odd-even scheme in upstream version checks
Alexander Kanavin [Tue, 11 Mar 2025 10:04:59 +0000 (11:04 +0100)] 
gnupg: follow odd-even scheme in upstream version checks

Unfortunately this has been overlooked, and resulted in
erroneous updates to testing/development releases.

The check will report an 'unknown' latest version until 2.6.0
is released.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agopython3-roman-numbers-py: correct upstream version check
Alexander Kanavin [Tue, 11 Mar 2025 10:04:58 +0000 (11:04 +0100)] 
python3-roman-numbers-py: correct upstream version check

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agosystemd-systemctl-native: correctly set PV
Alexander Kanavin [Tue, 11 Mar 2025 10:04:57 +0000 (11:04 +0100)] 
systemd-systemctl-native: correctly set PV

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agooe-selftest: fitimage add more kernel tests
Adrian Freihofer [Mon, 10 Mar 2025 09:35:49 +0000 (10:35 +0100)] 
oe-selftest: fitimage add more kernel tests

* Test with only one externally provided ssh key not only with two
  keys generated by the kernel-fitimage.bbclass itself.
* Add a test which signs only the configuration but not the image nodes.
  There was no test case which covered the probably much more important
  use case of setting FIT_SIGN_INDIVIDUAL = "0".
* Cover also the unbundled initramfs use case. Also this use case is
  probably much more relevant than the bundled initramnfs use case.

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agooe-selftest: fitimage cleanup
Adrian Freihofer [Mon, 10 Mar 2025 09:35:48 +0000 (10:35 +0100)] 
oe-selftest: fitimage cleanup

This is a comprehensive cleanup of the fitImage related test cases.
The existing test cases were essentially the same code copied and pasted
9 times. All 9 test cases contained the code to parse an its file and to
parse the output of the dumpimage utility in slightly different variants.
Changing the kernel-fitimage.bbclass or the uboot-sign.bbclass would mean
changing 9 test cases individually. This is no longer maintainable.

This cleanup converts the code into reusable functions. The new test
code is more like a reverse implementation of the bbclasses to be tested
than a collection of straightforward test sequences.
This also means that the test code evaluates the same bitbake variables
as the implementation. This makes it much easier to add new test cases,
as a test case is basically just another local.conf file. The code is
not yet complete. But it can now be improved step by step in this
direction.

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agooe-selftest: fitimage sort tests
Adrian Freihofer [Mon, 10 Mar 2025 09:35:47 +0000 (10:35 +0100)] 
oe-selftest: fitimage sort tests

This is a trivial refactoring.
The goal is to have all tests for kernel-fitimage.bbclass and all tests
for uboot-sign.bbclass together. This refactoring greatly simplifies
the diff of the next commit.

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agooe-selftest: adapt u-boot tests to latest changes
Adrian Freihofer [Mon, 10 Mar 2025 09:35:46 +0000 (10:35 +0100)] 
oe-selftest: adapt u-boot tests to latest changes

For u-boot test cases (bitbake virtual/bootloader) inheriting the
kernel-fitimage.bbclass is no longer needed. Also setting any variable
which is evaluated by the kernel-fitimage.bbclass but not by
uboot-sign.bbclass is pointless since:

* Commit OE-Core rev: 5e12dc911d0c541f43aa6d0c046fb87e8b7c1f7e
  changed the test case from
    bitbake virtual/kernel
  to
    bitbake virtual/bootloader

* Commit OE-Core rev: 259bfa86f384206f0d0a96a5b84887186c5f689e has
  finally removed the dependency of uboot-sign.bbclass on the
  kernel-fitimage.bbclass completely.

Remove the related lines of code which are now without any effect.

The two test cases test_uboot_fit_image and test_uboot_sign_fit_image
do the exact same test. Both generate a binary equal its file:

/dts-v1/;

/ {
    description = "A model description";
    #address-cells = <1>;

    images {
        uboot {
            description = "U-Boot image";
            data = /incbin/("u-boot-nodtb.bin");
            type = "standalone";
            os = "u-boot";
            arch = "arm";
            compression = "none";
            load = <0x80080000>;
            entry = <0x80080000>;
        };
        fdt {
            description = "U-Boot FDT";
            data = /incbin/("u-boot.dtb");
            type = "flat_dt";
            arch = "arm";
            compression = "none";
        };
    };

    configurations {
        default = "conf";
        conf {
            description = "Boot with signed U-Boot FIT";
            loadables = "uboot";
            fdt = "fdt";
        };
    };
};

The code diff between the two equal test cases looks like:

@@ -1,8 +1,9 @@
-    def test_uboot_fit_image(self):
+    def test_uboot_sign_fit_image(self):
         """
         Summary:     Check if Uboot FIT image and Image Tree Source
                      (its) are built and the Image Tree Source has the
-                     correct fields.
+                     correct fields, in the scenario where the Kernel
+                     is also creating/signing it's fitImage.
         Expected:    1. u-boot-fitImage and u-boot-its can be built
                      2. The type, load address, entrypoint address and
                      default values of U-boot image are correct in the
@@ -26,16 +27,15 @@
 UBOOT_LOADADDRESS = "0x80080000"
 UBOOT_ENTRYPOINT = "0x80080000"
 UBOOT_FIT_DESC = "A model description"
-
-# Enable creation of Kernel fitImage
 KERNEL_IMAGETYPES += " fitImage "
-KERNEL_CLASSES = " kernel-fitimage"
+KERNEL_CLASSES = " kernel-fitimage "
 UBOOT_SIGN_ENABLE = "1"
 FIT_GENERATE_KEYS = "1"
 UBOOT_SIGN_KEYDIR = "${TOPDIR}/signing-keys"
 UBOOT_SIGN_IMG_KEYNAME = "img-oe-selftest"
 UBOOT_SIGN_KEYNAME = "cfg-oe-selftest"
 FIT_SIGN_INDIVIDUAL = "1"
+UBOOT_MKIMAGE_SIGN_ARGS = "-c 'a smart U-Boot comment'"
 """
         self.write_config(config)

Conclusion: The test case test_uboot_sign_fit_image looks redundant.
Contrary to its name, it does not insert any signature nodes into the
its-file and therefore does not test any type of signature.

Code history:
- Commit OE-Core rev: e71e4c617568496ae3bd6bb678f97b4f73cb43d8
  introduces both test cases.
- Commit OE-Core rev: 5e12dc911d0c541f43aa6d0c046fb87e8b7c1f7e
  changes both test cases like this:
  -        bitbake("virtual/kernel")
  +        bitbake("virtual/bootloader")

It looks like the original implementation of test_uboot_sign_fit_image
was supposed to test the interaction between the kernel-fitimage.bbclass
and uboot-sign.bbclass which does not longer work like that.

When compiling u-boot, the variable that is relevant for creating an its
file with signature nodes is: SPL_SIGN_ENABLE. This is what the test
case test_sign_standalone_uboot_fit_image verifies. Lets just delete the
now obsolete test_uboot_sign_fit_image test case.

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agouboot, kernel: use hex address for UBOOT_ENTRYPOINT
Adrian Freihofer [Mon, 10 Mar 2025 09:35:45 +0000 (10:35 +0100)] 
uboot, kernel: use hex address for UBOOT_ENTRYPOINT

Compiling a FIT image with this default values and dump it with
dumpimage shows decimal converted values. For example the default value
20008000 looks like this:

 Image 0 (kernel-1)
  ...
  Load Address: 0x01314c40
  Entry Point:  0x01314c40

With this change the expected value is printed by dumpimage.

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agolinux-fitimage: sign setup sections
Adrian Freihofer [Mon, 10 Mar 2025 09:35:44 +0000 (10:35 +0100)] 
linux-fitimage: sign setup sections

If FIT_SIGN_INDIVIDUAL is set to “1”, a signature section is added
to all screen sections, but not to the setup section. To match the setup
section with all other sections, the signature is also added. This also
helps to implement the associated tests generically.

This change is intended to make the code more consistent. However, it is
not intended to make the FIT_SIGN_INDIVIDUAL function more popular.
Technically, it would be better to remove the signature from all other
image sections and discard the FIT_SIGN_INDIVIDUAL function, the use of
which is no longer recommended anyway.

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agooe-selftest: drop redundant imports
Adrian Freihofer [Mon, 10 Mar 2025 09:35:43 +0000 (10:35 +0100)] 
oe-selftest: drop redundant imports

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agobuild-appliance-image: Update to master head revision
Richard Purdie [Sun, 9 Mar 2025 20:10:18 +0000 (20:10 +0000)] 
build-appliance-image: Update to master head revision

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agoclasses-recipe: Consolidate machine-id handling
Vyacheslav Yurkov [Sat, 1 Mar 2025 21:27:53 +0000 (22:27 +0100)] 
classes-recipe: Consolidate machine-id handling

Whenever Systemd is used as an init manager, it requires a machine-id
file to be present / initialized / or have the RW rootfs. This change
does not introduce a new functionality, but rather merges everything we
do with machine-id in one place.

Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agosystemd: Build the systemctl executable
Vyacheslav Yurkov [Sat, 1 Mar 2025 21:27:52 +0000 (22:27 +0100)] 
systemd: Build the systemctl executable

Instead of the python re-implementation build the actual systemctl from
the systemd source tree. The python script was used when systemd didn't
provide an option to build individual executables. It is possible in the
meantime, so instead of always adapting the script when there's a new
functionality, we simply use upstream implementation.

License-Update: Base recipe is used

Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agompfr: Apply the backport of Float128 patch
Khem Raj [Fri, 7 Mar 2025 17:55:12 +0000 (09:55 -0800)] 
mpfr: Apply the backport of Float128 patch

This is the final patch that got applied to mpfr upstream
so lets drop the version we are carrying in favour of this backported.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agocmake.bbclass: remove whitespace
Victor J. Hansen [Fri, 7 Mar 2025 16:36:37 +0000 (17:36 +0100)] 
cmake.bbclass: remove whitespace

Signed-off-by: Victor J. Hansen <victor.hansen@remarkable.no>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agokernel-arch: add macro-prefix-map in KERNEL_CC
Stefan Mueller-Klieser [Fri, 7 Mar 2025 13:43:52 +0000 (14:43 +0100)] 
kernel-arch: add macro-prefix-map in KERNEL_CC

When building external modules, macros can include absolute names of
kernel headers. The macro-prefix-map for the STAGING_KERNEL_DIR is
currently missing. Add it in the same way as its done in bitbake.conf.

This fixes reproducible builds and following build error:
ERROR: cryptodev-module-1.14-r0 do_package_qa: QA Issue: File <..>
cryptodev.ko <..> contains reference to TMPDIR [buildpaths]

Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agolib: spdx30_tasks: Handle patched CVEs
Joshua Watt [Thu, 6 Mar 2025 21:20:07 +0000 (14:20 -0700)] 
lib: spdx30_tasks: Handle patched CVEs

The code to iterate over patched CVEs (e.g. those patched by a .patch
file in SRC_URI) was accidentally omitted when writing the SPDX 3
handling. Add it in now

[YOCTO #15789]

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agotcmode-default: eliminate needless 'go' defaults
Randy MacLeod [Thu, 6 Mar 2025 18:55:51 +0000 (13:55 -0500)] 
tcmode-default: eliminate needless 'go' defaults

Manually setting preferred version/provider is not required so remove that for 'go'.

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agotcmode-default: eliminate needless gdb, qemu defaults
Randy MacLeod [Thu, 6 Mar 2025 18:55:50 +0000 (13:55 -0500)] 
tcmode-default: eliminate needless gdb, qemu defaults

Manually setting preferred version/provider is not required so remove
that for gdb and qemu as a first step of cleaning up this file.

This PREFERRED_VERSION list dates back to 2006, which is an era where
several versions of a given recipe was a common occurence.

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agoovmf: Add PACKAGECONFIG[debug]
Pavel Zhukov [Fri, 7 Mar 2025 09:52:57 +0000 (10:52 +0100)] 
ovmf: Add PACKAGECONFIG[debug]

In release mode, OVMF does not output any debug information to the QEMU port, making it extremely difficult to debug boot issues.
This commit introduces packageconfig debug flag to enable it

Usage:
PACKAGECONFIG:append:pn-ovmf = " debug"
runqemu qemuparams="-debugcon file:debug.log -global isa-debugcon.iobase=0x402"

The OVMF debug console output will be written to debug.log.

Signed-off-by: Pavel Zhukov <pavel@zhukoff.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agolib/oe/elf.py: Add loongarch64 architecture definition for musl
Xiaotian Wu [Fri, 7 Mar 2025 09:46:27 +0000 (17:46 +0800)] 
lib/oe/elf.py: Add loongarch64 architecture definition for musl

Add the ELF definition for the loongarch64 architecture when building
with musl as libc.

Signed-off-by: Xiaotian Wu <wuxiaotian@loongson.cn>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agollvm: Use LoongArch as host for LLVM architecture
Xiaotian Wu [Fri, 7 Mar 2025 09:46:44 +0000 (17:46 +0800)] 
llvm: Use LoongArch as host for LLVM architecture

Signed-off-by: Xiaotian Wu <wuxiaotian@loongson.cn>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agogrub2: Add loongarch64 as grub target
Xiaotian Wu [Fri, 7 Mar 2025 09:46:04 +0000 (17:46 +0800)] 
grub2: Add loongarch64 as grub target

Signed-off-by: Xiaotian Wu <wuxiaotian@loongson.cn>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agobabeltrace2: extend to nativesdk
Changqing Li [Thu, 6 Mar 2025 07:36:08 +0000 (15:36 +0800)] 
babeltrace2: extend to nativesdk

This allows anyone using the SDK to be able to analyze the logs
collected on target

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agobabeltrace: extend to nativesdk
Changqing Li [Thu, 6 Mar 2025 07:36:07 +0000 (15:36 +0800)] 
babeltrace: extend to nativesdk

This allows anyone using the SDK to be able to analyze the logs
collected on target

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agofastfloat: add recipe
Markus Volk [Wed, 5 Mar 2025 15:19:06 +0000 (16:19 +0100)] 
fastfloat: add recipe

A header-only library for fast number parsing
An older version of this recipe is included in meta-oe, since fastfloat
is also used by libplacebo. If the recipe is accepted, I will send a patch for
removal there.

The reason why this is needed in oe-core is the upcoming vte release,
which uses fastfloat but pulls it as a wrap-based subproject by default.

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agolibsdl2: fix PACKAGECONFIG for libusb
Markus Volk [Wed, 5 Mar 2025 16:55:59 +0000 (17:55 +0100)] 
libsdl2: fix PACKAGECONFIG for libusb

libusb is required to support some older low level input
devices. Meanwhile this is guarded by an option:
SDL_HIDAPI_LIBUSB

Use it for the PACKAGECONFIG to allow build with libusb support again

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
5 months agolib: sbom30: Add action statement for affected VEX statements
Joshua Watt [Wed, 5 Mar 2025 21:00:30 +0000 (14:00 -0700)] 
lib: sbom30: Add action statement for affected VEX statements

VEX Affected relationships have a mandatory action statement that
indicates the mitigation for a vulnerability. Since we don't track this
add a statement indicating that no mitigation is known.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agomtd-utils: Upgrade to 2.3.0
Fabio Estevam [Tue, 4 Mar 2025 13:11:05 +0000 (10:11 -0300)] 
mtd-utils: Upgrade to 2.3.0

Upgrade to mtd-utils 2.3.0.

Details about the 2.3.0 release:

https://lore.kernel.org/linux-mtd/1b7a55a6-1c5b-4e86-8006-e2010e54367e@sigma-star.at/T/#u

[RP: Tweak SRC_URI formatting]
Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agodhcpcd: fix for unexpected syscall 135 for 10.1.0 version
Balaji Pothunoori [Wed, 5 Mar 2025 06:41:01 +0000 (12:11 +0530)] 
dhcpcd: fix for unexpected syscall 135 for 10.1.0 version

Current dhcpcd (version 10.1.0) service crashes on the WiFi (wlan0)
interface with the following error:

"ps_seccomp_violation: unexpected syscall 135"

This update pulls in fix #421 for dhcpcd 10.1.0 to address this issue.

Signed-off-by: Balaji Pothunoori <quic_bpothuno@quicinc.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agoffmpeg: upgrade 7.1 -> 7.1.1
Archana Polampalli [Wed, 5 Mar 2025 06:15:27 +0000 (06:15 +0000)] 
ffmpeg: upgrade 7.1 -> 7.1.1

Remove 0001-lavc-h264dsp-move-RISC-V-fn-pointers-to-.data.rel.ro.patch as it merged to 7.1.1
https://github.com/FFmpeg/FFmpeg/commit/4ea558152f05e41f15a548e2aab8e5d40546af5f

Changelog:
https://github.com/FFmpeg/FFmpeg/blob/n7.1.1/Changelog

Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agogi-docgen: upgrade 2024.1 -> 2025.3
Wang Mingyu [Wed, 5 Mar 2025 03:49:12 +0000 (11:49 +0800)] 
gi-docgen: upgrade 2024.1 -> 2025.3

Changelog:
=========
Added
------
Add layout for tablet portrait mode
Support static virtual methods

Changed
-------
Don't generate classes hierarchy if not needed
Improve copy buttons on narrow layouts

Fixed
-------
Only consider dot data processing fail if dot returns non-zero
Show non-standard instance parameters
Fix C declaration of structure fields

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>
5 months agorpm-sequoia-crypto-policy: Don't validate gnutls crypto policy
Zoltán Böszörményi [Wed, 5 Mar 2025 07:03:19 +0000 (08:03 +0100)] 
rpm-sequoia-crypto-policy: Don't validate gnutls crypto policy

Building this recipe may fail on hosts with an old GnuTLS version,
like Ubuntu 20.04.6 LTS.

Add OLD_GNUTLS=1 to disable validation for this policy variant
that isn't needed anyway.

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Tested-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agozstd: upgrade 1.5.6 -> 1.5.7
Wang Mingyu [Tue, 4 Mar 2025 09:09:16 +0000 (17:09 +0800)] 
zstd: upgrade 1.5.6 -> 1.5.7

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>
5 months agowireless-regdb: upgrade 2024.10.07 -> 2025.02.20
Wang Mingyu [Tue, 4 Mar 2025 09:09:15 +0000 (17:09 +0800)] 
wireless-regdb: upgrade 2024.10.07 -> 2025.02.20

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>
5 months agostress-ng: upgrade 0.18.10 -> 0.18.11
Wang Mingyu [Tue, 4 Mar 2025 09:09:14 +0000 (17:09 +0800)] 
stress-ng: upgrade 0.18.10 -> 0.18.11

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>
5 months agoshadow: update 4.17.2 -> 4.17.3
Wang Mingyu [Tue, 4 Mar 2025 09:09:13 +0000 (17:09 +0800)] 
shadow: update 4.17.2 -> 4.17.3

shadow-update-pam-conf.patch
refreshed for 4.17.3
[RP: One of the utilities, chage was dropped from pam]

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>
5 months agorepo: upgrade 2.51 -> 2.52
Wang Mingyu [Tue, 4 Mar 2025 09:09:12 +0000 (17:09 +0800)] 
repo: upgrade 2.51 -> 2.52

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>
5 months agore2c: upgrade 4.0.2 -> 4.1
Wang Mingyu [Tue, 4 Mar 2025 09:09:11 +0000 (17:09 +0800)] 
re2c: upgrade 4.0.2 -> 4.1

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>
5 months agopython3-websockets: upgrade 14.2 -> 15.0
Wang Mingyu [Tue, 4 Mar 2025 09:09:10 +0000 (17:09 +0800)] 
python3-websockets: upgrade 14.2 -> 15.0

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>
5 months agopython3-trove-classifiers: upgrade 2025.1.15.22 -> 2025.2.18.16
Wang Mingyu [Tue, 4 Mar 2025 09:09:09 +0000 (17:09 +0800)] 
python3-trove-classifiers: upgrade 2025.1.15.22 -> 2025.2.18.16

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>
5 months agopython3-setuptools: upgrade 75.8.0 -> 75.8.2
Wang Mingyu [Tue, 4 Mar 2025 09:09:08 +0000 (17:09 +0800)] 
python3-setuptools: upgrade 75.8.0 -> 75.8.2

0001-conditionally-do-not-fetch-code-by-easy_install.patch
refreshed for 75.8.2

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>
5 months agopython3-pytest: upgrade 8.3.4 -> 8.3.5
Wang Mingyu [Tue, 4 Mar 2025 09:09:07 +0000 (17:09 +0800)] 
python3-pytest: upgrade 8.3.4 -> 8.3.5

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>
5 months agopython3-pyelftools: upgrade 0.31 -> 0.32
Wang Mingyu [Tue, 4 Mar 2025 09:09:06 +0000 (17:09 +0800)] 
python3-pyelftools: upgrade 0.31 -> 0.32

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>
5 months agopython3-hypothesis: upgrade 6.125.3 -> 6.127.4
Wang Mingyu [Tue, 4 Mar 2025 09:09:05 +0000 (17:09 +0800)] 
python3-hypothesis: upgrade 6.125.3 -> 6.127.4

Changelog:
 https://hypothesis.readthedocs.io/en/latest/changes.html

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>
5 months agopython3-beartype: upgrade 0.19.0 -> 0.20.0
Wang Mingyu [Tue, 4 Mar 2025 09:09:04 +0000 (17:09 +0800)] 
python3-beartype: upgrade 0.19.0 -> 0.20.0

License-Update: Copyright year updated to 2025

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>
5 months agopython3-bcrypt: upgrade 4.2.1 -> 4.3.0
Wang Mingyu [Tue, 4 Mar 2025 09:09:03 +0000 (17:09 +0800)] 
python3-bcrypt: upgrade 4.2.1 -> 4.3.0

Changelog:
============
- Dropped support for Python 3.7.
- We now support free-threaded Python 3.13.
- We now support PyPy 3.11.
- We now publish wheels for free-threaded Python 3.13, for PyPy 3.11 on manylinux, and for ARMv7l on manylinux.

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>
5 months agoorc: upgrade 0.4.40 -> 0.4.41
Wang Mingyu [Tue, 4 Mar 2025 09:09:02 +0000 (17:09 +0800)] 
orc: upgrade 0.4.40 -> 0.4.41

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>
5 months agoopenssh: upgrade 9.9p1 -> 9.9p2
Wang Mingyu [Tue, 4 Mar 2025 09:09:01 +0000 (17:09 +0800)] 
openssh: upgrade 9.9p1 -> 9.9p2

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>
5 months agonghttp2: upgrade 1.64.0 -> 1.65.0
Wang Mingyu [Tue, 4 Mar 2025 09:09:00 +0000 (17:09 +0800)] 
nghttp2: upgrade 1.64.0 -> 1.65.0

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>
5 months agomtools: upgrade 4.0.47 -> 4.0.48
Wang Mingyu [Tue, 4 Mar 2025 09:08:59 +0000 (17:08 +0800)] 
mtools: upgrade 4.0.47 -> 4.0.48

clang_UNUSED.patch
disable-hardcoded-configs.patch
refreshed for 4.0.48

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>
5 months agominicom: upgrade 2.9 -> 2.10
Wang Mingyu [Tue, 4 Mar 2025 09:08:58 +0000 (17:08 +0800)] 
minicom: upgrade 2.9 -> 2.10

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>
5 months agoman-pages: upgrade 6.11 -> 6.12
Wang Mingyu [Tue, 4 Mar 2025 09:08:57 +0000 (17:08 +0800)] 
man-pages: upgrade 6.11 -> 6.12

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>
5 months agoliburcu: update 0.15.0 -> 0.15.1
Wang Mingyu [Tue, 4 Mar 2025 09:08:56 +0000 (17:08 +0800)] 
liburcu: update 0.15.0 -> 0.15.1

0001-uatomic-generic.h-add-missing-stdlib.h-header-file-f.patch
removed since it's included in 0.15.1

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>
5 months agolibsdl2: upgrade 2.30.12 -> 2.32.2
Wang Mingyu [Tue, 4 Mar 2025 09:08:55 +0000 (17:08 +0800)] 
libsdl2: upgrade 2.30.12 -> 2.32.2

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>
5 months agolibpng: upgrade 1.6.45 -> 1.6.47
Wang Mingyu [Tue, 4 Mar 2025 09:08:54 +0000 (17:08 +0800)] 
libpng: upgrade 1.6.45 -> 1.6.47

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>
5 months agolibnotify: upgrade 0.8.3 -> 0.8.4
Wang Mingyu [Tue, 4 Mar 2025 09:08:53 +0000 (17:08 +0800)] 
libnotify: upgrade 0.8.3 -> 0.8.4

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>
5 months agolibassuan: upgrade 3.0.1 -> 3.0.2
Wang Mingyu [Tue, 4 Mar 2025 09:08:52 +0000 (17:08 +0800)] 
libassuan: upgrade 3.0.1 -> 3.0.2

libassuan-add-pkgconfig-support.patch
refreshed for 3.0.2

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>
5 months agoinetutils: upgrade 2.5 -> 2.6
Wang Mingyu [Tue, 4 Mar 2025 09:08:51 +0000 (17:08 +0800)] 
inetutils: upgrade 2.5 -> 2.6

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>
5 months agoharfbuzz: upgrade 10.2.0 -> 10.4.0
Wang Mingyu [Tue, 4 Mar 2025 09:08:50 +0000 (17:08 +0800)] 
harfbuzz: upgrade 10.2.0 -> 10.4.0

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>
5 months agofmt: upgrade 11.1.3 -> 11.1.4
Wang Mingyu [Tue, 4 Mar 2025 09:08:48 +0000 (17:08 +0800)] 
fmt: upgrade 11.1.3 -> 11.1.4

Changelog:
===========
- Fixed ABI compatibility with earlier 11.x versions on Windows
- Improved the logic of switching between fixed and exponential format for float
- Moved is_compiled_string to the public API
- Simplified implementation of operator""_cf
- Fixed __builtin_strlen detection
- Fixed handling of BMI paths with the Ninja generator
- Fixed gcc 8.3 compile errors
- Fixed a bogus MSVC warning

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>
5 months agodbus: upgrade 1.16.0 -> 1.16.2
Wang Mingyu [Tue, 4 Mar 2025 09:08:47 +0000 (17:08 +0800)] 
dbus: upgrade 1.16.0 -> 1.16.2

Changelog:
===========
- The branch used for development releases has been renamed to 'main'.
- On Linux, fix build regression with libselinux >= 3.8 and verbose mode
  enabled
- Documentation updates

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>
5 months agobind: upgrade 9.20.5 -> 9.20.6
Wang Mingyu [Tue, 4 Mar 2025 09:08:46 +0000 (17:08 +0800)] 
bind: upgrade 9.20.5 -> 9.20.6

Changelog:
===========
New Features
--------------
- Adds support for EDE code 1 and 2.
- Add a rndc command to toggle jemalloc profiling.
- Add support for multiple extended DNS errors.
- Print the expiration time of the stale records.

Feature Changes
---------------
- Refactor reference counting in both QPDB and RBTDB.
- Shutdown the fetch context after canceling the last fetch.

Bug Fixes
----------
- Fix possible truncation in dns_keymgr_status()
- Recently expired records could be returned with timestamp in future.
- Yaml string not terminated in negative response in delv.
- Fix a bug in dnssec-signzone related to keys being offline.
- Apply the memory limit only to ADB database items.
- Avoid unnecessary locking in the zone/cache database.
- Fix EDE 22 time out detection.
- Split and simplify the use of EDE list implementation.
- Fix the cache findzonecut() implementation.
- DNSSEC EDE system tests on FIPS platform.
- Reduce the false sharing the dns_qpcache and dns_qpzone.

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>
5 months agopuzzles: ignore three new CVEs for a different puzzles
Ross Burton [Tue, 4 Mar 2025 12:21:46 +0000 (12:21 +0000)] 
puzzles: ignore three new CVEs for a different puzzles

As we just match on product by default, ignore three CVEs which are
for the "Puzzles" WordPress theme by ThemeREX (CPE themerex:puzzles).

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agoopenssl-native(sdk): poision built in paths
Dan McGregor [Fri, 28 Feb 2025 20:32:06 +0000 (14:32 -0600)] 
openssl-native(sdk): poision built in paths

Long ago, in the OpenSSL 1.1 days changing CFLAGS worked to override
hard-coded paths in the OpenSSL libraries. Even as far back as
kirkstone this was no longer working.

Override make variables instead to poision the paths that get built
into the native (and nativesdk) libraries so they become relocatable
again.

While here, remove the -isystem<foo> compiler argument from the compiler
command line stored in the library, just like we already remove the
prefix-map and sysroot arguments.

Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agolibtasn1: upgrade 4.19.0 -> 4.20.0
Vijay Anusuri [Mon, 24 Feb 2025 06:30:37 +0000 (12:00 +0530)] 
libtasn1: upgrade 4.19.0 -> 4.20.0

* Noteworthy changes in release 4.20.0 (2025-02-01) [stable]
- The release tarball is now reproducible.
- We publish a minimal source-only tarball generated by 'git archive'.
- Update gnulib files and various build/maintenance fixes.
- Fix CVE-2024-12133: Potential DoS in handling of numerous SEQUENCE OF or SET
OF elements

License-Update: file COPYING.LESSER renamed to COPYING.LESSERv2 & Copyright year updated to 2025

Signed-off-by: Vijay Anusuri <vanusuri@mvista.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agomirrors: rationalise Debian mirrors
Ross Burton [Thu, 27 Feb 2025 16:26:38 +0000 (16:26 +0000)] 
mirrors: rationalise Debian mirrors

Change DEBIAN_MIRROR to point at the canonical server, deb.debian.org.

This is a CDN-backed server using network magic to load balance across
the planet so there's no need to set a slew of regional mirrors.

Also add a more recent snapshot.debian.org from the beginning of 2025.

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>
5 months agosystemd-serialgetty: use existing unit files in systemd
Ross Burton [Mon, 3 Mar 2025 16:15:27 +0000 (16:15 +0000)] 
systemd-serialgetty: use existing unit files in systemd

Now that systemd isn't deleting the serial-getty@.service unit template
files, we can simply symlink to the files provided by systemd instead of
shipping a copy of them in this recipe.

This ensures that the getty units triggered by the systemd are identical,
be them via SERIAL_CONSOLES or the generator.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agosystemd: if getty generator is disabled remove the generator, not the units
Ross Burton [Mon, 3 Mar 2025 16:15:26 +0000 (16:15 +0000)] 
systemd: if getty generator is disabled remove the generator, not the units

If the getty generator is disabled then it's neater to remove just the
generator tool instead of the unit files as the unit files are still
useful.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agosystemd-serialgetty: don't set a default SERIAL_CONSOLES
Ross Burton [Mon, 3 Mar 2025 16:15:25 +0000 (16:15 +0000)] 
systemd-serialgetty: don't set a default SERIAL_CONSOLES

bitbake.conf defines a default value, so there's no value in setting
another default here that doesn't match the rest of the system.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agoxserver-nodm-init: improve XDG_RUNTIME_DIR fallback creation
Ross Burton [Tue, 4 Mar 2025 11:12:33 +0000 (11:12 +0000)] 
xserver-nodm-init: improve XDG_RUNTIME_DIR fallback creation

This directory must have mode 0700, and should be under /run/user (as
recommended in the specification, and as weston-init does).

Also check the permissions if the directory already exists and fail
early if they're incorrect.

[ YOCTO #13878 ]

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
5 months agoweston-init: improve XDG_RUNTIME_DIR fallback creation
Ross Burton [Tue, 4 Mar 2025 11:12:32 +0000 (11:12 +0000)] 
weston-init: improve XDG_RUNTIME_DIR fallback creation

Sanity-check the permissions of the directory already exists, and clean
up the creation code.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
5 months agoltp: don't use host objcopy
Ross Burton [Thu, 27 Feb 2025 15:35:34 +0000 (15:35 +0000)] 
ltp: don't use host objcopy

The kernel/kvm test uses the host objcopy when building a payload, but
the host objcopy might not know how to deal with target binaries:

  CC testcases/kernel/kvm/lib_host.o
  objcopy: Unable to recognise the format of the input file `kvm_svm03-payload.elf'
  make[3]: *** [ltp/testcases/kernel/kvm/Makefile:67: kvm_svm03-payload.o] Error 1

Solve this by using the host-prefixed objcopy binary.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
5 months agorust: Oe-selftest changes for rust v1.83.0
Deepesh Varatharajan [Wed, 5 Mar 2025 06:01:58 +0000 (22:01 -0800)] 
rust: Oe-selftest changes for rust v1.83.0

Few unit tests are failing for x86_64 arch.
Ignore the failing unit tests.

Upstream-Status: Pending

Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agorust: Fix build break because of download-ci-llvm
Deepesh Varatharajan [Wed, 5 Mar 2025 06:01:57 +0000 (22:01 -0800)] 
rust: Fix build break because of download-ci-llvm

Previously, download-ci-llvm was set to false. However, with the following commit:
https://github.com/rust-lang/rust/commit/7d579046c80d3de3143dcb8b2db5640f95b5383c ,
which has been present from rust_1.83, it was changed to true. As a result, after
updating to rust_1.83, we encountered the following error during the build:

-------------------------------------------------------------------------------
| thread 'main' panicked at src/core/config/config.rs:2047:13:
| setting build-target.llvm-config is incompatible with download-ci-llvm.
| note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
-------------------------------------------------------------------------------

To resolve this issue, we are setting download-ci-llvm back to false.

Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agorust: Upgrade 1.82.0->1.83.0
Deepesh Varatharajan [Wed, 5 Mar 2025 06:01:56 +0000 (22:01 -0800)] 
rust: Upgrade 1.82.0->1.83.0

Rust stable version updated to 1.83.0.
https://blog.rust-lang.org/2024/11/28/Rust-1.83.0.html

Renamed and modified the below patch to adapt the new version.
rv32-cargo-rustix-0.38.34-fix.patch->rv32-cargo-rustix-0.38.37-fix.patch

Modified the below patches to adapt the new version.
repro-issue-fix-with-cc-crate-hashmap.patch
revert-link-std-statically-in-rustc_driver-feature.patch

Dropped: zlib-off64_t.patch
https://github.com/madler/zlib/commit/a566e156b3fa07b566ddbf6801b517a9dba04fa3kq

Because of the following commit ,
https://github.com/rust-lang/rust/commit/68034f837a39387e49fc7d7c5b088f5372a1127e
when we enable lib32, getting build failure because there is a check for target
support for "-Zdual-proc-macros" flag not functioning properly when lib32 is
enabled in the build environment. So for now reverting this commit and bring
back the previous behavior, where the "-Zdual-proc-macros" flag is always
added for building proc macros, regardless of the target architecture's support.
This would bypass the check introduced in the patch, allowing the build to
proceed without error, even when building for a 64-bit architecture with lib32 enabled.

Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agobitbake.conf: Start to separate out gcc related variable definitions
Richard Purdie [Tue, 7 Jan 2025 14:18:12 +0000 (14:18 +0000)] 
bitbake.conf: Start to separate out gcc related variable definitions

To be able to switch toolchains, we need to separate out the gcc definitions
into seperate include files. This patch starts that process. Whilst the
include is still hardcoded for now, it allows developers to start experimenting
with this locally more easily and stops people reinventing this patch. A
sample clang configuruation is also included which I was using for experimentation.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>