Niko Mauno [Tue, 1 Apr 2025 14:04:27 +0000 (14:04 +0000)]
dbus-glib: Revise RDEPENDS:${PN}-tests assignment
Since this recipe has 'dbus' in DEPENDS, assigning dbus-glib-tests
runtime dependency to '${PN}' instead of 'dbus' will induce pulling
the preferred runtime D-Bus package to rootfs, thanks to libdbus'
runtime recommendation of ${VIRTUAL-RUNTIME_dbus}.
Suggested-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Niko Mauno <niko.mauno@vaisala.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Wed, 2 Apr 2025 14:45:37 +0000 (15:45 +0100)]
rust-llvm: Disable libedit
This option currently floats and is leading to non-deterministic builds. It
is used for commandline option tab completion which we don't need in our
builds in general, let alone internally within rust's llvm.
This should fix autobuilder deterministic build issues.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Yash Shinde [Mon, 31 Mar 2025 05:54:21 +0000 (22:54 -0700)]
rust: Upgrade 1.84.1->1.85.0
Rust stable version updated to 1.85.0
https://blog.rust-lang.org/2025/02/20/Rust-1.85.0.html
Some of the major updates:
- Update LIC_FILES_CHKSUM in libstd-rs and rust recipes.
License-Update: Unicode license text is updated to Unicode-3.0 License.
https://github.com/rust-lang/rust/commit/6d2a3e9786ec43a0e0af20386e7046328296ac86
[RP: Update LICENSE to reference Unicode-3.0]
- Pass '-Zforce-unstable-if-unmarked' to RUSTFLAGS in libstd-rs.bb
Fix: https://github.com/rust-lang/rust/issues/133857#issuecomment-2526341227
- Downgrade bootstrap cc version causing bootstrap to fail on custom targets. (Backported from v1.85.1)
Fix: https://github.com/rust-lang/rust/pull/137460/commits/e4ca11f87ffca8c63aa56d45b46e62b6acc58bd7
- Rust v1.85.0 tarball doesn't ship gcc tree.
Drop "remove_gcc_directory" postfunc which removed it and prevented the bloat.
Fix: https://github.com/rust-lang/rust/commit/13c3f9b9498013837782b46120085ea19ca75518
Adapted the patch changes with v1.85.0:
repro-issue-fix-with-cc-crate-hashmap.patch
revert-link-std-statically-in-rustc_driver-feature.patch
rust-oe-selftest.patch
rv32-cargo-rustix-0.38.40-fix.patch
Dropped patches:
fix-tidy-check-failure.patch since it's merged with v1.85.0.
Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Yash Shinde [Mon, 31 Mar 2025 05:54:20 +0000 (22:54 -0700)]
rust: Update "do_update_snapshot" task for rust-snapshot.inc
The 'do_update_snapshot' task is failed with below error:
Exception: FileNotFoundError: [Errno 2] No such file or directory: '.../rustc-1.83.0-src/src/stage0.json'
There are changes in use of key-value format in stage0 file in
rust sources and the rust recipe should be apdated for that.
Niko Mauno [Tue, 1 Apr 2025 14:04:30 +0000 (14:04 +0000)]
recipes-connectivity: Drop dbus from RDEPENDS:${PN}
Since each of these recipes already have 'dbus' in their DEPENDS,
explicit runtime dependency declaration to dbus is not stricly
necessary, because dbus-lib has runtime recommendation for
${VIRTUAL-RUNTIME_dbus} which in turn induces pulling also the
preferred runtime D-Bus package to rootfs.
Suggested-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Niko Mauno <niko.mauno@vaisala.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Niko Mauno [Tue, 1 Apr 2025 14:04:29 +0000 (14:04 +0000)]
glib: Support using alternative runtime D-Bus
In order to facilitate oe-core users who wish to use e.g. dbus-broker
as their runtime D-Bus implementation, change the Freedesktop.org
specific D-Bus runtime dependency to honor the new VIRTUAL-RUNTIME_dbus
variable.
Signed-off-by: Niko Mauno <niko.mauno@vaisala.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Niko Mauno [Tue, 1 Apr 2025 14:04:28 +0000 (14:04 +0000)]
systemd: Support using alternative runtime D-Bus
In order to facilitate oe-core users who wish to use e.g. dbus-broker
as their runtime D-Bus implementation, change the Freedesktop.org
specific D-Bus runtime dependency to honor the new VIRTUAL-RUNTIME_dbus
variable.
Signed-off-by: Niko Mauno <niko.mauno@vaisala.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Niko Mauno [Tue, 1 Apr 2025 14:04:26 +0000 (14:04 +0000)]
dbus: Allow using dbus-lib with alternative D-Bus
In order to facilitate oe-core users who wish to use e.g. dbus-broker
as their runtime D-Bus implementation, declare the target specific
dbus-lib runtime recommendation so that it will honor the new
VIRTUAL-RUNTIME_dbus variable.
Signed-off-by: Niko Mauno <niko.mauno@vaisala.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The purpose of the new variable is to facilitate oe-core users who wish
to use an alternative runtime D-Bus implementation instead of the
default Freedesktop.org's dbus, such as dbus-broker, a recipe for which
is currently available under
meta-openembedded/meta-oe/recipes-core/dbus/
While introducing this facilitation the intent is to preserve the
existing functionality, while allowing the user to optionally select an
alternative runtime D-Bus implementation by adding the following line
e.g. to local.conf file:
VIRTUAL-RUNTIME_dbus = "dbus-broker"
As a background, for example the Fedora distribution uses dbus-broker
instead of Freedesktop.org's D-Bus implementation. The following
excerpts from
https://fedoraproject.org/wiki/Changes/DbusBrokerAsTheDefaultDbusImplementation
provide background for their technological decision
This change provides a more scalable and more reliable implementation in place of the reference implementation.
The reference implementation suffers from long-standing issues including potential dead-locks and susceptibility to denial of service attacks, which the replacement implementation does not.
and
No visible changes in behavior are expected, except for different log messages.
Any visibly different behavior to `dbus-daemon` should be reported as a regression.
Ideally, this change should only improve the performance and security of the message bus.
Signed-off-by: Niko Mauno <niko.mauno@vaisala.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update: GFDL 1.2 -> 1.3, copyright years update
Add patch that fixes a new documentation generation issue in 1.5.0
https://github.com/xiph/flac/pull/824
Remove the check for NASM, no longer used in 1.5.0
Signed-off-by: Michael Opdenacker <michael.opdenacker@rootcommit.com> CC: Peter Marko <peter.marko@siemens.com> CC: Ross Burton <Ross.Burton@arm.com> CC: Quentin Schulz <quentin.schulz@cherry.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Temporarily disable aics tests as they can fail
depending on how the tests are executed. Sometimes they pass,
sometimes they fail. The issue has been observed since BlueZ 5.72 to 5.80
Starting with BlueZ 5.80, the tests began failing when using the
ptest-runner script. This is not a new issue in BlueZ 5.80 which is
why the test is disabled with this commit until a solution is found.
Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This change will prevent these tools from being installed if the image doesn't install bluez5-noinst-tools package.
BlueZ 5.66: tools/mesh-tester
BlueZ 5.66: tools/ioctl-tester
BlueZ 5.65: tools/iso-tester
BlueZ 5.56: tools/btpclientctl
BlueZ 5.51: tools/bcmfw
BlueZ 5.49: tools/rtlfw
BlueZ 5.47: tools/btconfig (not a new tool, but it was moved from bin_PROGRAMS to noinst_PROGRAMS)
Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changes relevant for the build:
* Four patches are dropped because they are included in 5.80.
* Removed changes to etc/bluetooth directory permission bits. They are
now set correctly in 5.80 [1].
* AMP code has been removed [2]. This means "tools/amptest" can be
removed from NOINST_TOOLS_BT
Fix issue with handling address type for all types of keys.
Fix issue with handling maximum number of GATT channels.
Fix issue with handling MTU auto-tuning feature.
Fix issue with handling AVRCP volume in reconfigured transports.
Fix issue with handling VCP volume setting requests.
Fix issue with handling VCP connection management.
Fix issue with handling MAP qualification.
Fix issue with handling PBAP qualification.
Fix issue with handling BNEP qualification.
Add support for PreferredBearer device property.
Add support for SupportedTypes Message Access property.
Add support for HFP, A2DP, AVRCP, AVCTP and MAP latest versions.
Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Mon, 31 Mar 2025 13:26:24 +0000 (14:26 +0100)]
rust-llvm: Compile llvm to use dynamic libraries
Our main llvm recipe uses dynamic linking already but rust-llvm does not.
Enabling this significanly reduces the size of llvm-rust to about a third
of what it was, which is a bettter configuration for us leading to smaller
TMPDIR and sstate objects.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Sat, 29 Mar 2025 14:28:51 +0000 (14:28 +0000)]
rust-source: Fix remove_gcc_directory
The patch works for rust-native but not other recipes which change ${S}.
Set it to use the correct path so it works for llvm-rust, cargo and others,
maximising the space saving.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Fri, 28 Mar 2025 22:12:44 +0000 (22:12 +0000)]
buildperf: Tweak tooltip positioning for usability
The tooltop contains a key hyperlink to make the graphs usable. Make
it easier to click on the link by removing the space between the data
point and the tooltip.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Fri, 28 Mar 2025 22:11:07 +0000 (22:11 +0000)]
buildperf: Avoid step usage in performance line graphs
When using steps in the line chart, you have to look long and hard
to understand if the data is the lower or upper point on the step.
Whilst not as pretty, the sloped line charts are more accurate so
switch to those as the transition points are important and the main
reason for the charts.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Antonin Godard [Thu, 27 Mar 2025 13:16:52 +0000 (14:16 +0100)]
classes/spdx-*.bbclass: move spdx2 specific variables out of spdx-common class
Setting SPDX_ARCHIVE_SOURCES and SPDX_ARCHIVE_PACKAGED makes no
difference when using the spdx-3.0 class. Move these two in the spdx-2.0
class since they are only used there.
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Chen Qi [Thu, 27 Mar 2025 06:21:43 +0000 (14:21 +0800)]
mc: fix buildpath QA regarding unzip
When unzip-native is somehow introduced indirectly into the dependency
chain, then we get buildpath QA issue. Pass a similar value as the ZIP
to fix this issue.
Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
rust: Fix build failure when multilibs are enabled
When multilibs are enabled, building rust is failing because of the following commit
https://github.com/rust-lang/rust/commit/68034f837a39387e49fc7d7c5b088f5372a1127e
with stage1/rustc cannot able to find dependent *.so files. The issue is
been fixed inrust-master with the following commit by passing the necessary library
paths before executing stage1/rustc
Rust stable version updated to 1.84.1.
https://blog.rust-lang.org/2025/01/30/Rust-1.84.1.html
Renamed and modified the below patch to adapt the new version.
rv32-cargo-rustix-0.38.37-fix.patch->rv32-cargo-rustix-0.38.38-fix.patch
Modified the below patches to adapt the new version.
repro-issue-fix-with-cc-crate-hashmap.patch
revert-link-std-statically-in-rustc_driver-feature.patch
Remove the "src/gcc" directory from the Rust source code to reduce the
filesystem build space.
In Rust 1.83 (and 1.84), a full GCC-14 tree was included, which caused
the tar.xz archive to increase by 128 MB and the unpacked sources to
grow by 1.3 GB. This was an upstream error that has been resolved in
Rust 1.85.
After updating to Rust 1.85 we can revert this removal of "src/gcc"
Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ross Burton [Wed, 26 Mar 2025 12:11:50 +0000 (12:11 +0000)]
flex: build occasional build failures in test suite compile
GNU Make 4.4 has added --shuffle, which randomly orders build jobs and
is great at exposing missing dependencies. Using this the known problem
with the flex test suite build was found and resolved, so remove the
workaround of doing a non-parallel build and apply a patch.
Also remove redundant Make variables that shouldn't be needed to build
the test suite.
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Pavel Zhukov [Tue, 25 Mar 2025 09:40:14 +0000 (10:40 +0100)]
overlayfs-etc: Unmount /sys and /proc before init
/sys filesystem mounted by the preinit script causes shadowing of
/sys/firmware/efi/ by double /sys mounting on systemd enabled systems
[1]. As the result EFI tooling is broken
[1]
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
sysfs on /sys type sysfs (rw,relatime)
Signed-off-by: Pavel Zhukov <pavel@zhukoff.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ross Burton [Mon, 24 Mar 2025 21:24:45 +0000 (21:24 +0000)]
acl: improve ptest packaging
As there's a small number of test binaries in acl, instead of
installing large chunks of the build tree we can install just those and
use a boilerplate test runner.
Drop 0001-tests-do-not-hardcode-the-build-path-into-a-helper-l.patch and
replace with an explicit -DBASEDIR= flag passed at build time.
Drop 0001-test-patch-out-failing-bits.patch and delete the tests that
fail entirely as they won't work without a specific user/group setup.
Backport a patch from upstream so that some tests don't use excessive
amounts of memory.
Backport a patch from upstream to cater for both glibc and musl's
behaviour with interleaved stdout/stderr, fixing the tests on musl.
Clean up dependencies now that we're not shipping the build system.
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Khem Raj [Mon, 24 Mar 2025 19:50:57 +0000 (12:50 -0700)]
man-db: Add missing rdep for col utility
man utility calls col utility internally when formatting is asked for
therefore it expects col to be in rootfs otherwise silently errors with
retcode 3 meaning 'file not found' in this case its due to col not being
found, other distros eg. gets this via bsdextrautils dependency
Add it via packageconfig and keep is disabled by default since its
deprecated and col does not exist on musl
libssh2 ptest mansyntax.sh fails due to this error, which now works
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ross Burton [Mon, 24 Mar 2025 17:20:07 +0000 (17:20 +0000)]
attr: improve ptest packaging
As there's just a few test binaries in attr, instead of installing large
chunks of the build tree we can install just those and use a boilerplate
test runner.
Also add a comment explaining why we have to sed the test suite if musl
is used.
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Khem Raj [Mon, 24 Mar 2025 16:33:41 +0000 (09:33 -0700)]
syslinux: Use -idirafter to add back path for system stdarg.h
syslinux uses -nostdinc to build freestanding, which makes sense, however
it also tried to latch its own copy of stdarg.h to include system stdarg.h
via "include_next" compiler magic, so it poses to provide own stdarg.h but
then secretly include system version behind the scenes :)
It uses -nostdinc -iwithprefix include
hoping that gcc is uses and gcc has its include-fixed abstraction which
also contains stdarg.h so in the end it will find a version of stdarg.h
from system (even though it is from the compiler install ) and things will
work.
On musl, include-fixed is not expected and system includes are simplified
so that everyone can look into <sysroot>/usr/include to find them. This
can throw syslinux compilation into problems as now it does not find
the header from -iprefix and ends up with errors like
/mnt/b/yoe/master/sources/poky/build/tmp/work/core2-32-poky-linux-musl/syslinux/6.04-pre2/syslinux-6.04-pre2/com32/lib/../include/stdarg.h:9:15: fatal error: stdarg.h: No such file or directory
9 | #include_next <stdarg.h>
| ^~~~~~~~~~
compilation terminated.
Therefore, we use -idirafter to point it into target sysroot as fallback
for system headers if it needs them, its added at the very last in search
order. It also keeps working with glibc based toolchains as usual and
also works with musl toolchains.
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Khem Raj [Mon, 24 Mar 2025 16:33:35 +0000 (09:33 -0700)]
ghostscript: Pin to C17 std
The code defines a custom 'bool' type (as an 'int'), which is incompatible
with C23 in which bool is a keyword, and trying to use <stdbool.h> fails
because 'int' and 'bool' are used interchangeably in the code.
Add the flag to CC variable, since CFLAGS is used by both c and c++ compilers
and clang++ is less forgiving when C compiler only option is used on its
cmdline so it complains about -std=gnu17 and bails out.
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Tue, 7 Jan 2025 12:07:43 +0000 (12:07 +0000)]
meta/conf: Start to populate autobuilder config fragments
This populates the fragments directory with:
a) the default set of variables used in all autobuilder builds
b) the default resource related variables used in all autobuilder builds
c) three different multilib test configurations used by the autobuilder
The aim here is to start to make some of the autobuilder configuration more
visable and patchable by users, and to allow some test confiturations to
be user selectable if appropriate and needed for debugging.
The main aautobuilder fragment is probably not directly reusable by most
users, it contains the resource limits as used on the autobuilder itself. I
can see arguments both way for whether this should be included in OE-Core or not
but having an example of how we configure this is probably useful.
Not all configuration in the autobuilder is being moved, this set of variables
is just a basic starting point. Some variables may ultimately make more sense
being migrated elsewhere, perhaps updating the main defaults for poky or nodistro.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Quentin Schulz [Tue, 25 Mar 2025 09:07:54 +0000 (10:07 +0100)]
b4-wrapper-poky.py: output errors to stderr
Print error messages to stderr instead of stdout.
The commands run as part of send-auto-cc-cmd and send-auto-to-cmd b4
commands will make b4 raise an Exception if they return a non-zero
return code and it will only print the content of stderr before that.
Because print defaults to stdout, b4 would raise the exception and not
tell the user why. This commit should now provide a hint to the user
about what went wrong.
Yogita Urade [Tue, 25 Mar 2025 09:07:33 +0000 (09:07 +0000)]
libarchive: upgrade 3.7.7 -> 3.7.8
This upgrade includes fix for CVE-2024-57970, CVE-2025-25724 and
CVE-2025-1632
Changelog:
==========
Libarchive 3.7.8 is a bugfix and security release
Security fixes:
tar reader: Handle truncation in the middle of a GNU long linkname (#2422, CVE-2024-57970)
unzip: fix null pointer dereference (#2532, CVE-2025-1632)
tar reader: fix unchecked return value in list_item_verbose() (#2532, CVE-2025-25724)
Important bugfixes:
7zip reader: add SPARC (#2399) and POWERPC (#2459) filter support for non-LZMA compressors
tar reader: Ignore ustar size when pax size is present (#2405)
tar writer: Fix bug when -s/a/b/ used more than once with b flag (#2435)
cpio: Fix a Y2038 bug on Windows (#2471)
libarchive: Handle ARCHIVE_FILTER_LZOP in archive_read_append_filter (#2519)
libarchive: Adding missing seeker function to archive_read_open_FILE() (#2539)
Signed-off-by: Yogita Urade <yogita.urade@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Martin Jansa [Thu, 20 Mar 2025 16:55:16 +0000 (17:55 +0100)]
cargo.bbclass: show PACKAGECONFIG_CONFARGS in bbnote
* PACKAGECONFIG_CONFARGS was added in:
https://git.openembedded.org/openembedded-core/commit/?id=16745b20452de60ae2474433cc1a2fb1ed9f6a64
but it wasn't added in bbnote above which might lead to confusing errors like I got now:
* it was from recipe where we already use:
RUSTFLAGS:append = " ${PACKAGECONFIG_CONFARGS}"
it will be difficult to use PACKAGECONFIG for RUSTFLAGS and prevent
them to be used here for cargo as well, what about the recipes which
need them to explicitly append them to CARGO_BUILD_FLAGS ?
Signed-off-by: Martin Jansa <martin.jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Hongxu Jia [Mon, 24 Mar 2025 06:54:07 +0000 (14:54 +0800)]
spdx3: support to override the version of a package in SBOM 3
By default, still use ${PV} as the the version of a package in SBOM 3
$ bitbake acl
$ jq . tmp/deploy/spdx/3.0.1/core2-64/packages/package-acl.spdx.json
...
{
"type": "software_Package",
...
"name": "acl",
"software_packageVersion": "2.3.2"
},
...
Support to override it by setting SPDX_PACKAGE_VERSION, such as
set SPDX_PACKAGE_VERSION = "${EXTENDPKGV}" in local.conf to append
PR to software_packageVersion in SBOM 3
$ echo 'SPDX_PACKAGE_VERSION = "${EXTENDPKGV}"' >> conf/local.conf
$ bitbake acl
$ jq . tmp/deploy/spdx/3.0.1/core2-64/packages/package-acl.spdx.json
...
{
"type": "software_Package",
...
"name": "acl",
"software_packageVersion": "2.3.2-r0"
},
...
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Valeria Petrov [Fri, 21 Mar 2025 11:39:04 +0000 (12:39 +0100)]
grub2: Add GRUB_MKIMAGE_OPTS for configurable grub-mkimage options
Introduce the GRUB_MKIMAGE_OPTS variable to allow additional options
to be passed to grub-mkimage, making its behavior more configurable.
(for example, this allows disabling shim lock when necessary).
Update do_mkimage to use ${GRUB_MKIMAGE_OPTS}. This change reduce the
need for hardcoded modifications and makes future adjustments easier.
Niko Mauno [Thu, 20 Mar 2025 10:15:27 +0000 (10:15 +0000)]
iproute2: Add iptables PACKAGECONFIG knob
iproute2 detects presence of iptables during building and can also
be built without it. Add PACKAGECONFIG option which allows user to
optionally leave it out, and enable it by default to keep current
recipe behavior.
Signed-off-by: Niko Mauno <niko.mauno@vaisala.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Markus Volk [Sat, 22 Mar 2025 17:45:34 +0000 (18:45 +0100)]
gsettings-desktop-schemas: update 47.1 -> 48.0
This update is required for gnome-control-center-48
Major changes in 48.0
=====================
- Translation updates
Major changes in 48.rc
======================
- Switch to JPEG for background image
- Translation updates
Major changes in 48.beta
========================
- Switch to Adwaita Fonts
- Split data recording and limits in time limits schema
- Set more useful defaults on stylus buttons
- Translation updates
Major changes in 48.alpha
=========================
- Add screen limits schema
- Fix gendered language in key descriptions
Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
git-replacement-native is used only to provide a newer version than may
be installed on the system; apart from that, it should work more or less
the same.
In particular, it is using the host system's /etc/gitconfig; it should
also use the system CA certificates, otherwise it will break HTTPS
connections in environments that need local certificates, for example
for a corporate HTTP proxy. The override had been added to deal with
curl-native relying on the existence of its workdir to access CA
certificates, which has been fixed in the curl recipe now.
Signed-off-by: Matthias Schiffer <matthias.schiffer@ew.tq-group.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In native/nativesdk builds, sysconfdir refers to a recipe sysroot
directory, which will disappear once the workdir is cleaned up, breaking
libcurl's HTTPS connections.
By simply not setting --with-ca-bundle at all in non-target builds, curl
defaults to the host system's CA certificates, which is desirable anyways
to allow builds in environments that require local CA certificates.
Signed-off-by: Matthias Schiffer <matthias.schiffer@ew.tq-group.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Joshua Watt [Fri, 21 Mar 2025 15:12:40 +0000 (09:12 -0600)]
oeqa: spdx: Add tar test for SPDX 2.2
The base-files test for SPDX 2.2 did not give good coverage, since
base-files doesn't have any dependencies. Add building tar as another
test which more fully exercises the code
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Joshua Watt [Fri, 21 Mar 2025 15:12:39 +0000 (09:12 -0600)]
classes: create-spdx-2.2: Fix dependency handling
The common SPDX code was changed to return a dataclass for dependency
information instead of a namedtuple, but the SPDX 2.2 was missed to
account for this. Correct the SPDX 2.2 code to correctly handle the new
datatype
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Khem Raj [Wed, 19 Mar 2025 08:16:07 +0000 (01:16 -0700)]
oeqa: Build cpio with C17 std
cpio is not yet buildable with C23 standard which is default with
GCC 15, therefore ensure to apply needed bandage to keep it compiling
in C17 mode even with GCC 15
When a link is pointing to location inaccessible to build user (e.g. "/root/something"),
filepath.is_file() throws "PermissionError: [Errno 13] Permission denied".
Fix this by first checking if it is a link.
Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bruce Ashfield [Thu, 20 Mar 2025 13:40:09 +0000 (09:40 -0400)]
linux-yocto/6.12: update to v6.12.18
Updating linux-yocto/6.12 to the latest korg -stable release that comprises
the following commits:
105a31925e2d Linux 6.12.18 72cbaf8b41f0 thermal: gov_power_allocator: Add missing NULL pointer check 3e8653e399e7 x86/microcode/AMD: Load only SHA256-checksummed patches 0c110da9139d x86/microcode/AMD: Add get_patch_level() 5c200030419e x86/microcode/AMD: Get rid of the _load_microcode_amd() forward declaration 12ccf71a7dab x86/microcode/AMD: Merge early_apply_microcode() into its single callsite 42d04c39c313 x86/microcode/AMD: Remove unused save_microcode_in_initrd_amd() declarations 9ff4ece7b36c x86/microcode/AMD: Remove ugly linebreak in __verify_patch_section() signature eb50ccb8dae3 x86/microcode/AMD: Have __apply_microcode_amd() return bool 41f1230e037e x86/microcode/AMD: Return bool from find_blobs_in_containers() b0f47c8caa5b amdgpu/pm/legacy: fix suspend/resume issues 65f4aebb8127 efi: Don't map the entire mokvar table to determine its size a3c5eb88f0ba riscv: cpufeature: use bitmap_equal() instead of memcmp() 45233962ea51 riscv: signal: fix signal_minsigstksz fa19f64d6329 riscv: cacheinfo: Use of_property_present() for non-boolean properties 625a90b569b7 riscv: signal: fix signal frame size ac354e54dcab riscv/futex: sign extend compare value in atomic cmpxchg ec9acbab2ea7 rseq/selftests: Fix riscv rseq_offset_deref_addv inline asm 59455f968c10 scsi: ufs: core: bsg: Fix crash when arpmb command fails c479e20dabfd ima: Reset IMA_NONACTION_RULE_FLAGS after post_setattr c8dc4e991042 dm vdo: add missing spin_lock_init 22c6f577b3cb dm-integrity: Avoid divide by zero in table status in Inline mode 90c618efaeff selftests/landlock: Test TCP accesses with protocol=IPPROTO_TCP 5324c459f90d sched_ext: Fix pick_task_scx() picking non-queued tasks when it's called without balance() 0362847c5207 sched/core: Prevent rescheduling when interrupts are disabled 29b6d5ad3e43 rcuref: Plug slowpath race in rcuref_put() af103505d7d2 vmlinux.lds: Ensure that const vars with relocations are mapped R/O a913c2d10950 selftests/landlock: Test that MPTCP actions are not restricted ebb0c0fd6990 mptcp: reset when MPTCP opts are dropped after join 4124b782ec2b mptcp: always handle address removal under msk socket lock 48848d5bdd97 intel_idle: Handle older CPUs, which stop the TSC in deeper C states, correctly 4117c7293849 iommu/vt-d: Fix suspicious RCU usage eec1009891ab iommu/vt-d: Remove device comparison in context_setup_pass_through_cb e59119d8169a phy: exynos5-usbdrd: gs101: ensure power is gated to SS phy in phy_exit() 45dc8ea1da01 phy: exynos5-usbdrd: fix MPLL_MULTIPLIER and SSC_REFCLKSEL masks in refclk ee28b7084181 phy: tegra: xusb: reset VBUS & ID OVERRIDE 57e56fc2bfc6 net: enetc: fix the off-by-one issue in enetc_map_tx_tso_buffs() 56e26b5b3d14 net: enetc: correct the xdp_tx statistics 2d86bd25f066 net: enetc: update UDP checksum when updating originTimestamp field 3d9634211121 net: enetc: VFs do not support HWTSTAMP_TX_ONESTEP_SYNC 0ee95d1e1b7d net: enetc: keep track of correct Tx BD count in enetc_map_tx_tso_buffs() 0d1b060d9814 net: enetc: fix the off-by-one issue in enetc_map_tx_buffs() b32804cc17a4 net: phy: qcom: qca807x fix condition for DAC_DSP_BIAS_CURRENT 050f2e62b13c net: stmmac: dwmac-loongson: Add fix_soc_reset() callback 4e8b8d43373b usbnet: gl620a: fix endpoint checking in genelink_bind() 63ddac4bd54d i2c: ls2x: Fix frequency division register access 12d0e3991670 i2c: npcm: disable interrupt enable bit before devm_request_irq 2f572c42bb4b block: Remove zone write plugs when handling native zone append writes 8f6369c3cd63 arm64/mm: Fix Boot panic on Ampere Altra 94e05f90322e drm/amd/display: Fix HPD after gpu reset 2b166c574616 drm/amd/display: add a quirk to enable eDP0 on DP1 98595755f6e0 drm/amd/display: Disable PSR-SU on eDP panels d2c9625b0ade drm/amdgpu: init return value in amdgpu_ttm_clear_buffer 98ef70dd9814 drm/amdgpu: disable BAR resize on Dell G5 SE 6ffe5bc65627 drm/amdkfd: Preserve cp_hqd_pq_control on update_mqd daad16d0a538 drm/xe/userptr: fix EFAULT handling f08415419992 drm/xe/userptr: restore invalidation list on error 610c6e77a711 drm/xe/regs: remove a duplicate definition for RING_CTL_SIZE(size) 322cb23e24c8 perf/core: Fix low freq setting via IOC_PERIOD bf6e873ad732 perf/x86: Fix low freqency setting issue a2475ccad612 perf/core: Add RCU read lock protection to perf_iterate_ctx() b9de147b2ccb KVM: arm64: Ensure a VMID is allocated before programming VTTBR_EL2 e992cc7f386e ALSA: hda/realtek: Fix microphone regression on ASUS N705UD 8e31d9fb2f22 ALSA: usb-audio: Re-add sample rate quirk for Pioneer DJM-900NXS2 746cc474a954 ftrace: Avoid potential division by zero in function_stat_show() 435d2964af81 tracing: Fix bad hist from corrupting named_triggers list 9dbe14e03ff3 riscv: KVM: Fix SBI TIME error generation ab306f492c27 riscv: KVM: Fix SBI IPI error generation f5009ddfd70a riscv: KVM: Fix hart suspend_type use 5ecf68c8834b riscv: KVM: Fix hart suspend status check faccabe9c1c9 phy: rockchip: naneng-combphy: compatible reset with old DT adec6338b043 phy: rockchip: fix Kconfig dependency more a455aa3403bf x86/CPU: Fix warm boot hang regression on AMD SC1100 SoC systems a00e900c9b6d objtool: Fix C jump table annotations for Clang 2cfd0e5084e3 objtool: Remove annotate_{,un}reachable() 8cc451444cfd unreachable: Unify 546c19eb69fd io_uring/net: save msg_control for compat 27a144c3be8c thermal: gov_power_allocator: Update total_weight on bind and cdev updates 19cd2dc4d4c6 thermal: core: Move lists of thermal instances to trip descriptors e11df3bffde1 thermal/of: Fix cdev lookup in thermal_of_should_bind() 07a82c78d822 thermal: of: Simplify thermal_of_should_bind with scoped for each OF child 13cca2b73e2b uprobes: Reject the shared zeropage in uprobe_write_opcode() 7d582eb6e4e1 perf/core: Order the PMU list to fix warning about unordered pmu_ctx_list 806437d04747 thermal: gov_power_allocator: Fix incorrect calculation in divvy_up_power() 99dcd630ac21 net: ti: icss-iep: Reject perout generation request 4279bbebe00f idpf: fix checksums set in idpf_rx_rsc() cc746341aa7d selftests: drv-net: Check if combined-count exists 51946f324281 net: ipv6: fix dst ref loop on input in rpl lwt bc9ca8a18510 net: ipv6: fix dst ref loop on input in seg6 lwt 7bb1ba48f709 net/mlx5: IRQ, Fix null string in debug print e3e760e03e15 net: mvpp2: cls: Fixed Non IP flow, with vlan tag flow defination. 902d57629624 net: Clear old fragment checksum value in napi_reuse_skb 33d782e38d81 tcp: Defer ts_recent changes until req is owned ddf9b005dc87 ice: Avoid setting default Rx VSI twice in switchdev setup a4880583f88d ice: Fix deinitializing VF in error path dc44e67c6db3 ice: add E830 HW VF mailbox message limit support c417b1e4d8d0 tcp: devmem: don't write truncated dmabuf CMSGs to userspace 62454a10ecf2 net: ethernet: ti: am65-cpsw: select PAGE_POOL 18b90c1abf0e ALSA: hda/realtek: Fix wrong mic setup for ASUS VivoBook 15 2dd3e9cff9cb ASoC: cs35l56: Prevent races when soft-resetting using SPI control b08978fd76eb firmware: cs_dsp: Remove async regmap writes baa88823dd84 drm/xe/oa: Allow oa_exponent value of 0 da2e07e6505c drm/xe/oa: Allow only certain property changes from config f0ab9cd205d8 drm/xe/oa: Add syncs support to OA config ioctl fa41f3cd4eeb drm/xe/oa: Move functions up so they can be reused for config ioctl 5fe916b2c9c6 drm/xe/oa: Signal output fences 8ffd0390fc3f ipvs: Always clear ipvs_property flag in skb_scrub_packet() b7091d6b3cb7 ASoC: fsl: Rename stream name of SAI DAI driver a4b055fdb062 ASoC: es8328: fix route from DAC to output 00556b898e40 net: dsa: rtl8366rb: Fix compilation problem ab52446831a7 net: cadence: macb: Synchronize stats calculations 5353fd89663c ipvlan: ensure network headers are in skb linear part 5138154bdbfc ipvlan: Prepare ipvlan_process_v4_outbound() to future .flowi4_tos conversion. 97c455c3c243 ipv4: Convert ip_route_input() to dscp_t. db8b2a613d7a ipv4: Convert icmp_route_lookup() to dscp_t. 915d64a78f3c net: set the minimum for net_hotdata.netdev_budget_usecs f22df335b298 net: loopback: Avoid sending IP packets without an Ethernet header 0e8ed2d66da0 afs: Give an afs_server object a ref on the afs_cell object it points to a38b394f4650 afs: Fix the server_list to unuse a displaced server rather than putting it b5c7428d3488 rxrpc: rxperf: Fix missing decoding of terminal magic cookie 5c9921f1da47 Bluetooth: L2CAP: Fix L2CAP_ECRED_CONN_RSP response ee5d6cb5cc0b ALSA: usb-audio: Avoid dropping MIDI events at closing multiple ports 22a0ebfb1836 sunrpc: suppress warnings for unused procfs functions 722c3db62bf6 RDMA/bnxt_re: Fix the page details for the srq created by kernel consumers 6782ba62a654 RDMA/mlx5: Fix bind QP error cleanup flow 465a8143238b scsi: ufs: core: Set default runtime/system PM levels before ufshcd_hba_init() b5038504da33 scsi: core: Clear driver private data when retrying request 40432672eb6f RDMA/mlx5: Fix AH static rate parsing cb96ae783e72 RDMA/mlx5: Fix implicit ODP hang on parent deregistration e4cfa6aa05e5 SUNRPC: Handle -ETIMEDOUT return from tlshd 4fe4ae6c2e01 NFSv4: Fix a deadlock when recovering state on a sillyrenamed file a3ae6a60baf7 SUNRPC: Prevent looping due to rpc_signal_task() races b6423ea93ab4 NFS: Adjust delegated timestamps for O_DIRECT reads and writes b7b3d772e48a NFS: O_DIRECT writes must check and adjust the file length 3594aad97e7b ovl: fix UAF in ovl_dentry_update_reval by moving dput() in ovl_link_up 659bfea5914a scsi: ufs: core: Fix ufshcd_is_ufs_dev_busy() and ufshcd_eh_timed_out() 917aa50b7509 landlock: Fix non-TCP sockets restriction b1f1643effb9 RDMA/bnxt_re: Fix the statistics for Gen P7 VF c5c994f44260 RDMA/bnxt_re: Allocate dev_attr information dynamically aed1bc673907 RDMA/bnxt_re: Add sanity checks on rdev validity edaffce57207 RDMA/bnxt_re: Cache MSIx info to a local structure 51612bb4d580 RDMA/bnxt_re: Refactor NQ allocation 2fab96b538ca RDMA/bnxt_re: Fail probe early when not enough MSI-x vectors are reserved 308d162c44a6 RDMA/hns: Fix mbox timing out by adding retry mechanism c3a6c1e7b80e RDMA/mana_ib: Allocate PAGE aligned doorbell index 0bd34bdd468e RDMA/mlx5: Fix a WARN during dereg_mr for DM type a14b5e690aba RDMA/mlx5: Fix a race for DMABUF MR which can lead to CQE with error ed3a682157ae IB/mlx5: Set and get correct qp_num for a DCT QP 3e3bf255992c RDMA/mlx5: Fix the recovery flow of the UMR QP 807165b1ec1c tools/power/x86/intel-speed-select: Prefix header search path with sysroot e97df805b938 drm/tilcdc: Set preferred depth 7160a4379dcc arch/arm64/configs: remove CONFIG_SM_DISPCC_8650 6d8ac5ebe6e8 aufs6: core 587abc1b64c4 aufs6: standalone 1af41d30ef42 aufs6: mmap 6ee2464d2e9d aufs6: base 103b676505f7 aufs6: kbuild 67281562943f qemux86: add configuration symbol to select values 73f315ca0823 sched/isolation: really align nohz_full with rcu_nocbs 1e4e7f8ab622 clear_warn_once: add a clear_warn_once= boot parameter 918e7a825e8b clear_warn_once: bind a timer to written reset value f533f87c3758 clear_warn_once: expand debugfs to include read support f149ca27cba9 tools: Remove some options from CLANG_CROSS_FLAGS e633abe9c44e libbpf: Fix build warning on ref_ctr_off ec0916a4cfc1 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel. 03721ceb5626 perf: x86-32: explicitly include <errno.h> 4c36c5295bb0 perf: mips64: Convert __u64 to unsigned long long b0200449610d perf: fix bench numa compilation aff0940b2212 perf: add SLANG_INC for slang.h ef912018d28c perf: add sgidefs.h to for mips builds d8860f858b87 perf: change --root to --prefix for python install dc38a0eee6e5 perf: add 'libperl not found' warning 6ed51f8786da perf: force include of <stdbool.h> c538d4c4ac65 fat: Replace prandom_u32() with get_random_u32() 63d94846f0c5 fat: don't use obsolete random32 call in namei_vfat 7816667451ef FAT: Added FAT_NO_83NAME f81dbd60f0d5 FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option 771cdefba44b FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option a24784fd8f88 yaffs2: update to v6.12 folio changes d0a48fd46db8 yaffs2: adapt to v6.10 i_time changes d097e4d4115a yaffs: fix mtime/itime field access 4411e0d49fe3 yaffs2: update VFS ctime operations to 6.6+ 1b6619086e8b yaffs2: v6.5 fixups 25b261ee3c54 yaffs2: Fix miscalculation of devname buffer length 5c07936a5d1c yaffs2: convert user_namespace to mnt_idmap 55986a1284b3 yaffs2: replace bdevname call with sprintf 6f5508f8db8f yaffs2: convert read_page -> readfolio fd179a5df5d5 yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL c9a620dacdd1 yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name 78588208ed17 yaffs2: v5.12+ build fixups (not runtime tested) 8d2dddba272c yaffs: include blkdev.h 8c1ca9ef9712 yaffs: Fix build failure by handling inode i_version with proper atomic API 27005cbac2ed yaffs2: v5.6 build fixups 668211c9f9b7 yaffs2: fix memory leak when /proc/yaffs is read 285f911dcc1c yaffs: add strict check when call yaffs_internal_read_super ffc2ed489ccf yaffs: repair yaffs_get_mtd_device 6dce4b70a5e3 yaffs: Fix build failure by handling inode i_version with proper atomic API 19f283abc5d1 yaffs2: fix memory leak in mount/umount 04e84672b571 yaffs: Avoid setting any ACL releated xattr 4f221d6a32e2 Yaffs:check oob size before auto selecting Yaffs1 81f36004e56b fs: yaffs2: replace CURRENT_TIME by other appropriate apis 26d7a3dd0054 yaffs2: adjust to proper location of MS_RDONLY a7016eac4540 yaffs2: import git revision b4ce1bb (jan, 2020) feb240bbb91e initramfs: allow an optional wrapper script around initramfs generation 874746eaa341 drivers: gpu: drm: msm: registers: improve reproducibility 1d42508faee8 tools: use basename to identify file in gen-mach-types 4b055eca593d iwlwifi: select MAC80211_LEDS conditionally 97e20e275ac0 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119) 6dec58319165 defconfigs: drop obselete options a416ccb5b6c9 linux-yocto: Handle /bin/awk issues 7efe8a1e5158 uvesafb: provide option to specify timeout for task completion 78d10ae07eca uvesafb: print error message when task timeout occurs 80473b7eb8ca compiler.h: Undef before redefining __attribute_const__ ddeff2f1a9a7 vmware: include jiffies.h 3dcdda8912b4 Resolve jiffies wrapping about arp 3b1507db6735 nfs: Allow default io size to be configured. c2fedad05f77 check console device file on fs when booting 208d6fbada3f mount_root: clarify error messages for when no rootfs found dbe9454c8ea0 mconf: fix output of cflags and libraries 7c7b224f5cce menuconfig,mconf-cfg: Allow specification of ncurses location b6c189c81397 modpost: mask trivial warnings a5cc21325ba9 kbuild: exclude meta directory from distclean processing 361ec143c23f powerpc: serialize image targets 605e6ccb304c arm: serialize build targets e94b04fcb7d2 mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition 44cc7f69a0a0 cpu/amd: inhibit SMP check for qemux86 a08cb65331e6 x86_64_defconfig: Fix warnings 8ad332ef777b mips: make current_cpu_data preempt safe 754f05ddce3f mips: vdso: fix 'jalr $t9' crash in vdso code 325ff78ff44d mips: Kconfig: add QEMUMIPS64 option 99ae0eadcf11 4kc cache tlb hazard: tlbp cache coherency c6894c66a534 malta uhci quirks: make allowance for slow 4k(e)c 8b52c01f3294 arm64: defconfig: remove CONFIG_IPQ_APSS_5018 16c7629f035e drm/fb-helper: move zeroing code to drm_fb_helper_fill_var 6b60c874cbb0 arm64: defconfig: cleanup config options 8e44673ecd89 vexpress: Pass LOADADDR to Makefile f34e6805aad5 arm: ARM EABI socketcall 94dec9b88de4 ARM: LPAE: Invalidate the TLB for module addresses during translation fault
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>