Compare commits

...

4 Commits

Author SHA1 Message Date
Paul Barker
445a622392 cve-update: Avoid NFS caching issues
When moving the updated CVE database file to the downloads directory,
ensure that it has a different inode number to the previous version of
this file.

We have seen "sqlite3.DatabaseError: database disk image is malformed"
exceptions on our autobuilder when trying to read the CVE database in
do_cve_check tasks. The context here is that the downloads directory
(where the updated database file is copied to) is shared between workers
as an NFS mount. Different autobuilder workers were seeing different
checksums for the database file, which indicates that a mix of both new
and stale data was being read. Forcing each new version of the database
file to have a different inode number will prevent stale data from being
read from local caches.

This should fix [YOCTO #16086].

(From OE-Core rev: 9687b9409d3a1e121f0f04de856055764d0a392e)

Signed-off-by: Paul Barker <paul@pbarker.dev>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f63622bbec1cfaca6d0b3e05e11466e4c10fa86e)
[YC: backported to also fix [YOCTO #15660] ]
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2026-07-31 17:28:29 +01:00
Lee Chee Yang
393064579d migration-guide: add release notes for 4.0.35
(From yocto-docs rev: 18269707048c23f6c63ea91195d9bc49c52a656c)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 39ef57628b4fb262857d8bf55abe3e6fe7ff01f1)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Paul Barker <paul@pbarker.dev>
2026-05-20 09:19:00 +01:00
Johan Anderholm
b0134a0f13 bitbake: fetch2/crate: use CDN for fetching crates
This avoids the 1 req/sec that the API has.

Reference: https://github.com/rust-lang/crates.io/issues/13482
Reference: https://blog.rust-lang.org/2024/03/11/crates-io-download-changes/
[RP: Tweak to apply to 2.8]
(Bitbake rev: a9f09b9e2f187f07a6f6dfd1caa3fd2f3d564a8a)

Signed-off-by: Johan Anderholm <johanam@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Paul Barker <paul@pbarker.dev>
2026-04-28 17:13:27 +01:00
Antonin Godard
4a5e618f57 sphinx-static/theme_overrides.css: switch to a fixed width documentation
Change the css rules of our theme to have a fixed-width documentation
instead of it taking the full width of the page. I believe this makes it
much more readable compared to having long lines with few line returns,
especially on high-resolution displays. Set the width to 1000px instead
of the previous 800px, which felt slightly too thin.

I think the removed comment here does not make that much sense for us.
It was added by commit 0c1e108bc6c4 ("sphinx: add CSS theme override"),
and I believe is a simply copy and paste of what was is set in the Linux
kernel, added by commit 9abaf979abb2 ("doc-rst: customize RTD theme,
table & full width") [1].

[1]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=9abaf979abb2

(From yocto-docs rev: 192be45726500cf875db6fad377116b48f7aabaf)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 98234c9d3a0846d719630914bea8599da9f51374)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Paul Barker <paul@pbarker.dev>
2026-04-22 09:49:39 +01:00
6 changed files with 229 additions and 12 deletions

View File

@@ -66,8 +66,11 @@ class Crate(Wget):
# if using upstream just fix it up nicely
if host == 'crates.io':
host = 'crates.io/api/v1/crates'
cdn_host = 'static.crates.io/crates'
else:
cdn_host = host
ud.url = "https://%s/%s/%s/download" % (host, name, version)
ud.url = "https://%s/%s/%s/download" % (cdn_host, name, version)
ud.parm['downloadfilename'] = "%s-%s.crate" % (name, version)
ud.parm['name'] = name

View File

@@ -41,3 +41,4 @@ Release 4.0 (kirkstone)
release-notes-4.0.32
release-notes-4.0.33
release-notes-4.0.34
release-notes-4.0.35

View File

@@ -0,0 +1,198 @@
.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
Release notes for Yocto-4.0.35 (Kirkstone)
------------------------------------------
Security Fixes in Yocto-4.0.35
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- alsa-lib: Fix :cve_nist:`2026-25068`
- busybox: Fix :cve_nist:`2025-60876`
- curl: Fix :cve_nist:`2025-14524`, :cve_nist:`2026-1965`, :cve_nist:`2026-3783` and
:cve_nist:`2026-3784`
- ffmpeg: Fix :cve_nist:`2025-10256`
- gdk-pixbuf: Fix :cve_nist:`2025-6199`
- inetutils: Fix :cve_nist:`2026-28372`
- libarchive: Fix :cve_nist:`2026-4111`
- libpam: Fix :cve_nist:`2024-10963`
- linux-yocto/5.15: Fix :cve_nist:`2025-40082`, :cve_nist:`2025-68358`, :cve_nist:`2025-71089`,
:cve_nist:`2025-71220`, :cve_nist:`2025-71222`, :cve_nist:`2025-71232`, :cve_nist:`2025-71233`,
:cve_nist:`2025-71235`, :cve_nist:`2025-71236`, :cve_nist:`2025-71237`, :cve_nist:`2025-71238`,
:cve_nist:`2026-23111`, :cve_nist:`2026-23112`, :cve_nist:`2026-23169`, :cve_nist:`2026-23190`,
:cve_nist:`2026-23193`, :cve_nist:`2026-23198`, :cve_nist:`2026-23202`, :cve_nist:`2026-23206`,
:cve_nist:`2026-23209`, :cve_nist:`2026-23216`, :cve_nist:`2026-23221`, :cve_nist:`2026-23222`,
:cve_nist:`2026-23228`, :cve_nist:`2026-23229`, :cve_nist:`2026-23231`, :cve_nist:`2026-23234`,
:cve_nist:`2026-23235`, :cve_nist:`2026-23236`, :cve_nist:`2026-23237` and :cve_nist:`2026-23238`
- ncurses: Fix :cve_nist:`2025-69720`
- python3: Fix :cve_nist:`2024-6923`, :cve_nist:`2025-15282`, :cve_nist:`2025-59375`,
:cve_nist:`2026-0865`, :cve_nist:`2026-24515` and :cve_nist:`2026-25210`
- python3-pip: Fix :cve_nist:`2026-1703`
- python3-pyopenssl: Fix :cve_nist:`2026-27448` and :cve_nist:`2026-27459`
- sqlite3: Fix :cve_nist:`2025-70873`
- tiff: Fix :cve_nist:`2025-61143` and :cve_nist:`2025-61144`
- vim: Fix :cve_nist:`2026-25749`, :cve_nist:`2026-26269`, :cve_nist:`2026-28418`,
:cve_nist:`2026-28419` and :cve_nist:`2026-33412`
Fixes in Yocto-4.0.35
~~~~~~~~~~~~~~~~~~~~~
- bitbake: tests/fetch: Avoid using git protocol in tests
- build-appliance-image: Update to kirkstone head revision
- contributor-guide/submit-changes.rst: Added missing word
- create-pull-request: Keep commit hash to be pulled in cover email
- createrepo-c: Fix createrepo-c-native build on GCC14 hosts (e.g. Fedora 41)
- gtk+3: fix incompatible-pointer-types errors for native build on Fedora 41
- libcomps: Fix libcomps-native build on GCC14 hosts (e.g. Fedora 41)
- libpam: re-add missing libgen include
- libtheora: set :term:`CVE_PRODUCT`
- linux-yocto/5.15: update to v5.15.201
- lsb.py: strip ' from os-release file
- migration-guide: add release notes for 4.0.33 4.0.34
- oeqa/manual: Default to https git protocol for YP/OE repos
- oeqa/sdk: Default to https git protocol for YP/OE repos
- oeqa/selftest/git-submodule-test: Default to https git protocol for YP/OE repos
- overview-manual: escape wildcard in inline markup
- poky.conf: Bump version for 4.0.35 release
- python3: upgrade to 3.10.20
- README.OE-Core: update contributor links and add kirkstone prefix
- recipes: Default to https git protocol for YP/OE repos
- recipetool: Recognise https://git. as git urls
- ref-manual/system-requirements.rst: update end-of-life distros
- scripts/install-buildtools: Update to 4.0.34
- scripts: Default to https git protocol for YP/OE repos
- selftest/scripts: Update old git protocol references
- tcl: skip http11 tests
- tiff: set status of CVE-2025-61145 as fixed by patch for :cve_nist:`2025-8961`
- tzdata,tzcode-native: Upgrade to 2026a
Known Issues in Yocto-4.0.35
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- N/A
Contributors to Yocto-4.0.35
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Aleksandar Nikolic
- Antonin Godard
- Bruce Ashfield
- Fabien Thomas
- Hitendra Prajapati
- Jinfeng Wang
- Ken Kurematsu
- Kristiyan Chakarov
- Lee Chee Yang
- Martin Jansa
- Paul Barker
- Peter Marko
- Richard Purdie
- Ross Burton
- Shaik Moin
- Vijay Anusuri
- Yanis BINARD
- Yoann Congal
Repositories / Downloads for Yocto-4.0.35
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
yocto-docs
- Repository Location: :yocto_git:`/yocto-docs`
- Branch: :yocto_git:`kirkstone </yocto-docs/log/?h=kirkstone>`
- Tag: :yocto_git:`yocto-4.0.35 </yocto-docs/log/?h=yocto-4.0.35>`
- Git Revision: :yocto_git:`ce6734c68649739c635675a133fa77edb9865028 </yocto-docs/commit/?id=ce6734c68649739c635675a133fa77edb9865028>`
- Release Artefact: yocto-docs-ce6734c68649739c635675a133fa77edb9865028
- sha: ddb6fac4d257f4f76836055cafad529729e99c293d3b8d3dabef926fad5e725f
- Download Locations:
https://downloads.yoctoproject.org/releases/yocto/yocto-4.0.35/yocto-docs-ce6734c68649739c635675a133fa77edb9865028.tar.bz2
https://mirrors.edge.kernel.org/yocto/yocto/yocto-4.0.35/yocto-docs-ce6734c68649739c635675a133fa77edb9865028.tar.bz2
poky
- Repository Location: :yocto_git:`/poky`
- Branch: :yocto_git:`kirkstone </poky/log/?h=kirkstone>`
- Tag: :yocto_git:`yocto-4.0.35 </poky/log/?h=yocto-4.0.35>`
- Git Revision: :yocto_git:`93431249a6260da7bd29ee3ca32145d89e5b8259 </poky/commit/?id=93431249a6260da7bd29ee3ca32145d89e5b8259>`
- Release Artefact: poky-93431249a6260da7bd29ee3ca32145d89e5b8259
- sha: a8e95213248c5400276611754f2c98b8d8972e166bdf41433c45fcdd2bf668cb
- Download Locations:
https://downloads.yoctoproject.org/releases/yocto/yocto-4.0.35/poky-93431249a6260da7bd29ee3ca32145d89e5b8259.tar.bz2
https://mirrors.edge.kernel.org/yocto/yocto/yocto-4.0.35/poky-93431249a6260da7bd29ee3ca32145d89e5b8259.tar.bz2
openembedded-core
- Repository Location: :oe_git:`/openembedded-core`
- Branch: :oe_git:`kirkstone </openembedded-core/log/?h=kirkstone>`
- Tag: :oe_git:`yocto-4.0.35 </openembedded-core/log/?h=yocto-4.0.35>`
- Git Revision: :oe_git:`51259c7e933a2ac8ebc01604d6e65607b76b7b56 </openembedded-core/commit/?id=51259c7e933a2ac8ebc01604d6e65607b76b7b56>`
- Release Artefact: oecore-51259c7e933a2ac8ebc01604d6e65607b76b7b56
- sha: 2cd531e2a107849e7a452e71e41f22b42160979066e10d0661e97acfab125b1f
- Download Locations:
https://downloads.yoctoproject.org/releases/yocto/yocto-4.0.35/oecore-51259c7e933a2ac8ebc01604d6e65607b76b7b56.tar.bz2
https://mirrors.edge.kernel.org/yocto/yocto/yocto-4.0.35/oecore-51259c7e933a2ac8ebc01604d6e65607b76b7b56.tar.bz2
meta-yocto
- Repository Location: :yocto_git:`/meta-yocto`
- Branch: :yocto_git:`kirkstone </meta-yocto/log/?h=kirkstone>`
- Tag: :yocto_git:`yocto-4.0.35 </meta-yocto/log/?h=yocto-4.0.35>`
- Git Revision: :yocto_git:`34e3c9a19b8b955116109a2e9528966db3fced37 </meta-yocto/commit/?id=34e3c9a19b8b955116109a2e9528966db3fced37>`
- Release Artefact: meta-yocto-34e3c9a19b8b955116109a2e9528966db3fced37
- sha: 18da6dbb745d5e4e42a93527c36751778155e3762728b0b1020b890480402dde
- Download Locations:
https://downloads.yoctoproject.org/releases/yocto/yocto-4.0.35/meta-yocto-34e3c9a19b8b955116109a2e9528966db3fced37.tar.bz2
https://mirrors.edge.kernel.org/yocto/yocto/yocto-4.0.35/meta-yocto-34e3c9a19b8b955116109a2e9528966db3fced37.tar.bz2
meta-mingw
- Repository Location: :yocto_git:`/meta-mingw`
- Branch: :yocto_git:`kirkstone </meta-mingw/log/?h=kirkstone>`
- Tag: :yocto_git:`yocto-4.0.35 </meta-mingw/log/?h=yocto-4.0.35>`
- Git Revision: :yocto_git:`87c22abb1f11be430caf4372e6b833dc7d77564e </meta-mingw/commit/?id=87c22abb1f11be430caf4372e6b833dc7d77564e>`
- Release Artefact: meta-mingw-87c22abb1f11be430caf4372e6b833dc7d77564e
- sha: f0bc4873e2e0319fb9d6d6ab9b98eb3f89664d4339a167d2db6a787dd12bc1a8
- Download Locations:
https://downloads.yoctoproject.org/releases/yocto/yocto-4.0.35/meta-mingw-87c22abb1f11be430caf4372e6b833dc7d77564e.tar.bz2
https://mirrors.edge.kernel.org/yocto/yocto/yocto-4.0.35/meta-mingw-87c22abb1f11be430caf4372e6b833dc7d77564e.tar.bz2
meta-gplv2
- Repository Location: :yocto_git:`/meta-gplv2`
- Branch: :yocto_git:`kirkstone </meta-gplv2/log/?h=kirkstone>`
- Tag: :yocto_git:`yocto-4.0.35 </meta-gplv2/log/?h=yocto-4.0.35>`
- Git Revision: :yocto_git:`d2f8b5cdb285b72a4ed93450f6703ca27aa42e8a </meta-gplv2/commit/?id=d2f8b5cdb285b72a4ed93450f6703ca27aa42e8a>`
- Release Artefact: meta-gplv2-d2f8b5cdb285b72a4ed93450f6703ca27aa42e8a
- sha: c386f59f8a672747dc3d0be1d4234b6039273d0e57933eb87caa20f56b9cca6d
- Download Locations:
https://downloads.yoctoproject.org/releases/yocto/yocto-4.0.35/meta-gplv2-d2f8b5cdb285b72a4ed93450f6703ca27aa42e8a.tar.bz2
https://mirrors.edge.kernel.org/yocto/yocto/yocto-4.0.35/meta-gplv2-d2f8b5cdb285b72a4ed93450f6703ca27aa42e8a.tar.bz2
bitbake
- Repository Location: :oe_git:`/bitbake`
- Branch: :oe_git:`2.0 </bitbake/log/?h=2.0>`
- Tag: :oe_git:`yocto-4.0.35 </bitbake/log/?h=yocto-4.0.35>`
- Git Revision: :oe_git:`7fd0197fd5fedd23cc885b5e7e816d86a392fdf9 </bitbake/commit/?id=7fd0197fd5fedd23cc885b5e7e816d86a392fdf9>`
- Release Artefact: bitbake-7fd0197fd5fedd23cc885b5e7e816d86a392fdf9
- sha: 6c01ff2b4b0060ef3d6d3f1fc11690094b22865af4989946544d08d74b473ec9
- Download Locations:
https://downloads.yoctoproject.org/releases/yocto/yocto-4.0.35/bitbake-7fd0197fd5fedd23cc885b5e7e816d86a392fdf9.tar.bz2
https://mirrors.edge.kernel.org/yocto/yocto/yocto-4.0.35/bitbake-7fd0197fd5fedd23cc885b5e7e816d86a392fdf9.tar.bz2

View File

@@ -99,14 +99,19 @@ em {
[alt='Permalink'] { color: #eee; }
[alt='Permalink']:hover { color: black; }
@media screen {
/* content column
*
* RTD theme's default is 800px as max width for the content, but we have
* tables with tons of columns, which need the full width of the view-port.
*/
.literal-block {
background: #f8f8f8;
}
.wy-nav-content{max-width: none; }
@media screen {
.wy-nav-content {
max-width: 1000px;
background: #fcfcfc;
}
.wy-nav-content-wrap {
background: #efefef;
}
/* inline literal: drop the borderbox, padding and red color */
code, .rst-content tt, .rst-content code {

View File

@@ -64,8 +64,13 @@ python do_fetch() {
shutil.copy2(db_file, db_tmp_file)
if update_db_file(db_tmp_file, d) == True:
# Update downloaded correctly, can swap files
shutil.move(db_tmp_file, db_file)
# Update downloaded correctly, we can swap files. To avoid potential
# NFS caching issues, ensure that the destination file has a new inode
# number. We do this in two steps as the downloads directory may be on
# a different filesystem to tmpdir we're working in.
new_file = "%s.new" % (db_file)
shutil.move(db_tmp_file, new_file)
os.rename(new_file, db_file)
else:
# Update failed, do not modify the database
bb.note("CVE database update failed")

View File

@@ -83,8 +83,13 @@ python do_fetch() {
shutil.copy2(db_file, db_tmp_file)
if update_db_file(db_tmp_file, d, database_time) == True:
# Update downloaded correctly, can swap files
shutil.move(db_tmp_file, db_file)
# Update downloaded correctly, we can swap files. To avoid potential
# NFS caching issues, ensure that the destination file has a new inode
# number. We do this in two steps as the downloads directory may be on
# a different filesystem to tmpdir we're working in.
new_file = "%s.new" % (db_file)
shutil.move(db_tmp_file, new_file)
os.rename(new_file, db_file)
else:
# Update failed, do not modify the database
bb.warn("CVE database update failed")