]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
23 months agosystemtap: do not install uprobes and uprobes sources
Victor Kamensky [Tue, 5 Dec 2023 06:32:48 +0000 (22:32 -0800)] 
systemtap: do not install uprobes and uprobes sources

Addresses the following do_package_qa warning:

WARNING: systemtap-5.0-r0 do_package_qa: QA Issue: File /usr/share/systemtap/runtime/linux/uprobes/Makefile in package systemtap contains reference to TMPDIR
File /usr/share/systemtap/runtime/linux/uprobes/git_version.h in package systemtap contains reference to TMPDIR
File /usr/share/systemtap/runtime/linux/uprobes2/git_version.h in package systemtap contains reference to TMPDIR [buildpaths]

Signed-off-by: Victor Kamensky <victor.kamensky7@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agosystemtap: upgrade 4.9 -> 5.0
Victor Kamensky [Tue, 5 Dec 2023 06:32:47 +0000 (22:32 -0800)] 
systemtap: upgrade 4.9 -> 5.0

Similar to 4.9 release, in 5.0 release release-5.0 tag is off any branch,
release-5.0a tag e72dc118e563c645d93a1a2d771e8d90e8fec1ae is on the master
branch. Use this value for SRCREV and add catch up patch,
0001-prerelease-datestamp-fixes.patch, to bring source up to release-5.0 tag
level. Remove 0001-prerelease-datestamp-fixes.patch in next upgrade.

Signed-off-by: Victor Kamensky <victor.kamensky7@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agometa-yocto-bsp/oeqa/parselogs: add BSP-specific ignores
Ross Burton [Mon, 4 Dec 2023 18:24:19 +0000 (18:24 +0000)] 
meta-yocto-bsp/oeqa/parselogs: add BSP-specific ignores

Add machine-specific ignores from oe-core to meta-yocto-bsp.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agooeqa/runtime/parselogs: migrate ignores
Ross Burton [Mon, 4 Dec 2023 18:24:18 +0000 (18:24 +0000)] 
oeqa/runtime/parselogs: migrate ignores

Move the ignores from a huge dict in the parselogs.py module to .txt
files. This is just the common, tune, and qemu machine ignores; the
machine ignores that are not in oe-core will be added to the relevant
layers.

The list of ignores has not been reviewed in any meaningful way, this
should be done soon as I suspect a number of these are redundant.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agooeqa/runtime/parselogs: load ignores from disk
Ross Burton [Mon, 4 Dec 2023 18:24:17 +0000 (18:24 +0000)] 
oeqa/runtime/parselogs: load ignores from disk

Instead of hardcoding the list of ignored errors/warnings in the test
itself, read them plain text files on disk.

This uses importlib to try to open a file called
oeqa.runtime.cases.parselogs-ignores-[candidate].txt, where the
candidate will be:

- "common"
- The TARGET_ARCH
- Each of the MACHINEOVERRDES

This allows the common and tune-specific ignores to be retained in
oe-core, and machine-specific ignores added to the layer where the
machine is defined.

[ YOCTO #14604 ]

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agogettext: Upgrade 0.22.3 -> 0.22.4
Robert Yang [Tue, 5 Dec 2023 06:44:09 +0000 (22:44 -0800)] 
gettext: Upgrade 0.22.3 -> 0.22.4

From NEWS:
Version 0.22.4 - November 2023
* Bug fixes:
  - AM_GNU_GETTEXT now recognizes a statically built libintl on macOS and AIX.
  - Build fixes on AIX.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agoavahi: update URL for new project location
Ross Burton [Mon, 4 Dec 2023 10:41:04 +0000 (10:41 +0000)] 
avahi: update URL for new project location

Avahi has moved to a new parent organisation on GitHub, so update the
URLs to match.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agoell: upgrade 0.60 -> 0.61
Zang Ruochen [Mon, 4 Dec 2023 06:23:14 +0000 (22:23 -0800)] 
ell: upgrade 0.60 -> 0.61

Signed-off-by: Zang Ruochen <zangruochen@loongson.cn>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agopsplash: upgrade to latest revision
Yi Zhao [Sun, 3 Dec 2023 09:27:24 +0000 (17:27 +0800)] 
psplash: upgrade to latest revision

ecc19137 SECURITY.md: Add file

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agojson-glib: upgrade 1.6.6 -> 1.8.0
Yi Zhao [Sun, 3 Dec 2023 09:27:23 +0000 (17:27 +0800)] 
json-glib: upgrade 1.6.6 -> 1.8.0

Overview of changes for 1.8
==============================
* Build fixes
* Add current node accessor to JsonReader
* Make xgettext optional
* Avoid leaking memory in error paths
* Update test suite to conform with TAP
* Ensure valid output for exponential notation of numbers
* Translation updates

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agogtk4: upgrade 4.12.3 -> 4.12.4
Markus Volk [Tue, 28 Nov 2023 22:19:15 +0000 (23:19 +0100)] 
gtk4: upgrade 4.12.3 -> 4.12.4

Overview of Changes in 4.12.4, 17-11-2023
=========================================

* a11y:
 - Tweak name computation for some corner cases

* gdk:
 - gl: Improve our use of GLES a bit (use vertex arrays and
   GL_BGRA if available)
 - Fix some errors in our memory format tables

* gsk:
 - gl: handle texture-scale nodes more faithfully
 - gl: Fix icon padding in the atlas

* Windows:
 - Stop relying on glib for build configuration

* Tools:
 - Add a --undecorated option to gtk4-rendernode-tool

* Translation updates
 Catalan
 French
 Romanian
 Russian
 Spanish
 Turkish

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agoselftest: wic: add test for zerorize option of empty plugin
Lukas Funke [Tue, 28 Nov 2023 13:52:32 +0000 (14:52 +0100)] 
selftest: wic: add test for zerorize option of empty plugin

Add test for empty plugin which tests whether the plugin creates
partitions with actual data which is 'zero'.

Signed-off-by: Lukas Funke <lukas.funke@weidmueller.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agowic: extend empty plugin with options to write zeros to partiton
Malte Schmidt [Tue, 28 Nov 2023 13:52:31 +0000 (14:52 +0100)] 
wic: extend empty plugin with options to write zeros to partiton

Adds features to explicitly write zeros to the start of the
partition. This is useful to overwrite old content like
filesystem signatures which may be re-recognized otherwise.

The new features can be enabled with
'--soucreparams="[fill|size=<N>[S|s|K|k|M|G]][,][bs=<N>[S|s|K|k|M|G]]"'
Conflicting or missing options throw errors.

The features are:
- fill
  Fill the entire partition with zeros. Requires '--fixed-size' option
  to be set.
- size=<N>[S|s|K|k|M|G]
  Set the first N bytes of the partition to zero. Default unit is 'K'.
- bs=<N>[S|s|K|k|M|G]
  Write at most N bytes at a time during source file creation.
  Defaults to '1M'. Default unit is 'K'.

Signed-off-by: Malte Schmidt <malte.schmidt@weidmueller.com>
Signed-off-by: Lukas Funke <lukas.funke@weidmueller.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agopython3-pygments: upgrade 2.16.1 -> 2.17.2
Tim Orling [Tue, 5 Dec 2023 01:46:58 +0000 (17:46 -0800)] 
python3-pygments: upgrade 2.16.1 -> 2.17.2

* Drop redundant DEPENDS
* PEP-517 backend is now hatchling -> inherit python_hatchling
* Drop PYPI_PACKAGE as upstream download filename is now "pygments"
* Add UPSTREAM_CHECK_PYPI_PACKAGE since upstream path is still "/Pygments/"

https://github.com/pygments/pygments/blob/2.17.2/CHANGES

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agopython3-bcrypt: upgrade 4.0.1 -> 4.1.1
Tim Orling [Tue, 5 Dec 2023 01:08:54 +0000 (17:08 -0800)] 
python3-bcrypt: upgrade 4.0.1 -> 4.1.1

* Refresh -crates.inc

https://github.com/pyca/bcrypt/blob/4.1.1/README.rst#changelog

4.1.1
  * Fixed the type signature on the kdf method.
4.1.0
  * Dropped support for Python 3.6.
  * Bumped MSRV to 1.64. (Note: Rust 1.63 can be used by setting
    the BCRYPT_ALLOW_RUST_163 environment variable)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agooeqa/selftest/recipetool/devtool: add test for pypi class
Julien Stephan [Mon, 4 Dec 2023 15:59:34 +0000 (16:59 +0100)] 
oeqa/selftest/recipetool/devtool: add test for pypi class

recipetool now supports the pypi class and python recipes can by created
using the new following syntax:

* recipetool create https://pypi.org/project/<package>
* recipetool create https://pypi.org/project/<package>/<version>
* recipetool create https://pypi.org/project/<package> --version <version>

or the old syntax:
* recipetool create https://files.pythonhosted.org/packages/<...>

So add tests for the new syntax and modify old tests

Signed-off-by: Julien Stephan <jstephan@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agooeqa/selftest/recipetool: remove spaces on empty lines
Julien Stephan [Mon, 4 Dec 2023 15:59:33 +0000 (16:59 +0100)] 
oeqa/selftest/recipetool: remove spaces on empty lines

Signed-off-by: Julien Stephan <jstephan@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agorecipetool: create_buildsys_python: add pypi support
Julien Stephan [Mon, 4 Dec 2023 15:59:32 +0000 (16:59 +0100)] 
recipetool: create_buildsys_python: add pypi support

Today, we can use devtool/recipetool to create recipes for python projects
using the github url or the direct release tarball of the project, but the
create_buildsys_python plugin doesn't support the pypi class, since we cannot
know from the extracted source if the package is available on pypi or not.

By implementing the new optional process_url callback, we can detect
that the url is a pypi one (i.e 'https://pypi.org/project/<package>')
and retrieve the release tarball location.
Also detect if the url points to a release tarball hosted on
"files.pythonhosted.iorg" (i.e https://files.pythonhosted.org/packages/...)

In both cases, adds the pypi class, remove 'S' and 'SRC_URIxxx'
variables from the created recipe as they will be handled by the pypi class
and add the PYPI_PACKAGE variable

This helps to produce cleaner recipes when package is hosted on pypi.

If the url points to a github url or a release tarball not coming from
"files.pythonhosted.org", the created recipe is the same as before.
One can also use the newly added "--no-pypi" switch to NOT inherit
from pypi class on matching url, to keep legacy behaviour.

To create a recipe for a pypi package, one can now use one of the
new following syntax (using recipetool create / devtool add):

* recipetool create https://pypi.org/project/<package>
* recipetool create https://pypi.org/project/<package>/<version>
* recipetool create https://pypi.org/project/<package> --version <version>

or the old syntax:
* recipetool create https://files.pythonhosted.org/packages/<...>

Signed-off-by: Julien Stephan <jstephan@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agorecipetool: create: add new optional process_url callback for plugins
Julien Stephan [Mon, 4 Dec 2023 15:59:31 +0000 (16:59 +0100)] 
recipetool: create: add new optional process_url callback for plugins

Add a new process_url callback that plugins can optionally implement if
they which to handle url.

Plugins can implement this callback for example, to:
* transform the url
* add special variables using extravalues
* add extra classes
* ...

If a plugin handles the url, it must append 'url' to the handled
list and must return the fetchuri

No functional changes expected for plugins non implementing this
optional callback

Signed-off-by: Julien Stephan <jstephan@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agorecipetool: create: add trailing newlines
Julien Stephan [Mon, 4 Dec 2023 15:59:30 +0000 (16:59 +0100)] 
recipetool: create: add trailing newlines

create_recipe() function relies on oe.recipeutils.patch_recipe_lines()
which relies on bb.utils.edit_metadata(). edit_metada expect lines to
have trailing newlines, so add it to each lines before calling
patch_recipe_lines, otherwise edit_metadata will not be able to squash
blank line if there are two consecutive blanks after a removal

Signed-off-by: Julien Stephan <jstephan@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agorecipetool: create_buildsys_python.py: initialize metadata
Julien Stephan [Mon, 4 Dec 2023 15:59:29 +0000 (16:59 +0100)] 
recipetool: create_buildsys_python.py: initialize metadata

In the case pyproject.toml doesn't contains metadatas, the metadata
variable is not initialized and the plugin throws an error and falls back
to another plugin, which is not the desired behaviour. So just ignore
metadata if we don't have them

Signed-off-by: Julien Stephan <jstephan@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agoRevert "cve-check: Modify judgment processing using "=" in version comparison"
Ross Burton [Tue, 5 Dec 2023 17:18:39 +0000 (17:18 +0000)] 
Revert "cve-check: Modify judgment processing using "=" in version comparison"

This change introduced a warning if version comparisons failed, but
this is far too common an issue in data that we don't control, so this
shouldn't cause a warning:

WARNING: automake-native-1.16.5-r0 do_cve_check: automake: Failed to compare 1.16.5 = branch_1-9 for CVE-2009-4029
WARNING: subversion-1.14.2-r0 do_cve_check: subversion: Failed to compare 1.14.2 = m1 for CVE-2010-4539
WARNING: subversion-1.14.2-r0 do_cve_check: subversion: Failed to compare 1.14.2 = m2 for CVE-2010-4539
WARNING: subversion-1.14.2-r0 do_cve_check: subversion: Failed to compare 1.14.2 = m3 for CVE-2010-4539
WARNING: subversion-1.14.2-r0 do_cve_check: subversion: Failed to compare 1.14.2 = m4\/m5 for CVE-2010-4539
WARNING: subversion-1.14.2-r0 do_cve_check: subversion: Failed to compare 1.14.2 = m1 for CVE-2010-4644
WARNING: subversion-1.14.2-r0 do_cve_check: subversion: Failed to compare 1.14.2 = m2 for CVE-2010-4644
WARNING: subversion-1.14.2-r0 do_cve_check: subversion: Failed to compare 1.14.2 = m3 for CVE-2010-4644
WARNING: subversion-1.14.2-r0 do_cve_check: subversion: Failed to compare 1.14.2 = m4\/m5 for CVE-2010-4644
WARNING: subversion-1.14.2-r0 do_cve_check: subversion: Failed to compare 1.14.2 = m1 for CVE-2011-0715
WARNING: subversion-1.14.2-r0 do_cve_check: subversion: Failed to compare 1.14.2 = m2 for CVE-2011-0715
WARNING: subversion-1.14.2-r0 do_cve_check: subversion: Failed to compare 1.14.2 = m3 for CVE-2011-0715
WARNING: subversion-1.14.2-r0 do_cve_check: subversion: Failed to compare 1.14.2 = m4\/m5 for CVE-2011-0715
WARNING: automake-1.16.5-r0 do_cve_check: automake: Failed to compare 1.16.5 = branch_1-9 for CVE-2009-4029
WARNING: mpg123-1.32.3-r0 do_cve_check: mpg123: Failed to compare 1.32.3 = pre0.59s for CVE-2003-0577
WARNING: mpg123-1.32.3-r0 do_cve_check: mpg123: Failed to compare 1.32.3 = pre0.59s for CVE-2004-0982
WARNING: mpg123-1.32.3-r0 do_cve_check: mpg123: Failed to compare 1.32.3 = pre0.59s for CVE-2004-1284
WARNING: mpg123-1.32.3-r0 do_cve_check: mpg123: Failed to compare 1.32.3 = pre0.59s_r11 for CVE-2006-3355
WARNING: mpg123-1.32.3-r0 do_cve_check: mpg123: Failed to compare 1.32.3 = pre0.59s for CVE-2007-0578
WARNING: mpg123-1.32.3-r0 do_cve_check: mpg123: Failed to compare 1.32.3 = pre0.59s_r11 for CVE-2007-0578
WARNING: mpg123-1.32.3-r0 do_cve_check: mpg123: Failed to compare 1.32.3 = pre0.59s for CVE-2009-1301
WARNING: mpg123-1.32.3-r0 do_cve_check: mpg123: Failed to compare 1.32.3 = pre0.59s_r11 for CVE-2009-1301

This reverts commit a1989e4197178c2431ceca499e0b4876b233b131.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agovte: Separate out gtk4 pieces of vte into individual packages
Khem Raj [Fri, 1 Dec 2023 18:33:51 +0000 (10:33 -0800)] 
vte: Separate out gtk4 pieces of vte into individual packages

This avoids adding gtk4 dependencies when image may only desire the gtk3
pieces of vte.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agovte: Upgrade to 0.74.1
Khem Raj [Fri, 1 Dec 2023 18:33:50 +0000 (10:33 -0800)] 
vte: Upgrade to 0.74.1

* Inherit systemd class
* Add packageconfig for fribidi support

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agovte: upgrade 0.72.2 -> 0.74.0
Markus Volk [Fri, 1 Dec 2023 18:33:49 +0000 (10:33 -0800)] 
vte: upgrade 0.72.2 -> 0.74.0

Rework recipe

- remove legacy of the autotools buildsystem
- remove BBCLASSEXTEND
- build vapi dependent on gi-data
- docs require gir, add a EXTRA_OEMESON:append to avoid fail in
  a combination where docs=true and gir=false
- gtk+3 and gtk4 are requested by default-> add gtk4 depending
  on DISTRO_FEATURE
- install systemd support files depending on DISTRO_FEATURE
- update 0001-Add-W_EXITCODE-macro-for-non-glibc-systems.patch

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agoshared-mime-info-native: handle old GCC for AlmaLinux8
Patrick Williams [Fri, 1 Dec 2023 19:01:48 +0000 (13:01 -0600)] 
shared-mime-info-native: handle old GCC for AlmaLinux8

shared-mime-info-native fails to build on AlmaLinux 8 due to its use of
GCC-8 and the upstream package missing a required `-lstdc++fs` on that
compiler.  Submitted a patch upstream which fixes this and am porting.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agorust: Drop targets and hosts override magic
Alex Kiernan [Fri, 1 Dec 2023 18:34:19 +0000 (18:34 +0000)] 
rust: Drop targets and hosts override magic

`targets` and `hosts` could be overridden prior to 0a01b5ab973e
("rust-cross-canadian: Simplify and fix"), that commit deleted this
usage, remove the remnant of it from here.

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agooeqa/selftest/wic: Add tests for kernel image installation
Kareem Zarka [Fri, 1 Dec 2023 14:03:32 +0000 (15:03 +0100)] 
oeqa/selftest/wic: Add tests for kernel image installation

- test_skip_kernel_install: This test verifies that the kernel is not
installed in the boot partition when the
'install-kernel-into-boot-dir' parameter is set to false.
- test_kernel_install: This test verifies that the kernel is installed
in the boot partition when the 'install-kernel-into-boot-dir'
parameter is set to true.

Both tests use a WKS (Kickstart) file to specify the desired
configuration, build a disk image using WIC, and extract the disk
image to a temporary directory to verify the results.

Signed-off-by: Kareem Zarka <kareem.zarka@huawei.com>
Signed-off-by: Christian Taedcke <christian.taedcke@weidmueller.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agowic: bootimg-efi: Make kernel image installation configurable
Kareem Zarka [Fri, 1 Dec 2023 14:03:31 +0000 (15:03 +0100)] 
wic: bootimg-efi: Make kernel image installation configurable

The issue with installing the kernel image to both rootfs
and boot partition is that some systems rely on the kernel image in
rootfs and not in the boot partition.
This leads to duplication of the kernel image, which can cause
unnecessary storage usage.
This patch provides a solution to the problem by adding a new
parameter "install-kernel-into-boot-dir" to the wic kickstart file.
If this parameter is set to 'true', the plugin will install the
kernel image to the boot partition. If the parameter is set to
'false', the plugin will skip installing the kernel image, avoiding
duplication.

Signed-off-by: Kareem Zarka <kareem.zarka@huawei.com>
Signed-off-by: Christian Taedcke <christian.taedcke@weidmueller.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agocmake: Unset CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES
Zahir Hussain [Fri, 1 Dec 2023 12:16:17 +0000 (17:46 +0530)] 
cmake: Unset CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES

As discussion in [YOCTO #14717] cmake contains a OEToolchainConfig.cmake
file to configure the toolchain correctly in cross-compile build for recipes
using cmake.

The variable CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES value updates incorrectly
during do_compile the code. Due to this getting sporadic error like below,

fatal error: stdlib.h: No such file or directory
|    75 | #include_next <stdlib.h>
|       |               ^~~~~~~~~~
| compilation terminated.
| ninja: build stopped: subcommand failed.
| WARNING: exit code 1 from a shell command.

As cmake already correctly initializes the variable from environment,
So we have to unset it in the toolchain file to avoid overwriting the
variable definition again.

Signed-off-by: aszh07 <mail2szahir@gmail.com>
Signed-off-by: Zahir Hussain <zahir.basha@kpit.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agodocumentation.conf: fix do_menuconfig description
Joao Marcos Costa [Thu, 30 Nov 2023 15:09:43 +0000 (16:09 +0100)] 
documentation.conf: fix do_menuconfig description

The current description is only pertinent to the kernel, even though
do_menuconfig task is used by other projects, such as Busybox and
U-Boot.

Replace "for the kernel" by an agnostic alternative (i.e., "in the
compilation directory").

Signed-off-by: Joao Marcos Costa <joaomarcos.costa@bootlin.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agobash: changes to SIGINT handler while waiting for a child
Xiangyu Chen [Thu, 30 Nov 2023 12:11:59 +0000 (20:11 +0800)] 
bash: changes to SIGINT handler while waiting for a child

It rarely observes the problem while running shell script aborting
test repeatedly, at the problem, the test shell script never returns
to shell

Steps to reproduce:
1. Run test script and ctrl-c repeatedly
2. Observe whether returns to shell after ctrl-c

Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agoshadow: Fix for CVE-2023-4641
Xiangyu Chen [Thu, 30 Nov 2023 09:27:51 +0000 (17:27 +0800)] 
shadow: Fix for CVE-2023-4641

shadow-utils: possible password leak during passwd(1) change

CVE: CVE-2023-4641

Upstream-Status: Backport
[https://github.com/shadow-maint/shadow/commit/65c88a43a23c2391dcc90c0abda3e839e9c57904]

Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agoeudev: Upgrade 3.2.12 -> 3.2.14
Alex Kiernan [Wed, 29 Nov 2023 20:49:56 +0000 (20:49 +0000)] 
eudev: Upgrade 3.2.12 -> 3.2.14

Drop merged patches:

  0001-Export-dummies-for.patch
  0002-Bump-udev-version-to-251.patch

Boian Bonev (13):
      Update as per IRC discussion
      Bump udev version to 251
      Export dummies for
      bump version to 3.2.14
      Fix := not preventing further assignments to RUN
      Add /usr/local/lib/udev/rules.d
      Move the changes from udev.7 to udev.xml
      Regenerate according to 0cf14fb and e5e4013
      Improve wording and restore lines lost in merges
      Improve wording
      Tabs to spaces
      Ensure that standard file descriptors are open
      Commit the generated man page

NaofumiHonda (1):
      Clear sysattr cache if a null pointer is passed (#255)

Vivien Kraus (6):
      Let libudev find hwdb.bin under UDEV_HWDB_BIN
      Add a generic --output argument to udevadm hwdb
      Dynamically get the udevadm hwdb files with a path variable
      fixup! Dynamically get the udevadm hwdb files with a path variable
      Remove references to /run/udev/hwdb.d
      Clarify the /etc/udev/hwdb.d file override with respect to UDEV_HWDB_PATH

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agorust-llvm: Allow overriding LLVM target archs
Niko Mauno [Wed, 29 Nov 2023 15:24:02 +0000 (15:24 +0000)] 
rust-llvm: Allow overriding LLVM target archs

Move the default value into a variable which can be overridden to
match more accurately the use case specific scenario.

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agopatchtest: shorten patch signed-off-by test output
Trevor Gamblin [Wed, 29 Nov 2023 14:32:41 +0000 (09:32 -0500)] 
patchtest: shorten patch signed-off-by test output

The patch Signed-off-by test's output line is excessively long, and can
trigger a failsafe in the patchtest automated service's email content
generation. Shorten the output by reducing redundant phrasing and using
os.path.basename to get only the failing patch's name, not the entire
path, as the submitter should have a good idea of where it is located
regardless.

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agoiptables: upgrade 1.8.9 -> 1.8.10
Changhyeok Bae [Wed, 29 Nov 2023 14:08:46 +0000 (14:08 +0000)] 
iptables: upgrade 1.8.9 -> 1.8.10

- 0003-x is not required anymore because to xtables.conf is dropped.
- format-security.patch is already in upstream.
- Other patches are refreshed.

Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agoopenssl: upgrade to 3.2.0
Lee Chee Yang [Wed, 29 Nov 2023 12:45:17 +0000 (20:45 +0800)] 
openssl: upgrade to 3.2.0

upgrade include fix for CVE-2023-5678.

Changes in 3.2.0
https://www.openssl.org/news/cl32.txt

drop upstreamed 0001-Link-libatomic-on-riscv32.patch.
drop fix_random_labels.patch as fixed by
https://github.com/openssl/openssl/commit/0fbc50ef0cb8894973d4739af62e95be825b7ccf

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agosystemd-boot: Fix build issues on armv7a-linux
Viswanath Kraleti [Wed, 29 Nov 2023 06:52:51 +0000 (12:22 +0530)] 
systemd-boot: Fix build issues on armv7a-linux

Backport a fix to address the build failure on armv7a introduced
in systemd v254-rc1.

see
https://github.com/systemd/systemd/issues/29381

Signed-off-by: Viswanath Kraleti <quic_vkraleti@quicinc.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agoautoconf: upgrade to 2.72d
Ross Burton [Fri, 1 Dec 2023 20:35:29 +0000 (20:35 +0000)] 
autoconf: upgrade to 2.72d

This is the first proper beta, so upgrade and drop all of the backports.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agorust-common.bbclass: Define rust arch for x32 platforms
Khem Raj [Sat, 2 Dec 2023 00:09:42 +0000 (16:09 -0800)] 
rust-common.bbclass: Define rust arch for x32 platforms

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agollvm: Upgrade to 17.0.6
Khem Raj [Fri, 1 Dec 2023 18:33:54 +0000 (10:33 -0800)] 
llvm: Upgrade to 17.0.6

Bring in these changes

6009708b4367 Revert "[runtimes] Add missing test dependencies to check-all (#72955)"
04caadc61fa2 [Driver] Enable __float128 support on X86 on FreeBSD / NetBSD (#72788)
e919a83f96fe eliminate python SyntaxWarnings from check-all output.
f6c231c15ec8 [clang-format] Fix crashes in AlignArrayOfStructures (#72520)
f74f3e6f58d3 [clang] Fix sorting module headers (#73146)
7e30ce9528d9 [JITLink][aarch32] Change writeRegister's return type to void.
03373fd9cb6c [CMake] Support building shared library for NetBSD
21af3b62b632 workflows/release-binaries: Do a preliminary build to fill ccache (#72576)
201faeca595e Add RV64 constraint to SRLIW (#69416)
e957e6dcb29d [runtimes] Add missing test dependencies to check-all (#72955)
f8575ff46f89 [clang-format] Fix a bug in aligning comments above PPDirective (#72791)
a71237b9f67f [clangd] Avoid null result in FindRecordTypeAt()
308c816de5a4 Bump version to 17.0.6
442401f7c0ca remove tests from bad merge
76c7e0e1e2d1 Use the correct namespace for looking up matching operator!= (#68922)
b5cbb35408a3 [libc++] Use correct size for deallocation of arrays in shared_ptr (#68233)
e6de86cb9ef8 Revert "Reland [clang] Canonicalize system headers in dependency file when -canonical-prefixes" (#71697)
bb66d8f8f73b [clang][WebAssembly] Link crt1 even in case of -shared

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agovirglrenderer: Fix build with clang
Khem Raj [Fri, 1 Dec 2023 18:33:53 +0000 (10:33 -0800)] 
virglrenderer: Fix build with clang

Fix warnigns seen with -Wembedded-directive -D_FORTIFY_SOURCE=2

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agopython3-cryptography{-vectors}: 41.0.5 -> 41.0.7
Tim Orling [Wed, 29 Nov 2023 04:11:38 +0000 (20:11 -0800)] 
python3-cryptography{-vectors}: 41.0.5 -> 41.0.7

https://github.com/pyca/cryptography/compare/41.0.5...41.0.7

https://cryptography.io/en/latest/changelog/#v41-0-7
https://cryptography.io/en/latest/changelog/#v41-0-6

41.0.7 - 2023-11-27
Fixed compilation when using LibreSSL 3.8.2.

41.0.6 - 2023-11-27
Fixed a null-pointer-dereference and segfault that could occur when loading
certificates from a PKCS#7 bundle. Credit to pkuzco for reporting the issue.

CVE: CVE-2023-49083

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agopython3-cryptography-vectors: add RECIPE_NO_UPDATE_REASON
Tim Orling [Wed, 29 Nov 2023 04:11:36 +0000 (20:11 -0800)] 
python3-cryptography-vectors: add RECIPE_NO_UPDATE_REASON

Comments in the recipe are insufficient to prevent folks from attempting
to upgrade the recipe without also upgrading python3-cryptography.

These two recipes MUST be upgraded in lock step to the exact same version.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agocve-check: Modify judgment processing using "=" in version comparison
Matsunaga-Shinji [Wed, 29 Nov 2023 02:19:15 +0000 (11:19 +0900)] 
cve-check: Modify judgment processing using "=" in version comparison

Judgment processing of vulnerable using "=" compares characters as strings rather than numbers,
and misjudges "cases that do not match in strings but do match in numbers" as "Patched".
(e.g. PV = "1.2.0" and Vulnerabilities Affected Versions (registered with NVD) = "1.2")

Therefore, if the comparison operator used in the judgment processing of vulnerable is "=",
add numeric comparison processing.

Signed-off-by: Shinji Matsunaga <shin.matsunaga@fujitsu.com>
Signed-off-by: Shunsuke Tokumoto <s-tokumoto@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agoresolvconf: upgrade 1.91 -> 1.92
Wang Mingyu [Tue, 28 Nov 2023 23:43:44 +0000 (07:43 +0800)] 
resolvconf: upgrade 1.91 -> 1.92

Changelog:
===========
 * resolvconf(8): Fix new paragraph.
 * Move binaries to /usr.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agopython3-wheel: upgrade 0.41.3 -> 0.42.0
Wang Mingyu [Tue, 28 Nov 2023 23:43:04 +0000 (07:43 +0800)] 
python3-wheel: upgrade 0.41.3 -> 0.42.0

Changelog:
===========
-Allowed removing build tag with wheel tags --build ""
-Fixed wheel pack and wheel tags writing updated WHEEL fields after a blank
 line, causing other tools to ignore them
-Fixed wheel pack and wheel tags writing WHEEL with CRLF line endings or a
 mix of CRLF and LF
-Fixed wheel pack --build-number "" not removing build tag from WHEEL

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agopython3-trove-classifiers: upgrade 2023.11.14 -> 2023.11.22
Wang Mingyu [Tue, 28 Nov 2023 23:42:21 +0000 (07:42 +0800)] 
python3-trove-classifiers: upgrade 2023.11.14 -> 2023.11.22

Changelog:
  Add "Framework :: Sphinx :: Domain" classifier

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agopython3-sphinx-rtd-theme: upgrade 1.3.0 -> 2.0.0
Wang Mingyu [Tue, 28 Nov 2023 23:41:45 +0000 (07:41 +0800)] 
python3-sphinx-rtd-theme: upgrade 1.3.0 -> 2.0.0

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agoofono: upgrade 2.1 -> 2.2
Wang Mingyu [Tue, 28 Nov 2023 23:39:53 +0000 (07:39 +0800)] 
ofono: upgrade 2.1 -> 2.2

Changelog:
==========
-Fix issue with udev tracking of devices.
-Fix issue with QMI WDA initialization.
-Fix issue with handling QMI premultiplexed contexts.
-Fix issue with additional context types in MBPI.
-Remove CDMA support.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agopython3-idna: upgrade 3.4 -> 3.6
Wang Mingyu [Tue, 28 Nov 2023 23:39:09 +0000 (07:39 +0800)] 
python3-idna: upgrade 3.4 -> 3.6

License-Update:
===============
Update copyright date; Prep for 3.5; Update maintainer email

Changelog:
==========
-Fix regression to include tests in source distribution.
-Update to Unicode 15.1.0
-String codec name is now "idna2008" as overriding the system codec "idna" was
 not working.
-Fix typing error for codec encoding
-"setup.cfg" has been added for this release due to some downstream lack of
 adherence to PEP 517. Should be removed in a future release so please prepare
 accordingly.
-Removed reliance on a symlink for the "idna-data" tool to comport with PEP 517
 and the Python Packaging User Guide for sdist archives.
-Added security reporting protocol for project

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agolibsolv: upgrade 0.7.26 -> 0.7.27
Wang Mingyu [Tue, 28 Nov 2023 23:38:17 +0000 (07:38 +0800)] 
libsolv: upgrade 0.7.26 -> 0.7.27

Changelog:
============
* add zstd support for the installcheck tool
* add putinowndirpool cache to make file list handling in
  repo_write much faster

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agoinit-system-helpers: upgrade 1.65.2 -> 1.66
Wang Mingyu [Tue, 28 Nov 2023 23:37:41 +0000 (07:37 +0800)] 
init-system-helpers: upgrade 1.65.2 -> 1.66

Changelog:
==========
* d/init.lintian-overrides: Silence warning about "Important" field
  'Important: yes' instructs APT to warn the user before removing this
  package.
* script/update-rc.d: DPKG_ROOT support for sysvinit
* Add "Protected: yes" to package "init" The "Protected" field does the
  same as "Important" already did in apt, but is also understood by dpkg
  (since dpkg 1.20.1).
* Bump Standards-Version to 4.6.2, no changes
* Override Lintian warning for Protected: yes
* deb-systemd-invoke: support reload/reexec. This is useful for the
  --user case, to provide a shortcut that loops over all active user
  sessions over D-Bus.
* deb-systemd-invoke: support --no-dbus for reload/reexec. Provide
  common implementation for SIGHUP/SIGRTMIN+25 to reload/reexec the
  system or user instances.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agogi-docgen: upgrade 2023.1 -> 2023.3
Wang Mingyu [Tue, 28 Nov 2023 23:36:37 +0000 (07:36 +0800)] 
gi-docgen: upgrade 2023.1 -> 2023.3

Changelog:
============
Fixed:
- Add missing dependency [#175]
- Add missing test data to the source archive
- Match dependencies list in the index and sidebar [!177]
- Use KeyboardEvent.key to focus search input [#151]
- Build fixes for subproject use [!185]
- Remove display:flex from headings [#147]
- Split transfer notes based on direction [#141]
- Clarify signal flags [!189]
- Hide build section if empty [#160]
- Always explicitely use utf-8 when reading/writing files [!193]
- use `color-scheme: dark` when in dark mode [!188]

Added:
- Use packaging module to properly compare versions
- Add "implements" in class definition pseudocode
- Ignore the first class instance struct field
- Parse default-value attribute [#103]
- Test the gtk-doc sigil parsing
- Support admonitions in docblocks [#170]
- Add link to the extra content files location in the source repository [#118]
- Search for GIR XML in `$GI_GIR_PATH` and `/usr/share/gir-1.0` [!196]
- Add fallback for missing "since" [!198]

Changed:
- Redesign the search results
- Redesign the index for enumeration types

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agoethtool: upgrade 6.5 -> 6.6
Wang Mingyu [Tue, 28 Nov 2023 23:35:59 +0000 (07:35 +0800)] 
ethtool: upgrade 6.5 -> 6.6

Changelog:
===========
* Feature: support for more CMIS transceiver modules (-m)
* Fix: fix build on systems with old kernel uapi headers

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agojson-c: fix icecc compilation
Marco Felsch [Tue, 28 Nov 2023 22:47:44 +0000 (23:47 +0100)] 
json-c: fix icecc compilation

Skip -Werror to make it possible to compile this recipe with ICECC else
all fallthrough comments will be removed since we pre-process the files
on the host before sending them to the compile nodes which then cause
errors because of default -Werror switch.

Fixes: caf64f85b5c5 ("json-c: update 0.13.1 - > 0.14")
Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agogettext: Upgrade 0.22 -> 0.22.3
Robert Yang [Tue, 28 Nov 2023 07:55:07 +0000 (23:55 -0800)] 
gettext: Upgrade 0.22 -> 0.22.3

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agognu-config: Update to latest revision
Robert Yang [Tue, 28 Nov 2023 07:55:06 +0000 (23:55 -0800)] 
gnu-config: Update to latest revision

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agocve-update-nvd2-native: make number of fetch attemtps configurable
Peter Marko [Mon, 27 Nov 2023 19:55:36 +0000 (20:55 +0100)] 
cve-update-nvd2-native: make number of fetch attemtps configurable

Sometimes NVD servers are unstable and return too many errors.

Last time we increased number of attempts from 3 to 5, but
further increasing is not reasonable as in normal case
too many retries is just abusive.

Keep retries low as default and allow to increase as needed.

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agocve-update-nvd2-native: remove unused variable CVE_SOCKET_TIMEOUT
Peter Marko [Mon, 27 Nov 2023 19:55:35 +0000 (20:55 +0100)] 
cve-update-nvd2-native: remove unused variable CVE_SOCKET_TIMEOUT

This variable is not referenced in oe-core anymore.

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agobitbake.conf: Add gsutil as hosttool for gcp fetcher.
Charlie Johnston [Mon, 27 Nov 2023 13:12:38 +0000 (06:12 -0700)] 
bitbake.conf: Add gsutil as hosttool for gcp fetcher.

The gcp fetcher uses gsutil to check if the file exists before
fetching. This change ensures the tool is included as a nonfatal
hosttool so that it's included in the build environment when
available.

Signed-off-by: Charlie Johnston <charlie.johnston@loftorbital.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agocups: Add root,sys,wheel to system groups
Markus Volk [Sat, 25 Nov 2023 11:15:52 +0000 (12:15 +0100)] 
cups: Add root,sys,wheel to system groups

The Cups documentation states:
The default contains "admin", "lpadmin", "root", "sys" and/or "system".
https://www.cups.org/doc/man-cups-files.conf.html#:~:text=SystemGroup

Add root and sys accordingly
Also add wheel group. This is required for systems with polkit support in order to
control the printer settings with cups-pk-helper.
Not only for gnome-control-center, but also when using plain system-config-printer on
a system with running polkit, cups-pk-helper would be a required rdepend.

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agolibpam: split /etc/environment into pam-plugin-env package
Martin Hundeb?ll [Mon, 27 Nov 2023 12:45:57 +0000 (13:45 +0100)] 
libpam: split /etc/environment into pam-plugin-env package

Since systemd-v255, pam-plugin-umask is pulled in by by the logind
package config for systemd. This causes /etc/environment to be installed
as part of libpam-runtime. In our case, this broke do_rootfs for our
image, because /etc/environment is already provided by another (custom)
recipe.

Fix this by making the /etc/environment file part of the pam-plugin-env
package, which isn't automatically pulled in by systemd-logind. It also
happens to be the where it should be, as the file is installed as part
of the pam_env plugin.

Signed-off-by: Martin Hundebøll <martin@geanix.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agorust: Drop TARGET_VENDOR export
Alex Kiernan [Fri, 24 Nov 2023 14:42:53 +0000 (14:42 +0000)] 
rust: Drop TARGET_VENDOR export

This was used by crossbeam_atomic.patch, but that patch was removed as
part of the 1.69.0 upgrade.

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agorust: Delete python2 configparser code path
Alex Kiernan [Fri, 24 Nov 2023 14:42:52 +0000 (14:42 +0000)] 
rust: Delete python2 configparser code path

We no longer support python2, remove the python2 fallback code.

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agolttng-modules: fix build for v6.7+
Bruce Ashfield [Fri, 24 Nov 2023 19:30:49 +0000 (14:30 -0500)] 
lttng-modules: fix build for v6.7+

While working on the update to linux-yocto-dev lttng-modules
needed some tweaks (as usual).

With these three patches (submitted to lttng-dev), we can
once again build core-image-kernel-dev for v6.7+

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agosystemd: fixed typo
Jan Vermaete [Sat, 25 Nov 2023 14:16:38 +0000 (15:16 +0100)] 
systemd: fixed typo

Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agobluez5: fix connection for ps5/dualshock controllers
Markus Volk [Sat, 25 Nov 2023 12:10:27 +0000 (13:10 +0100)] 
bluez5: fix connection for ps5/dualshock controllers

Bluez 5.69 added a regression. Bluetooth connection for playstation controllers
stopped working. This adds a backport patch for the issue

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agooeqa/selftest/devtool: add test for git submodules
Julien Stephan [Wed, 22 Nov 2023 11:08:17 +0000 (12:08 +0100)] 
oeqa/selftest/devtool: add test for git submodules

Add a test for gitsm recipes.
This tests that we can do changes on submodules, commit them and
properly extract the patches

Signed-off-by: Julien Stephan <jstephan@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agodevtool: add support for git submodules
Julien Stephan [Wed, 22 Nov 2023 11:08:16 +0000 (12:08 +0100)] 
devtool: add support for git submodules

Adding the support of submodules required a lot of changes on the
internal data structures:
* initial_rev/startcommit used as a starting point for looking at new
  / updated commits was replaced by a dictionary where the keys are the
  submodule name ("." for main repo) and the values are the
  initial_rev/startcommit

* the extractPatches function now extracts patch for the main repo and
  for all submodules and stores them in a hierarchical way describing the
    submodule path

* store initial_rev/commit also for all submodules inside the recipe
  bbappend file

* _export_patches now returns dictionaries that contains the 'patchdir'
  parameter (if any). This parameter is used to add the correct
  'patchdir=' parameter on the recipe

Also, recipe can extract a secondary git tree inside the workdir.

By default, at the end of the do_patch function, there is a hook in
devtool that commits everything that was modified to have a clean
repository. It uses the command: "git add .; git commit ..."

The issue here is that, it adds the secondary git tree as a submodule
but in a wrong way. Doing "git add <git dir>" declares a submodule but do
not adds a url associated to it, and all following "git submodule foreach"
commands will fail.

So detect that a git tree was extracted inside S and correctly add it
using "git submodule add <url> <path>", so that it will be considered as a
regular git submodule

Signed-off-by: Julien Stephan <jstephan@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agodevtool: tag all submodules
Julien Stephan [Wed, 22 Nov 2023 11:08:15 +0000 (12:08 +0100)] 
devtool: tag all submodules

In the case of a repository with submodules, we need to add the
"devtool-base" and "devtool-patched" tag on all submodules in order to
properly detect the added/removed/modified patches

Signed-off-by: Julien Stephan <jstephan@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agodevtool: finish/update-recipe: restrict mode srcrev to recipes fetched from SCM
Julien Stephan [Wed, 22 Nov 2023 11:08:14 +0000 (12:08 +0100)] 
devtool: finish/update-recipe: restrict mode srcrev to recipes fetched from SCM

When specifying --mode / -m srcrev with devtool finish/update-recipe on
recipes that are not fetched from a SCM repository we get the following
error:

  Traceback (most recent call last):
  [..]
    File "<...>/poky/meta/lib/oe/patch.py", line 49, in runcmd
    raise CmdError(cmd, exitstatus >> 8, "stdout: %s\nstderr: %s" % (stdout, stderr))
oe.patch.CmdError: Command Error: 'sh -c 'git format-patch --no-signature --no-numbered INVALID -o /tmp/oepatchbj7pfmzj -- .'' exited with 0  Output:
stdout:
stderr: fatal: bad revision 'INVALID'

Fix this by adding a check and abort with a proper error message.

Signed-off-by: Julien Stephan <jstephan@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agocore-image-minimal-initramfs: don't install a kernel into the initramfs
Ross Burton [Mon, 27 Nov 2023 11:48:23 +0000 (11:48 +0000)] 
core-image-minimal-initramfs: don't install a kernel into the initramfs

There's obviously no point in installing a kernel into an initramfs, but
if we install kernel modules then they'll recommend the relevant kernel.

Set PACKAGE_EXCLUDE to ensure the initramfs for a kernel doesn't contain
the kernel.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
23 months agobinutils: stable 2.41 branch updates
Sundeep KOKKONDA [Mon, 27 Nov 2023 03:55:39 +0000 (19:55 -0800)] 
binutils: stable 2.41 branch updates

Below commits on binutils-2.41 stable branch are updated.
eb49941e7e1 Gold/MIPS: Add targ_extra_size=64 for mips32 triples
c27eff41737 Gold/MIPS: Use EM_MIPS instead of EM_MIPS_RS3_LE for little endian
7fe76f02413 x86-64: fix suffix-less PUSH of symbol address

Signed-off-by: Sundeep KOKKONDA <sundeep.kokkonda@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
23 months agoglibc: stable 2.38 branch updates
Sundeep KOKKONDA [Tue, 28 Nov 2023 08:53:39 +0000 (00:53 -0800)] 
glibc: stable 2.38 branch updates

Below commits on glibc-2.38 stable branch are updated.
1e04dcec49 Revert "elf: Move l_init_called_next to old place of l_text_end in link map"
719866ab2f Revert "elf: Always call destructors in reverse constructor order (bug 30785)"
e0b6c9706c Revert "elf: Remove unused l_text_end field from struct link_map"

Signed-off-by: Sundeep KOKKONDA <sundeep.kokkonda@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
23 months agort-tests: update 2.5 -> 2.6
Alexander Kanavin [Mon, 27 Nov 2023 10:17:51 +0000 (11:17 +0100)] 
rt-tests: update 2.5 -> 2.6

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
23 months agorepo: update 2.37 -> 2.39
Alexander Kanavin [Mon, 27 Nov 2023 10:17:50 +0000 (11:17 +0100)] 
repo: update 2.37 -> 2.39

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
23 months agomeson: update 1.2.2 -> 1.3.0
Alexander Kanavin [Mon, 27 Nov 2023 10:17:49 +0000 (11:17 +0100)] 
meson: update 1.2.2 -> 1.3.0

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
23 months agoglib-2.0: install gio-querymodules into bindir as well as libexecdir for native
Alexander Kanavin [Mon, 27 Nov 2023 10:17:48 +0000 (11:17 +0100)] 
glib-2.0: install gio-querymodules into bindir as well as libexecdir for native

Latest meson expects it there and fails if it can't find it; meanwhile
we patch glib to put it into libexecdir for reasons of avoiding incorrect
debian package renaming in multilib scenarios.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
23 months agop11-kit: upgrade 0.25.0 -> 0.25.2
Alexander Kanavin [Mon, 27 Nov 2023 10:17:47 +0000 (11:17 +0100)] 
p11-kit: upgrade 0.25.0 -> 0.25.2

Switch to gitsm:// to fetch https://github.com/p11-glue/pkcs11-json.git
as a submodule (otherwise meson will try to do that in do_configure).

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
23 months agoicu: upgrade 73-2 -> 74-1
Alexander Kanavin [Mon, 27 Nov 2023 10:17:46 +0000 (11:17 +0100)] 
icu: upgrade 73-2 -> 74-1

License-Update: formatting
https://github.com/unicode-org/icu/commit/248b1c2a13fc7fc346e9e9419c4794df8a590ad9

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
23 months agompg123: upgrade 1.31.3 -> 1.32.3
Alexander Kanavin [Mon, 27 Nov 2023 10:17:45 +0000 (11:17 +0100)] 
mpg123: upgrade 1.31.3 -> 1.32.3

--disable-lfs-alias removed upstream.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
23 months agolibxkbcommon: upgrade 1.5.0 -> 1.6.0
Alexander Kanavin [Mon, 27 Nov 2023 10:17:44 +0000 (11:17 +0100)] 
libxkbcommon: upgrade 1.5.0 -> 1.6.0

Add bash-completion support for xkbcli.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
23 months agovirglrenderer: upgrade 0.10.4 -> 1.0.0
Alexander Kanavin [Mon, 27 Nov 2023 10:17:43 +0000 (11:17 +0100)] 
virglrenderer: upgrade 0.10.4 -> 1.0.0

venus (virtual vulkan support) is no longer experimental.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
23 months agoepiphany: upgrade 44.6 -> 45.1
Alexander Kanavin [Mon, 27 Nov 2023 10:17:42 +0000 (11:17 +0100)] 
epiphany: upgrade 44.6 -> 45.1

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
23 months agowebkitgtk: update 2.40.5 -> 2.42.2
Alexander Kanavin [Mon, 27 Nov 2023 10:17:41 +0000 (11:17 +0100)] 
webkitgtk: update 2.40.5 -> 2.42.2

Drop check-GST_GL_HAVE_PLATFORM_GLX.patch as upstream removed the code.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
23 months agoerofs-utils: upgrade 1.6 -> 1.7.1
Alexander Kanavin [Mon, 27 Nov 2023 10:17:40 +0000 (11:17 +0100)] 
erofs-utils: upgrade 1.6 -> 1.7.1

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
23 months agodesktop-file-utils: upgrade 0.26 -> 0.27
Alexander Kanavin [Mon, 27 Nov 2023 10:17:39 +0000 (11:17 +0100)] 
desktop-file-utils: upgrade 0.26 -> 0.27

Convert to meson.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
23 months agocmake: upgrade 3.27.5 -> 3.27.7
Alexander Kanavin [Mon, 27 Nov 2023 10:17:38 +0000 (11:17 +0100)] 
cmake: upgrade 3.27.5 -> 3.27.7

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
23 months agopython3-pyproject-hooks: fix upstream version check
Alexander Kanavin [Mon, 27 Nov 2023 10:17:36 +0000 (11:17 +0100)] 
python3-pyproject-hooks: fix upstream version check

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
23 months agovim: upgrade 9.0.2068 -> 9.0.2130
Tim Orling [Mon, 27 Nov 2023 17:19:33 +0000 (09:19 -0800)] 
vim: upgrade 9.0.2068 -> 9.0.2130

https://github.com/vim/vim/compare/v9.0.2068...v9.0.2130

CVE: CVE-2023-48231
CVE: CVE-2023-48232
CVE: CVE-2023-48233
CVE: CVE-2023-48234
CVE: CVE-2023-48235
CVE: CVE-2023-48236
CVE: CVE-2023-48237

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
23 months agopython3-ptest: skip test_storlines
Trevor Gamblin [Thu, 23 Nov 2023 18:36:27 +0000 (13:36 -0500)] 
python3-ptest: skip test_storlines

[YOCTO #14933]

test_storlines is yet another Python ptest that fails intermittently on
the Yocto AB, so disable it during ptests for now.

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
23 months agolib/oe/recipeutils.py: remove trailing white-spaces
Julien Stephan [Wed, 22 Nov 2023 11:08:18 +0000 (12:08 +0100)] 
lib/oe/recipeutils.py: remove trailing white-spaces

Remove useless trailing white-spaces

Signed-off-by: Julien Stephan <jstephan@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
23 months agodevtool: fix update-recipe dry-run mode
Julien Stephan [Wed, 22 Nov 2023 11:08:13 +0000 (12:08 +0100)] 
devtool: fix update-recipe dry-run mode

When running devtool update-recipe with --mode=srcrev AND --append switch
in dry-run, we get the following error:

  Traceback (most recent call last):
  [...]
  Exception: destpath should be set here

Fix this by removing a misplaced else statement in _update_recipe_srcrev

Signed-off-by: Julien Stephan <jstephan@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
23 months agobusybox: Enable utmp support on musl systems
Khem Raj [Thu, 23 Nov 2023 04:40:12 +0000 (20:40 -0800)] 
busybox: Enable utmp support on musl systems

runlevel misc applet is enabled when using init feature from busybox
however this applet does not build right now because it depends on utmp
feature and its disabled for musl systems. runlevel is used by
update-rd.d tool during system maintenance e.g. opkg upgrade etc.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
23 months agolibsoup-2.4: Fix build with clang-17 and libxml2-2.12
Khem Raj [Thu, 23 Nov 2023 03:10:22 +0000 (19:10 -0800)] 
libsoup-2.4: Fix build with clang-17 and libxml2-2.12

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
23 months agoshared-mime-info: Fix build with clang-17+
Khem Raj [Thu, 23 Nov 2023 03:10:21 +0000 (19:10 -0800)] 
shared-mime-info: Fix build with clang-17+

This is needed with libxml2-2.12 and newer

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
23 months agopython3-urllib3: upgrade 2.0.7 -> 2.1.0
Wang Mingyu [Wed, 22 Nov 2023 09:07:43 +0000 (17:07 +0800)] 
python3-urllib3: upgrade 2.0.7 -> 2.1.0

Changelog:
============
-Removed support for the deprecated urllib3[secure] extra.
-Removed support for the deprecated SecureTransport TLS implementation.
-Removed support for the end-of-life Python 3.7.
-Allowed loading CA certificates from memory for proxies.
-Fixed decoding Gzip-encoded responses which specified x-gzip content-encoding.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
23 months agopython3-scons: upgrade 4.5.2 -> 4.6.0
Wang Mingyu [Wed, 22 Nov 2023 09:07:07 +0000 (17:07 +0800)] 
python3-scons: upgrade 4.5.2 -> 4.6.0

Changelog:
https://github.com/SCons/scons/releases/tag/4.6.0

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>