]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/log
thirdparty/openembedded/openembedded-core.git
17 months agolib/oe/patch: Use git notes to store the filenames for the patches
Peter Kjellerstedt [Mon, 19 Feb 2024 01:28:32 +0000 (02:28 +0100)] 
lib/oe/patch: Use git notes to store the filenames for the patches

The old way of keeping track of the filenames for the patches that
correspond to the commits was to add a special comment line to the end
of the commit message, e.g., "%% original patch: <filename>", using a
temporary git hook. This method had some drawbacks, e.g.:

* It caused problems if one wanted to push the commits upstream as the
  comment line had to be manually removed.
* The comment line would end up in patches if someone used git
  format-path rather than devtool finish to generate the patches.
* The comment line could interfere with global Git hooks used to
  validate the format of the Git commit message.
* When regenerating patches with `devtool finish --force-patch-refresh`,
  the process typically resulted in adding empty lines to the end of the
  commit messages in the updated patches.

A better way of keeping track of the patch filenames is to use Git
notes. This way the commit messages remain unaffected, but the
information is still shown when, e.g., doing `git log`. A special Git
notes space, refs/notes/devtool, is used to not intefere with the
default Git notes. It is configured to be shown in, e.g., `git log` and
to survive rewrites (i.e., `git commit --amend` and `git rebase`).

Since there is no longer any need for a temporary Git hook, the code
that manipulated the .git/hooks directory has also been removed. To
avoid potential problems due to global Git hooks, --no-verify was added
to the `git commit` command.

To not cause troubles for those who have done `devtool modify` for a
recipe with the old solution and then do `devtool finish` with the new
solution, the code will fall back to look for the old strings in the
commit message if no Git note can be found.

While not technically motivated like above, the way to keep track of
ignored commits is also changed to use Git notes to avoid having
different methods to store similar information.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17 months agopatch.bbclass: Make use of oe.patch.GitApplyTree.commitIgnored()
Peter Kjellerstedt [Mon, 19 Feb 2024 01:28:31 +0000 (02:28 +0100)] 
patch.bbclass: Make use of oe.patch.GitApplyTree.commitIgnored()

This makes use of the oe.patch.GitApplyTree.commitIgnored() function to
create commits that shall be ignored by `devtool finish`.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17 months agodevtool: Make use of oe.patch.GitApplyTree.commitIgnored()
Peter Kjellerstedt [Mon, 19 Feb 2024 01:28:30 +0000 (02:28 +0100)] 
devtool: Make use of oe.patch.GitApplyTree.commitIgnored()

This makes use of the oe.patch.GitApplyTree.commitIgnored() function to
create commits that shall be ignored by `devtool finish`.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17 months agolib/oe/patch: Add GitApplyTree.commitIgnored()
Peter Kjellerstedt [Mon, 19 Feb 2024 01:28:29 +0000 (02:28 +0100)] 
lib/oe/patch: Add GitApplyTree.commitIgnored()

This function can be used to create a commit that devtool will ignore
when creating/updating the patches.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17 months agolib/oe/patch: Make extractPatches() not extract ignored commits
Peter Kjellerstedt [Mon, 19 Feb 2024 01:28:28 +0000 (02:28 +0100)] 
lib/oe/patch: Make extractPatches() not extract ignored commits

If a commit is marked with "%% ignore" it means it is used by devtool to
keep track of changes to the source code that are not the result of
running do_patch(). These changes need to actually be ignored when
extracting the patches as they typically make no sense as actual patches
in a recipe.

This also adds a new test for oe-selftest that verifies that there are
no patches generated from ignored commits.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17 months agoswig: upgrade 4.1.1 -> 4.2.0
Anuj Mittal [Fri, 16 Feb 2024 11:40:32 +0000 (19:40 +0800)] 
swig: upgrade 4.1.1 -> 4.2.0

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17 months agooverlayfs-etc: add option to skip creation of mount dirs
baruch@tkos.co.il [Mon, 12 Feb 2024 18:30:06 +0000 (20:30 +0200)] 
overlayfs-etc: add option to skip creation of mount dirs

The 'preinit' script can't create mount directories when rootfs is
read-only. Add an option to skip this step. The user must make sure that
all required directories are already in the rootfs directory layout.

Cc: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
17 months agoell: update 0.61 -> 0.62
Markus Volk [Mon, 19 Feb 2024 06:32:11 +0000 (07:32 +0100)] 
ell: update 0.61 -> 0.62

ver 0.62:
Add support for cleanup functions and macros.
Add support for setting DHCP max attempts.

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17 months agoinitramfs-framework: overlayroot: align bootparams with module name
Johannes Schneider [Tue, 13 Feb 2024 12:24:25 +0000 (13:24 +0100)] 
initramfs-framework: overlayroot: align bootparams with module name

Renaming the 'rootrw' kernel commandline parameter to
'overlayrootrwdev' to both align better with this modules name, and
point out the usage of the variable.

This patch also includes an if block to migrate the old 'rootrw'
block, should it be already used by someone.

Signed-off-by: Johannes Schneider <johannes.schneider@leica-geosystems.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
17 months agoinitramfs-framework: overlayroot: fix kernel commandline clash
Johannes Schneider [Tue, 13 Feb 2024 12:24:24 +0000 (13:24 +0100)] 
initramfs-framework: overlayroot: fix kernel commandline clash

The initramfs-framwork takes kernel commandline options and converts
them for internal use to variables following the 'bootparam_name'
pattern. The overlayroot module uses 'bootparam_rootfstype' and
'bootparam_rootfsflags' which both collide with linux kernel
parameters 'rootfstype' and 'rootfsflags'.  This collision is solved
by putting the variables in the namespace of the initramfs-framework
module.

Signed-off-by: Johannes Schneider <johannes.schneider@leica-geosystems.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
17 months agosanity.conf: Require bitbake 2.7.3
Richard Purdie [Mon, 19 Feb 2024 11:57:47 +0000 (11:57 +0000)] 
sanity.conf: Require bitbake 2.7.3

Due to hashserv API changes in siggen, we need bitbake 2.7.3.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17 months agosstatesig: Implement new siggen API
Joshua Watt [Sun, 18 Feb 2024 20:08:30 +0000 (13:08 -0700)] 
sstatesig: Implement new siggen API

Implements the new API required for querying unihashes in parallel

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17 months agobitbake-layers: Add test case layers setup for custom references
Jermain Horsman [Thu, 8 Feb 2024 13:50:30 +0000 (14:50 +0100)] 
bitbake-layers: Add test case layers setup for custom references

This includes a simple test which creates a layer setup using
custom references, and subsequently modifies the resulting layers
setup using a different custom reference.

Signed-off-by: Jermain Horsman <jermain.horsman@nedap.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
17 months agobitbake-layers: Add ability to update the reference of repositories
Jermain Horsman [Thu, 8 Feb 2024 13:50:28 +0000 (14:50 +0100)] 
bitbake-layers: Add ability to update the reference of repositories

This creates a new layers setup with, or, modifies an existing layers
setup using, one or more repositories where the references are provided
by the user.

This is a very minimal implementation, no validation of any reference
is done and it is left to the user to provide a valid value.

Signed-off-by: Jermain Horsman <jermain.horsman@nedap.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
17 months agooe-setup-build: add a tool for discovering config templates and setting up builds
Alexander Kanavin [Fri, 16 Feb 2024 11:52:22 +0000 (12:52 +0100)] 
oe-setup-build: add a tool for discovering config templates and setting up builds

This is another piece of the puzzle in setting up builds from nothing
without having to write custom scripts or use external tools.

After layers have been fetched and placed into their respective locations by
oe-setup-layers, one would surely want to proceed to the actual build, and here's how:

1. Without arguments the tool reads available layers
from .oe-layers.json file (written out by oe-setup-layers or a fallback under scripts/),
prints what templates it has found, and asks the user to select one, as seen below.
This will land the user in a shell ready to run bitbake:

=============================================
alex@Zen2:/srv/work/alex$ ./setup-build
Available build configurations:

1. alex-configuration-gadget
This configuration will set up a build for the purposes of supporting gadget.

2. alex-configuration-gizmo
This configuration allows building a gizmo.

3. poky-default
This is the default build configuration for the Poky reference distribution.

Re-run with 'list -v' to see additional information.
Please choose a configuration by its number: 1
Running: TEMPLATECONF=/srv/work/alex/meta-alex/conf/templates/configuration-gadget . /srv/work/alex/poky/oe-init-build-env /srv/work/alex/build-alex-configuration-gadget && /bin/bash
You had no conf/local.conf file. This configuration file has therefore been
created for you from /srv/work/alex/meta-alex/conf/templates/configuration-gadget/local.conf.sample
You may wish to edit it to, for example, select a different MACHINE (target
hardware).

You had no conf/bblayers.conf file. This configuration file has therefore been
created for you from /srv/work/alex/meta-alex/conf/templates/configuration-gadget/bblayers.conf.sample
To add additional metadata layers into your configuration please add entries
to conf/bblayers.conf.

The Yocto Project has extensive documentation about OE including a reference
manual which can be found at:
    https://docs.yoctoproject.org

For more information about OpenEmbedded see the website:
    https://www.openembedded.org/

This configuration will set up a build for the purposes of supporting gadget.
Please refer to meta-alex/README for additional details and available bitbake targets.
==============================================

2. It is also possible to list available configurations without selecting one using
'setup-build list' or to select and setup one non-interactively with 'setup-build setup'.

3. The full set of command line options is:

$ ./setup-build --help
usage: setup-build [-h] [--layerlist LAYERLIST] {list,setup} ...

A script that discovers available build configurations and sets up a build environment based on one of them. Run without arguments to choose one interactively.

positional arguments:
  {list,setup}
    list                List available configurations
    setup               Set up a build environment and open a shell session with it, ready to run builds.

optional arguments:
  -h, --help            show this help message and exit
  --layerlist LAYERLIST
                        Where to look for available layers (as written out by setup-layers script) (default is /srv/work/alex/.oe-layers.json).

$ ./setup-build list --help
usage: setup-build list [-h] [-v]

optional arguments:
  -h, --help  show this help message and exit
  -v          Print detailed information and usage notes for each available build configuration.

$ ./setup-build setup --help
usage: setup-build setup [-h] [-c configuration_name] [-b build_path] [--no-shell]

optional arguments:
  -h, --help            show this help message and exit
  -c configuration_name
                        Use a build configuration configuration_name to set up a build environment (run this script with 'list' to see what is available)
  -b build_path         Set up a build directory in build_path (run this script with 'list -v' to see where it would be by default)
  --no-shell            Create a build directory but do not start a shell session with the build environment from it.

4. There's an an added hint in oe-setup-layers about how to proceed (as it is really not user-friendly
to fetch the layer repos successfully and then exit without a word), and a symlink to the script
from the top level layer checkout directory.

5. The selftest to check layer setup has been adjusted to run a basic check for template
discovery and build setup. The revision of poky to be cloned has been bumped to 4.1,
as that's the first version with a default template in a standard location.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17 months agoscripts/oe-setup-builddir: add support for configuration summaries
Alexander Kanavin [Fri, 16 Feb 2024 11:52:20 +0000 (12:52 +0100)] 
scripts/oe-setup-builddir: add support for configuration summaries

They are handled exactly same as conf-notes.txt.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17 months agometa/lib/bblayers/buildconf.py: add support for configuration summaries
Alexander Kanavin [Fri, 16 Feb 2024 11:52:19 +0000 (12:52 +0100)] 
meta/lib/bblayers/buildconf.py: add support for configuration summaries

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17 months agometa/conf/templates/default/conf-summary.txt: add a template summary
Alexander Kanavin [Fri, 16 Feb 2024 11:52:18 +0000 (12:52 +0100)] 
meta/conf/templates/default/conf-summary.txt: add a template summary

Existing conf-notes.txt is not adequate in situations where the user
needs to select a config template from several, or get an overview of them and
is interested only in a brief explanation of what the template is for,
but not extended multi-paragraph instructions for how to use it.

Such summaries can be provided via conf-summary.txt and
this patch adds such a summary for the oe-core default template.

Updates to the tools and a tool for selecting templates which
will make specific use of the summary will follow.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17 months agopatchtest: add stronger indication for failed tests
Simone Weiß [Fri, 16 Feb 2024 21:10:21 +0000 (21:10 +0000)] 
patchtest: add stronger indication for failed tests

Do not only log that there has been an issue but add WARNING before for local
runs. Hopefully this helps to avoid that people reading the log to quickly miss
issues.

Fixes [YOCTO #15389]

Signed-off-by: Simone Weiß <simone.p.weiss@posteo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17 months agopatchtest: Add selftest for test cve_check_ignore
Simone Weiß [Sat, 10 Feb 2024 13:52:59 +0000 (13:52 +0000)] 
patchtest: Add selftest for test cve_check_ignore

Add a selftest for the recently introduced check for CVE_CHECK_IGNORE.

Signed-off-by: Simone Weiß <simone.p.weiss@posteo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17 months agoscripts/oe-setup-layers: write a list of layer paths into the checkout's top dir
Alexander Kanavin [Fri, 16 Feb 2024 11:52:21 +0000 (12:52 +0100)] 
scripts/oe-setup-layers: write a list of layer paths into the checkout's top dir

This is beneficial for setting up builds, as this list can be used
to determine reliably where the actual layers are, and discover
available configurations from them.

Also adjust the selftest to check the presence of that file rather
than any specific layer in a hardcoded location.

Sample output (paths are written relative to the file for relocatability
and ease of reading):

{
    "layers": [
        "meta-openembedded/meta-filesystems",
        "meta-openembedded/meta-gnome",
        "meta-openembedded/meta-initramfs",
        "meta-openembedded/meta-multimedia",
        "meta-openembedded/meta-networking",
        "meta-openembedded/meta-oe",
        "meta-openembedded/meta-perl",
        "meta-openembedded/meta-python",
        "meta-openembedded/meta-webserver",
        "meta-openembedded/meta-xfce",
        "poky/bitbake/lib/layerindexlib/tests/testdata/layer1",
        "poky/bitbake/lib/layerindexlib/tests/testdata/layer2",
        "poky/bitbake/lib/layerindexlib/tests/testdata/layer3",
        "poky/bitbake/lib/layerindexlib/tests/testdata/layer4",
        "poky/meta-poky",
        "poky/meta-selftest",
        "poky/meta-skeleton",
        "poky/meta-yocto-bsp",
        "poky/meta"
    ],
    "version": "1.0"
}

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17 months agouseradd.bbclass: Fix missing space when appending vardeps.
Siong W.LIM [Sun, 18 Feb 2024 19:11:31 +0000 (03:11 +0800)] 
useradd.bbclass: Fix missing space when appending vardeps.

Signed-off-by: Siong <wslim87@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17 months agoqemu: Set CVE_STATUS for wrong CVEs
Simone Weiß [Sun, 18 Feb 2024 18:42:59 +0000 (18:42 +0000)] 
qemu: Set CVE_STATUS for wrong CVEs

All are already fixed in 8.2.1, NVD was informed that cpes are wrong.

Signed-off-by: Simone Weiß <simone.p.weiss@posteo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17 months agowayland-protocols: update 1.32 -> 1.33
Markus Volk [Sun, 18 Feb 2024 18:16:44 +0000 (19:16 +0100)] 
wayland-protocols: update 1.32 -> 1.33

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17 months agolibuv: Upgrade 1.47.0 -> 1.48.0
Simone Weiß [Sun, 18 Feb 2024 17:47:26 +0000 (17:47 +0000)] 
libuv: Upgrade 1.47.0 -> 1.48.0

Upgrade libuv to pull in the fix for CVE-2024-24806

Changes:
* misc: remove deprecated stalebot file (Jameson Nash)
* build: disable windows asan buildbot (Ben Noordhuis)
* test: don't run tcp_writealot under msan (Ben Noordhuis)
* build,win: remove extraneous -lshell32 (Ben Noordhuis)
* unix: ignore ifaddrs with NULL ifa_addr (Stephen Gallagher)
* unix,win: utility for setting priority for thread (Hao Hu)
* pipe: add back error handling to connect / bind (Jameson Nash)
* test: check if ipv6 link-local traffic is routable (Ben Noordhuis)
* win: remove check for UV_PIPE_NO_TRUNCATE (Jameson Nash)
* linux: disable io_uring on hppa below kernel 6.1.51 (matoro)
* unix,win: fix read past end of pipe name buffer (Ben Noordhuis)
* unix: unbreak macOS < 10.14 (Sergey Fedorov)
* aix: disable ipv6 link local (Abdirahim Musse)
* doc: move cjihrig to emeriti (cjihrig)
* unix: correct pwritev conditional (Bo Anderson)
* test_fs.c: Fix issue on 32-bit systems using btrfs (Stephen Gallagher)
* misc: ignore libuv-release-tool files (Jameson Nash)
* win: honor NoDefaultCurrentDirectoryInExePath env var (Ardi Nugraha)
* idna: fix compilation warning (Saúl Ibarra Corretgé)
* linux: remove HAVE_IFADDRS_H macro (Ben Noordhuis)
* test: skip tcp-write-in-a-row on IBM i (Abdirahim Musse)
* build,win: work around missing uuid.dll on MinGW (Anton Bachin)
* win: stop using deprecated names (Matheus Izvekov)
* unix,win: fix busy loop with zero timeout timers (Matheus Izvekov)
* aix,ibmi: use uv_interface_addresses instead of getifaddrs (Abdirahim
  Musse)
* linux: fix bind/connect for abstract sockets (Santiago Gimeno)
* win: replace c99 comments with c89 comments (Trevor Flynn)
* build: add .cache clangd folder to .gitignore (Juan José Arboleda)
* unix: support full TCP keep-alive on Solaris (Andy Pan)
* freebsd: fix F_KINFO file path handling (David Carlier)
* linux: retry fs op if unsupported by io_uring (Santiago Gimeno)
* freebsd: fix build on non-intel archs (David Carlier)
* unix: optimize uv__tcp_keepalive cpp directives (Andy Pan)
* linux: disable io_uring on ppc64 and ppc64le (Brad King)
* doc: add very basic Security Policy document (Santiago Gimeno)
* build: re-enable msvc-asan job on CI (Jameson Nash)
* win/spawn: optionally run executable paths with no file extension
  (Brad King)
* win: fix ESRCH implementation (Jameson Nash)
* unix,win: reset the timer queue on stop (Santiago Gimeno)
* fix: always zero-terminate idna output (Ben Noordhuis)
* fix: reject zero-length idna inputs (Ben Noordhuis)
* test: empty strings are not valid IDNA (Santiago Gimeno)
* Merge pull request from GHSA-f74f-cvh7-c6q6 (Ben Noordhuis)

Signed-off-by: Simone Weiß <simone.p.weiss@posteo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17 months agooe-init-build-env: generate .vscode from template
Adrian Freihofer [Thu, 15 Feb 2024 22:53:33 +0000 (23:53 +0100)] 
oe-init-build-env: generate .vscode from template

Provide a reasonable default configuration for VSCode and the
yocto.bitbake extension.
The generated default configuration is generic and minimal. It's mostly
supposed to prevent VSCode from OOM exceptions if the build directory is
in the scope of the indexer plugins of VSCode.
But it also configures the yocto-bitbake plugin to just work without
manual user interaction.

The configuration is only generated if VSCode is installed. Currently,
VSCode is one of many popular editors for Yocto/OE. Removing the check
would mean that the configuration would be generated by e.g. oe-selftest
or for users not using VSCode. If it should prove useful, the check can
be removed later.

Customization for other layers is possible. A layer might provide it's
own oe-setup-build-env script which calls the oe-setup-vscode script
from poky with different folders. But it's also possible to override the
oe-setup-vscode script by another layer with a custom implementation.

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17 months agovscode: drop .vscode folder
Adrian Freihofer [Thu, 15 Feb 2024 22:53:32 +0000 (23:53 +0100)] 
vscode: drop .vscode folder

There is a new official bitbake plugin:
https://marketplace.visualstudio.com/items?itemName=yocto-project.yocto-bitbake

This plugin automatically updates the .vscode/settings.json file.
Having the settings.json file in git and a plugin which modifies this
file is not ideal. It can lead to anoying situations especially when
working with git. For example a git stash reverts the settings which are
automatically applied by the plugin. While git stashed the settings.json
file the plugin immediately changes the file again and tries to run
bitbake based on the newly generated settings. When git does a stash pop
the restored settings.json file conflicts with the new settigns.json
file which has been generated while the git stash took place.

Therefore this patch removes the .vscode folder from git.

Removing the settings.json leads to other issues as already described
in the commit message of 5ff688fe29. But we still need another solution
where the settings.json file is not in Git.

Discussion is here:
https://github.com/yoctoproject/vscode-bitbake/issues/95

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17 months agodevtool: _extract_source: Correct the removal of an old backup directory
Peter Kjellerstedt [Fri, 16 Feb 2024 18:59:51 +0000 (19:59 +0100)] 
devtool: _extract_source: Correct the removal of an old backup directory

Also correct the comment describing what is happening.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17 months agognupg: disable tests to avoid running target binaries at build time
Chen Qi [Sun, 18 Feb 2024 02:57:08 +0000 (10:57 +0800)] 
gnupg: disable tests to avoid running target binaries at build time

By default, the tests are built and run at do_compile and we can see
errors like below in log.do_compile:

  gnupg-2.4.4/tests/cms/inittests: line 99: ../../sm/gpgsm: cannot execute binary file: Exec format error

Note that the do_compile process still succeeds. However, we'd better avoid
executing these target binaries at build time.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17 months agovim: upgrade from 9.0.2130 -> 9.1.0114
Tim Orling [Sun, 18 Feb 2024 16:57:38 +0000 (08:57 -0800)] 
vim: upgrade from 9.0.2130 -> 9.1.0114

https://www.vim.org/vim-9.1-released.php

Vim 9.1 is available

The Vim project is happy to announce that Vim 9.1 has finally been released.
This release is dedicated to Bram Moolenaar, Vim's lead developer for more
than 30 years, who passed away half a year ago. The Vim project wouldn't
exist without his work!

Vim 9.1 is mainly a bug fix release, it contains hundreds of bug fixes, a
few new features and there are many minor improvements.

Changes:
https://github.com/vim/vim/compare/v9.0.2130...v9.1.0114

CVE: CVE-2024-22667
(includes commit https://github.com/vim/vim/commit/b39b240c386a5a29241415541f1c99e2e6b8ce47)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17 months agolibgit2: update 1.7.1 -> 1.7.2
Simone Weiß [Sun, 18 Feb 2024 15:42:40 +0000 (15:42 +0000)] 
libgit2: update 1.7.1 -> 1.7.2

Update libgit2 to pull in securtiy fixes.

Changelog summary:
- A bug in git_revparse_single is fixed that could cause a Denial of
  Service attack. This fixes CVE-2024-24575

 - A bug in git_index_add is fixed that could lead to arbitrary code execution.
   This fixes CVE-2024-24577

 - A bug in the smart transport negotiation could have caused an out-of-bounds
   read.

Signed-off-by: Simone Weiß <simone.p.weiss@posteo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17 months agogrub2: ignore CVE-2024-1048, Redhat only issue
Simone Weiß [Sun, 18 Feb 2024 12:20:36 +0000 (12:20 +0000)] 
grub2: ignore CVE-2024-1048, Redhat only issue

Redhat/Fedora specific as it affects the grub2-set-bootflag extension
added by Redhat to grub.

Signed-off-by: Simone Weiß <simone.p.weiss@posteo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17 months agooeqa/selftest/rust: Exclude failing riscv tests
Richard Purdie [Sun, 18 Feb 2024 13:59:12 +0000 (13:59 +0000)] 
oeqa/selftest/rust: Exclude failing riscv tests

The rust tests nearly pass for qemurisv64, add the remaining ones to the
exclusion list so it matches everythig else in exlcuding all the know
to break cases.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17 months agotestsdk: Avoid PATH contamination
Richard Purdie [Sat, 17 Feb 2024 17:07:26 +0000 (17:07 +0000)] 
testsdk: Avoid PATH contamination

The autobuilder has been seeing increasing numbers of testsdk failures
where xz was 'missing':

ERROR: core-image-sato-1.0-r0 do_testsdk: Couldn't install the SDK:
Error: xz is required for installation of this SDK, please install it first

This is probably due to xz and it's libraries not being in the sysroots
in a way which works without races.

Since the SDK should be using the host, fix this. The eSDK already does
this to solve a similar problem so copy the code from there.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17 months agodevtool: standard: Add some missing whitespace
Peter Kjellerstedt [Fri, 16 Feb 2024 18:59:50 +0000 (19:59 +0100)] 
devtool: standard: Add some missing whitespace

Makes it a little bit easier when reading the code.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17 months agodevtool: ide-sdk make deploy-target quicker
Adrian Freihofer [Mon, 22 Jan 2024 13:58:26 +0000 (14:58 +0100)] 
devtool: ide-sdk make deploy-target quicker

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
17 months agooe-selftest devtool: ide-sdk tests
Adrian Freihofer [Mon, 22 Jan 2024 13:58:22 +0000 (14:58 +0100)] 
oe-selftest devtool: ide-sdk tests

Add some oe-selftests for the new devtool ide-sdk plugin. Most of the
workflows are covered.

Many thanks to Enguerrand de Ribaucourt for testing and bug fixing.

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
17 months agodevtool: new ide-sdk plugin
Adrian Freihofer [Mon, 22 Jan 2024 13:58:21 +0000 (14:58 +0100)] 
devtool: new ide-sdk plugin

The new devtool ide plugin provides the eSDK and configures an IDE to
work with the eSDK. In doing so, bitbake should be used to generate the
IDE configuration and update the SDK, but it should no longer play a
role when working on the source code. The work on the source code should
take place exclusively with the IDE, which, for example, calls cmake
directly to compile the code and execute the unit tests from the IDE.

The plugin works for recipes inheriting the cmake or the meson bbclass.
Support for more programming languages and build tools may be added in
the future.

There are various IDEs that can be used for the development of embedded
Linux applications. Therefore, devtool ide-sdk, like devtool itself,
supports plugins to support IDEs.
VSCode is the default IDE for this first implementation. Additionally,
some generic helper scripts can be generated with --ide none instead of
a specific IDE configuration. This can be used for any IDE that
supports calling some scripts.

There are two different modes supported:

- devtool modify mode (default):
  devtool ide-sdk configures the IDE to manage the build-tool used by the
  recipe (e.g. cmake or meson). The workflow looks like:
    $ devtool modify a-recipe
    $ devtool ide-sdk a-recipe a-image
    $ code "$BUILDDIR/workspace/sources/a-recipe"
    Work in VSCode, after installing the proposed plugins

  Deploying the artifacts to the target device and running a remote
  debugging session is supported as well.
  This first implementation still calls bitbake and devtool to copy the
  binary artifacts to the target device. In contrast to compiling,
  installation and copying must be performed with the file rights of the
  target device. The pseudo tool must be used for this. Therefore
  bitbake -c install a-recipe && devtool deploy-target a-recipe
  are called by the IDE for the deployment. This might be improved later
  on.

  Executing the unit tests out of the IDE is supported via Qemu user if
  the build tool supports that. CMake (if cmake-qemu.bbclass is
  inherited) and Meson support Qemu usermode.

- Shared sysroots mode: bootstraps the eSDK with shared sysroots for
  all the recipes passed to devtool ide-sdk. This is basically a wrapper
  for bitbake meta-ide-support && bitbake build-sysroots. The workflow
  looks like:
    $ devtool ide-sdk --share-sysroots a-recipe another-recipe
    vscode where/the/sources/are
  If the IDE and the build tool support it, the IDE gets configured to
  offer the cross tool-chain provided by the eSDK. In case of VSCode and
  cmake a cmake-kit is generated. This offers to use the cross
  tool-chain from the UI of the IDE.

Many thanks to Enguerrand de Ribaucourt for testing and bug fixing.

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
17 months agosstate.bbclass: Only sign packages at the time of their creation
Tobias Hagelborn [Mon, 5 Feb 2024 14:03:34 +0000 (15:03 +0100)] 
sstate.bbclass: Only sign packages at the time of their creation

The purpose of the change is to never sign a package not created by
the build itself.

sstate_create_package is refactored into Python and re-designed
to handle signing inside the function. Thus, the signing should never apply
to existing sstate packages. The function is therefore renamed into
sstate_create_and_sign_package.
The creation of the archive remains in a separate shellscript function.

Co-authored-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Tobias Hagelborn <tobias.hagelborn@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17 months agogstreamer1.0: upgrade 1.22.9 -> 1.22.10
Anuj Mittal [Fri, 16 Feb 2024 11:43:52 +0000 (19:43 +0800)] 
gstreamer1.0: upgrade 1.22.9 -> 1.22.10

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17 months agolibcap-ng: fix build with swig 4.2.0
Anuj Mittal [Fri, 16 Feb 2024 11:40:34 +0000 (19:40 +0800)] 
libcap-ng: fix build with swig 4.2.0

Backport an upstream patch to remove Python exception handler which is
deprecated and also removed from swig.

https://github.com/swig/swig/commit/736c052d7de3685be9d5c4aecee6b36273e8c319

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17 months agostress-ng: upgrade 0.17.04 -> 0.17.05
Anuj Mittal [Fri, 16 Feb 2024 11:40:31 +0000 (19:40 +0800)] 
stress-ng: upgrade 0.17.04 -> 0.17.05

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17 months agoorc: upgrade 0.4.36 -> 0.4.37
Anuj Mittal [Fri, 16 Feb 2024 11:40:30 +0000 (19:40 +0800)] 
orc: upgrade 0.4.36 -> 0.4.37

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17 months agosqlite3: upgrade 3.44.2 -> 3.45.1
Anuj Mittal [Fri, 16 Feb 2024 11:40:29 +0000 (19:40 +0800)] 
sqlite3: upgrade 3.44.2 -> 3.45.1

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17 months agolibproxy: upgrade 0.5.3 -> 0.5.4
Anuj Mittal [Fri, 16 Feb 2024 11:40:28 +0000 (19:40 +0800)] 
libproxy: upgrade 0.5.3 -> 0.5.4

This includes a fix to include complete library version. Release notes:

https://github.com/libproxy/libproxy/releases/tag/0.5.4

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17 months agoenchant2: upgrade 2.6.5 -> 2.6.7
Anuj Mittal [Fri, 16 Feb 2024 11:40:26 +0000 (19:40 +0800)] 
enchant2: upgrade 2.6.5 -> 2.6.7

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17 months agolibffi: upgrade to 3.4.5
Ross Burton [Fri, 16 Feb 2024 10:46:49 +0000 (10:46 +0000)] 
libffi: upgrade to 3.4.5

Drop the clang/VFP patch, merged in 00116b6.

Drop the FILES for ${libdir}/libffi-${PV}, this file isn't installed.

License-Update: Copyright year updated to 2024.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17 months agolibadwaita: update 1.4.2 -> 1.4.3
Markus Volk [Fri, 16 Feb 2024 09:53:03 +0000 (10:53 +0100)] 
libadwaita: update 1.4.2 -> 1.4.3

=============
Version 1.4.3
=============

- AdwAboutWindow
  - Don't pre-select the first section on the Legal page
- AdwHeaderBar
  - Fix visibility after changing :show-back-button
- AdwPreferencesWindow
  - Fix :visible-page and :visible-page-name docs
- AdwViewSwitcherBar
  - Fix a warning when empty
- Translation updates
  - French
  - Greek
  - Norwegian Bokmål

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17 months agoldconfig-native: Fix to point correctly on the DT_NEEDED entries in an ELF file
Fabien Mahot [Fri, 16 Feb 2024 09:36:44 +0000 (10:36 +0100)] 
ldconfig-native: Fix to point correctly on the DT_NEEDED entries in an ELF file

When ldconfig-native reads an ELF file, it computes an offset from a LOAD
segment, to point on DT NEEDED entries of dynstr section.
Without this patch, ldconfig-native uses only the first LOAD segment, even if
the offset is incorrect.
This patch adds conditions to compute the offset by parsing all LOAD segments,
one by one.

This is a backport from [0], ported to support endianness and 32/64 bits.

[0]: https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=58e8f5fd2ba47b6dc47fd4d0a35e4175c7c87aaa

Signed-off-by: Fabien Mahot <fabien.mahot@external.desouttertools.com>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17 months agobinutils: Update to tip of 2.42 release branch
Khem Raj [Fri, 16 Feb 2024 19:02:39 +0000 (11:02 -0800)] 
binutils: Update to tip of 2.42 release branch

Brings following fixes.

553c7f61b74 x86: Display -msse-check= default as none
4f7d1d2d5ec PowerPC: Add support for Power11 options
3c1f1c35784 x86-64: Add R_X86_64_CODE_6_GOTTPOFF
c426c8e307a x86/APX: VROUND{P,S}{S,D} encodings require AVX512{F,VL}
78f9e9faaa4 PR31208, strip can break ELF alignment requirements
e19278f72bd PR 31283 windmc: Parse input correctly on big endian hosts
b76b8983116 Link x86-64 mark-plt-1.so with --no-as-needed
e92e2d654bf LoongArch: gas: Fix the types of symbols referred with %le_*_r in the symtab

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17 months agopython3-attrs: skip test failing with pytest-8
Tim Orling [Fri, 16 Feb 2024 16:15:56 +0000 (08:15 -0800)] 
python3-attrs: skip test failing with pytest-8

tests/test_funcs.py test_unknown test case is failing with
pytest 8. Skip it for now until upstream has a fix.

https://github.com/python-attrs/attrs/issues/1233

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17 months agopython3-pytest: upgrade 7.4.4 -> 8.0.0
Wang Mingyu [Fri, 16 Feb 2024 16:15:54 +0000 (08:15 -0800)] 
python3-pytest: upgrade 7.4.4 -> 8.0.0

Changelog:
=============
#11842: Properly escape the reason of a skip mark when writing JUnit XML files.
#11861: Avoid microsecond exceeds 1_000_000 when using log-date-format with
 %f specifier, which might cause the test suite to crash.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17 months agomeson: set the sysroot in the cross files
Ross Burton [Fri, 16 Feb 2024 14:46:03 +0000 (14:46 +0000)] 
meson: set the sysroot in the cross files

When cross compiling we have a sysroot, so by telling Meson where it is
explicitly it can do the right thing.

Currently this means it just sets PKG_CONFIG_SYSROOT_DIR to the value
that we already set it to, but in the future this can be used to stop
Meson looking directly in /usr when it shouldn't.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17 months agolinux-yocto/6.6: qemuriscv: enable goldfish RTC
Bruce Ashfield [Fri, 16 Feb 2024 20:05:16 +0000 (15:05 -0500)] 
linux-yocto/6.6: qemuriscv: enable goldfish RTC

Integrating the following commit(s) to linux-yocto/.:

1/1 [
    Author: Khem Raj
    Email: raj.khem@gmail.com
    Subject: qemuriscv32/qemuriscv64: Enable Goldfish RTC
    Date: Fri, 16 Feb 2024 01:05:51 -0800

    This is required for the qemu based riscv system to set system time
    correctly. Otherwise, it falls back to defaults in /etc/timestamp which
    is set at image build time and is not current.

    Fixes
    hwclock: can't open '/dev/misc/rtc': No such file or directory
    Fri Mar  9 12:34:56 UTC 2018
    hwclock: can't open '/dev/misc/rtc': No such file or directory
    hwclock: can't open '/dev/misc/rtc': No such file or directory

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17 months agolinux-yocto/6.6: update CVE exclusions
Bruce Ashfield [Fri, 16 Feb 2024 20:05:15 +0000 (15:05 -0500)] 
linux-yocto/6.6: update CVE exclusions

Data pulled from: https://github.com/nluedtke/linux_kernel_cves

    1/1 [
        Author: Nicholas Luedtke
        Email: nicholas.luedtke@uwalumni.com
        Subject: Update 9Feb24
        Date: Fri, 9 Feb 2024 18:02:45 -0500

    ]

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17 months agolinux-yocto/6.6: update to v6.6.16
Bruce Ashfield [Fri, 16 Feb 2024 20:05:14 +0000 (15:05 -0500)] 
linux-yocto/6.6: update to v6.6.16

Updating linux-yocto/6.6 to the latest korg -stable release that comprises
the following commits:

    eb3e299184cc Linux 6.6.16
    bd8740928aac pds_core: Prevent health thread from running during reset/remove
    7110e98840ee drm/amdgpu: Fix missing error code in 'gmc_v6/7/8/9_0_hw_init()'
    4f89186790fe ASoC: codecs: wsa883x: fix PA volume control
    a499a67685af ASoC: codecs: lpass-wsa-macro: fix compander volume hack
    9e0454cc9252 ASoC: codecs: wcd938x: fix headphones volume controls
    d821cbe902f4 ASoC: qcom: sc8280xp: limit speaker volumes
    c9ac947693f5 bonding: remove print in bond_verify_device_path
    4caf54817650 selftests/bpf: Remove flaky test_btf_id test
    46e35a506538 LoongArch/smp: Call rcutree_report_cpu_starting() at tlb_init()
    78a1eb102c7f drm/msm/dsi: Enable runtime PM
    18e7ab59b755 Revert "drm/amd/display: Disable PSR-SU on Parade 0803 TCON again"
    6335c0cdb2ea mm, kmsan: fix infinite recursion due to RCU critical section
    e50c55c295d4 arm64: irq: set the correct node for shadow call stack
    4f3341db4ea7 selftests: net: enable some more knobs
    97d9d1fdde25 selftests: net: add missing config for NF_TARGET_TTL
    eb0b6fc85ca9 selftests: bonding: Check initial state
    83146efc8d14 selftests: team: Add missing config options
    6af17316df51 net: sysfs: Fix /sys/class/net/<iface> path
    e7a36b563bbd octeontx2-pf: Remove xdp queues on program detach
    cb0ef63e5e67 selftests: net: don't access /dev/stdout in pmtu.sh
    d99f772f6371 selftests: net: fix available tunnels detection
    eb43e8d5e059 selftests: net: add missing config for pmtu.sh tests
    fd0e57cb5f74 selftests: net: add missing config for nftables-backed iptables
    2bbf2b1c20f9 pds_core: Rework teardown/setup flow to be more common
    f6ec6ac94329 pds_core: Clear BARs on reset
    22cd6046eb21 pds_core: Prevent race issues involving the adminq
    699f5416c33e pds_core: implement pci reset handlers
    10839a1892dd pds_core: Use struct pdsc for the pdsc_adminq_isr private data
    b26628142b99 pds_core: Cancel AQ work on teardown
    5e7f3e0381c0 af_unix: fix lockdep positive in sk_diag_dump_icons()
    8160eb9a0102 net: ipv4: fix a memleak in ip_setup_cork
    cfe3550ea5df netfilter: nft_ct: sanitize layer 3 and 4 protocol number in custom expectations
    25621b53377d netfilter: nf_log: replace BUG_ON by WARN_ON_ONCE when putting logger
    ce76746a1cd2 netfilter: nf_tables: restrict tunnel object to NFPROTO_NETDEV
    6edc89300b31 netfilter: conntrack: correct window scaling with retransmitted SYN
    2d608870718f selftests: net: add missing config for GENEVE
    ef3d6ed3c8b3 devlink: Fix referring to hw_addr attribute during state validation
    d99971ec1b3a bridge: mcast: fix disabled snooping after long uptime
    48129d4f967e selftests: net: Add missing matchall classifier
    3151051b787f llc: call sock_orphan() at release time
    13806fc09040 ipv6: Ensure natural alignment of const ipv6 loopback and router addresses
    4785948b213f net: dsa: qca8k: fix illegal usage of GPIO
    a4b6f9de6a78 ixgbe: Fix an error handling path in ixgbe_read_iosf_sb_reg_x550()
    09943985ac58 ixgbe: Refactor overtemp event handling
    03c5b6d41744 ixgbe: Refactor returning internal error codes
    e9ad7a8060fa e1000e: correct maximum frequency adjustment values
    d15cc0f66884 tcp: add sanity checks to rx zerocopy
    f0025c92b1ba net: lan966x: Fix port configuration when using SGMII interface
    dcaafdba6c61 ipmr: fix kernel panic when forwarding mcast packets
    f9ae3a437b1f net: dsa: mt7530: fix 10M/100M speed on MT7988 switch
    350a6640fac4 ip6_tunnel: make sure to pull inner header in __ip6_tnl_rcv()
    2d0bfd36e547 selftests: net: give more time for GRO aggregation
    d3ccd4f0e158 selftests: net: add missing required classifier
    e5d6247d7ffd selftests: net: add missing config for big tcp tests
    0c2c97aa7706 net: phy: mediatek-ge-soc: sync driver with MediaTek SDK
    01b4ae7e15df net: ethernet: mtk_eth_soc: set DMA coherent mask to get PPE working
    f08daa806ba7 gve: Fix skb truesize underestimation
    baa3f8b28185 selftests: net: explicitly wait for listener ready
    31a6e0a87ba7 selftests: net: remove dependency on ebpf tests
    54a55b632206 HID: hidraw: fix a problem of memory leak in hidraw_release()
    65ead8468c21 scsi: core: Move scsi_host_busy() out of host lock for waking up EH handler
    92f0eca1fcf7 regulator: ti-abb: don't use devm_platform_ioremap_resource_byname for shared interrupt register
    8e4319a4e9fd kunit: run test suites only after module initialization completes
    6f8277017dfb scsi: isci: Fix an error code problem in isci_io_request_build()
    b73ffafa0121 riscv: Fix build error on rv32 + XIP
    3c0a7eac9e78 drm/amdkfd: only flush mes process context if mes support is there
    8de8f000ffe1 drm: using mul_u32_u32() requires linux/math64.h
    8a67b8d2ad04 wifi: cfg80211: fix RCU dereference in __cfg80211_bss_update
    2d5228be5e03 perf: Fix the nr_addr_filters fix
    250cfafb3e9d i2c: rk3x: Adjust mask/value offset for i2c2 on rv1126
    5ea4007636b2 drm/amdkfd: Fix 'node' NULL check in 'svm_range_get_range_boundaries()'
    25c2de1fbd8e drm/amdgpu: Release 'adev->pm.fw' before return in 'amdgpu_device_need_post()'
    b02831b8a5b6 drm/amdgpu: Fix with right return code '-EIO' in 'amdgpu_gmc_vram_checking()'
    0ee4c5829fb3 drm/amd/powerplay: Fix kzalloc parameter 'ATOM_Tonga_PPM_Table' in 'get_platform_power_management_table()'
    d0bc6be623ba drm/amdgpu: fix avg vs input power reporting on smu7
    d8fedfb4be52 ceph: fix invalid pointer access if get_quota_realm return ERR_PTR
    196b87e5c00c ceph: fix deadlock or deadcode of misusing dget()
    987219b377cc ceph: reinitialize mds feature bit even when session in open
    6d8b01624a25 blk-mq: fix IO hang from sbitmap wakeup race
    20e81d2c4e44 virtio_net: Fix "‘%d’ directive writing between 1 and 11 bytes into a region of size 10" warnings
    752312f6a794 drm/amdkfd: Fix lock dependency warning with srcu
    28d2d623d2fb drm/amdkfd: Fix lock dependency warning
    6757fd72312b libsubcmd: Fix memory leak in uniq()
    1229ce1c4acd misc: lis3lv02d_i2c: Add missing setting of the reg_ctrl callback
    04644c18fc35 usb: xhci-plat: fix usb disconnect issue after s4
    11a93a73836e 9p: Fix initialisation of netfs_inode for 9p
    38d437d728bb PCI/AER: Decode Requester ID when no error info found
    7ec6e908ee17 PCI: Fix 64GT/s effective data rate calculation
    f8dcafcb5463 spmi: mediatek: Fix UAF on device remove
    952d0cbd1f68 fs/kernfs/dir: obey S_ISGID
    d3b08e2537bb tty: allow TIOCSLCKTRMIOS with CAP_CHECKPOINT_RESTORE
    10800685fd7d selftests/sgx: Fix linker script asserts
    915d900f6d0f usb: hub: Add quirk to decrease IN-ep poll interval for Microchip USB491x hub
    cd72da00e6a0 usb: hub: Replace hardcoded quirk value with BIT() macro
    8b755fc728cd extcon: fix possible name leak in extcon_dev_register()
    7c5276c44dd5 perf cs-etm: Bump minimum OpenCSD version to ensure a bugfix is present
    0233b836312e PCI: switchtec: Fix stdev_release() crash after surprise hot remove
    cc56867d3226 PCI: Only override AMD USB controller if required
    a71f8c0a1ba2 mailbox: arm_mhuv2: Fix a bug for mhuv2_sender_interrupt
    c27d9af41a19 mfd: ti_am335x_tscadc: Fix TI SoC dependencies
    9744be5e8952 xen/gntdev: Fix the abuse of underlying struct page in DMA-buf import
    e792a03d06b3 riscv: Make XIP bootable again
    aca8d2587223 i3c: master: cdns: Update maximum prescaler value for i2c clock
    de3e9d8e8d1a um: time-travel: fix time corruption
    857710e1b11d um: net: Fix return type of uml_net_start_xmit()
    a4378abcbb8c um: Don't use vfprintf() for os_info()
    976c46e6964c um: Fix naming clash between UML and scheduler
    029479d4f1bb leds: trigger: panic: Don't register panic notifier if creating the trigger failed
    6eef17a3c687 pinctrl: baytrail: Fix types of config value in byt_pin_config_set()
    24d748413cc4 ALSA: hda/conexant: Fix headset auto detect fail in cx8070 and SN6140
    08dde830ab24 drm/amdgpu: apply the RV2 system aperture fix to RN/CZN as well
    583e0a336bfb drm/amdkfd: Fix iterator used outside loop in 'kfd_add_peer_prop()'
    ff5aefbbd82e drm/amdgpu: Drop 'fence' check in 'to_amdgpu_amdkfd_fence()'
    aa1791b280ed drm/amdgpu: Fix '*fw' from request_firmware() not released in 'amdgpu_ucode_request()'
    90df72694a5b Re-revert "drm/amd/display: Enable Replay for static screen use cases"
    0d35c8977be8 drm/amdgpu: Let KFD sync with VM fences
    cef7f96a0a4c drm/amd/display: Fix minor issues in BW Allocation Phase2
    0a8fc4e007b9 drm/amdgpu: Fix ecc irq enable/disable unpaired
    b9ecbaa6211f clk: imx: clk-imx8qxp: fix LVDS bypass, pixel and phy clocks
    49b4cab7bcbd drm/amd/display: Only clear symclk otg flag for HDMI
    4033887acddc drm/amd/display: make flip_timestamp_in_us a 64-bit variable
    9aa2cba7a275 accel/habanalabs: add support for Gaudi2C device
    3075d01e2719 watchdog: it87_wdt: Keep WDTCTRL bit 3 unmodified for IT8784/IT8786
    1a63d7f8aa39 watchdog: starfive: add lock annotations to fix context imbalances
    b9359c3a4278 clk: mmp: pxa168: Fix memory leak in pxa168_clk_init()
    1cda2870d5b4 clk: hi3620: Fix memory leak in hi3620_mmc_clk_init()
    e7a0ee45c653 drm/amdgpu: fix ftrace event amdgpu_bo_move always move on same heap
    1f2b0ec25103 drm/msm/dpu: fix writeback programming for YUV cases
    828282829d5a drm/msm/dpu: Ratelimit framedone timeout msgs
    ec2c3d3438a8 drm/msm/dpu: enable writeback on SM8450
    50fc3d2199ef drm/msm/dpu: enable writeback on SM8350
    3a950c56dea1 drm/amdkfd: fix mes set shader debugger process management
    e9ca61a7e6b0 drm/amd/display: Force p-state disallow if leaving no plane config
    6750d1de747f drm/amd/display: For prefetch mode > 0, extend prefetch if possible
    777ab143a0c2 media: i2c: imx335: Fix hblank min/max values
    7190073513ca media: ddbridge: fix an error code problem in ddb_probe
    7c180bf2967c media: amphion: remove mutext lock in condition of wait_event
    342258fb46d6 IB/ipoib: Fix mcast list locking
    7a9696dbad6b drm/exynos: Call drm_atomic_helper_shutdown() at shutdown/unbind time
    417b8a91f4e8 f2fs: fix to tag gcing flag on page during block migration
    f9902f92ce53 hwmon: (hp-wmi-sensors) Fix failure to load on EliteDesk 800 G6
    6f86bbf92cc5 hwmon: (nct6775) Fix fan speed set failure in automatic mode
    8a315206425b media: rkisp1: resizer: Stop manual allocation of v4l2_subdev_state
    fab483438342 media: rkisp1: Fix IRQ disable race issue
    e28e80cda429 media: rkisp1: Store IRQ lines
    a32c20cf933b media: rkisp1: Fix IRQ handler return values
    e08195de19c8 media: rkisp1: Drop IRQF_SHARED
    5193d26a706e media: uvcvideo: Fix power line control for SunplusIT camera
    051400c305af media: uvcvideo: Fix power line control for a Chicony camera
    6c0f21f86958 drm/msm/dp: Add DisplayPort controller for SM8650
    70cb71c9a887 ALSA: hda: intel-dspcfg: add filters for ARL-S and ARL
    0f04f8d6168b ALSA: hda: Intel: add HDA_ARL PCI ID support
    c964e3b277da PCI: add INTEL_HDA_ARL to pci_ids.h
    6ca8d2c068bb media: rockchip: rga: fix swizzling for RGB formats
    df16808b1627 media: stk1160: Fixed high volume of stk1160_dbg messages
    daf57c5ce16e drm/mipi-dsi: Fix detach call without attach
    9b3fbff86a62 drm/framebuffer: Fix use of uninitialized variable
    2cde325e185b drm/drm_file: fix use of uninitialized variable
    01e7578c7cd3 drm/amd/display: Fix MST PBN/X.Y value calculations
    c87011986fad ASoC: amd: Add new dmi entries for acp5x platform
    8b981e78d033 f2fs: fix write pointers on zoned device after roll forward
    1c563c045090 drm/amd/display: Fix tiled display misalignment
    1e0635bcda5b drm/bridge: anx7625: Fix Set HPD irq detect window to 2ms
    8c67a27e7774 drm/panel-edp: Add override_edid_mode quirk for generic edp
    02ca47143bc0 RDMA/IPoIB: Fix error code return in ipoib_mcast_join
    17e1361cb91d reiserfs: Avoid touching renamed directory if parent does not change
    408f4c8efddc fast_dput(): handle underflows gracefully
    1b7eb3a2044b ASoC: doc: Fix undefined SND_SOC_DAPM_NOPM argument
    32a600b8f6f4 ALSA: hda: Refer to correct stream index at loops
    2a7b12d4705b f2fs: fix to check return value of f2fs_reserve_new_block()
    9916fdd8a29a net: dsa: qca8k: put MDIO bus OF node on qca8k_mdio_register() failure
    45d201c4335b net: kcm: fix direct access to bv_len
    225b254911ef octeontx2-af: Fix max NPC MCAM entry check while validating ref_entry
    d973bf8ec3e8 i40e: Fix VF disable behavior to block all traffic
    e54c52ee07b9 arm64: dts: sprd: Change UMS512 idle-state nodename to match bindings
    8c700bed9b69 arm64: dts: sprd: Add clock reference for pll2 on UMS512
    daa24d2065d0 bridge: cfm: fix enum typo in br_cc_ccm_tx_parse
    d1f1e11b3d30 net/smc: disable SEID on non-s390 archs where virtual ISM may be used
    100089a1ec70 Bluetooth: L2CAP: Fix possible multiple reject send
    e266b7b2d4b5 Bluetooth: hci_sync: fix BR/EDR wakeup bug
    1441054443cb Bluetooth: ISO: Avoid creating child socket if PA sync is terminating
    f2719ecc4637 Bluetooth: qca: Set both WIDEBAND_SPEECH and LE_STATES quirks for QCA2066
    0dc97f76d670 wifi: cfg80211: free beacon_ies when overridden from hidden BSS
    9940160d12bd wifi: rtlwifi: rtl8723{be,ae}: using calculate_bit_shift()
    5f3e436832e8 libbpf: Fix NULL pointer dereference in bpf_object__collect_prog_relos
    84ff6a960730 wifi: rtw89: coex: Fix wrong Wi-Fi role info and FDDT parameter members
    85b4f7523873 wifi: rtl8xxxu: Add additional USB IDs for RTL8192EU devices
    0112d7f6c6f8 arm64: dts: amlogic: fix format for s4 uart node
    6bc0e112759b ice: fix pre-shifted bit usage
    cdb7f0e9ad25 arm64: dts: qcom: Fix coresight warnings in in-ports and out-ports
    f127a0b64c2d arm64: dts: qcom: msm8998: Fix 'out-ports' is a required property
    73cb930505d2 arm64: dts: qcom: msm8996: Fix 'in-ports' is a required property
    c9851c6445e5 md: Whenassemble the array, consult the superblock of the freshest device
    85f24d72b5a8 block: prevent an integer overflow in bvec_try_merge_hw_page
    f6791424f6f2 net: dsa: mv88e6xxx: Fix mv88e6352_serdes_get_stats error path
    c11a870a73a3 net: atlantic: eliminate double free in error handling logic
    334a12270c7a ice: fix ICE_AQ_VSI_Q_OPT_RSS_* register values
    4b8672726d04 scsi: hisi_sas: Set .phy_attached before notifing phyup event HISI_PHYE_PHY_UP_PM
    f92ee7113bb7 scsi: lpfc: Move determination of vmid_flag after VMID reinitialization completes
    6d38434f427c scsi: lpfc: Reinitialize an NPIV's VMID data structures after FDISC
    40ac9c17b6ab ARM: dts: imx23/28: Fix the DMA controller node name
    3866310a77c6 ARM: dts: imx23-sansa: Use preferred i2c-gpios properties
    20b1881800a1 ARM: dts: imx27-apf27dev: Fix LED name
    8b9b3d9dd3cb ARM: dts: imx25/27: Pass timing0
    7eadf1ff3299 ARM: dts: imx25: Fix the iim compatible string
    afe022417b93 selftests/bpf: fix compiler warnings in RELEASE=1 mode
    03ca1747949f arm64: zynqmp: Fix clock node name in kv260 cards
    b00eedb225ae arm64: zynqmp: Move fixed clock to / for kv260
    5b9ea86e6620 block/rnbd-srv: Check for unlikely string overflow
    5e7213ca7815 ionic: bypass firmware cmds when stuck in reset
    fdc2e7ad7ab3 ionic: pass opcode to devcmd_wait
    243749271dbc net: phy: at803x: fix passing the wrong reference for config_intr
    509c223966f0 ARM: dts: imx1: Fix sram node
    cc1568568a31 ARM: dts: imx27: Fix sram node
    28743cc68694 ARM: dts: imx: Use flash@0,0 pattern
    34335be2414d ARM: dts: imx25/27-eukrea: Fix RTC node name
    9e5e41f63a32 ARM: dts: rockchip: fix rk3036 hdmi ports node
    23a0cdd96b01 wifi: ath12k: fix the issue that the multicast/broadcast indicator is not read correctly for WCN7850
    9ab224744a47 wifi: wfx: fix possible NULL pointer dereference in wfx_set_mfp_ap()
    702f1ed48e39 bpf: Set uattr->batch.count as zero before batched update or deletion
    20d7686331a5 wifi: mt76: mt7996: add PCI IDs for mt7992
    c4139d2faedf wifi: mt76: connac: fix EHT phy mode check
    d03363072251 arm64: dts: qcom: sm8350: Fix remoteproc interrupt type
    03d23f7d6e9b arm64: dts: qcom: sm8450: fix soundwire controllers node name
    cd7d1971c4c7 arm64: dts: qcom: sm8550: fix soundwire controllers node name
    bd4b6397faa0 net: mvmdio: Avoid excessive sleeps in polled mode
    9487d93f172a minmax: relax check to allow comparison between unsigned arguments and signed constants
    701405f53d1b minmax: allow comparisons of 'int' against 'unsigned char/short'
    b0c7fd162fa4 minmax: fix indentation of __cmp_once() and __clamp_once()
    204c653d5d0c minmax: allow min()/max()/clamp() if the arguments have the same signedness.
    56dcff99005a minmax: add umin(a, b) and umax(a, b)
    d89ae99530d0 minmax: fix header inclusions
    b65b93f3dbca minmax: deduplicate __unconst_integer_typeof()
    268515e9ddc6 scsi: libfc: Fix up timeout error in fc_fcp_rec_error()
    01d91d66a48d scsi: libfc: Don't schedule abort twice
    1f4fd12d2a0d wifi: ath12k: fix and enable AP mode for WCN7850
    a9bf3a490e6a bpf: Set need_defer as false when clearing fd array during map free
    483cb92334cd bpf: Check rcu_read_lock_trace_held() before calling bpf map helpers
    d8bfb29484d5 wifi: rtw89: fix misbehavior of TX beacon in concurrent mode
    5b34e76bbaab wifi: ath11k: fix race due to setting ATH11K_FLAG_EXT_IRQ_ENABLED too early
    e4f4bac7d3b6 wifi: ath9k: Fix potential array-index-out-of-bounds read in ath9k_htc_txstatus()
    e02851adca4e bpf: Fix a few selftest failures due to llvm18 change
    401e139c1565 ARM: dts: imx7s: Fix nand-controller #size-cells
    aeefe740c85c ARM: dts: imx7s: Fix lcdif compatible
    62b5830762a4 ARM: dts: imx7d: Fix coresight funnel ports
    58b9d491afe2 scsi: arcmsr: Support new PCI device IDs 1883 and 1886
    6e1613da0a9a scsi: mpi3mr: Add PCI checks where SAS5116 diverges from SAS4116
    177fe2a728fc scsi: mpi3mr: Add support for SAS5116 PCI IDs
    d7a319889498 net: usb: ax88179_178a: avoid two consecutive device resets
    a5bea3ae3eaf bonding: return -ENOMEM instead of BUG in alb_upper_dev_walk
    b59bc7017252 PCI: Add no PM reset quirk for NVIDIA Spectrum devices
    d06b88b01fc1 net: phy: micrel: fix ts_info value in case of no phc
    94d045510143 ARM: dts: samsung: s5pv210: fix camera unit addresses/ranges
    6f7e8d3952f2 ARM: dts: samsung: exynos4: fix camera unit addresses/ranges
    5b94b3a8e339 scsi: lpfc: Fix possible file string name overflow when updating firmware
    61cc78be359d soc: xilinx: fix unhandled SGI warning message
    4722924e7a62 soc: xilinx: Fix for call trace due to the usage of smp_processor_id()
    b01dbb6cfdb4 ARM: dts: qcom: msm8660: fix PMIC node labels
    198bba9b9d4b ARM: dts: qcom: mdm9615: fix PMIC node labels
    9d004cda161a ARM: dts: qcom: strip prefix from PMIC files
    ae81c559f11f selftests/bpf: Fix issues in setup_classid_environment()
    e54656ed6452 wifi: rt2x00: correct wrong BBP register in RxDCOC calibration
    d14ea4b0d85f selftests/bpf: Fix pyperf180 compilation failure with clang18
    aec8c7b1334b libbpf: Fix potential uninitialized tail padding with LIBBPF_OPTS_RESET
    a4c79e7969af selftests/bpf: satisfy compiler by having explicit return in btf test
    9e1913382b47 selftests/bpf: fix RELEASE=1 build for tc_opts
    04cfe4a5da57 wifi: rt2x00: restart beacon queue when hardware reset
    7b1bb9a40b38 wifi: rtw89: fix timeout calculation in rtw89_roc_end()
    8b1413dbfe49 ext4: avoid online resizing failures due to oversized flex bg
    04cf95f7a77a ext4: remove unnecessary check from alloc_flex_gd()
    903547ea2498 ext4: unify the type of flexbg_size to unsigned int
    c1eacba3b77c ext4: fix inconsistent between segment fstrim and full fstrim
    d08534ebc347 ecryptfs: Reject casefold directory inodes
    8c944f8a4139 smb: client: fix hardlinking of reparse points
    c586b0c7466e smb: client: fix renaming of reparse points
    d91ecb894aed ext4: treat end of range as exclusive in ext4_zero_range()
    69c7eeb4f622 SUNRPC: Fix a suspicious RCU usage warning
    15893975e9e3 sysctl: Fix out of bounds access for empty sysctl registers
    c87d7d910775 KVM: s390: fix setting of fpc register
    02c6bbfb08ba s390/ptrace: handle setting of fpc register correctly
    06dfeba8a8b8 s390/vfio-ap: fix sysfs status attribute for AP queue devices
    64e7f102c301 arch: consolidate arch_irq_work_raise prototypes
    05a8ba5c1e59 s390/boot: always align vmalloc area on segment boundary
    6996d43b1448 jfs: fix array-index-out-of-bounds in diNewExt
    0cb7eafed540 rxrpc_find_service_conn_rcu: fix the usage of read_seqbegin_or_lock()
    08ade0fa6103 afs: fix the usage of read_seqbegin_or_lock() in afs_find_server*()
    8d742c4a8b2b afs: fix the usage of read_seqbegin_or_lock() in afs_lookup_volume_rcu()
    464a0ca0f05a crypto: stm32/crc32 - fix parsing list of devices
    d48760461aeb erofs: fix ztailpacking for subpage compressed blocks
    8b18d5f5454e crypto: octeontx2 - Fix cptvf driver cleanup
    c7ff77b7db34 crypto: starfive - Fix dev_err_probe return error
    3f691aa676f2 erofs: fix up compacted indexes for block size < 4096
    0593cfd321df pstore/ram: Fix crash when setting number of cpus to an odd number
    af8bdab2adb8 crypto: p10-aes-gcm - Avoid -Wstringop-overflow warnings
    b0af4adaedc6 hwrng: starfive - Fix dev_err_probe return error
    1696d6d7d4a1 jfs: fix uaf in jfs_evict_inode
    2e16a1389b5a jfs: fix array-index-out-of-bounds in dbAdjTree
    7110650b85dd jfs: fix slab-out-of-bounds Read in dtSearch
    edff092a5926 UBSAN: array-index-out-of-bounds in dtSplitRoot
    6a44065dd604 FS:JFS:UBSAN:array-index-out-of-bounds in dbAdjTree
    fcecef9a84f6 thermal: core: Fix thermal zone suspend-resume synchronization
    410063c9e100 ACPI: APEI: set memory failure flags as MF_ACTION_REQUIRED on synchronous events
    0aedb319ef3e PM / devfreq: Synchronize devfreq_monitor_[start/stop]
    29482da8ffa1 kunit: tool: fix parsing of test attributes
    f6bda2950122 ACPI: NUMA: Fix the logic of getting the fake_pxm value
    a95c77f93606 selftests/nolibc: fix testcase status alignment
    f066171de33d ACPI: extlog: fix NULL pointer dereference check
    3bbbe5902229 PNP: ACPI: fix fortify warning
    abd97ccfb3d3 ACPI: video: Add quirk for the Colorful X15 AT 23 Laptop
    129db2ded6e6 audit: Send netlink ACK before setting connection in auditd_set
    3023b44a304e regulator: core: Only increment use_count when enable_count changes
    d396f97648bf debugobjects: Stop accessing objects after releasing hash bucket lock
    814173380135 perf/core: Fix narrow startup race when creating the perf nr_addr_filters sysfs file
    04c6948db0ff x86/mce: Mark fatal MCE's page as poison to avoid panic in the kdump kernel
    28b8ba8eebf2 powerpc/lib: Validate size for vector operations
    39ba91d29fdb powerpc: pmd_move_must_withdraw() is only needed for CONFIG_TRANSPARENT_HUGEPAGE
    f77cb0471ec0 x86/boot: Ignore NMIs during very early boot
    2074271ac73c powerpc/64s: Fix CONFIG_NUMA=n build due to create_section_mapping()
    82e40455715f powerpc/mm: Fix build failures due to arch_reserved_kernel_pages()
    641c67d59fd0 powerpc: Fix build error due to is_valid_bugaddr()
    fabdc0422cc5 drivers/perf: pmuv3: don't expose SW_INCR event in sysfs
    40a5dce893f0 arm64: irq: set the correct node for VMAP stack
    145febd85c3b powerpc/mm: Fix null-pointer dereference in pgtable_cache_add
    c918aac94262 asm-generic: make sparse happy with odd-sized put_unaligned_*()
    55ae38ffa0f4 Documentation/sphinx: fix Python string escapes

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17 months agosstate-cache-management: fix regex for 'sigdata' stamp files
André Draszik [Fri, 16 Feb 2024 10:45:51 +0000 (10:45 +0000)] 
sstate-cache-management: fix regex for 'sigdata' stamp files

Given file names like
    6.4.do_fetch.sigdata.821b6c62f9f2bd8b7e1378656b8319697a21f6f6e4a351f98dc325a18ef7ed0f,
I'm pretty sure we want to match the dot here, not any character.

Fixes: 2fa1b25d7485 ("sstate-cache-management: Rewrite in python") in oe-core
Fixes: b723fcaac52f ("sstate-cache-management: Rewrite in python") in poky
Signed-off-by: André Draszik <andre.draszik@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17 months agou-boot: Pass in prefix mapping variables to the compiler
Richard Purdie [Fri, 16 Feb 2024 13:43:13 +0000 (13:43 +0000)] 
u-boot: Pass in prefix mapping variables to the compiler

Avoid:

u-boot-1_2024.01-r0 do_package_qa: QA Issue: File /boot/u-boot-qemuriscv64-2024.01-r0.elf in package u-boot contains reference to TMPDIR [buildpaths]

by ensuring the compiler has the prefix mapping options passed in to it
to correctly remap the source paths and avoid the warning.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17 months agokernel-devsrc: Improve vdso-offsets handling for qemuriscv64
Richard Purdie [Fri, 16 Feb 2024 10:31:10 +0000 (10:31 +0000)] 
kernel-devsrc: Improve vdso-offsets handling for qemuriscv64

Fix:

kernel-devsrc-1.0-r0 do_package_qa: QA Issue: File /lib/modules/6.6.15-yocto-standard/build/include/generated/.compat_vdso-offsets.h.cmd in package kernel-devsrc contains reference to TMPDIR [buildpaths]

by adding to the list of files we do this with. Also drop the
conditional since rm -f handles this.

This only apppears for qemurisc*.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17 months agollvm: Upgrade to LLVM-18 RC2
Khem Raj [Wed, 14 Feb 2024 20:47:34 +0000 (12:47 -0800)] 
llvm: Upgrade to LLVM-18 RC2

Final Release is coming in first week of March

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17 months agowaf.bbclass: Print waf output on unparsable version
Yoann Congal [Thu, 15 Feb 2024 17:36:24 +0000 (18:36 +0100)] 
waf.bbclass: Print waf output on unparsable version

On AB runs of reproducible-meta-oe/Repro meta-oe/meta-oe,
"waf --version" does not seem to contain the version but an error
message with "RuntimeWarning: <something>" [0].

Since the actual output is not saved anywhere, it is quite hard to
debug.

This patch detects the problematic case and send it to the log where it
will be seen and fixed. As a side-effect, this error will now only be a
warning.

Here is a partial backtrace for this (full back trace visible in [0]):
  NOTE: recipe mpv-0.35.1-r0: task do_configure: Started
  ERROR: mpv-0.35.1-r0 do_configure: Error executing a python function in exec_func_python() autogenerated:

  The stack trace of python calls that resulted in this exception/failure was:
  File: 'exec_func_python() autogenerated', lineno: 2, function: <module>
   *** 0002:waf_preconfigure(d)
  File: '$TOP/meta/classes-recipe/waf.bbclass', lineno: 58, function: waf_preconfigure
       0056:        result = subprocess.check_output([python, wafbin, '--version'], cwd=subsrcdir, stderr=subprocess.STDOUT)
       0057:        version = result.decode('utf-8').split()[1]
   *** 0058:        if bb.utils.vercmp_string_op(version, "1.8.7", ">="):
  [...]
  File: '$TOP/bitbake/lib/bb/utils.py', lineno: 91, function: split_version
   *** 0091:        e = int(s.split(":")[0])
  Exception: ValueError: invalid literal for int() with base 10: 'RuntimeWarning'

[0]: https://autobuilder.yoctoproject.org/typhoon/#/builders/155/builds/11/steps/32/logs/stdio line 31883

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17 months agopatchtest-send-results: add --debug option
Trevor Gamblin [Thu, 15 Feb 2024 20:52:05 +0000 (15:52 -0500)] 
patchtest-send-results: add --debug option

Add a -d/--debug option to patchtest-send-results so that the contents
of the constructed raw email can be checked without actually sending
anything to the list or patch author.

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17 months agopatchtest: Fix grammar in log output
Trevor Gamblin [Thu, 15 Feb 2024 20:52:04 +0000 (15:52 -0500)] 
patchtest: Fix grammar in log output

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17 months agoxz: upgrade 5.4.5 -> 5.4.6
Denys Dmytriyenko [Thu, 15 Feb 2024 20:59:25 +0000 (15:59 -0500)] 
xz: upgrade 5.4.5 -> 5.4.6

Project has made changes to the site structure: https://tukaani.org/
| The XZ projects were moved to their own website on xz.tukaani.org in
| January 2024. The old links will be kept working via redirections.

While old release tarballs are still being accesible on the site via
redirects, new releases are no longer hosted on the site and point
directly to github - update SRC_URI.

The website change was mentioned in the COPYING file, changing its hash.

Full Changelog:
https://github.com/tukaani-project/xz/releases/tag/v5.4.6

License-Update: new URL due to website restructure

Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17 months agozlib: upgrade 1.3 -> 1.3.1
Denys Dmytriyenko [Thu, 15 Feb 2024 18:54:05 +0000 (13:54 -0500)] 
zlib: upgrade 1.3 -> 1.3.1

Refresh local patch.

Changelog:
https://github.com/madler/zlib/releases/tag/v1.3.1

Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17 months agodevtool: modify: Correct appending of type=git-dependency to URIs
Peter Kjellerstedt [Thu, 15 Feb 2024 22:12:50 +0000 (23:12 +0100)] 
devtool: modify: Correct appending of type=git-dependency to URIs

A missing space when using :append would lead to run-on URIs if there
was no whitespace at the end of the original SRC_URI.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17 months agopython3-poetry-core: upgrade 1.8.1 -> 1.9.0
Tim Orling [Thu, 15 Feb 2024 22:04:55 +0000 (14:04 -0800)] 
python3-poetry-core: upgrade 1.8.1 -> 1.9.0

This version deprecates "poetry.core.masonry.builder", but we detect
"poetry.core.masonry.api" in recipetool and nothing has broken our
build of wheels.

Thanks to Ross for noticing that the
"from poetry.core.masonry.builders.wheel import WheelBuilder"
is not a massive change in practice.

Changes:

1.9.0 - 2024-02-02

Added
* Add a to key in tool.poetry.packages to allow custom subpackage names (#672).
* Add support for path dependencies that do not define a build system (#675).
* Add a tool.poetry.package-mode key to support non-package mode (#661).

Changed
* Update list of supported licenses (#659, #669, #678, #694).
* Improve support for PEP 691 JSON-based Simple API (#664).
* Establish zipapp compatibility (#670).
* Rework list of files included in build artifacts (#666).
* Improve performance by treating collections in packages as immutable (#663).
* Deprecate poetry.core.masonry.builder (#682).
* Deprecate scripts that depend on extras (#690).

Fixed
* Fix an issue where insignificant errors were printed if the working
  directory is not inside a git repository (#684).
* Fix an issue where the project's directory was not recognized as git
  repository on Windows due to an encoding issue (#685).

Vendoring
* fastjsonschema==2.19.1
* lark==1.1.8

https://github.com/python-poetry/poetry-core/blob/main/CHANGELOG.md#190---2024-02-02

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17 months agoopenssh: Add a work around for ICE on mips/mips64
Richard Purdie [Thu, 15 Feb 2024 14:02:35 +0000 (14:02 +0000)] 
openssh: Add a work around for ICE on mips/mips64

Unfortunately the new openssh version has an ICE on mips. This looks similar to:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104817
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104820

Given how long these have been open, workaround the issue by disabling the compiler
hardening options on mips.

It is likely better to do this than have the open CVEs for everyone
as we can't upgrade.

An example:

| during RTL pass: zero_call_used_regs
| clientloop.c: In function 'client_loop':
| clientloop.c:1699:1: internal compiler error: in int_mode_for_mode, at stor-layout.cc:407
|  1699 | }
|       | ^
| 0x14d0acc internal_error(char const*, ...)
|  ???:0
| 0x5cf765 fancy_abort(char const*, int, char const*)
|  ???:0
| 0x826f1f emit_move_insn_1(rtx_def*, rtx_def*)
|  ???:0
| 0x8270c5 emit_move_insn(rtx_def*, rtx_def*)
|  ???:0
| 0xb7b994 default_zero_call_used_regs(HARD_REG_SET)
|  ???:0
| Please submit a full bug report, with preprocessed source (by using -freport-bug).
| Please include the complete backtrace with any bug report.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17 months agoopenssh: upgrade 9.5p1 -> 9.6p1
Tim Orling [Fri, 5 Jan 2024 16:55:55 +0000 (08:55 -0800)] 
openssh: upgrade 9.5p1 -> 9.6p1

* Relocate Upstream-Status in 0001-regress-banner.sh-log-input-and-output-files-on-erro.patch
  so it will not throw an error in AUH

https://www.openssh.com/txt/release-9.6
https://github.com/openssh/openssh-portable/compare/V_9_5_P1...V_9_6_P1

https://nvd.nist.gov/vuln/detail/CVE-2023-48795
https://nvd.nist.gov/vuln/detail/CVE-2023-51384
https://nvd.nist.gov/vuln/detail/CVE-2023-51385

CVE: CVE-2023-48795
CVE: CVE-2023-51384
CVE: CVE-2023-51385

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17 months agomesa: update 24.0.0 -> 24.0.1
Markus Volk [Thu, 15 Feb 2024 16:39:52 +0000 (17:39 +0100)] 
mesa: update 24.0.0 -> 24.0.1

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17 months agoptest-runner: Bump to 2.4.3 (92c1b97)
Anibal Limon [Wed, 14 Feb 2024 18:35:03 +0000 (12:35 -0600)] 
ptest-runner: Bump to 2.4.3 (92c1b97)

Pull small fixed related to secure builds, handling of rc in every ptest
and better tests output when timeout.

Changes,

92c1b97 Do not reset error counter before each test
7de7e2b utils: run_child fix security flags build
6a9fba2 utils.c: get_available_ptests fix security flags compilation
5b8ad9a tests: Ensure that timeouts still print ERROR
d939217 SECURITY.md: Add file

Signed-off-by: Anibal Limon <anibal@limonsoftware.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
17 months agopatchtest-send-results: use Message-ID directly
Trevor Gamblin [Thu, 15 Feb 2024 21:37:05 +0000 (16:37 -0500)] 
patchtest-send-results: use Message-ID directly

There's no need to use regex for extracting the Message-ID field from
the patch email and mangle it by removing the angle brackets in the
process. Pull it directly from the mbox so that Patchtest's replies have
even fewer differences when compared to other replies. Also add a TODO
so that it's clear this needs adjustment when full series support is
added.

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17 months agovalgrind: Skip 22 arm64 ptests
Randy MacLeod [Thu, 15 Feb 2024 16:21:39 +0000 (08:21 -0800)] 
valgrind: Skip 22 arm64 ptests

With the 3.22 upgrade 21 additional tests fail on qemuarm64.
Skip them until the problems are resolved. Tracked by:
   https://bugzilla.yoctoproject.org/show_bug.cgi?id=15399

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17 months agovalgrind: skip 14 ptests in 3.22
Randy MacLeod [Mon, 12 Feb 2024 22:05:01 +0000 (14:05 -0800)] 
valgrind: skip 14 ptests in 3.22

Sort the ptest depenencies into a somewhat alpahbetical order.
Add python3-compile for ptests.

Add softlinks for cachegrind to eliminate a warning seen in those tests.

The folowing tests fail after the 3.22 update:
   memcheck/tests/linux/dlclose_leak-no-keep
   memcheck/tests/linux/dlclose_leak
   memcheck/tests/wrap1
   memcheck/tests/wrap2
   ...
   memcheck/tests/wrap8
   cachegrind/tests/wrap5
   massif/tests/bug469146
   massif/tests/new-cpp
   massif/tests/overloaded-new

Omit these tests until they are fixed.
Tracked by: https://bugzilla.yoctoproject.org/show_bug.cgi?id=15399

=== Test Summary ===
TOTAL: 778
PASSED: 759
FAILED: 0
SKIPPED: 19

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17 months agovalgrind: update from 3.21.0 to 3.22.0
Randy MacLeod [Mon, 12 Feb 2024 22:05:00 +0000 (14:05 -0800)] 
valgrind: update from 3.21.0 to 3.22.0

Full release notes: https://valgrind.org/docs/manual/dist.news.html

In summary, there is a new configure option: --with-gdbscripts-dir
that lets you install the gdb valgrind python monitor scripts in a specific location.
It's not used in the valgrind recipe yet. Also, there were a few Memcheck and Cachegrind
improvements made and many bugs fixed.

The update required removing the patch:
   0001-none-tests-x86-linux-seg_override.c-add-missing-incl.patch
as it's dealt with by these commits:
   f7e4bb4af Bug 382034 - Testcases build fixes for musl
   306232d40 musl: another fix for building testcases
as described on: https://bugs.kde.org/show_bug.cgi?id=382034

Drop: 002-context-APIs-are-not-available-on-musl.patch
since this is handled in a different way by the following
upstream commits:
   c9e88f345 configure, drd: Only build the swapcontext test if swapcontext() is available
   7cd4d7816 memcheck/tests/linux/stack_changes: Only run this test if setcontext() is available
And the that tracked the error:
   https://bugs.kde.org/show_bug.cgi?id=434775
is closed.
No regression in musl qemux86-64/kvm ptest results.

Drop: 0001-fix-opcode-not-supported-on-mips32-linux.patch
The resolved (works for me) upstream defect rejected this patch:
   https://bugs.kde.org/show_bug.cgi?id=396905
and suggested using CFLAGS="-mips32". With this patch dropped, the
qemumips build succeeds perhaps due to using -march=mips32r2

Drop: 0001-Make-local-functions-static-to-avoid-assembler-error.patch
since this was fixed upstream by commit:
   d6da48fe5 mips: use local labels for do_acasW()
Confirmed with:
   MACHINE=qemumips TCLIBC=musl bitbake valgrind

Ptest Resutls for qemux86-64/kvm

glibc:
=== Test Summary ===
TOTAL: 792
PASSED: 759
FAILED: 14
SKIPPED: 19

musl:
=== Test Summary ===
TOTAL: 792
PASSED: 559
FAILED: 211
SKIPPED: 22

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17 months agovalgrind: make ptest depend on all components
Randy MacLeod [Mon, 12 Feb 2024 22:04:59 +0000 (14:04 -0800)] 
valgrind: make ptest depend on all components

When the helper scripts were split into separate packages, they
weren't added as ptest dependencies. Fix that.

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17 months agobash: nativesdk-bash does not provide /bin/bash so don't claim to
Maanya Goenka [Thu, 1 Feb 2024 02:56:20 +0000 (02:56 +0000)] 
bash: nativesdk-bash does not provide /bin/bash so don't claim to

The package nativesdk-sdk-provides-dummy already provides /bin/sh and /bin/bash and
nativesdk-bash does not provide them, it provides them in ${nativesdk_bindir}. Tweak
the definition to class-target only to avoid this.

[RP: Tweaked wording to clarify]

Signed-off-by: Maanya Goenka <maanyagoenka@microsoft.com>
Signed-off-by : Alejandro Hernandez Samaniego <alhe@linux.microsoft.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
17 months agobusybox: Explicitly specify tty device for serial consoles
Aleksey Smirnov [Wed, 7 Feb 2024 11:51:06 +0000 (14:51 +0300)] 
busybox: Explicitly specify tty device for serial consoles

Description: In case of two or more consoles are in inittab,
and not specified tty device for first one, some keys works improperly,
ex: arrows, backspace, pgup/pgdown; The patch is fixes this issue.

Signed-off-by: Aleksey Smirnov <aleksey.smirnov@yadro.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
17 months agotzdata : Upgrade to 2024a
Priyal Doshi [Tue, 13 Feb 2024 12:50:00 +0000 (18:20 +0530)] 
tzdata : Upgrade to 2024a

Signed-off-by: Priyal Doshi <pdoshi@mvista.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
17 months agomeson: remove TMPDIR workaround
Ross Burton [Fri, 9 Feb 2024 12:30:27 +0000 (12:30 +0000)] 
meson: remove TMPDIR workaround

We had to export TMPDIR because Meson was writing temporary files into
/tmp and then trying to run them, but some systems had /tmp mounted
noexec.

This is now solved upstream as of meson commit 1e182b5 (which was part of
Meson 0.52.0), and these temporary files are written to the build tree
instead.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
17 months agomesa: update 23.3.5 -> 24.0.0
Markus Volk [Wed, 14 Feb 2024 18:14:53 +0000 (19:14 +0100)] 
mesa: update 23.3.5 -> 24.0.0

- refresh 0001-meson.build-check-for-all-linux-host_os-combinations.patch
- rework VIDEO_CODECS. mesa now provides options for 'all' and 'all_free'
  Adjust accordingly.
  Free codecs are built by default:
    Codecs                       : av1dec av1enc vp9dec
  If LICENSE_FLAGS_ACCEPTED contains 'commercial' all supported codecs are built:
    Codecs                       : vc1dec h264dec h264enc h265dec h265enc
                                   av1dec av1enc vp9dec

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17 months agopatchtest: log errors and failures at end
Simone Weiß [Wed, 14 Feb 2024 19:03:02 +0000 (19:03 +0000)] 
patchtest: log errors and failures at end

At the moment, running patchtest locally will only print failures and errors
to the log when the not passing test case is executed. This might lead to
people overlooking issues with their patches, so print a log line at the
end if testcases showed issues. This should make it more easy to spot then
before.

Fixes [YOCTO #15389]

Signed-off-by: Simone Weiß <simone.p.weiss@posteo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17 months agopython3-unittest-automake-output: upgrade to 0.2
Ross Burton [Wed, 14 Feb 2024 14:51:02 +0000 (14:51 +0000)] 
python3-unittest-automake-output: upgrade to 0.2

Specifically this fixes the issue where if a pytest test suite fails
during collection then the errors are hidden.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17 months agoqemu: disbale AF_XDP network backend support
Jose Quaresma [Wed, 14 Feb 2024 13:43:24 +0000 (13:43 +0000)] 
qemu: disbale AF_XDP network backend support

This fix some host contaminations issues:
| /poky/build/tmp/hosttools/ld.bfd: libcommon.fa.p/net_af-xdp.c.o: undefined reference to symbol 'bpf_xdp_detach@@LIBBPF_0.7.0'
| /poky/build/tmp/hosttools/ld.bfd: /usr/lib/libbpf.so.1: error adding symbols: DSO missing from command line
| collect2: error: ld returned 1 exit status

The AF_XDP network backend support [1] requires the libxdp that is not
available in any layer, otherwise you can configure this option:
| PACKAGECONFIG[af-xdp] = "--enable-af-xdp,--disable-af-xdp,libxdp"

[1] https://github.com/qemu/qemu/commit/cb039ef3d9e3112da01e1ecd9b136ac9809ef733

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17 months agopython3: move dataclasses to python3-core
Ross Burton [Wed, 14 Feb 2024 11:36:49 +0000 (11:36 +0000)] 
python3: move dataclasses to python3-core

For some reason dataclasses was being packaged in the -profile subpackage,
which doesn't make sense as this is a core piece of the runtime support.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17 months agopython3-cryptography: upgrade 41.0.7 to 42.0.2
Tim Orling [Fri, 2 Feb 2024 04:59:34 +0000 (20:59 -0800)] 
python3-cryptography: upgrade 41.0.7 to 42.0.2

* Also upgrade python3-cryptography-vectors
* Drop patch for 9129, fixed upstream
* Refresh pyproject.toml --benchmark-disable patch
* Refresh -crates.inc

Changes:
https://cryptography.io/en/latest/changelog/#v42-0-2
https://cryptography.io/en/latest/changelog/#v42-0-1
https://cryptography.io/en/latest/changelog/#v42-0-0
https://github.com/pyca/cryptography/compare/41.0.7...42.0.2

RP: Add new REPENDS on python3-mmap for ptest
RP: Increase memory in ptest image to avoid test failures

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17 months agoglib-2.0: backport memory monitor test fixes
Ross Burton [Tue, 13 Feb 2024 14:22:11 +0000 (14:22 +0000)] 
glib-2.0: backport memory monitor test fixes

We've been seeing the memory-monitor-dbus test case fail occasionally
on the autobuilder.  Luckily there have been a series of fixes upstream
to fix races in the test case, so backport these and hopefully they
fix the issue.

[ YOCTO #15362 ]

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17 months agocups: use LOCALE_PATHS to split localized HTML templates
Jonathan GUILLOT [Wed, 6 Dec 2023 16:06:43 +0000 (16:06 +0000)] 
cups: use LOCALE_PATHS to split localized HTML templates

Localized HTML templates in /usr/share/cups/templates are now part of
locale packages.

Signed-off-by: Jonathan GUILLOT <jonathan@joggee.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17 months agolib/oe/package: add LOCALE_PATHS to add define all locations for locales
Jonathan GUILLOT [Wed, 6 Dec 2023 16:03:47 +0000 (16:03 +0000)] 
lib/oe/package: add LOCALE_PATHS to add define all locations for locales

Some packages may contain localized files not located in default path
${datadir}/locale. Add the new variable LOCALE_PATHS to allow a recipe
to define extra paths or even fully override the scanned directories.
LOCALE_PATHS is set at ${datadir}/locale by default to keep the exact
same behavior for the recipes which did not need modification.

Signed-off-by: Jonathan GUILLOT <jonathan@joggee.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17 months agolib/oe/package: replace in place PN-locale-* packages in PACKAGES
Jonathan GUILLOT [Thu, 30 Nov 2023 12:49:13 +0000 (12:49 +0000)] 
lib/oe/package: replace in place PN-locale-* packages in PACKAGES

split_locales() removes PN-locale from PACKAGES and adds PN-locale-* to the end.
As the PN-locale package typically appears before PN base package, it may result
in paths not installed in PN-locale-* packages if already catched by PN. Now
insert PN-locale-* exactly where PN-locale was existing in list to avoid such
an issue.

Signed-off-by: Jonathan GUILLOT <jonathan@joggee.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17 months agorootfs-postcommands: remove make_zimage_symlink_relative()
Enrico Jörns [Mon, 12 Feb 2024 21:44:12 +0000 (22:44 +0100)] 
rootfs-postcommands: remove make_zimage_symlink_relative()

This does not seem to have any purpose anymore since the pkg_postinst
from kernel.bbclass always creates relative symlinks from zImage to
zImage-${KERNEL_VERSION}.

Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17 months agokexec-tools: Replace a submitted patch by the backported one
Yoann Congal [Tue, 13 Feb 2024 23:03:01 +0000 (00:03 +0100)] 
kexec-tools: Replace a submitted patch by the backported one

This replaces "kexec-tools: purgatory: fix build on `binutils-2.42`"
(Submitted upstream) by "Fix building on x86_64 with binutils 2.41"
(which was actually merged).

Upstream maintainers found the second patch more complete [0].

[0]: https://lore.kernel.org/all/ZbopWV9qrxMME2hU@MiWiFi-R3L-srv/T/

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17 months agopiglit: Fix build with musl
Khem Raj [Tue, 13 Feb 2024 17:01:08 +0000 (09:01 -0800)] 
piglit: Fix build with musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17 months agoglibc: Update to bring mips32/clone3 fix
Khem Raj [Tue, 13 Feb 2024 17:00:52 +0000 (09:00 -0800)] 
glibc: Update to bring mips32/clone3 fix

This patch is the only change applied with this update

312e159626 mips: FIx clone3 implementation (BZ 31325)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17 months agopython3-pytz: upgrade 2023.3 -> 2023.4
Wang Mingyu [Fri, 2 Feb 2024 00:33:31 +0000 (08:33 +0800)] 
python3-pytz: upgrade 2023.3 -> 2023.4

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
17 months agopython3-pyopenssl: upgrade 23.3.0 -> 24.0.0
Wang Mingyu [Fri, 2 Feb 2024 00:21:20 +0000 (08:21 +0800)] 
python3-pyopenssl: upgrade 23.3.0 -> 24.0.0

Changelog:
-Added OpenSSL.SSL.Connection.get_selected_srtp_profile to determine which SRTP
 profile was negotiated.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
17 months agopython3-psutil: upgrade 5.9.7 -> 5.9.8
Wang Mingyu [Fri, 2 Feb 2024 00:20:28 +0000 (08:20 +0800)] 
python3-psutil: upgrade 5.9.7 -> 5.9.8

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
17 months agopython3-pluggy: upgrade 1.3.0 -> 1.4.0
Wang Mingyu [Fri, 2 Feb 2024 00:17:42 +0000 (08:17 +0800)] 
python3-pluggy: upgrade 1.3.0 -> 1.4.0

Changelog:
============
-A warning :class:'~pluggy.PluggyTeardownRaisedWarning' is now issued when an
 old-style hookwrapper raises an exception during teardown. See the warning
 documentation for more details.
-Add :func:'PluginManager.unblock <pluggy.PluginManager.unblock>' method to
 unblock a plugin by plugin name.
-Fix :func:'~pluggy.HookCaller.call_extra()' extra methods getting ordered
 before everything else in some circumstances. Regressed in pluggy 1.1.0.
-Fix plugins registering other plugins in a hook when the other plugins
 implement the same hook itself. Regressed in pluggy 1.1.0.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
17 months agopython3-hypothesis: upgrade 6.92.9 -> 6.97.3
Wang Mingyu [Fri, 2 Feb 2024 00:13:43 +0000 (08:13 +0800)] 
python3-hypothesis: upgrade 6.92.9 -> 6.97.3

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

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
17 months agopython3-hatchling: upgrade 1.21.0 -> 1.21.1
Wang Mingyu [Fri, 2 Feb 2024 00:09:11 +0000 (08:09 +0800)] 
python3-hatchling: upgrade 1.21.0 -> 1.21.1

Changelog:
 Fix loading of local plugins to account for newly released versions of a dependency

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>