summaryrefslogtreecommitdiff
path: root/poky/documentation
diff options
context:
space:
mode:
authorPatrick Williams <patrick@stwcx.xyz>2022-08-05 16:10:29 +0300
committerPatrick Williams <patrick@stwcx.xyz>2022-08-22 13:31:27 +0300
commitdb4c27ee07165dd36a758f4ab5236918f133e65b (patch)
tree7de447487906845675b53a4eb1fc2e4c08093edc /poky/documentation
parentdbdec8bbc3f5962afbaa70abdf0011e415000508 (diff)
downloadopenbmc-db4c27ee07165dd36a758f4ab5236918f133e65b.tar.xz
subtree updates
meta-raspberrypi: 62a84833d9..b6a1645a97: Andrei Gherzan (22): ci: Migrate worflow to using latest git-mirror-me-action revision ci: Run the cancel workflow on generic workers and update action ci: Run the compliance workflow on generic workers ci: Run the mirror workflow on generic workers ci: Don't run yocto builds on PRs that don't affect them raspberrypi-tools.inc: Bump to latest revision rpi-gpio: Bump to 0.7.1 python3-adafruit-platformdetect: Bump to 3.27.0 python3-adafruit-circuitpython-register: Bump to 1.9.10 userland: Bump revision to the current HEAD bluez-firmware-rpidistro: Backport patch to fix CYW43455 and various CVEs linux-raspberrypi: Update 5.15 recipe to 5.15.56 linux-raspberrypi: Update 5.10 recipe to latest revision linux-firmware-rpidistro: Update to 1:20210315-3+rpt7 release omxplayer: Bump to latest revision linux-firmware-rpidistro: Revamp, cleanup and restructure recipe linux-firmware-rpidistro: Guard the recipe under a license flag ci: Set LICENSE_FLAGS_ACCEPTED in builder docker container README.md: Mention Yocto Compatible Layer README.md: Refactor top table Add initial version of CODE_OF_CONDUCT.md Use a png with transparency for balena logo Vincent Davis Jr (1): docs: remove backticks poky: 4161dbbbd6..fc59c28724: Aatir Manzur (1): ref-manual: Sphinx note directive for DISTRO_FEATURES definition Alejandro Hernandez Samaniego (1): package.bbclass: Fix kernel source handling when not using externalsrc Alex Kiernan (1): bind: Remove legacy python3 PACKAGECONFIG code Alexander Kanavin (61): conf/local.conf.sample: mention site.conf.sample as well sato-icon-theme: check for new commits rather than tags gcr: exclude x.9y versions from upstream version check efibootmgr: update 17 -> 18 systemd-boot: update 251.2 -> 251.3 libva: upgrade 2.14.0 -> 2.15.0 libva-utils: update 2.14.0 -> 2.15.0 xev: update 1.2.4 -> 1.2.5 xmodmap: update 1.0.10 -> 1.0.11 xf86-input-synaptics: update 1.9.1 -> 1.9.2 xf86-video-cirrus: update 1.5.3 -> 1.6.0 encodings: update 1.0.5 -> 1.0.6 font-util: update 1.3.2 -> 1.3.3 linux-firmware: update 20220610 -> 20220708 rt-tests: update 2.3 -> 2.4 libgit2: update 1.4.3 -> 1.5.0 u-boot: update 2022.04 -> 2022.07 go: update 1.18.3 -> 1.18.4 llvm: update 14.0.4 -> 14.0.6 vulkan-samples: update to latest revision xserver-xorg: update 21.1.3 -> 21.1.4 alsa-lib: upgrade 1.2.7.1 -> 1.2.7.2 alsa-ucm-conf: upgrade 1.2.7.1 -> 1.2.7.2 diffoscope: upgrade 217 -> 218 git: upgrade 2.37.0 -> 2.37.1 hdparm: upgrade 9.63 -> 9.64 libdrm: upgrade 2.4.111 -> 2.4.112 libhandy: upgrade 1.6.2 -> 1.6.3 libidn2: upgrade 2.3.2 -> 2.3.3 libnl: upgrade 3.6.0 -> 3.7.0 libnotify: upgrade 0.7.12 -> 0.8.0 libuv: upgrade 1.44.1 -> 1.44.2 log4cplus: upgrade 2.0.7 -> 2.0.8 meson: upgrade 0.62.2 -> 0.63.0 mmc-utils: upgrade to latest revision mpg123: upgrade 1.30.0 -> 1.30.1 pango: upgrade 1.50.7 -> 1.50.8 piglit: upgrade to latest revision python3-dtschema: upgrade 2022.5 -> 2022.7 python3-hypothesis: upgrade 6.48.2 -> 6.50.1 python3-setuptools-rust: upgrade 1.3.0 -> 1.4.1 python3-setuptools-scm: upgrade 7.0.3 -> 7.0.5 python3-setuptools: upgrade 62.6.0 -> 63.2.0 python3-zipp: upgrade 3.8.0 -> 3.8.1 sqlite3: upgrade 3.39.0 -> 3.39.1 vala: upgrade 0.56.1 -> 0.56.2 wayland-protocols: upgrade 1.25 -> 1.26 webkitgtk: upgrade 2.36.3 -> 2.36.4 xwayland: upgrade 22.1.2 -> 22.1.3 epiphany: upgrade 42.2 -> 42.3 xf86-input-keyboard: remove the recipe toolchain-scripts.bbclass: adjust toolchain_create_tree_env_script to better replicate (e)SDK meta-ide-support: adjust to provide (e)SDK experience directly in a yocto build oeqa/sdk: add a test class for running SDK tests directly in a Yocto build oeqa/sdk: allow epoxy/galculator tests to run in esdk and direct yocto builds meson: provide relocation script and native/cross wrappers also for meson-native selftest/meta_ide: add a test for running SDK tests directly in a yocto build scripts/oe-setup-builddir: make it known where configurations come from devtool/upgrade: correctly clean up when recipe filename isn't yet known devtool/upgrade: catch bb.fetch2.decodeurl errors poky-floating-revisions.inc: remove xf86-input-keyboard entry Aníbal Limón (1): rng-tools: Change systemd service name to work with sysvinit Armin Kuster (1): poky.conf: remove EOL and Centos7 hosts Aryaman Gupta (1): bitbake: runqueue: add cpu/io pressure regulation Changhyeok Bae (1): repo: upgrade 2.27 -> 2.28 Chen Qi (2): glibc: make glibc-dev depend on kernel headers image_types_wic.bbclass: fix cross binutils dependency Daniel Gomez (1): dropbear: Add configuration file to CONFFILES Dmitry Baryshkov (1): linux-firwmare: restore WHENCE_CHKSUM variable He Zhe (1): lttng-modules: Fix build failure for kernel v5.15.58 Hitendra Prajapati (1): qemu: CVE-2022-35414 can perform an uninitialized read on the translate_fail path, leading to an io_readx or io_writex crash Jan Kiszka (2): wic/bootimg-efi: Factor out some common bits wic/bootimg-efi: Add support for loading devicetree files Jan Vermaete (1): python3-jsonschema: 4.7.1 -> 4.7.2 + fixed the rdepends Jose Quaresma (5): bitbake: bitbake: bitbake-user-manual: hashserv can be accessed on a dedicated domain archiver.bbclass: remove unsed do_deploy_archives[dirs] bitbake: bb/utils: remove: check the path again the expand python glob bitbake: bb/utils: movefile: use the logger for printing create-spdx: ignore packing control files from ipk and deb Joshua Watt (3): sstatesig: Include all dependencies in SPDX task signatures bitbake: asyncrpc: Add TCP Keep Alives classes/sanity: Add comment about github & gitlab archives Kai Kang (1): mesa: fix compile error when debug build enabled Khem Raj (11): lua: Backport fix for CVE-2022-33099 gcc-runtime: Pass -nostartfiles when building dummy libstdc++.so gcc-runtime: Use --with-target-subdir for baremetal targets systemd: Drop backported patch applied in 251.3 gcc-runtime: Use static dummy libstdc++ libgcc: Fix standalone target builds with usrmerge distro feature systemd: Fix conflict between glibc mount.h and kernel mount.h libarchive: Avoid mount.h conflict between kernel and glibc btrfs-tools: Use linux/mount.h instead of sys/mount.h gcc-sanitizers: Fix mount.h glibc 2.36 conflict hdparm: Fix build with glibc 2.36 LUIS ENRIQUEZ (1): kernel-fitimage.bbclass: add padding algorithm property in config nodes Lee Chee Yang (1): migration guides: release notes for 4.0.2 Mark Hatle (4): runqemu: Add missing space on default display option default-distrovars: seccomp doesn't support microblaze openssl: Move microblaze to linux-latomic config elfutils: Microblaze does not support symvers Martin Beeger (1): cmake: remove CMAKE_ASM_FLAGS variable in toolchain file Martin Jansa (6): python3-setuptools: move patch from 'files' to 'python3-setuptools' kernel.bbclass: pass LD also in savedefconfig ltp: fix build with ld-is-gold in DISTRO_FEATURES pybootchartgui: render memory pressure as well pybootchartgui: fix 2 SyntaxWarnings pybootchartgui: write the max values in the graph legend Michael Opdenacker (2): docs: BB_HASHSERVE_UPSTREAM: update to new host bitbake: bitbake-user-manual: npm fetcher: improve description of SRC_URI format Mihai Lindner (2): wic/plugins/rootfs: Fix NameError for 'orig_path' create-spdx: Fix supplier field Ming Liu (2): rootfs-postcommands.bbclass: move host-user-contaminated.txt to ${S} udev-extraconf:mount.sh: fix a umount issue Mingli Yu (1): strace: set COMPATIBLE_HOST for riscv32 Otavio Salvador (2): cargo-cross-canadian: Use SDK's flags during target linking oeqa/sdk: Add basic rust cargo test Petr Vorel (1): ltp: Add post release runtime fixes Quentin Schulz (2): docs: ref-manual: variables: remove sphinx directive from literal block docs: auto-generate releases.rst Randy MacLeod (1): vim: update from 9.0.0063 to 9.0.0115 Richard Purdie (16): curl: Fix determinism issues in ptest package build-appliance-image: Update to master head revision base/reproducible: Change Source Date Epoch generation methods vim: Upgrade 9.0.0021 -> 9.0.0063 rust-common: Set llvm-target correctly for cross SDK targets rust-cross-canadian: Fix ordering of target json config generation rust-cross/rust-common: Merge arm target handling code to fix cross-canadian rust-cross: Simplfy the rust_gen_target calls rust-common/rust-cross: Clean up target json generation code rust-target-config: Create new class to contain target json config generation rust-target-config: Allow the targets generated to be configurable native: Clear TUNE_FEATURES/ABIEXTENSION populate_sdk: Add SDK toolchain language selection support populate_sdk_base: Fix mingw override name poky: Enable debug-kernel for SPDX license manifests oeqa/sdk/rust: Fix file deletion for multilib SDKs Roland Hieber (1): devtool: error out when workspace is using old override syntax Ross Burton (13): pulseaudio: add m4-native to DEPENDS python3-picobuild: upgrade to 0.2 oeqa/runtime: add test that the kernel has CONFIG_PREEMPT_RT enabled perf: fix reproduciblity in older releases of Linux zstd: do verbose builds zlib: remove historical movement of libz.so to /lib oeqa/selftest: rename git.py to intercept.py oeqa/gotoolchain: put writable files in the Go module cache oeqa/gotoolchain: set CGO_ENABLED=1 qemu: add io_uring PACKAGECONFIG wic: add target tools to PATH when executing native commands wic/bootimg-efi: use cross objcopy when building unified kernel image wic: depend on cross-binutils Shruthi Ravichandran (2): initscripts: run umountnfs as a KILL script package_manager/ipk: do not pipe stderr to stdout Tom Hochstein (2): gobject-introspection-data: Disable cache for g-ir-scanner uboot-config.bbclass: Raise error for bad key gr embeter (1): efivar: fix import functionality leimaohui (1): systemd: Added base_bindir into pkg_postinst:udev-hwdb. wangmy (10): python3-docutils: upgrade 0.18.1 -> 0.19 python3-attrs: upgrade 21.4.0 -> 22.1.0 python3-cython: upgrade 0.29.30 -> 0.29.32 python3-dbusmock: upgrade 0.28.1 -> 0.28.4 python3-hatchling: upgrade 1.5.0 -> 1.6.0 python3-jsonschema: upgrade 4.7.2 -> 4.9.0 python3-scons: upgrade 4.3.0 -> 4.4.0 python3-setuptools: upgrade 63.2.0 -> 63.3.0 python3-pygobject: upgrade 3.42.1 -> 3.42.2 python3-pip: upgrade 22.1.2 -> 22.2.1 meta-security: 7ad5f6a9da..2a2d650ee0: Alex Kiernan (1): bubblewrap: Add recipe Armin Kuster (28): packagegroup-core-security.bb: add bubblewrap to pkg grp packagegroup-security-tpm: add libhoth to pkg grp python3-privacyidea: update to 3.7.2 suricata: update to 6.0.5 chipsec: update to 1.8.7 fail2ban: add UPSTREAM_CHECK vars ibmtpm2tss: fix SRC_URI tpm2-tss-engine: add UPSTREAM_CHECK_URI tpm2-tss: add UPSTREAM_CHECK_URI tpm2-tools: Add UPSTREAM_CHECK_URI tpm2-openssl: Add UPSTREAM_CHECK_URI tpm2-pkcs11: Add UPSTREAM_CHECK_URI tpm2-abrmd: add UPSTREAM_CHECK_URI tpm2-tcti-uefi: Add UPSTREAM_CHECK_URI aide: add UPSTREAM_CHECK_URI ecryptfs-utils: add UPSTREAM_CHECK_URI krill: update to 0.9.6 packagegroup-core-security: add krill to pkg grps packagegroup-core-security: add chipsec pkg to grp apparmor: update to 3.0.5 clamav: update to 0.104.4 ibmtpm2tss: update version format ibmswtpm2: fix UPSTREAM_CHECK ibmswtpm2: update to 1682 swtpm: update to 0.7.3 lkrg: update to 0.9.4 krill: only builds on x86/x86-64 and arm64 packagegroup-core-security: remove krill for some archs Armpit's Upgrade Helper (1): libtpm: upgrade 0.9.3 -> 0.9.5 John Edward Broadbent (1): meta-security: Add recipe for libhoth Upgrade Helper (1): sssd: upgrade 2.7.1 -> 2.7.3 meta-arm: 80d60e7b1c..20a629180c: Peter Hoyes (1): runfvp: Stop the FVP when telnet shuts down cleanly meta-openembedded: 31c10bd3e6..2eb39477a7: Alexander Thoma (1): Fix tigervnc crash due to missing xkbcomp rdepends Armin Kuster (1): bigbuckbunny-1080p: update SRC_URI Aryaman Gupta (1): rsyslog: update 8.2202->8.2206 Chen Qi (1): catfish: fix buildpaths issue Davide Gardenal (7): freeradius: ignore patched CVEs openflow: ignore unrelated CVEs libplist: ignore patched CVEs meta-oe: ignore patched CVEs mongodb: ignore unrelated CVEs php: ignore patched CVEs postgresql: ignore unrelated CVE Gianfranco (1): vboxguestdrivers: fix build failure on 32 bit architectures Gianfranco Costamagna (1): vboxguestdrivers: upgrade 6.1.34 -> 6.1.36 Jan Vermaete (8): python3-pyzmq: version bump 22.3.0 -> 23.2.0 python3-aspectlib: updated the summary and added a description. python3-jsonrpcclient: Added the jsonrpcclient Python package python3-oslash: added the oslash Python package python3-jsonrpcserver: added the python3-oslash rdepends python-ptyprocess: fixed test_pass_fds python3-pyzmq: added ptest python3-pyzmq: fixed oelint-adv warnings Johannes Schneider (1): python3-pystemd: Upgrade 0.8.0 -> 0.10.0 Khem Raj (11): poco: Link with libatomic on riscv32 python3-antlr4-runtime: Inherit setuptools3 instead of python_setuptools_build_meta catfish: Inherit setuptools3 instead of python_setuptools_build_meta python3-pycups: Inherit setuptools3 instead of python_setuptools_build_meta python3-qface: Inherit setuptools3 instead of python_setuptools_build_meta xscreensaver: Upgrade to 6.04 poco: Link with libatomic on mips Revert "catfish: Inherit setuptools3 instead of python_setuptools_build_meta" Revert "python3-pycups: Inherit setuptools3 instead of python_setuptools_build_meta" Revert "python3-antlr4-runtime: Inherit setuptools3 instead of python_setuptools_build_meta" libmtp: Upgrade to 1.1.20 Martin Großhauser (1): Add runtime dependencies for python3-supervisor Mingli Yu (1): s-nail: fix buildpaths issue Radovan Scasny (1): libwebsockets: update to version 4.3.2 Ross Burton (9): python3-cbor2: add missing build dependency python3-simpleeval: remove 'build' build dependency python3-pyrad: fix build system specification python3-pytest-html: fix DEPENDS, don't depend on pip python3-ansi2html: fix DEPENDS python3-pytest-helpers-namespace: add missing build dependencies python3-pyzmq: add missing build dependency python3-path: add missing build dependencies python3-pytest-forked: loosen dependency checking Sergey Kizunov (2): Add python3-pycares 4.2.1 Add python3-aiodns 3.0.0 Trevor Gamblin (1): README: Remove maintainer info for tvgamblin Wang Mingyu (10): php: upgrade 8.1.7 -> 8.1.8 ndisc6: upgrade 1.0.5 -> 1.0.6 python3-elementpath: upgrade 2.5.3 -> 3.0.1 python3-pymongo: upgrade 4.1.1 -> 4.2.0 python3-pyscaffold: upgrade 4.2.3 -> 4.3 python3-regex: upgrade 2022.7.9 -> 2022.7.24 python3-rsa: upgrade 4.8 -> 4.9 python3-sh: upgrade 1.14.2 -> 1.14.3 python3-werkzeug: upgrade 2.1.2 -> 2.2.0 python3-xmlschema: upgrade 1.11.3 -> 2.0.1 Xu Huan (14): python3-eth-hash: upgrade 0.3.3 -> 0.4.0 python3-socketio: upgrade 5.6.0 -> 5.7.0 python3-ujson: upgrade 5.3.0 -> 5.4.0 python3-web3: upgrade 5.29.2 -> 5.30.0 python3-fastjsonschema: upgrade 2.15.3 -> 2.16.1 python3-flask: upgrade 2.1.2 -> 2.1.3 python3-googleapis-common-protos: upgrade 1.56.3 -> 1.56.4 python3-iso3166: upgrade 2.0.2 -> 2.1.1 python3-kiwisolver: upgrade 1.4.3 -> 1.4.4 python3-portalocker: upgrade 2.4.0 -> 2.5.1 python3-imageio: upgrade 2.19.3 -> 2.19.5 python3-lz4: upgrade 4.0.1 -> 4.0.2 python3-mypy: upgrade 0.961 -> 0.971 python3-protobuf: upgrade 4.21.2 -> 4.21.3 kazuki0824 (1): ttf-fonts: fix URIs, upgrade 1.004 -> 2.004 wangmy (30): gegl: upgrade 0.4.36 -> 0.4.38 libadwaita: upgrade 1.1.2 -> 1.1.3 libgsf: upgrade 1.14.49 -> 1.14.50 nbdkit: upgrade 1.31.10 -> 1.31.12 irssi: upgrade 1.4.1 -> 1.4.2 libp11: upgrade 0.4.11 -> 0.4.12 modemmanager: upgrade 1.18.8 -> 1.18.10 pegtl: upgrade 3.2.6 -> 3.2.7 PATCH] logcheck: upgrade 1.3.23 -> 1.3.24 python3-lru-dict: upgrade 1.1.7 -> 1.1.8 python3-pyfanotify: upgrade 0.1.3 -> 0.2.0 python3-pylint: upgrade 2.14.4 -> 2.14.5 python3-pytest-metadata: upgrade 2.0.1 -> 2.0.2 python3-regex: upgrade 2022.6.2 -> 2022.7.9 python3-socketio: upgrade 5.7.0 -> 5.7.1 python3-stevedore: upgrade 3.5.0 -> 4.0.0 tracker: upgrade 3.3.1 -> 3.3.2 zenity: upgrade 3.42.1 -> 3.43.0 nbdkit: upgrade 1.31.12 -> 1.31.14 stunnel: upgrade 5.64 -> 5.65 unbound: upgrade 1.16.0 -> 1.16.1 wolfssl: upgrade 5.3.0 -> 5.4.0 atkmm-2.36: upgrade 2.36.1 -> 2.36.2 nanopb: upgrade 0.4.5 -> 0.4.6.4 redis-plus-plus: upgrade 1.3.3 -> 1.3.5 redis: upgrade 7.0.2 -> 7.0.4 ser2net: upgrade 4.3.6 -> 4.3.7 unattended-upgrades: upgrade 2.6 -> 2.9.1 valijson: upgrade 0.6 -> 0.7 googlebenchmark: upgrade 1.6.1 -> 1.7.0 zhengruoqin (17): python3-redis: upgrade 4.3.3 -> 4.3.4 python3-ldap: upgrade 3.4.0 -> 3.4.2 python3-pillow: upgrade 9.1.1 -> 9.2.0 python3-pylint: upgrade 2.14.3 -> 2.14.4 python3-alembic: upgrade 1.8.0 -> 1.8.1 python3-astroid: upgrade 2.11.6 -> 2.12.2 python3-attr: upgrade 0.3.1 -> 0.3.2 python3-blinker: upgrade 1.4 -> 1.5 python3-cmd2: upgrade 2.4.1 -> 2.4.2 python3-ecdsa: upgrade 0.17.0 -> 0.18.0 python3-evdev: upgrade 1.5.0 -> 1.6.0 python3-absl: upgrade 1.1.0 -> 1.2.0 python3-bitarray: upgrade 2.5.1 -> 2.6.0 python3-eth-hash: upgrade 0.4.0 -> 0.5.0 python3-google-api-python-client: upgrade 2.51.0 -> 2.54.0 python3-google-auth: upgrade 2.9.0 -> 2.9.1 python3-graphviz: upgrade 0.20 -> 0.20.1 Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I50c531a69ce8abb23e33c380f9228015f2764682
Diffstat (limited to 'poky/documentation')
-rw-r--r--poky/documentation/.gitignore1
-rw-r--r--poky/documentation/brief-yoctoprojectqs/index.rst2
-rw-r--r--poky/documentation/migration-guides/release-4.0.rst1
-rw-r--r--poky/documentation/migration-guides/release-notes-4.0.2.rst296
-rw-r--r--poky/documentation/migration-guides/release-notes-4.0.rst2
-rw-r--r--poky/documentation/ref-manual/variables.rst14
-rw-r--r--poky/documentation/releases.rst251
-rwxr-xr-xpoky/documentation/set_versions.py77
8 files changed, 386 insertions, 258 deletions
diff --git a/poky/documentation/.gitignore b/poky/documentation/.gitignore
index 096b97ec28..4e077d03fb 100644
--- a/poky/documentation/.gitignore
+++ b/poky/documentation/.gitignore
@@ -2,6 +2,7 @@ _build/
Pipfile.lock
poky.yaml
sphinx-static/switchers.js
+releases.rst
.vscode/
*/svg/*.png
*/svg/*.pdf
diff --git a/poky/documentation/brief-yoctoprojectqs/index.rst b/poky/documentation/brief-yoctoprojectqs/index.rst
index 3cf2f76f55..7ae0ddc349 100644
--- a/poky/documentation/brief-yoctoprojectqs/index.rst
+++ b/poky/documentation/brief-yoctoprojectqs/index.rst
@@ -256,7 +256,7 @@ an entire Linux distribution, including the toolchain, from source.
BB_SIGNATURE_HANDLER = "OEEquivHash"
BB_HASHSERVE = "auto"
- BB_HASHSERVE_UPSTREAM = "typhoon.yocto.io:8687"
+ BB_HASHSERVE_UPSTREAM = "hashserv.yocto.io:8687"
SSTATE_MIRRORS ?= "file://.* https://sstate.yoctoproject.org/all/PATH;downloadfilename=PATH"
#. **Start the Build:** Continue with the following command to build an OS
diff --git a/poky/documentation/migration-guides/release-4.0.rst b/poky/documentation/migration-guides/release-4.0.rst
index 2ef7c97afc..6584963be8 100644
--- a/poky/documentation/migration-guides/release-4.0.rst
+++ b/poky/documentation/migration-guides/release-4.0.rst
@@ -6,3 +6,4 @@ Release 4.0 (kirkstone)
migration-4.0
release-notes-4.0
release-notes-4.0.1
+ release-notes-4.0.2
diff --git a/poky/documentation/migration-guides/release-notes-4.0.2.rst b/poky/documentation/migration-guides/release-notes-4.0.2.rst
new file mode 100644
index 0000000000..cb10068b8d
--- /dev/null
+++ b/poky/documentation/migration-guides/release-notes-4.0.2.rst
@@ -0,0 +1,296 @@
+Release notes for Yocto-4.0.2 (Kirkstone)
+-----------------------------------------
+
+Security Fixes in Yocto-4.0.2
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+- libxslt: Mark :cve:`2022-29824` as not applying
+- tiff: Add jbig PACKAGECONFIG and clarify IGNORE :cve:`2022-1210`
+- tiff: mark :cve:`2022-1622` and :cve:`2022-1623` as invalid
+- pcre2:fix :cve:`2022-1586` Out-of-bounds read
+- curl: fix :cve:`2022-22576`, :cve:`2022-27775`, :cve:`2022-27776`, :cve:`2022-27774`, :cve:`2022-30115`, :cve:`2022-27780`, :cve:`2022-27781`, :cve:`2022-27779` and :cve:`2022-27782`
+- qemu: fix :cve:`2021-4206` and :cve:`2021-4207`
+- freetype: fix :cve:`2022-27404`, :cve:`2022-27405` and :cve:`2022-27406`
+
+Fixes in Yocto-4.0.2
+~~~~~~~~~~~~~~~~~~~~
+
+- alsa-plugins: fix libavtp vs. avtp packageconfig
+- archiver: don't use machine variables in shared recipes
+- archiver: use bb.note instead of echo
+- baremetal-image: fix broken symlink in do_rootfs
+- base-passwd: Disable shell for default users
+- bash: submit patch upstream
+- bind: upgrade 9.18.1 -> 9.18.2
+- binutils: Bump to latest 2.38 release branch
+- bitbake.conf: Make TCLIBC and TCMODE lazy assigned
+- bitbake: build: Add clean_stamp API function to allow removal of task stamps
+- bitbake: data: Do not depend on vardepvalueexclude flag
+- bitbake: fetch2/osc: Small fixes for osc fetcher
+- bitbake: server/process: Fix logging issues where only the first message was displayed
+- build-appliance-image: Update to kirkstone head revision
+- buildhistory.bbclass: fix shell syntax when using dash
+- cairo: Add missing GPLv3 license checksum entry
+- classes: rootfs-postcommands: add skip option to overlayfs_qa_check
+- cronie: upgrade 1.6.0 -> 1.6.1
+- cups: upgrade 2.4.1 -> 2.4.2
+- cve-check.bbclass: Added do_populate_sdk[recrdeptask].
+- cve-check: Add helper for symlink handling
+- cve-check: Allow warnings to be disabled
+- cve-check: Fix report generation
+- cve-check: Only include installed packages for rootfs manifest
+- cve-check: add support for Ignored CVEs
+- cve-check: fix return type in check_cves
+- cve-check: move update_symlinks to a library
+- cve-check: write empty fragment files in the text mode
+- cve-extra-exclusions: Add kernel CVEs
+- cve-update-db-native: make it possible to disable database updates
+- devtool: Fix _copy_file() TypeError
+- e2fsprogs: add alternatives handling of lsattr as well
+- e2fsprogs: update upstream status
+- efivar: add musl libc compatibility
+- epiphany: upgrade 42.0 -> 42.2
+- ffmpeg: upgrade 5.0 -> 5.0.1
+- fribidi: upgrade 1.0.11 -> 1.0.12
+- gcc-cross-canadian: Add nativesdk-zstd dependency
+- gcc-source: Fix incorrect task dependencies from ${B}
+- gcc: Upgrade to 11.3 release
+- gcc: depend on zstd-native
+- git: fix override syntax in RDEPENDS
+- glib-2.0: upgrade 2.72.1 -> 2.72.2
+- glibc: Drop make-native dependency
+- go: upgrade 1.17.8 -> 1.17.10
+- gst-devtools: upgrade 1.20.1 -> 1.20.2
+- gstreamer1.0-libav: upgrade 1.20.1 -> 1.20.2
+- gstreamer1.0-omx: upgrade 1.20.1 -> 1.20.2
+- gstreamer1.0-plugins-bad: upgrade 1.20.1 -> 1.20.2
+- gstreamer1.0-plugins-base: upgrade 1.20.1 -> 1.20.2
+- gstreamer1.0-plugins-good: upgrade 1.20.1 -> 1.20.2
+- gstreamer1.0-plugins-ugly: upgrade 1.20.1 -> 1.20.2
+- gstreamer1.0-python: upgrade 1.20.1 -> 1.20.2
+- gstreamer1.0-rtsp-server: upgrade 1.20.1 -> 1.20.2
+- gstreamer1.0-vaapi: upgrade 1.20.1 -> 1.20.2
+- gstreamer1.0: upgrade 1.20.1 -> 1.20.2
+- gtk+3: upgrade 3.24.33 -> 3.24.34
+- gtk-doc: Fix potential shebang overflow on gtkdoc-mkhtml2
+- image.bbclass: allow overriding dependency on virtual/kernel:do_deploy
+- insane.bbclass: make sure to close .patch files
+- iso-codes: upgrade 4.9.0 -> 4.10.0
+- kernel-yocto.bbclass: Reset to exiting on non-zero return code at end of task
+- libcgroup: upgrade 2.0.1 -> 2.0.2
+- liberror-perl: Update sstate/equiv versions to clean cache
+- libinput: upgrade 1.19.3 -> 1.19.4
+- libpcre2: upgrade 10.39 -> 10.40
+- librepo: upgrade 1.14.2 -> 1.14.3
+- libseccomp: Add missing files for ptests
+- libseccomp: Correct LIC_FILES_CHKSUM
+- libxkbcommon: upgrade 1.4.0 -> 1.4.1
+- libxml2: Upgrade 2.9.13 -> 2.9.14
+- license.bbclass: Bound beginline and endline in copy_license_files()
+- license_image.bbclass: Make QA errors fail the build
+- linux-firmware: add support for building snapshots
+- linux-firmware: package new Qualcomm firmware
+- linux-firmware: replace mkdir by install
+- linux-firmware: split ath3k firmware
+- linux-firmware: upgrade to 20220610
+- linux-yocto/5.10: update to v5.10.119
+- linux-yocto/5.15: Enable MDIO bus config
+- linux-yocto/5.15: bpf: explicitly disable unpriv eBPF by default
+- linux-yocto/5.15: cfg/xen: Move x86 configs to separate file
+- linux-yocto/5.15: update to v5.15.44
+- local.conf.sample: Update sstate url to new 'all' path
+- logrotate: upgrade 3.19.0 -> 3.20.1
+- lttng-modules: Fix build failure for 5.10.119+ and 5.15.44+ kernel
+- lttng-modules: fix build against 5.18-rc7+
+- lttng-modules: fix shell syntax
+- lttng-ust: upgrade 2.13.2 -> 2.13.3
+- lzo: Add further info to a patch and mark as Inactive-Upstream
+- makedevs: Don't use COPYING.patch just to add license file into ${S}
+- manuals: switch to the sstate mirror shared between all versions
+- mesa.inc: package 00-radv-defaults.conf
+- mesa: backport a patch to support compositors without zwp_linux_dmabuf_v1 again
+- mesa: upgrade to 22.0.3
+- meson.bbclass: add cython binary to cross/native toolchain config
+- mmc-utils: upgrade to latest revision
+- mobile-broadband-provider-info: upgrade 20220315 -> 20220511
+- ncurses: update to patchlevel 20220423
+- oeqa/selftest/cve_check: add tests for Ignored and partial reports
+- oeqa/selftest/cve_check: add tests for recipe and image reports
+- oescripts: change compare logic in OEListPackageconfigTests
+- openssl: Backport fix for ptest cert expiry
+- overlayfs: add docs about skipping QA check & service dependencies
+- ovmf: Fix native build with gcc-12
+- patch.py: make sure that patches/series file exists before quilt pop
+- pciutils: avoid lspci conflict with busybox
+- perl: Add dependency on make-native to avoid race issues
+- perl: Fix build with gcc-12
+- poky.conf: bump version for 4.0.2
+- popt: fix override syntax in RDEPENDS
+- pypi.bbclass: Set CVE_PRODUCT to PYPI_PACKAGE
+- python3: Ensure stale empty python module directories don't break the build
+- python3: Remove problematic paths from sysroot files
+- python3: fix reproducibility issue with python3-core
+- python3: use built-in distutils for ptest, rather than setuptools' 'fork'
+- python: Avoid shebang overflow on python-config.py
+- rootfs-postcommands.bbclass: correct comments
+- rootfs.py: close kernel_abi_ver_file
+- rootfs.py: find .ko.zst kernel modules
+- rust-common: Drop LLVM_TARGET and simplify
+- rust-common: Ensure sstate signatures have correct dependencues for do_rust_gen_targets
+- rust-common: Fix for target definitions returning 'NoneType' for arm
+- rust-common: Fix native signature dependency issues
+- rust-common: Fix sstate signatures between arm hf and non-hf
+- sanity: Don't warn about make 4.2.1 for mint
+- sanity: Switch to make 4.0 as a minimum version
+- sed: Specify shell for "nobody" user in run-ptest
+- selftest/imagefeatures/overlayfs: Always append to DISTRO_FEATURES
+- selftest/multiconfig: Test that multiconfigs in separate layers works
+- sqlite3: upgrade to 3.38.5
+- staging.bbclass: process direct dependencies in deterministic order
+- staging: Fix rare sysroot corruption issue
+- strace: Don't run ptest as "nobody"
+- systemd: Correct 0001-pass-correct-parameters-to-getdents64.patch
+- systemd: Correct path returned in sd_path_lookup()
+- systemd: Document future actions needed for set of musl patches
+- systemd: Drop 0001-test-parse-argument-Include-signal.h.patch
+- systemd: Drop 0002-don-t-use-glibc-specific-qsort_r.patch
+- systemd: Drop 0016-Hide-__start_BUS_ERROR_MAP-and-__stop_BUS_ERROR_MAP.patch
+- systemd: Drop redundant musl patches
+- systemd: Fix build regression with latest update
+- systemd: Remove __compare_fn_t type in musl-specific patch
+- systemd: Update patch status
+- systemd: systemd-systemctl: Support instance conf files during enable
+- systemd: update ``0008-add-missing-FTW_-macros-for-musl.patch``
+- systemd: upgrade 250.4 -> 250.5
+- uboot-sign: Fix potential index error issues
+- valgrind: submit arm patches upstream
+- vim: Upgrade to 8.2.5083
+- webkitgtk: upgrade to 2.36.3
+- wic/plugins/rootfs: Fix permissions when splitting rootfs folders across partitions
+- xwayland: upgrade 22.1.0 -> 22.1.1
+- xxhash: fix build with gcc 12
+- zip/unzip: mark all submittable patches as Inactive-Upstream
+
+Known Issues in Yocto-4.0.2
+~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+- There were build failures at the autobuilder due to a known scp issue on Fedora-36 hosts.
+
+Contributors to Yocto-4.0.2
+~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+- Alex Kiernan
+- Alexander Kanavin
+- Aryaman Gupta
+- Bruce Ashfield
+- Claudius Heine
+- Davide Gardenal
+- Dmitry Baryshkov
+- Ernst Sjöstrand
+- Felix Moessbauer
+- Gunjan Gupta
+- He Zhe
+- Hitendra Prajapati
+- Jack Mitchell
+- Jeremy Puhlman
+- Jiaqing Zhao
+- Joerg Vehlow
+- Jose Quaresma
+- Kai Kang
+- Khem Raj
+- Konrad Weihmann
+- Marcel Ziswiler
+- Markus Volk
+- Marta Rybczynska
+- Martin Jansa
+- Michael Opdenacker
+- Mingli Yu
+- Naveen Saini
+- Nick Potenski
+- Paulo Neves
+- Pavel Zhukov
+- Peter Kjellerstedt
+- Rasmus Villemoes
+- Richard Purdie
+- Robert Joslyn
+- Ross Burton
+- Samuli Piippo
+- Sean Anderson
+- Stefan Wiehler
+- Steve Sakoman
+- Sundeep Kokkonda
+- Tomasz Dziendzielski
+- Xiaobing Luo
+- Yi Zhao
+- leimaohui
+- wangmy
+
+Repositories / Downloads for Yocto-4.0.2
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+poky
+
+- Repository Location: https://git.yoctoproject.org/git/poky
+- Branch: :yocto_git:`kirkstone </poky/log/?h=kirkstone>`
+- Tag: :yocto_git:`yocto-4.0.2 </poky/log/?h=yocto-4.0.2>`
+- Git Revision: :yocto_git:`a5ea426b1da472fc8549459fff3c1b8c6e02f4b5 </poky/commit/?id=a5ea426b1da472fc8549459fff3c1b8c6e02f4b5>`
+- Release Artefact: poky-a5ea426b1da472fc8549459fff3c1b8c6e02f4b5
+- sha: 474ddfacfed6661be054c161597a1a5273188dfe021b31d6156955d93c6b7359
+- Download Locations:
+ http://downloads.yoctoproject.org/releases/yocto/yocto-4.0.2/poky-a5ea426b1da472fc8549459fff3c1b8c6e02f4b5.tar.bz2
+ http://mirrors.kernel.org/yocto/yocto/yocto-4.0.2/poky-a5ea426b1da472fc8549459fff3c1b8c6e02f4b5.tar.bz2
+
+openembedded-core
+
+- Repository Location: https://git.openembedded.org/openembedded-core
+- Branch: :oe_git:`kirkstone </openembedded-core/log/?h=kirkstone>`
+- Tag: :oe_git:`yocto-4.0.2 </openembedded-core/log/?h=yocto-4.0.2>`
+- Git Revision: :oe_git:`eea52e0c3d24c79464f4afdbc3c397e1cb982231 </openembedded-core/commit/?id=eea52e0c3d24c79464f4afdbc3c397e1cb982231>`
+- Release Artefact: oecore-eea52e0c3d24c79464f4afdbc3c397e1cb982231
+- sha: 252d5c2c2db7e14e7365fcc69d32075720b37d629894bae36305eba047a39907
+- Download Locations:
+ http://downloads.yoctoproject.org/releases/yocto/yocto-4.0.2/oecore-eea52e0c3d24c79464f4afdbc3c397e1cb982231.tar.bz2
+ http://mirrors.kernel.org/yocto/yocto/yocto-4.0.2/oecore-eea52e0c3d24c79464f4afdbc3c397e1cb982231.tar.bz2
+
+meta-mingw
+
+- Repository Location: https://git.yoctoproject.org/git/meta-mingw
+- Branch: :yocto_git:`kirkstone </meta-mingw/log/?h=kirkstone>`
+- Tag: :yocto_git:`yocto-4.0.2 </meta-mingw/log/?h=yocto-4.0.2>`
+- Git Revision: :yocto_git:`a90614a6498c3345704e9611f2842eb933dc51c1 </meta-mingw/commit/?id=a90614a6498c3345704e9611f2842eb933dc51c1>`
+- Release Artefact: meta-mingw-a90614a6498c3345704e9611f2842eb933dc51c1
+- sha: 49f9900bfbbc1c68136f8115b314e95d0b7f6be75edf36a75d9bcd1cca7c6302
+- Download Locations:
+ http://downloads.yoctoproject.org/releases/yocto/yocto-4.0.2/meta-mingw-a90614a6498c3345704e9611f2842eb933dc51c1.tar.bz2
+ http://mirrors.kernel.org/yocto/yocto/yocto-4.0.2/meta-mingw-a90614a6498c3345704e9611f2842eb933dc51c1.tar.bz2
+
+meta-gplv2
+
+- Repository Location: https://git.yoctoproject.org/git/meta-gplv2
+- Branch: :yocto_git:`kirkstone </meta-gplv2/log/?h=kirkstone>`
+- Tag: :yocto_git:`yocto-4.0.2 </meta-gplv2/log/?h=yocto-4.0.2>`
+- Git Revision: :yocto_git:`d2f8b5cdb285b72a4ed93450f6703ca27aa42e8a </meta-gplv2/commit/?id=d2f8b5cdb285b72a4ed93450f6703ca27aa42e8a>`
+- Release Artefact: meta-gplv2-d2f8b5cdb285b72a4ed93450f6703ca27aa42e8a
+- sha: c386f59f8a672747dc3d0be1d4234b6039273d0e57933eb87caa20f56b9cca6d
+- Download Locations:
+ http://downloads.yoctoproject.org/releases/yocto/yocto-4.0.2/meta-gplv2-d2f8b5cdb285b72a4ed93450f6703ca27aa42e8a.tar.bz2
+ http://mirrors.kernel.org/yocto/yocto/yocto-4.0.2/meta-gplv2-d2f8b5cdb285b72a4ed93450f6703ca27aa42e8a.tar.bz2
+
+bitbake
+
+- Repository Location: https://git.openembedded.org/bitbake
+- Branch: :oe_git:`2.0 </bitbake/log/?h=2.0>`
+- Tag: :oe_git:`yocto-4.0.2 </bitbake/log/?h=yocto-4.0.2>`
+- Git Revision: :oe_git:`b8fd6f5d9959d27176ea016c249cf6d35ac8ba03 </bitbake/commit/?id=b8fd6f5d9959d27176ea016c249cf6d35ac8ba03>`
+- Release Artefact: bitbake-b8fd6f5d9959d27176ea016c249cf6d35ac8ba03
+- sha: 373818b1dee2c502264edf654d6d8f857b558865437f080e02d5ba6bb9e72cc3
+- Download Locations:
+ http://downloads.yoctoproject.org/releases/yocto/yocto-4.0.2/bitbake-b8fd6f5d9959d27176ea016c249cf6d35ac8ba03.tar.bz2
+ http://mirrors.kernel.org/yocto/yocto/yocto-4.0.2/bitbake-b8fd6f5d9959d27176ea016c249cf6d35ac8ba03.tar.bz2
+
+yocto-docs
+
+- Repository Location: https://git.yoctoproject.org/git/yocto-docs
+- Branch: :yocto_git:`kirkstone </yocto-docs/log/?h=kirkstone>`
+- Tag: :yocto_git:`yocto-4.0.2 </yocto-docs/log/?h=yocto-4.0.2>`
+- Git Revision: :yocto_git:`662294dccd028828d5c7e9fd8f5c8e14df53df4b </yocto-docs/commit/?id=662294dccd028828d5c7e9fd8f5c8e14df53df4b>`
diff --git a/poky/documentation/migration-guides/release-notes-4.0.rst b/poky/documentation/migration-guides/release-notes-4.0.rst
index 4bf680db5d..b675cae217 100644
--- a/poky/documentation/migration-guides/release-notes-4.0.rst
+++ b/poky/documentation/migration-guides/release-notes-4.0.rst
@@ -22,7 +22,7 @@ New Features / Enhancements in 4.0
BB_SIGNATURE_HANDLER = "OEEquivHash"
BB_HASHSERVE = "auto"
- BB_HASHSERVE_UPSTREAM = "typhoon.yocto.io:8687"
+ BB_HASHSERVE_UPSTREAM = "hashserv.yocto.io:8687"
SSTATE_MIRRORS ?= "file://.* https://sstate.yoctoproject.org/all/PATH;downloadfilename=PATH"
- The Python package build process is now based on `wheels <https://pythonwheels.com/>`__
diff --git a/poky/documentation/ref-manual/variables.rst b/poky/documentation/ref-manual/variables.rst
index 1710830dc0..cf817e9540 100644
--- a/poky/documentation/ref-manual/variables.rst
+++ b/poky/documentation/ref-manual/variables.rst
@@ -1886,10 +1886,14 @@ system and gives an overview of their function and contents.
optionally support the feature. For example, specifying "x11" in
:term:`DISTRO_FEATURES`, causes every piece of software built for the
target that can optionally support X11 to have its X11 support
- enabled. Note: just enabling :term:`DISTRO_FEATURES` alone doesn't
- enable feature support for packages, mechanisms such as making
- :term:`PACKAGECONFIG` track :term:`DISTRO_FEATURES` are used
- to enable/disable package features.
+ enabled.
+
+ .. note::
+
+ Just enabling :term:`DISTRO_FEATURES` alone doesn't
+ enable feature support for packages. Mechanisms such as making
+ :term:`PACKAGECONFIG` track :term:`DISTRO_FEATURES` are used
+ to enable/disable package features.
Two more examples are Bluetooth and NFS support. For a more complete
list of features that ships with the Yocto Project and that you can
@@ -7655,7 +7659,7 @@ system and gives an overview of their function and contents.
:ref:`systemd-boot <ref-classes-systemd-boot>` class sets the
:term:`SYSTEMD_BOOT_CFG` as follows::
- SYSTEMD_BOOT_CFG ?= "${:term:`S`}/loader.conf"
+ SYSTEMD_BOOT_CFG ?= "${S}/loader.conf"
For information on Systemd-boot, see the `Systemd-boot
documentation <https://www.freedesktop.org/wiki/Software/systemd/systemd-boot/>`__.
diff --git a/poky/documentation/releases.rst b/poky/documentation/releases.rst
deleted file mode 100644
index b2b4486158..0000000000
--- a/poky/documentation/releases.rst
+++ /dev/null
@@ -1,251 +0,0 @@
-.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
-
-..
- NOTE FOR RELEASE MAINTAINERS:
- This file only needs updating in the development release ("master" branch)
- When documentation for stable releases is built,
- the latest version from "master" is used
- by https://git.yoctoproject.org/yocto-autobuilder-helper/tree/scripts/run-docs-build
-
-===========================
- Supported Release Manuals
-===========================
-
-******************************
-Release Series 4.0 (kirkstone)
-******************************
-
-- :yocto_docs:`4.0 Documentation </4.0>`
-- :yocto_docs:`4.0.1 Documentation </4.0.1>`
-- :yocto_docs:`4.0.2 Documentation </4.0.2>`
-
-****************************
-Release Series 3.1 (dunfell)
-****************************
-
-- :yocto_docs:`3.1 Documentation </3.1>`
-- :yocto_docs:`3.1.1 Documentation </3.1.1>`
-- :yocto_docs:`3.1.2 Documentation </3.1.2>`
-- :yocto_docs:`3.1.3 Documentation </3.1.3>`
-- :yocto_docs:`3.1.4 Documentation </3.1.4>`
-- :yocto_docs:`3.1.5 Documentation </3.1.5>`
-- :yocto_docs:`3.1.6 Documentation </3.1.6>`
-- :yocto_docs:`3.1.7 Documentation </3.1.7>`
-- :yocto_docs:`3.1.8 Documentation </3.1.8>`
-- :yocto_docs:`3.1.9 Documentation </3.1.9>`
-- :yocto_docs:`3.1.10 Documentation </3.1.10>`
-- :yocto_docs:`3.1.11 Documentation </3.1.11>`
-- :yocto_docs:`3.1.12 Documentation </3.1.12>`
-- :yocto_docs:`3.1.13 Documentation </3.1.13>`
-- :yocto_docs:`3.1.14 Documentation </3.1.14>`
-- :yocto_docs:`3.1.15 Documentation </3.1.15>`
-- :yocto_docs:`3.1.16 Documentation </3.1.16>`
-- :yocto_docs:`3.1.17 Documentation </3.1.17>`
-
-==========================
- Outdated Release Manuals
-==========================
-
-******************************
-Release Series 3.4 (honister)
-******************************
-
-- :yocto_docs:`3.4 Documentation </3.4>`
-- :yocto_docs:`3.4.1 Documentation </3.4.1>`
-- :yocto_docs:`3.4.2 Documentation </3.4.2>`
-- :yocto_docs:`3.4.3 Documentation </3.4.3>`
-- :yocto_docs:`3.4.4 Documentation </3.4.4>`
-
-******************************
-Release Series 3.3 (hardknott)
-******************************
-
-- :yocto_docs:`3.3 Documentation </3.3>`
-- :yocto_docs:`3.3.1 Documentation </3.3.1>`
-- :yocto_docs:`3.3.2 Documentation </3.3.2>`
-- :yocto_docs:`3.3.3 Documentation </3.3.3>`
-- :yocto_docs:`3.3.4 Documentation </3.3.4>`
-- :yocto_docs:`3.3.5 Documentation </3.3.5>`
-- :yocto_docs:`3.3.6 Documentation </3.3.6>`
-
-*******************************
-Release Series 3.2 (gatesgarth)
-*******************************
-
-- :yocto_docs:`3.2 Documentation </3.2>`
-- :yocto_docs:`3.2.1 Documentation </3.2.1>`
-- :yocto_docs:`3.2.2 Documentation </3.2.2>`
-- :yocto_docs:`3.2.3 Documentation </3.2.3>`
-- :yocto_docs:`3.2.4 Documentation </3.2.4>`
-
-*************************
-Release Series 3.0 (zeus)
-*************************
-
-- :yocto_docs:`3.0 Documentation </3.0>`
-- :yocto_docs:`3.0.1 Documentation </3.0.1>`
-- :yocto_docs:`3.0.2 Documentation </3.0.2>`
-- :yocto_docs:`3.0.3 Documentation </3.0.3>`
-- :yocto_docs:`3.0.4 Documentation </3.0.4>`
-
-****************************
-Release Series 2.7 (warrior)
-****************************
-
-- :yocto_docs:`2.7 Documentation </2.7>`
-- :yocto_docs:`2.7.1 Documentation </2.7.1>`
-- :yocto_docs:`2.7.2 Documentation </2.7.2>`
-- :yocto_docs:`2.7.3 Documentation </2.7.3>`
-- :yocto_docs:`2.7.4 Documentation </2.7.4>`
-
-*************************
-Release Series 2.6 (thud)
-*************************
-
-- :yocto_docs:`2.6 Documentation </2.6>`
-- :yocto_docs:`2.6.1 Documentation </2.6.1>`
-- :yocto_docs:`2.6.2 Documentation </2.6.2>`
-- :yocto_docs:`2.6.3 Documentation </2.6.3>`
-- :yocto_docs:`2.6.4 Documentation </2.6.4>`
-
-*************************
-Release Series 2.5 (sumo)
-*************************
-
-- :yocto_docs:`2.5 Documentation </2.5>`
-- :yocto_docs:`2.5.1 Documentation </2.5.1>`
-- :yocto_docs:`2.5.2 Documentation </2.5.2>`
-- :yocto_docs:`2.5.3 Documentation </2.5.3>`
-
-**************************
-Release Series 2.4 (rocko)
-**************************
-
-- :yocto_docs:`2.4 Documentation </2.4>`
-- :yocto_docs:`2.4.1 Documentation </2.4.1>`
-- :yocto_docs:`2.4.2 Documentation </2.4.2>`
-- :yocto_docs:`2.4.3 Documentation </2.4.3>`
-- :yocto_docs:`2.4.4 Documentation </2.4.4>`
-
-*************************
-Release Series 2.3 (pyro)
-*************************
-
-- :yocto_docs:`2.3 Documentation </2.3>`
-- :yocto_docs:`2.3.1 Documentation </2.3.1>`
-- :yocto_docs:`2.3.2 Documentation </2.3.2>`
-- :yocto_docs:`2.3.3 Documentation </2.3.3>`
-- :yocto_docs:`2.3.4 Documentation </2.3.4>`
-
-**************************
-Release Series 2.2 (morty)
-**************************
-
-- :yocto_docs:`2.2 Documentation </2.2>`
-- :yocto_docs:`2.2.1 Documentation </2.2.1>`
-- :yocto_docs:`2.2.2 Documentation </2.2.2>`
-- :yocto_docs:`2.2.3 Documentation </2.2.3>`
-
-****************************
-Release Series 2.1 (krogoth)
-****************************
-
-- :yocto_docs:`2.1 Documentation </2.1>`
-- :yocto_docs:`2.1.1 Documentation </2.1.1>`
-- :yocto_docs:`2.1.2 Documentation </2.1.2>`
-- :yocto_docs:`2.1.3 Documentation </2.1.3>`
-
-***************************
-Release Series 2.0 (jethro)
-***************************
-
-- :yocto_docs:`1.9 Documentation </1.9>`
-- :yocto_docs:`2.0 Documentation </2.0>`
-- :yocto_docs:`2.0.1 Documentation </2.0.1>`
-- :yocto_docs:`2.0.2 Documentation </2.0.2>`
-- :yocto_docs:`2.0.3 Documentation </2.0.3>`
-
-*************************
-Release Series 1.8 (fido)
-*************************
-
-- :yocto_docs:`1.8 Documentation </1.8>`
-- :yocto_docs:`1.8.1 Documentation </1.8.1>`
-- :yocto_docs:`1.8.2 Documentation </1.8.2>`
-
-**************************
-Release Series 1.7 (dizzy)
-**************************
-
-- :yocto_docs:`1.7 Documentation </1.7>`
-- :yocto_docs:`1.7.1 Documentation </1.7.1>`
-- :yocto_docs:`1.7.2 Documentation </1.7.2>`
-- :yocto_docs:`1.7.3 Documentation </1.7.3>`
-
-**************************
-Release Series 1.6 (daisy)
-**************************
-
-- :yocto_docs:`1.6 Documentation </1.6>`
-- :yocto_docs:`1.6.1 Documentation </1.6.1>`
-- :yocto_docs:`1.6.2 Documentation </1.6.2>`
-- :yocto_docs:`1.6.3 Documentation </1.6.3>`
-
-*************************
-Release Series 1.5 (dora)
-*************************
-
-- :yocto_docs:`1.5 Documentation </1.5>`
-- :yocto_docs:`1.5.1 Documentation </1.5.1>`
-- :yocto_docs:`1.5.2 Documentation </1.5.2>`
-- :yocto_docs:`1.5.3 Documentation </1.5.3>`
-- :yocto_docs:`1.5.4 Documentation </1.5.4>`
-
-**************************
-Release Series 1.4 (dylan)
-**************************
-
-- :yocto_docs:`1.4 Documentation </1.4>`
-- :yocto_docs:`1.4.1 Documentation </1.4.1>`
-- :yocto_docs:`1.4.2 Documentation </1.4.2>`
-- :yocto_docs:`1.4.3 Documentation </1.4.3>`
-- :yocto_docs:`1.4.4 Documentation </1.4.4>`
-- :yocto_docs:`1.4.5 Documentation </1.4.5>`
-
-**************************
-Release Series 1.3 (danny)
-**************************
-
-- :yocto_docs:`1.3 Documentation </1.3>`
-- :yocto_docs:`1.3.1 Documentation </1.3.1>`
-- :yocto_docs:`1.3.2 Documentation </1.3.2>`
-
-***************************
-Release Series 1.2 (denzil)
-***************************
-
-- :yocto_docs:`1.2 Documentation </1.2>`
-- :yocto_docs:`1.2.1 Documentation </1.2.1>`
-- :yocto_docs:`1.2.2 Documentation </1.2.2>`
-
-***************************
-Release Series 1.1 (edison)
-***************************
-
-- :yocto_docs:`1.1 Documentation </1.1>`
-- :yocto_docs:`1.1.1 Documentation </1.1.1>`
-- :yocto_docs:`1.1.2 Documentation </1.1.2>`
-
-****************************
-Release Series 1.0 (bernard)
-****************************
-
-- :yocto_docs:`1.0 Documentation </1.0>`
-- :yocto_docs:`1.0.1 Documentation </1.0.1>`
-- :yocto_docs:`1.0.2 Documentation </1.0.2>`
-
-****************************
-Release Series 0.9 (laverne)
-****************************
-
-- :yocto_docs:`0.9 Documentation </0.9>`
diff --git a/poky/documentation/set_versions.py b/poky/documentation/set_versions.py
index a7ceb3455a..ddf70851cb 100755
--- a/poky/documentation/set_versions.py
+++ b/poky/documentation/set_versions.py
@@ -1,9 +1,11 @@
#!/usr/bin/env python3
#
# Add version information to poky.yaml based upon current git branch/tags
+# Also generate the list of available manuals (releases.rst file)
#
# Copyright Linux Foundation
# Author: Richard Purdie <richard.purdie@linuxfoundation.org>
+# Author: Quentin Schulz <foss@0leil.net>
#
# SPDX-License-Identifier: MIT
#
@@ -14,6 +16,7 @@ import collections
import sys
import os
import itertools
+import re
ourversion = None
if len(sys.argv) == 2:
@@ -231,3 +234,77 @@ with open("sphinx-static/switchers.js.in", "r") as r, open("sphinx-static/switch
print("switchers.js generated from switchers.js.in")
+# generate releases.rst
+
+# list missing tags in yocto-docs
+missing_tags = [
+ 'yocto-0.9',
+ 'yocto-1.0', 'yocto-1.0.1',
+ 'yocto-1.1', 'yocto-1.1.1',
+ 'yocto-1.2',
+ 'yocto-1.4.4', 'yocto-1.4.5',
+ 'yocto-1.5', 'yocto-1.5.2', 'yocto-1.5.3', 'yocto-1.5.4',
+ 'yocto-1.6', 'yocto-1.6.1', 'yocto-1.6.2',
+ 'yocto-1.7', 'yocto-1.7.1',
+ 'yocto-1.9',
+ 'yocto-2.5.3',
+ 'yocto-3.1', 'yocto-3.1.1', 'yocto-3.1.2', 'yocto-3.1.3',
+ ]
+
+semver = re.compile(r'yocto-(\d+)\.(\d+)(?:\.)?(\d*)')
+
+# git is able to properly order semver versions but not python
+# instead of adding a dependency on semver module, let's convert the version
+# into a decimal number, e.g. 11.23.1 will be 112301 and 1.5 will be 010500 so
+# it can be used as a key for the sorting algorithm.
+# This can be removed once all the old tags are re-created.
+def tag_to_semver_like(v):
+ v_semver = semver.search(v)
+ v_maj, v_min, v_patch = v_semver.groups('0')
+ return int("{:0>2}{:0>2}{:0>2}".format(v_maj, v_min, v_patch), 10)
+
+yocto_tags = subprocess.run(["git", "tag", "--list", "--sort=version:refname", "yocto-*"], capture_output=True, text=True).stdout
+yocto_tags = sorted(yocto_tags.split() + missing_tags, key=tag_to_semver_like)
+tags = [tag[6:] for tag in yocto_tags]
+
+with open('releases.rst', 'w') as f:
+ f.write('===========================\n')
+ f.write(' Supported Release Manuals\n')
+ f.write('===========================\n')
+ f.write('\n')
+
+ for activerelease in activereleases:
+ title = "Release Series %s (%s)" % (release_series[activerelease], activerelease)
+ f.write('*' * len(title) + '\n')
+ f.write(title + '\n')
+ f.write('*' * len(title) + '\n')
+ f.write('\n')
+
+ for tag in tags:
+ if tag == release_series[activerelease] or tag.startswith('%s.' % release_series[activerelease]):
+ f.write('- :yocto_docs:`%s Documentation </%s>`\n' % (tag, tag))
+ f.write('\n')
+
+ f.write('==========================\n')
+ f.write(' Outdated Release Manuals\n')
+ f.write('==========================\n')
+ f.write('\n')
+
+ for series in release_series:
+ if series == devbranch or series in activereleases:
+ continue
+
+ if series == "jethro-pre":
+ continue
+
+ title = "Release Series %s (%s)" % (release_series[series], series)
+ f.write('*' * len(title) + '\n')
+ f.write(title + '\n')
+ f.write('*' * len(title) + '\n')
+ f.write('\n')
+ if series == "jethro":
+ f.write('- :yocto_docs:`1.9 Documentation </1.9>`\n')
+ for tag in tags:
+ if tag == release_series[series] or tag.startswith('%s.' % release_series[series]):
+ f.write('- :yocto_docs:`%s Documentation </%s>`\n' % (tag, tag))
+ f.write('\n')