summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--documentation/README21
-rw-r--r--documentation/brief-yoctoprojectqs/index.rst4
-rw-r--r--documentation/conf.py2
-rw-r--r--documentation/migration-guides/release-4.0.rst1
-rw-r--r--documentation/migration-guides/release-5.2.rst1
-rw-r--r--documentation/migration-guides/release-notes-4.0.27.rst153
-rw-r--r--documentation/migration-guides/release-notes-5.2.1.rst161
-rw-r--r--documentation/ref-manual/variables.rst11
-rw-r--r--documentation/tools/host_packages_scripts/almalinux_essential.sh2
-rw-r--r--documentation/tools/host_packages_scripts/fedora_essential.sh2
-rw-r--r--documentation/tools/host_packages_scripts/opensuse_essential.sh2
-rw-r--r--documentation/tools/host_packages_scripts/ubuntu_essential.sh2
-rw-r--r--meta/classes-recipe/update-alternatives.bbclass34
13 files changed, 354 insertions, 42 deletions
diff --git a/documentation/README b/documentation/README
index 8a47fd4a3f..02037e0f7e 100644
--- a/documentation/README
+++ b/documentation/README
@@ -406,5 +406,22 @@ both the Yocto Project and BitBake manuals:
406Submitting documentation changes 406Submitting documentation changes
407================================ 407================================
408 408
409Please see the top level README file in this repository for details of where 409Please refer to our contributor guide here: https://docs.yoctoproject.org/contributor-guide/
410to send patches. 410for full details on how to submit changes.
411
412As a quick guide, patches should be sent to docs@lists.yoctoproject.org
413The git command to do that would be:
414
415 git send-email -M -1 --to docs@lists.yoctoproject.org
416
417The 'To' header can be set as default for this repository:
418
419 git config sendemail.to docs@lists.yoctoproject.org
420
421Now you can just do 'git send-email origin/master..' to send all local patches.
422
423Read the other sections in this document and documentation/standards.md for
424rules to follow when contributing to the documentation.
425
426Git repository: https://git.yoctoproject.org/yocto-docs
427Mailing list: docs@lists.yoctoproject.org
diff --git a/documentation/brief-yoctoprojectqs/index.rst b/documentation/brief-yoctoprojectqs/index.rst
index fed511c2b6..4a6f13d7ea 100644
--- a/documentation/brief-yoctoprojectqs/index.rst
+++ b/documentation/brief-yoctoprojectqs/index.rst
@@ -57,7 +57,7 @@ following requirements:
57 :ref:`dev-manual/start:preparing the build host` 57 :ref:`dev-manual/start:preparing the build host`
58 section in the Yocto Project Development Tasks Manual. 58 section in the Yocto Project Development Tasks Manual.
59 59
60- 60- Ensure that the following utilities have these minimum version numbers:
61 61
62 - Git &MIN_GIT_VERSION; or greater 62 - Git &MIN_GIT_VERSION; or greater
63 - tar &MIN_TAR_VERSION; or greater 63 - tar &MIN_TAR_VERSION; or greater
@@ -65,7 +65,7 @@ following requirements:
65 - gcc &MIN_GCC_VERSION; or greater. 65 - gcc &MIN_GCC_VERSION; or greater.
66 - GNU make &MIN_MAKE_VERSION; or greater 66 - GNU make &MIN_MAKE_VERSION; or greater
67 67
68If your build host does not meet any of these three listed version 68If your build host does not satisfy all of the above version
69requirements, you can take steps to prepare the system so that you 69requirements, you can take steps to prepare the system so that you
70can still use the Yocto Project. See the 70can still use the Yocto Project. See the
71:ref:`ref-manual/system-requirements:required git, tar, python, make and gcc versions` 71:ref:`ref-manual/system-requirements:required git, tar, python, make and gcc versions`
diff --git a/documentation/conf.py b/documentation/conf.py
index ad60d91139..1eca8756ab 100644
--- a/documentation/conf.py
+++ b/documentation/conf.py
@@ -182,7 +182,7 @@ class DashFriendlySearchEnglish(SearchEnglish):
182 # Accept words that can include hyphens 182 # Accept words that can include hyphens
183 _word_re = re.compile(r'[\w\-]+') 183 _word_re = re.compile(r'[\w\-]+')
184 184
185 js_splitter_code = """ 185 js_splitter_code = r"""
186function splitQuery(query) { 186function splitQuery(query) {
187 return query 187 return query
188 .split(/[^\p{Letter}\p{Number}_\p{Emoji_Presentation}-]+/gu) 188 .split(/[^\p{Letter}\p{Number}_\p{Emoji_Presentation}-]+/gu)
diff --git a/documentation/migration-guides/release-4.0.rst b/documentation/migration-guides/release-4.0.rst
index 7c13a33d7b..1053ec4c0b 100644
--- a/documentation/migration-guides/release-4.0.rst
+++ b/documentation/migration-guides/release-4.0.rst
@@ -33,3 +33,4 @@ Release 4.0 (kirkstone)
33 release-notes-4.0.24 33 release-notes-4.0.24
34 release-notes-4.0.25 34 release-notes-4.0.25
35 release-notes-4.0.26 35 release-notes-4.0.26
36 release-notes-4.0.27
diff --git a/documentation/migration-guides/release-5.2.rst b/documentation/migration-guides/release-5.2.rst
index 5c39b99e03..68c524c29d 100644
--- a/documentation/migration-guides/release-5.2.rst
+++ b/documentation/migration-guides/release-5.2.rst
@@ -7,3 +7,4 @@ Release 5.2 (walnascar)
7 7
8 migration-5.2 8 migration-5.2
9 release-notes-5.2 9 release-notes-5.2
10 release-notes-5.2.1
diff --git a/documentation/migration-guides/release-notes-4.0.27.rst b/documentation/migration-guides/release-notes-4.0.27.rst
new file mode 100644
index 0000000000..e37e2f78b6
--- /dev/null
+++ b/documentation/migration-guides/release-notes-4.0.27.rst
@@ -0,0 +1,153 @@
1Release notes for Yocto-4.0.27 (Kirkstone)
2------------------------------------------
3
4Security Fixes in Yocto-4.0.27
5~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6
7- binutils: Fix :cve_nist:`2025-1178`
8- busybox: fix :cve_nist:`2023-39810`
9- connman :fix :cve_nist:`2025-32743`
10- curl: Ignore :cve_nist:`2025-0725`
11- ghostscript: Fix :cve_nist:`2025-27830`, :cve_nist:`2025-27831`, :cve_nist:`2025-27832`,
12 :cve_nist:`2025-27834`, :cve_nist:`2025-27835` and :cve_nist:`2025-27836`
13- ghostscript: Ignore :cve_nist:`2024-29507`, :cve_nist:`2025-27833` and :cve_nist:`2025-27837`
14- glib-2.0: Fix :cve_nist:`2025-3360`
15- go: Fix :cve_nist:`2025-22871`
16- libarchive: Ignore :cve_nist:`2024-48615`
17- libpam: Fix :cve_nist:`2024-10041`
18- libsoup-2.4: Fix :cve_nist:`2024-52532`, :cve_nist:`2025-32906` and :cve_nist:`2025-32909`
19- libsoup: Fix :cve_nist:`2024-52532`, :cve_nist:`2025-32906`, :cve_nist:`2025-32909`,
20 :cve_nist:`2025-32910`, :cve_nist:`2025-32911`, :cve_nist:`2025-32912`, :cve_nist:`2025-32913`
21 and :cve_nist:`2025-32914`
22- libxml2: Fix :cve_nist:`2025-32414` and :cve_nist:`2025-32415`
23- ofono: Fix :cve_nist:`2024-7537`
24- perl: Fix :cve_nist:`2024-56406`
25- ppp: Fix :cve_nist:`2024-58250`
26- python3-setuptools: Fix :cve_nist:`2024-6345`
27- qemu: Ignore :cve_nist:`2023-1386`
28- ruby: Fix :cve_nist:`2024-43398`
29- sqlite3: Fix :cve_nist:`2025-29088`
30- systemd: Ignore :cve_nist:`2022-3821`, :cve_nist:`2022-4415` and :cve_nist:`2022-45873`
31
32
33Fixes in Yocto-4.0.27
34~~~~~~~~~~~~~~~~~~~~~
35
36- Revert "cve-update-nvd2-native: Tweak to work better with NFS DL_DIR"
37- build-appliance-image: Update to kirkstone head revision
38- cve-update-nvd2-native: add workaround for json5 style list
39- docs: Fix dead links that use the :term:`DISTRO` macro
40- docs: manuals: remove repeated word
41- docs: poky.yaml: introduce DISTRO_LATEST_TAG
42- glibc: Add single-threaded fast path to rand()
43- glibc: stable 2.35 branch updates
44- module.bbclass: add KBUILD_EXTRA_SYMBOLS to install
45- perl: enable _GNU_SOURCE define via d_gnulibc
46- poky.conf: bump version for 4.0.27
47- ref-manual/variables.rst: document autotools class related variables
48- scripts/install-buildtools: Update to 4.0.26
49- systemd: backport patch to fix journal issue
50- systemd: systemd-journald fails to setup LogNamespace
51- tzdata/tzcode-native: upgrade to 2025b
52
53
54Known Issues in Yocto-4.0.27
55~~~~~~~~~~~~~~~~~~~~~~~~~~~~
56
57- N/A
58
59
60Contributors to Yocto-4.0.27
61~~~~~~~~~~~~~~~~~~~~~~~~~~~~
62
63- Aleksandar Nikolic
64- Alexander Kanavin
65- Alon Bar-Lev
66- Andrew Kreimer
67- Antonin Godard
68- Chen Qi
69- Deepesh Varatharajan
70- Divya Chellam
71- Haitao Liu
72- Haixiao Yan
73- Hitendra Prajapati
74- Peter Marko
75- Praveen Kumar
76- Priyal Doshi
77- Shubham Kulkarni
78- Soumya Sambu
79- Steve Sakoman
80- Vijay Anusuri
81- Yogita Urade
82
83
84Repositories / Downloads for Yocto-4.0.27
85~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
86
87poky
88
89- Repository Location: :yocto_git:`/poky`
90- Branch: :yocto_git:`kirkstone </poky/log/?h=kirkstone>`
91- Tag: :yocto_git:`yocto-4.0.27 </poky/log/?h=yocto-4.0.27>`
92- Git Revision: :yocto_git:`ab9a994a8cd8e06b519a693db444030999d273b7 </poky/commit/?id=ab9a994a8cd8e06b519a693db444030999d273b7>`
93- Release Artefact: poky-ab9a994a8cd8e06b519a693db444030999d273b7
94- sha: 77a366c17cf29eef15c6ff3f44e73f81c07288c723fd4a6dbd8c7ee9b79933f3
95- Download Locations:
96 https://downloads.yoctoproject.org/releases/yocto/yocto-4.0.27/poky-ab9a994a8cd8e06b519a693db444030999d273b7.tar.bz2
97 https://mirrors.kernel.org/yocto/yocto/yocto-4.0.27/poky-ab9a994a8cd8e06b519a693db444030999d273b7.tar.bz2
98
99openembedded-core
100
101- Repository Location: :oe_git:`/openembedded-core`
102- Branch: :oe_git:`kirkstone </openembedded-core/log/?h=kirkstone>`
103- Tag: :oe_git:`yocto-4.0.27 </openembedded-core/log/?h=yocto-4.0.27>`
104- Git Revision: :oe_git:`e8be08a624b2d024715a5c8b0c37f2345a02336b </openembedded-core/commit/?id=e8be08a624b2d024715a5c8b0c37f2345a02336b>`
105- Release Artefact: oecore-e8be08a624b2d024715a5c8b0c37f2345a02336b
106- sha: cc5b0fadab021c6dc61f37fc4ff01a1cf657e7c219488ce264bede42f7f6212f
107- Download Locations:
108 https://downloads.yoctoproject.org/releases/yocto/yocto-4.0.27/oecore-e8be08a624b2d024715a5c8b0c37f2345a02336b.tar.bz2
109 https://mirrors.kernel.org/yocto/yocto/yocto-4.0.27/oecore-e8be08a624b2d024715a5c8b0c37f2345a02336b.tar.bz2
110
111meta-mingw
112
113- Repository Location: :yocto_git:`/meta-mingw`
114- Branch: :yocto_git:`kirkstone </meta-mingw/log/?h=kirkstone>`
115- Tag: :yocto_git:`yocto-4.0.27 </meta-mingw/log/?h=yocto-4.0.27>`
116- Git Revision: :yocto_git:`87c22abb1f11be430caf4372e6b833dc7d77564e </meta-mingw/commit/?id=87c22abb1f11be430caf4372e6b833dc7d77564e>`
117- Release Artefact: meta-mingw-87c22abb1f11be430caf4372e6b833dc7d77564e
118- sha: f0bc4873e2e0319fb9d6d6ab9b98eb3f89664d4339a167d2db6a787dd12bc1a8
119- Download Locations:
120 https://downloads.yoctoproject.org/releases/yocto/yocto-4.0.27/meta-mingw-87c22abb1f11be430caf4372e6b833dc7d77564e.tar.bz2
121 https://mirrors.kernel.org/yocto/yocto/yocto-4.0.27/meta-mingw-87c22abb1f11be430caf4372e6b833dc7d77564e.tar.bz2
122
123meta-gplv2
124
125- Repository Location: :yocto_git:`/meta-gplv2`
126- Branch: :yocto_git:`kirkstone </meta-gplv2/log/?h=kirkstone>`
127- Tag: :yocto_git:`yocto-4.0.27 </meta-gplv2/log/?h=yocto-4.0.27>`
128- Git Revision: :yocto_git:`d2f8b5cdb285b72a4ed93450f6703ca27aa42e8a </meta-gplv2/commit/?id=d2f8b5cdb285b72a4ed93450f6703ca27aa42e8a>`
129- Release Artefact: meta-gplv2-d2f8b5cdb285b72a4ed93450f6703ca27aa42e8a
130- sha: c386f59f8a672747dc3d0be1d4234b6039273d0e57933eb87caa20f56b9cca6d
131- Download Locations:
132 https://downloads.yoctoproject.org/releases/yocto/yocto-4.0.27/meta-gplv2-d2f8b5cdb285b72a4ed93450f6703ca27aa42e8a.tar.bz2
133 https://mirrors.kernel.org/yocto/yocto/yocto-4.0.27/meta-gplv2-d2f8b5cdb285b72a4ed93450f6703ca27aa42e8a.tar.bz2
134
135bitbake
136
137- Repository Location: :oe_git:`/bitbake`
138- Branch: :oe_git:`2.0 </bitbake/log/?h=2.0>`
139- Tag: :oe_git:`yocto-4.0.27 </bitbake/log/?h=yocto-4.0.27>`
140- Git Revision: :oe_git:`046871d9fd76efdca7b72718b328d8f545523f7e </bitbake/commit/?id=046871d9fd76efdca7b72718b328d8f545523f7e>`
141- Release Artefact: bitbake-046871d9fd76efdca7b72718b328d8f545523f7e
142- sha: e9df0a9f5921b583b539188d66b23f120e1751000e7822e76c3391d5c76ee21a
143- Download Locations:
144 https://downloads.yoctoproject.org/releases/yocto/yocto-4.0.27/bitbake-046871d9fd76efdca7b72718b328d8f545523f7e.tar.bz2
145 https://mirrors.kernel.org/yocto/yocto/yocto-4.0.27/bitbake-046871d9fd76efdca7b72718b328d8f545523f7e.tar.bz2
146
147yocto-docs
148
149- Repository Location: :yocto_git:`/yocto-docs`
150- Branch: :yocto_git:`kirkstone </yocto-docs/log/?h=kirkstone>`
151- Tag: :yocto_git:`yocto-4.0.27 </yocto-docs/log/?h=yocto-4.0.27>`
152- Git Revision: :yocto_git:`0d51e553d5f83eea6634e03ddc9c7740bf72fcea </yocto-docs/commit/?id=0d51e553d5f83eea6634e03ddc9c7740bf72fcea>`
153
diff --git a/documentation/migration-guides/release-notes-5.2.1.rst b/documentation/migration-guides/release-notes-5.2.1.rst
new file mode 100644
index 0000000000..2b223cff17
--- /dev/null
+++ b/documentation/migration-guides/release-notes-5.2.1.rst
@@ -0,0 +1,161 @@
1Release notes for Yocto-5.2.1 (Walnascar)
2-----------------------------------------
3
4Security Fixes in Yocto-5.2.1
5~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6
7- connman :Fix :cve_nist:`2025-32366` and :cve_nist:`2025-32743`
8- ffmpeg: Fix :cve_nist:`2025-22921`
9- go: Fix :cve_nist:`2025-22871` and CVE-2025-22873
10- iputils: Fix :cve_nist:`2025-47268`
11- libsoup-2.4: Fix :cve_nist:`2024-52532` and :cve_nist:`2025-32911`
12- libxml2: Fix :cve_nist:`2025-32414` and :cve_nist:`2025-32415`
13- openssh: Fix :cve_nist:`2025-32728`
14- perl: Fix :cve_nist:`2024-56406`
15- qemu: Ignore :cve_nist:`2023-1386`
16- ruby: Fix :cve_nist:`2025-27219`, :cve_nist:`2025-27220` and :cve_nist:`2025-27221`
17- webkitgtk: Fix :cve_nist:`2024-54551`, :cve_nist:`2025-24208`, :cve_nist:`2025-24209`,
18 :cve_nist:`2025-24213`, :cve_nist:`2025-24216`, :cve_nist:`2025-24264` and :cve_nist:`2025-30427`
19
20
21Fixes in Yocto-5.2.1
22~~~~~~~~~~~~~~~~~~~~
23
24- binutils: stable 2.44 branch updates
25- bluez5: add missing tools to noinst-tools package
26- build-appliance-image: Update to walnascar head revision
27- buildtools-tarball: Make buildtools respects host CA certificates
28- buildtools-tarball: add envvars into :term:`BB_ENV_PASSTHROUGH_ADDITIONS`
29- buildtools-tarball: move setting of envvars to respective envfile
30- cdrtools-native: fix booting EFI ISO live failed
31- contributor-guide/submit-changes: encourage patch version changelogs
32- gcc: Fix LDRD register overlap in register-indexed mode
33- glibc-y2038-tests: remove glibc-y2038-tests_2.41.bb recipe
34- glibc: Add single-threaded fast path to rand()
35- glibc: stable 2.41 branch update
36- go: upgrade to 1.24.3
37- gobject-introspection: Fix wrong :term:`PN` used in MULTILIB_SCRIPTS
38- icu: set ac_cv_path_install to ensure install tool reproducibility
39- initscripts: add function log_success_msg/log_failure_msg/log_warning_msg
40- insane.bbclass: Move test for invalid PACKAGECONFIGs to do_recipe_qa
41- insane.bbclass: Report all invalid PACKAGECONFIGs for a recipe at once
42- libxml2: upgrade to 2.13.8
43- makedumpfile: upgrade to 1.7.7
44- migration-guides: add release notes for 4.0.26 and 5.0.9
45- module.bbclass: add KBUILD_EXTRA_SYMBOLS to install
46- patch.py: set commituser and commitemail for addNote
47- perl: upgrade to 5.40.2
48- perlcross: upgrade to 1.6.2
49- poky.conf: bump version for 5.2.1
50- ref-manual/release-process: update releases.svg
51- ref-manual/variables.rst: document :term:`WIC_CREATE_EXTRA_ARGS`
52- ref-manual/variables.rst: update :term:`ROOT_HOME` documentation
53- ref-manual: classes: uki: Fix git links
54- ref-manual: kernel-fitimage.bbclass does not use :term:`SPL_SIGN_KEYNAME`
55- ruby: upgrade to 3.4.3
56- sbom.rst: how to disable :term:`SPDX` generation
57- scripts/install-buildtools: Update to 5.2
58- sphinx-lint: various fixes
59- syslinux: improve isohybrid to process extra sector count for ISO 9660 image
60- test-manual/intro: remove Buildbot version used
61- tzdata/tzcode-native: upgrade to 2025b
62- webkitgtk: Use WTF_CPU_UNKNOWN when building for riscv64
63- webkitgtk: upgrade to 2.48.1
64
65
66Known Issues in Yocto-5.2.1
67~~~~~~~~~~~~~~~~~~~~~~~~~~~
68
69- N/A
70
71
72Contributors to Yocto-5.2.1
73~~~~~~~~~~~~~~~~~~~~~~~~~~~
74
75- Adrian Freihofer
76- Aleksandar Nikolic
77- Alon Bar-Lev
78- Antonin Godard
79- Archana Polampalli
80- Changqing Li
81- Deepesh Varatharajan
82- Divya Chellam
83- Enrico Jörns
84- Guðni Már Gilbert
85- Haixiao Yan
86- Hongxu Jia
87- Jiaying Song
88- Khem Raj
89- Lee Chee Yang
90- Leonard Anderweit
91- Madhu Marri
92- Mikko Rapeli
93- Peter Kjellerstedt
94- Peter Marko
95- Praveen Kumar
96- Priyal Doshi
97- Steve Sakoman
98- Trevor Woerner
99- Yi Zhao
100- Yogita Urade
101- rajmohan r
102
103
104Repositories / Downloads for Yocto-5.2.1
105~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
106
107poky
108
109- Repository Location: :yocto_git:`/poky`
110- Branch: :yocto_git:`walnascar </poky/log/?h=walnascar>`
111- Tag: :yocto_git:`yocto-5.2.1 </poky/log/?h=yocto-5.2.1>`
112- Git Revision: :yocto_git:`fd9b605507a20d850a9991316cd190c1d20dc4a6 </poky/commit/?id=fd9b605507a20d850a9991316cd190c1d20dc4a6>`
113- Release Artefact: poky-fd9b605507a20d850a9991316cd190c1d20dc4a6
114- sha: 0234a96fc28e60e0acaae2a03118ecde76810c47e8bb259f4950492bd75fc050
115- Download Locations:
116 https://downloads.yoctoproject.org/releases/yocto/yocto-5.2.1/poky-fd9b605507a20d850a9991316cd190c1d20dc4a6.tar.bz2
117 https://mirrors.kernel.org/yocto/yocto/yocto-5.2.1/poky-fd9b605507a20d850a9991316cd190c1d20dc4a6.tar.bz2
118
119openembedded-core
120
121- Repository Location: :oe_git:`/openembedded-core`
122- Branch: :oe_git:`walnascar </openembedded-core/log/?h=walnascar>`
123- Tag: :oe_git:`yocto-5.2.1 </openembedded-core/log/?h=yocto-5.2.1>`
124- Git Revision: :oe_git:`17affdaa600896282e07fb4d64cb23195673baa1 </openembedded-core/commit/?id=17affdaa600896282e07fb4d64cb23195673baa1>`
125- Release Artefact: oecore-17affdaa600896282e07fb4d64cb23195673baa1
126- sha: b6c3c15004fcd1efbaa26c9695202806402730dde8e41552a70140cff67c97c9
127- Download Locations:
128 https://downloads.yoctoproject.org/releases/yocto/yocto-5.2.1/oecore-17affdaa600896282e07fb4d64cb23195673baa1.tar.bz2
129 https://mirrors.kernel.org/yocto/yocto/yocto-5.2.1/oecore-17affdaa600896282e07fb4d64cb23195673baa1.tar.bz2
130
131meta-mingw
132
133- Repository Location: :yocto_git:`/meta-mingw`
134- Branch: :yocto_git:`walnascar </meta-mingw/log/?h=walnascar>`
135- Tag: :yocto_git:`yocto-5.2.1 </meta-mingw/log/?h=yocto-5.2.1>`
136- Git Revision: :yocto_git:`edce693e1b8fabd84651aa6c0888aafbcf238577 </meta-mingw/commit/?id=edce693e1b8fabd84651aa6c0888aafbcf238577>`
137- Release Artefact: meta-mingw-edce693e1b8fabd84651aa6c0888aafbcf238577
138- sha: 6cfed41b54f83da91a6cf201ec1c2cd4ac284f642b1268c8fa89d2335ea2bce1
139- Download Locations:
140 https://downloads.yoctoproject.org/releases/yocto/yocto-5.2.1/meta-mingw-edce693e1b8fabd84651aa6c0888aafbcf238577.tar.bz2
141 https://mirrors.kernel.org/yocto/yocto/yocto-5.2.1/meta-mingw-edce693e1b8fabd84651aa6c0888aafbcf238577.tar.bz2
142
143bitbake
144
145- Repository Location: :oe_git:`/bitbake`
146- Branch: :oe_git:`2.12 </bitbake/log/?h=2.12>`
147- Tag: :oe_git:`yocto-5.2.1 </bitbake/log/?h=yocto-5.2.1>`
148- Git Revision: :oe_git:`5b4e20377eea8d428edf1aeb2187c18f82ca6757 </bitbake/commit/?id=5b4e20377eea8d428edf1aeb2187c18f82ca6757>`
149- Release Artefact: bitbake-5b4e20377eea8d428edf1aeb2187c18f82ca6757
150- sha: 48cff22c1e61f47adce474b636ca865e7e0b62293fc5c8829d09e7f1ac5252af
151- Download Locations:
152 https://downloads.yoctoproject.org/releases/yocto/yocto-5.2.1/bitbake-5b4e20377eea8d428edf1aeb2187c18f82ca6757.tar.bz2
153 https://mirrors.kernel.org/yocto/yocto/yocto-5.2.1/bitbake-5b4e20377eea8d428edf1aeb2187c18f82ca6757.tar.bz2
154
155yocto-docs
156
157- Repository Location: :yocto_git:`/yocto-docs`
158- Branch: :yocto_git:`walnascar </yocto-docs/log/?h=walnascar>`
159- Tag: :yocto_git:`yocto-5.2.1 </yocto-docs/log/?h=yocto-5.2.1>`
160- Git Revision: :yocto_git:`6b7019c13054bf11fb16657a3fac85831352cea9 </yocto-docs/commit/?id=6b7019c13054bf11fb16657a3fac85831352cea9>`
161
diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst
index 9768d8f5b8..5c18b852d1 100644
--- a/documentation/ref-manual/variables.rst
+++ b/documentation/ref-manual/variables.rst
@@ -5036,15 +5036,8 @@ system and gives an overview of their function and contents.
5036 options not explicitly specified will be disabled in the kernel 5036 options not explicitly specified will be disabled in the kernel
5037 config. 5037 config.
5038 5038
5039 In case :term:`KCONFIG_MODE` is not set the behaviour will depend on where 5039 In case :term:`KCONFIG_MODE` is not set the ``defconfig`` file
5040 the ``defconfig`` file is coming from. An "in-tree" ``defconfig`` file 5040 will be handled in ``allnoconfig`` mode.
5041 will be handled in ``alldefconfig`` mode, a ``defconfig`` file placed
5042 in ``${WORKDIR}`` through a meta-layer will be handled in
5043 ``allnoconfig`` mode.
5044
5045 An "in-tree" ``defconfig`` file can be selected via the
5046 :term:`KBUILD_DEFCONFIG` variable. :term:`KCONFIG_MODE` does not need to
5047 be explicitly set.
5048 5041
5049 A ``defconfig`` file compatible with ``allnoconfig`` mode can be 5042 A ``defconfig`` file compatible with ``allnoconfig`` mode can be
5050 generated by copying the ``.config`` file from a working Linux kernel 5043 generated by copying the ``.config`` file from a working Linux kernel
diff --git a/documentation/tools/host_packages_scripts/almalinux_essential.sh b/documentation/tools/host_packages_scripts/almalinux_essential.sh
index 16f25fa1f2..76c5280eeb 100644
--- a/documentation/tools/host_packages_scripts/almalinux_essential.sh
+++ b/documentation/tools/host_packages_scripts/almalinux_essential.sh
@@ -2,4 +2,4 @@ sudo dnf install -y epel-release
2sudo yum install dnf-plugins-core 2sudo yum install dnf-plugins-core
3sudo dnf config-manager --set-enabled crb 3sudo dnf config-manager --set-enabled crb
4sudo dnf makecache 4sudo dnf makecache
5sudo dnf install bzip2 ccache chrpath cpio cpp diffstat diffutils gawk gcc gcc-c++ git glibc-devel glibc-langpack-en gzip libacl lz4 make patch perl perl-Data-Dumper perl-Text-ParseWords perl-Thread-Queue python3 python3-GitPython python3-jinja2 python3-pexpect python3-pip rpcgen socat tar texinfo unzip wget which xz zstd 5sudo dnf install bzip2 ccache chrpath cpio cpp diffstat diffutils gawk gcc gcc-c++ git glibc-devel glibc-langpack-en gzip libacl make patch perl perl-Data-Dumper perl-Text-ParseWords perl-Thread-Queue python3 python3-GitPython python3-jinja2 python3-pexpect python3-pip rpcgen socat tar texinfo unzip wget which xz zstd
diff --git a/documentation/tools/host_packages_scripts/fedora_essential.sh b/documentation/tools/host_packages_scripts/fedora_essential.sh
index 4841853e1e..ea14134398 100644
--- a/documentation/tools/host_packages_scripts/fedora_essential.sh
+++ b/documentation/tools/host_packages_scripts/fedora_essential.sh
@@ -1 +1 @@
sudo dnf install bzip2 ccache chrpath cpio cpp diffstat diffutils file findutils gawk gcc gcc-c++ git glibc-devel glibc-langpack-en gzip hostname libacl lz4 make patch perl perl-Data-Dumper perl-File-Compare perl-File-Copy perl-FindBin perl-Text-ParseWords perl-Thread-Queue perl-bignum perl-locale python python3 python3-GitPython python3-jinja2 python3-pexpect python3-pip rpcgen socat tar texinfo unzip wget which xz zstd sudo dnf install bzip2 ccache chrpath cpio cpp diffstat diffutils file findutils gawk gcc gcc-c++ git glibc-devel glibc-langpack-en gzip hostname libacl make patch perl perl-Data-Dumper perl-File-Compare perl-File-Copy perl-FindBin perl-Text-ParseWords perl-Thread-Queue perl-bignum perl-locale python python3 python3-GitPython python3-jinja2 python3-pexpect python3-pip rpcgen socat tar texinfo unzip wget which xz zstd
diff --git a/documentation/tools/host_packages_scripts/opensuse_essential.sh b/documentation/tools/host_packages_scripts/opensuse_essential.sh
index a784f4a5dc..0d37e9bd5a 100644
--- a/documentation/tools/host_packages_scripts/opensuse_essential.sh
+++ b/documentation/tools/host_packages_scripts/opensuse_essential.sh
@@ -1,2 +1,2 @@
1sudo zypper install bzip2 chrpath diffstat gcc gcc-c++ git gzip hostname libacl1 lz4 make makeinfo patch python python-curses python-xml python3 python3-Jinja2 python3-curses python3-pexpect python3-pip rpcgen socat tar wget which xz zstd 1sudo zypper install bzip2 chrpath diffstat gcc gcc-c++ git gzip hostname libacl1 make makeinfo patch python python-curses python-xml python3 python3-Jinja2 python3-curses python3-pexpect python3-pip rpcgen socat tar wget which xz zstd
2sudo pip3 install GitPython 2sudo pip3 install GitPython
diff --git a/documentation/tools/host_packages_scripts/ubuntu_essential.sh b/documentation/tools/host_packages_scripts/ubuntu_essential.sh
index f3388c88c9..6584a0403d 100644
--- a/documentation/tools/host_packages_scripts/ubuntu_essential.sh
+++ b/documentation/tools/host_packages_scripts/ubuntu_essential.sh
@@ -1 +1 @@
sudo apt-get install build-essential chrpath cpio debianutils diffstat file gawk gcc git iputils-ping libacl1 liblz4-tool locales python3 python3-git python3-jinja2 python3-pexpect python3-pip python3-subunit socat texinfo unzip wget xz-utils zstd sudo apt-get install build-essential chrpath cpio debianutils diffstat file gawk gcc git iputils-ping libacl1 locales python3 python3-git python3-jinja2 python3-pexpect python3-pip python3-subunit socat texinfo unzip wget xz-utils zstd
diff --git a/meta/classes-recipe/update-alternatives.bbclass b/meta/classes-recipe/update-alternatives.bbclass
index b153e1b297..5f40dc23ea 100644
--- a/meta/classes-recipe/update-alternatives.bbclass
+++ b/meta/classes-recipe/update-alternatives.bbclass
@@ -73,24 +73,6 @@ UPDALTVARS = "ALTERNATIVE ALTERNATIVE_LINK_NAME ALTERNATIVE_TARGET ALTERNATIVE_
73 73
74PACKAGE_WRITE_DEPS += "virtual/update-alternatives-native" 74PACKAGE_WRITE_DEPS += "virtual/update-alternatives-native"
75 75
76def gen_updatealternativesvardeps(d):
77 pkgs = (d.getVar("PACKAGES") or "").split()
78 vars = (d.getVar("UPDALTVARS") or "").split()
79
80 # First compute them for non_pkg versions
81 for v in vars:
82 for flag in sorted((d.getVarFlags(v) or {}).keys()):
83 if flag == "doc" or flag == "vardeps" or flag == "vardepsexp":
84 continue
85 d.appendVar('%s_VARDEPS' % (v), ' %s:%s' % (flag, d.getVarFlag(v, flag, False)))
86
87 for p in pkgs:
88 for v in vars:
89 for flag in sorted((d.getVarFlags("%s:%s" % (v,p)) or {}).keys()):
90 if flag == "doc" or flag == "vardeps" or flag == "vardepsexp":
91 continue
92 d.appendVar('%s_VARDEPS_%s' % (v,p), ' %s:%s' % (flag, d.getVarFlag('%s:%s' % (v,p), flag, False)))
93
94def ua_extend_depends(d): 76def ua_extend_depends(d):
95 if not 'virtual/update-alternatives' in d.getVar('PROVIDES'): 77 if not 'virtual/update-alternatives' in d.getVar('PROVIDES'):
96 d.appendVar('DEPENDS', ' virtual/${MLPREFIX}update-alternatives') 78 d.appendVar('DEPENDS', ' virtual/${MLPREFIX}update-alternatives')
@@ -112,9 +94,6 @@ python __anonymous() {
112 if not update_alternatives_enabled(d): 94 if not update_alternatives_enabled(d):
113 return 95 return
114 96
115 # compute special vardeps
116 gen_updatealternativesvardeps(d)
117
118 # extend the depends to include virtual/update-alternatives 97 # extend the depends to include virtual/update-alternatives
119 ua_extend_depends(d) 98 ua_extend_depends(d)
120} 99}
@@ -124,13 +103,20 @@ def gen_updatealternativesvars(d):
124 pkgs = (d.getVar("PACKAGES") or "").split() 103 pkgs = (d.getVar("PACKAGES") or "").split()
125 vars = (d.getVar("UPDALTVARS") or "").split() 104 vars = (d.getVar("UPDALTVARS") or "").split()
126 105
106 # First compute them for non_pkg versions
127 for v in vars: 107 for v in vars:
128 ret.append(v + "_VARDEPS") 108 for flag in sorted((d.getVarFlags(v) or {}).keys()):
109 if flag == "doc" or flag == "vardeps" or flag == "vardepsexp":
110 continue
111 ret.append(v + "[" + flag + "]")
129 112
130 for p in pkgs: 113 for p in pkgs:
131 for v in vars: 114 for v in vars:
132 ret.append(v + ":" + p) 115 for flag in sorted((d.getVarFlags("%s:%s" % (v,p)) or {}).keys()):
133 ret.append(v + "_VARDEPS_" + p) 116 if flag == "doc" or flag == "vardeps" or flag == "vardepsexp":
117 continue
118 ret.append('%s:%s' % (v,p) + "[" + flag + "]")
119
134 return " ".join(ret) 120 return " ".join(ret)
135 121
136# Now the new stuff, we use a custom function to generate the right values 122# Now the new stuff, we use a custom function to generate the right values