mirror of
https://git.yoctoproject.org/poky
synced 2026-02-02 23:08:43 +01:00
Compare commits
81 Commits
nanbield-4
...
nanbield
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7b8aa378d0 | ||
|
|
8730750b33 | ||
|
|
2708ce2801 | ||
|
|
1962eae7d9 | ||
|
|
c0bc268a59 | ||
|
|
664191d437 | ||
|
|
b2d15619ce | ||
|
|
65b31eea45 | ||
|
|
147b92723a | ||
|
|
92af404c25 | ||
|
|
c3871e9b55 | ||
|
|
4745719d0b | ||
|
|
9090e89240 | ||
|
|
68f1b7f429 | ||
|
|
8a20101d14 | ||
|
|
ba6ed3b831 | ||
|
|
b29f40625a | ||
|
|
7459fda082 | ||
|
|
92b141afb4 | ||
|
|
51556868f6 | ||
|
|
138486fc53 | ||
|
|
f1d8b7324d | ||
|
|
1a2b5e0a9a | ||
|
|
d82357ffa1 | ||
|
|
6d2b73edc9 | ||
|
|
521775dcd5 | ||
|
|
11d9d02cf6 | ||
|
|
8d5fb5f5d2 | ||
|
|
cfea74e239 | ||
|
|
c98a98ebb3 | ||
|
|
e1e4d53ce8 | ||
|
|
12c5aa2329 | ||
|
|
05a1e88ce3 | ||
|
|
cae6c78254 | ||
|
|
db0eb3116e | ||
|
|
cf9cab531d | ||
|
|
1e4304b007 | ||
|
|
b2fd801cd6 | ||
|
|
2040697f1c | ||
|
|
05fc000272 | ||
|
|
c9834bf620 | ||
|
|
c557cb4f02 | ||
|
|
92b6805f61 | ||
|
|
ed0ae8e15b | ||
|
|
05f2a66ec5 | ||
|
|
0d4b501890 | ||
|
|
59db49d903 | ||
|
|
3d986317d1 | ||
|
|
3d5846e144 | ||
|
|
d241202fa1 | ||
|
|
74ed43b221 | ||
|
|
d9bb5baff0 | ||
|
|
f755f56106 | ||
|
|
5d567f14e9 | ||
|
|
ed74dbe0c7 | ||
|
|
cbc50de8c7 | ||
|
|
bfd608ec84 | ||
|
|
a06286e6f7 | ||
|
|
1a5c00f00c | ||
|
|
ed0b2b860f | ||
|
|
62851677da | ||
|
|
126d94a615 | ||
|
|
9dd0928c51 | ||
|
|
b5781286ad | ||
|
|
9b94baed26 | ||
|
|
20e316e372 | ||
|
|
ab7fecefc6 | ||
|
|
10b2dd53ce | ||
|
|
bdd694eb15 | ||
|
|
7584c6d12a | ||
|
|
e8f1ae5d33 | ||
|
|
5fb8ed4af4 | ||
|
|
df5e182c9f | ||
|
|
b0424cf1ea | ||
|
|
8912badafe | ||
|
|
617c24aed8 | ||
|
|
206267f75d | ||
|
|
563cd419c7 | ||
|
|
52adde71ad | ||
|
|
4b37e67fbc | ||
|
|
0cc056f177 |
2
documentation/.gitignore
vendored
2
documentation/.gitignore
vendored
@@ -7,3 +7,5 @@ releases.rst
|
||||
.vscode/
|
||||
*/svg/*.png
|
||||
*/svg/*.pdf
|
||||
styles/*
|
||||
!styles/config
|
||||
|
||||
7
documentation/.vale.ini
Normal file
7
documentation/.vale.ini
Normal file
@@ -0,0 +1,7 @@
|
||||
StylesPath = styles
|
||||
MinAlertLevel = suggestion
|
||||
Packages = RedHat, proselint, write-good, alex, Readability, Joblint
|
||||
Vocab = Yocto, OpenSource
|
||||
[*.rst]
|
||||
BasedOnStyles = Vale, RedHat, proselint, write-good, alex, Readability, Joblint
|
||||
|
||||
@@ -5,6 +5,9 @@
|
||||
# from the environment for the first two.
|
||||
SPHINXOPTS ?= -W --keep-going -j auto
|
||||
SPHINXBUILD ?= sphinx-build
|
||||
# Release notes are excluded because they contain contributor names and commit messages which can't be modified
|
||||
VALEOPTS ?= --no-wrap --glob '!migration-guides/release-notes-*.rst'
|
||||
VALEDOCS ?= .
|
||||
SOURCEDIR = .
|
||||
IMAGEDIRS = */svg
|
||||
BUILDDIR = _build
|
||||
@@ -20,7 +23,7 @@ endif
|
||||
help:
|
||||
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
|
||||
|
||||
.PHONY: all help Makefile clean publish epub latexpdf
|
||||
.PHONY: all help Makefile clean stylecheck publish epub latexpdf
|
||||
|
||||
publish: Makefile html singlehtml
|
||||
rm -rf $(BUILDDIR)/$(DESTDIR)/
|
||||
@@ -44,7 +47,15 @@ PNGs := $(foreach dir, $(IMAGEDIRS), $(patsubst %.svg,%.png,$(wildcard $(SOURCED
|
||||
$(SVG2PNG) --export-filename=$@ $<
|
||||
|
||||
clean:
|
||||
@rm -rf $(BUILDDIR) $(PNGs) $(PDFs) poky.yaml sphinx-static/switchers.js
|
||||
@rm -rf $(BUILDDIR) $(PNGs) $(PDFs) poky.yaml sphinx-static/switchers.js releases.rst
|
||||
|
||||
stylecheck:
|
||||
vale sync
|
||||
vale $(VALEOPTS) $(VALEDOCS)
|
||||
|
||||
stylecheck:
|
||||
vale sync
|
||||
vale $(VALEOPTS) $(VALEDOCS)
|
||||
|
||||
epub: $(PNGs)
|
||||
$(SOURCEDIR)/set_versions.py
|
||||
|
||||
@@ -151,6 +151,20 @@ dependencies in a virtual environment:
|
||||
$ pipenv install
|
||||
$ pipenv run make html
|
||||
|
||||
Style checking the Yocto Project documentation
|
||||
==============================================
|
||||
|
||||
The project is starting to use Vale (https://vale.sh/)
|
||||
to validate the text style.
|
||||
|
||||
To install Vale:
|
||||
|
||||
$ pip install vale
|
||||
|
||||
To run Vale:
|
||||
|
||||
$ make stylecheck
|
||||
|
||||
Sphinx theme and CSS customization
|
||||
==================================
|
||||
|
||||
|
||||
@@ -851,8 +851,7 @@ Before looking at BSP requirements, you should consider the following:
|
||||
dictating that a specific kernel or kernel version be used in a given
|
||||
BSP.
|
||||
|
||||
Following are the requirements for a released BSP that conform to the
|
||||
Yocto Project:
|
||||
The requirements for a released BSP that conform to the Yocto Project are:
|
||||
|
||||
- *Layer Name:* The BSP must have a layer name that follows the Yocto
|
||||
Project standards. For information on BSP layer names, see the
|
||||
@@ -956,7 +955,7 @@ Yocto Project:
|
||||
Released BSP Recommendations
|
||||
----------------------------
|
||||
|
||||
Following are recommendations for released BSPs that conform to the
|
||||
Here are recommendations for released BSPs that conform to the
|
||||
Yocto Project:
|
||||
|
||||
- *Bootable Images:* Released BSPs can contain one or more bootable
|
||||
@@ -1018,7 +1017,7 @@ the following:
|
||||
that additional hierarchy and the files would obviously not be able
|
||||
to reside in a machine-specific directory.
|
||||
|
||||
Following is a specific example to help you better understand the
|
||||
Here is a specific example to help you better understand the
|
||||
process. This example customizes a recipe by adding a
|
||||
BSP-specific configuration file named ``interfaces`` to the
|
||||
``init-ifupdown_1.0.bb`` recipe for machine "xyz" where the BSP layer
|
||||
@@ -1448,7 +1447,7 @@ metadata used to build the kernel. In this case, a kernel append file
|
||||
kernel recipe (i.e. ``linux-yocto_6.1.bb``), which is located in
|
||||
:yocto_git:`/poky/tree/meta/recipes-kernel/linux`.
|
||||
|
||||
Following is the contents of the append file::
|
||||
The contents of the append file are::
|
||||
|
||||
KBRANCH:genericx86 = "v6.1/standard/base"
|
||||
KBRANCH:genericx86-64 = "v6.1/standard/base"
|
||||
|
||||
@@ -221,6 +221,38 @@ to add the upgraded version.
|
||||
<https://www.kernel.org/doc/html/latest/process/submitting-patches.html#using-reported-by-tested-by-reviewed-by-suggested-by-and-fixes>`__
|
||||
in the Linux kernel documentation.
|
||||
|
||||
Test your changes
|
||||
-----------------
|
||||
|
||||
For each contributions you make, you should test your changes as well.
|
||||
For this the Yocto Project offers several types of tests. Those tests cover
|
||||
different areas and it depends on your changes which are feasible. For example run:
|
||||
|
||||
- For changes that affect the build environment:
|
||||
|
||||
- ``bitbake-selftest``: for changes within BitBake
|
||||
|
||||
- ``oe-selftest``: to test combinations of BitBake runs
|
||||
|
||||
- ``oe-build-perf-test``: to test the performance of common build scenarios
|
||||
|
||||
- For changes in a recipe:
|
||||
|
||||
- ``ptest``: run package specific tests, if they exist
|
||||
|
||||
- ``testimage``: build an image, boot it and run testcases on it
|
||||
|
||||
- If applicable, ensure also the ``native`` and ``nativesdk`` variants builds
|
||||
|
||||
- For changes relating to the SDK:
|
||||
|
||||
- ``testsdk``: to build, install and run tests against a SDK
|
||||
|
||||
- ``testsdk_ext``: to build, install and run tests against an extended SDK
|
||||
|
||||
Note that this list just gives suggestions and is not exhaustive. More details can
|
||||
be found here: :ref:`test-manual/intro:Yocto Project Tests --- Types of Testing Overview`.
|
||||
|
||||
Creating Patches
|
||||
================
|
||||
|
||||
@@ -285,8 +317,9 @@ Validating Patches with Patchtest
|
||||
``patchtest`` is available in ``openembedded-core`` as a tool for making
|
||||
sure that your patches are well-formatted and contain important info for
|
||||
maintenance purposes, such as ``Signed-off-by`` and ``Upstream-Status``
|
||||
tags. Currently, it only supports testing patches for
|
||||
``openembedded-core`` branches. To setup, perform the following::
|
||||
tags. Note that no functional testing of the changes will be performed by ``patchtest``.
|
||||
Currently, it only supports testing patches for ``openembedded-core`` branches.
|
||||
To setup, perform the following::
|
||||
|
||||
pip install -r meta/lib/patchtest/requirements.txt
|
||||
source oe-init-build-env
|
||||
@@ -399,7 +432,7 @@ varies by component:
|
||||
:oe_lists:`bitbake-devel </g/bitbake-devel>`
|
||||
mailing list.
|
||||
|
||||
- *"meta-\*" trees:* These trees contain Metadata. Use the
|
||||
- *meta-poky* and *meta-yocto-bsp* trees: These trees contain Metadata. Use the
|
||||
:yocto_lists:`poky </g/poky>` mailing list.
|
||||
|
||||
- *Documentation*: For changes to the Yocto Project documentation, use the
|
||||
|
||||
@@ -160,7 +160,7 @@ Follow these steps to set up and execute multiple configuration builds:
|
||||
The location for these multiconfig configuration files is specific.
|
||||
They must reside in the current :term:`Build Directory` in a sub-directory of
|
||||
``conf`` named ``multiconfig`` or within a layer's ``conf`` directory
|
||||
under a directory named ``multiconfig``. Following is an example that defines
|
||||
under a directory named ``multiconfig``. Here is an example that defines
|
||||
two configuration files for the "x86" and "arm" multiconfigs:
|
||||
|
||||
.. image:: figures/multiconfig_files.png
|
||||
@@ -775,10 +775,9 @@ your tunings to best consider build times and package feed maintenance.
|
||||
in the script for information on how to use the tool.
|
||||
|
||||
- *BitBake's "-S printdiff" Option:* Using this option causes
|
||||
BitBake to try to establish the closest signature match it can
|
||||
(e.g. in the shared state cache) and then run ``bitbake-diffsigs``
|
||||
over the matches to determine the stamps and delta where these two
|
||||
stamp trees diverge.
|
||||
BitBake to try to establish the most recent signature match
|
||||
(e.g. in the shared state cache) and then compare matched signatures
|
||||
to determine the stamps and delta where these two stamp trees diverge.
|
||||
|
||||
Building Software from an External Source
|
||||
=========================================
|
||||
|
||||
@@ -170,7 +170,7 @@ You can use the ``oe-pkgdata-util`` command-line utility to query
|
||||
various package-related information. When you use the utility, you must
|
||||
use it to view information on packages that have already been built.
|
||||
|
||||
Following are a few of the available ``oe-pkgdata-util`` subcommands.
|
||||
Here are a few of the available ``oe-pkgdata-util`` subcommands.
|
||||
|
||||
.. note::
|
||||
|
||||
@@ -339,7 +339,10 @@ BitBake has determined by doing the following:
|
||||
:term:`BB_BASEHASH_IGNORE_VARS`
|
||||
information.
|
||||
|
||||
There is also a ``bitbake-diffsigs`` command for comparing two
|
||||
Debugging signature construction and unexpected task executions
|
||||
===============================================================
|
||||
|
||||
There is a ``bitbake-diffsigs`` command for comparing two
|
||||
``siginfo`` or ``sigdata`` files. This command can be helpful when
|
||||
trying to figure out what changed between two versions of a task. If you
|
||||
call ``bitbake-diffsigs`` with just one file, the command behaves like
|
||||
@@ -356,8 +359,12 @@ BitBake command-line options::
|
||||
.. note::
|
||||
|
||||
Two common values for `SIGNATURE_HANDLER` are "none" and "printdiff", which
|
||||
dump only the signature or compare the dumped signature with the cached one,
|
||||
respectively.
|
||||
dump only the signature or compare the dumped signature with the most recent one,
|
||||
respectively. "printdiff" will try to establish the most recent
|
||||
signature match (e.g. in the sstate cache) and then
|
||||
compare the matched signatures to determine the stamps and delta
|
||||
where these two stamp trees diverge. This can be used to determine why
|
||||
tasks need to be re-run in situations where that is not expected.
|
||||
|
||||
Using BitBake with either of these options causes BitBake to dump out
|
||||
``sigdata`` files in the ``stamps`` directory for every task it would
|
||||
@@ -608,7 +615,7 @@ logs, keep in mind the goal is to have informative logs while keeping
|
||||
the console as "silent" as possible. Also, if you want status messages
|
||||
in the log, use the "debug" loglevel.
|
||||
|
||||
Following is an example written in Python. The code handles logging for
|
||||
Here is an example written in Python. The code handles logging for
|
||||
a function that determines the number of tasks needed to be run. See the
|
||||
":ref:`ref-tasks-listtasks`"
|
||||
section for additional information::
|
||||
@@ -636,7 +643,7 @@ logs, you have the same goals --- informative with minimal console output.
|
||||
The syntax you use for recipes written in Bash is similar to that of
|
||||
recipes written in Python described in the previous section.
|
||||
|
||||
Following is an example written in Bash. The code logs the progress of
|
||||
Here is an example written in Bash. The code logs the progress of
|
||||
the ``do_my_function`` function::
|
||||
|
||||
do_my_function() {
|
||||
@@ -1221,7 +1228,7 @@ Here are some other tips that you might find useful:
|
||||
"$@"
|
||||
}
|
||||
|
||||
Following are some usage examples::
|
||||
Here are some usage examples::
|
||||
|
||||
$ g FOO # Search recursively for "FOO"
|
||||
$ g -i foo # Search recursively for "foo", ignoring case
|
||||
|
||||
@@ -16,7 +16,7 @@ OpenEmbedded build system were executing them. Consequently, working
|
||||
this way can be helpful when debugging a build or preparing software to
|
||||
be used with the OpenEmbedded build system.
|
||||
|
||||
Following is an example that uses ``devshell`` on a target named
|
||||
Here is an example that uses ``devshell`` on a target named
|
||||
``matchbox-desktop``::
|
||||
|
||||
$ bitbake matchbox-desktop -c devshell
|
||||
|
||||
@@ -60,10 +60,10 @@ kernel.
|
||||
All devices created by ``devtmpfs`` will be owned by ``root`` and have
|
||||
permissions ``0600``.
|
||||
|
||||
To have more control over the device nodes, you can use a device manager
|
||||
like ``udev`` or ``busybox-mdev``. You choose the device manager by
|
||||
defining the ``VIRTUAL-RUNTIME_dev_manager`` variable in your machine or
|
||||
distro configuration file. Alternatively, you can set this variable in
|
||||
To have more control over the device nodes, you can use a device manager like
|
||||
``udev`` or ``busybox-mdev``. You choose the device manager by defining the
|
||||
:term:`VIRTUAL-RUNTIME_dev_manager <VIRTUAL-RUNTIME>` variable in your machine
|
||||
or distro configuration file. Alternatively, you can set this variable in
|
||||
your ``local.conf`` configuration file::
|
||||
|
||||
VIRTUAL-RUNTIME_dev_manager = "udev"
|
||||
|
||||
@@ -82,7 +82,7 @@ Follow these general steps to create your layer without using tools:
|
||||
LAYERVERSION_yoctobsp = "4"
|
||||
LAYERSERIES_COMPAT_yoctobsp = "dunfell"
|
||||
|
||||
Following is an explanation of the layer configuration file:
|
||||
Here is an explanation of the layer configuration file:
|
||||
|
||||
- :term:`BBPATH`: Adds the layer's
|
||||
root directory to BitBake's search path. Through the use of the
|
||||
@@ -191,7 +191,7 @@ following list:
|
||||
- *Structure Your Layers:* Proper use of overrides within append files
|
||||
and placement of machine-specific files within your layer can ensure
|
||||
that a build is not using the wrong Metadata and negatively impacting
|
||||
a build for a different machine. Following are some examples:
|
||||
a build for a different machine. Here are some examples:
|
||||
|
||||
- *Modify Variables to Support a Different Machine:* Suppose you
|
||||
have a layer named ``meta-one`` that adds support for building
|
||||
@@ -513,7 +513,7 @@ In the main recipe, note the :term:`SRC_URI`
|
||||
variable, which tells the OpenEmbedded build system where to find files
|
||||
during the build.
|
||||
|
||||
Following is the append file, which is named ``formfactor_0.0.bbappend``
|
||||
Here is the append file, which is named ``formfactor_0.0.bbappend``
|
||||
and is from the Raspberry Pi BSP Layer named ``meta-raspberrypi``. The
|
||||
file is in the layer at ``recipes-bsp/formfactor``::
|
||||
|
||||
@@ -588,7 +588,7 @@ Directory`. Here is the main ``xserver-xf86-config`` recipe, which is named
|
||||
fi
|
||||
}
|
||||
|
||||
Following is the append file, which is named ``xserver-xf86-config_%.bbappend``
|
||||
Here is the append file, which is named ``xserver-xf86-config_%.bbappend``
|
||||
and is from the Raspberry Pi BSP Layer named ``meta-raspberrypi``. The
|
||||
file is in the layer at ``recipes-graphics/xorg-xserver``::
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@ library files.
|
||||
Some previously released versions of the Yocto Project defined the
|
||||
static library files through ``${PN}-dev``.
|
||||
|
||||
Following is part of the BitBake configuration file, where you can see
|
||||
Here is the part of the BitBake configuration file, where you can see
|
||||
how the static library files are defined::
|
||||
|
||||
PACKAGE_BEFORE_PN ?= ""
|
||||
@@ -177,7 +177,7 @@ Additional Implementation Details
|
||||
---------------------------------
|
||||
|
||||
There are generic implementation details as well as details that are specific to
|
||||
package management systems. Following are implementation details
|
||||
package management systems. Here are implementation details
|
||||
that exist regardless of the package management system:
|
||||
|
||||
- The typical convention used for the class extension code as used by
|
||||
|
||||
@@ -27,7 +27,7 @@ Specifying the ``LIC_FILES_CHKSUM`` Variable
|
||||
--------------------------------------------
|
||||
|
||||
The :term:`LIC_FILES_CHKSUM` variable contains checksums of the license text
|
||||
in the source code for the recipe. Following is an example of how to
|
||||
in the source code for the recipe. Here is an example of how to
|
||||
specify :term:`LIC_FILES_CHKSUM`::
|
||||
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=xxxx \
|
||||
|
||||
@@ -104,7 +104,7 @@ contains directories for specific machines such as ``qemuarm`` and
|
||||
defaults, see the ``meta/recipes-bsp/formfactor/files/config`` file
|
||||
found in the same area.
|
||||
|
||||
Following is an example for "qemuarm" machine::
|
||||
Here is an example for "qemuarm" machine::
|
||||
|
||||
HAVE_TOUCHSCREEN=1
|
||||
HAVE_KEYBOARD=1
|
||||
|
||||
@@ -100,7 +100,7 @@ command::
|
||||
|
||||
Running ``recipetool create -o OUTFILE`` creates the base recipe and
|
||||
locates it properly in the layer that contains your source files.
|
||||
Following are some syntax examples:
|
||||
Here are some syntax examples:
|
||||
|
||||
- Use this syntax to generate a recipe based on source. Once generated,
|
||||
the recipe resides in the existing source code layer::
|
||||
@@ -1232,7 +1232,7 @@ inherit the :ref:`ref-classes-autotools` class, which contains the definitions
|
||||
of all the steps needed to build an Autotool-based application. The result of
|
||||
the build is automatically packaged. And, if the application uses NLS for
|
||||
localization, packages with local information are generated (one package per
|
||||
language). Following is one example: (``hello_2.3.bb``)::
|
||||
language). Here is one example: (``hello_2.3.bb``)::
|
||||
|
||||
SUMMARY = "GNU Helloworld application"
|
||||
SECTION = "examples"
|
||||
@@ -1285,7 +1285,7 @@ Splitting an Application into Multiple Packages
|
||||
You can use the variables :term:`PACKAGES` and :term:`FILES` to split an
|
||||
application into multiple packages.
|
||||
|
||||
Following is an example that uses the ``libxpm`` recipe. By default,
|
||||
Here is an example that uses the ``libxpm`` recipe. By default,
|
||||
this recipe generates a single package that contains the library along
|
||||
with a few binaries. You can modify the recipe to split the binaries
|
||||
into separate packages::
|
||||
@@ -1510,7 +1510,7 @@ in the BitBake User Manual.
|
||||
when you make the assignment, but this is not generally needed.
|
||||
|
||||
- *Quote All Assignments ("value"):* Use double quotes around values in
|
||||
all variable assignments (e.g. ``"value"``). Following is an example::
|
||||
all variable assignments (e.g. ``"value"``). Here is an example::
|
||||
|
||||
VAR1 = "${OTHERVAR}"
|
||||
VAR2 = "The version is ${PV}"
|
||||
|
||||
@@ -205,9 +205,14 @@ history, see the
|
||||
The OpenEmbedded build system does not maintain :term:`PR` information as
|
||||
part of the shared state (sstate) packages. If you maintain an sstate
|
||||
feed, it's expected that either all your building systems that
|
||||
contribute to the sstate feed use a shared PR Service, or you do not
|
||||
run a PR Service on any of your building systems. Having some systems
|
||||
use a PR Service while others do not leads to obvious problems.
|
||||
contribute to the sstate feed use a shared PR service, or you do not
|
||||
run a PR service on any of your building systems.
|
||||
|
||||
That's because if you had multiple machines sharing a PR service but
|
||||
not their sstate feed, you could end up with "diverging" hashes for
|
||||
the same output artefacts. When presented to the share PR service,
|
||||
each would be considered as new and would increase the revision
|
||||
number, causing many unnecessary package upgrades.
|
||||
|
||||
For more information on shared state, see the
|
||||
":ref:`overview-manual/concepts:shared state cache`"
|
||||
@@ -365,7 +370,7 @@ For more examples that show how to use ``do_split_packages``, see the
|
||||
directory of the ``poky`` :ref:`source repository <overview-manual/development-environment:yocto project source repositories>`. You can
|
||||
also find examples in ``meta/classes-recipe/kernel.bbclass``.
|
||||
|
||||
Following is a reference that shows ``do_split_packages`` mandatory and
|
||||
Here is a reference that shows ``do_split_packages`` mandatory and
|
||||
optional arguments::
|
||||
|
||||
Mandatory arguments
|
||||
@@ -607,6 +612,13 @@ subsequent sections are necessary to configure the target. You should
|
||||
set these variables before building the image in order to produce a
|
||||
correctly configured image.
|
||||
|
||||
.. note::
|
||||
|
||||
Your image will need enough free storage space to run package upgrades,
|
||||
especially if many of them need to be downloaded at the same time.
|
||||
You should make sure images are created with enough free space
|
||||
by setting the :term:`IMAGE_ROOTFS_EXTRA_SPACE` variable.
|
||||
|
||||
When your build is complete, your packages reside in the
|
||||
``${TMPDIR}/deploy/packageformat`` directory. For example, if
|
||||
``${``\ :term:`TMPDIR`\ ``}`` is
|
||||
@@ -1123,7 +1135,7 @@ The ``devtool edit-recipe`` command lets you take a look at the recipe::
|
||||
...
|
||||
LICENSE:${PN}-vary = "MIT"
|
||||
|
||||
Here are three key points in the previous example:
|
||||
Three key points in the previous example are:
|
||||
|
||||
- :term:`SRC_URI` uses the NPM
|
||||
scheme so that the NPM fetcher is used.
|
||||
|
||||
@@ -148,8 +148,8 @@ recipe. By default, ``libfoo.so`` gets packaged into ``${PN}-dev``, which
|
||||
triggers a QA warning that a non-symlink library is in a ``-dev`` package,
|
||||
and binaries in the same recipe link to the library in ``${PN}-dev``,
|
||||
which triggers more QA warnings. To solve this problem, you need to package the
|
||||
unversioned library into ``${PN}`` where it belongs. The following are the abridged
|
||||
default :term:`FILES` variables in ``bitbake.conf``::
|
||||
unversioned library into ``${PN}`` where it belongs. The abridged
|
||||
default :term:`FILES` variables in ``bitbake.conf`` are::
|
||||
|
||||
SOLIBS = ".so.*"
|
||||
SOLIBSDEV = ".so"
|
||||
|
||||
@@ -35,7 +35,7 @@ system were executing them. Consequently, working this way can be
|
||||
helpful when debugging a build or preparing software to be used with the
|
||||
OpenEmbedded build system.
|
||||
|
||||
Following is an example that uses ``pydevshell`` on a target named
|
||||
Here is an example that uses ``pydevshell`` on a target named
|
||||
``matchbox-desktop``::
|
||||
|
||||
$ bitbake matchbox-desktop -c pydevshell
|
||||
|
||||
@@ -311,7 +311,7 @@ timestamp when it needs to look for an image. Minimally, through the use
|
||||
of options, you must provide either a machine name, a virtual machine
|
||||
image (``*wic.vmdk``), or a kernel image (``*.bin``).
|
||||
|
||||
Following is the command-line help output for the ``runqemu`` command::
|
||||
Here is the command-line help output for the ``runqemu`` command::
|
||||
|
||||
$ runqemu --help
|
||||
|
||||
@@ -353,7 +353,7 @@ Following is the command-line help output for the ``runqemu`` command::
|
||||
``runqemu`` Command-Line Options
|
||||
================================
|
||||
|
||||
Following is a description of ``runqemu`` options you can provide on the
|
||||
Here is a description of ``runqemu`` options you can provide on the
|
||||
command line:
|
||||
|
||||
.. note::
|
||||
|
||||
@@ -193,7 +193,7 @@ perform a one-time setup of your controller image by doing the following:
|
||||
"controller" image and you can customize the image recipe as you would
|
||||
any other recipe.
|
||||
|
||||
Here are the image recipe requirements:
|
||||
Image recipe requirements are:
|
||||
|
||||
- Inherits ``core-image`` so that kernel modules are installed.
|
||||
|
||||
@@ -572,7 +572,7 @@ data:
|
||||
When set to "true", the package is not automatically installed into
|
||||
the DUT.
|
||||
|
||||
Following is an example JSON file that handles test "foo" installing
|
||||
Here is an example JSON file that handles test "foo" installing
|
||||
package "bar" and test "foobar" installing packages "foo" and "bar".
|
||||
Once the test is complete, the packages are removed from the DUT::
|
||||
|
||||
|
||||
@@ -30,22 +30,29 @@ To make this happen, you must inherit the
|
||||
|
||||
INHERIT += "create-spdx"
|
||||
|
||||
You then get :term:`SPDX` output in JSON format as an
|
||||
``IMAGE-MACHINE.spdx.json`` file in ``tmp/deploy/images/MACHINE/`` inside the
|
||||
:term:`Build Directory`.
|
||||
Upon building an image, you will then get:
|
||||
|
||||
This is a toplevel file accompanied by an ``IMAGE-MACHINE.spdx.index.json``
|
||||
containing an index of JSON :term:`SPDX` files for individual recipes, together
|
||||
with an ``IMAGE-MACHINE.spdx.tar.zst`` compressed archive containing all such
|
||||
files.
|
||||
- :term:`SPDX` output in JSON format as an ``IMAGE-MACHINE.spdx.json`` file in
|
||||
``tmp/deploy/images/MACHINE/`` inside the :term:`Build Directory`.
|
||||
|
||||
- This toplevel file is accompanied by an ``IMAGE-MACHINE.spdx.index.json``
|
||||
containing an index of JSON :term:`SPDX` files for individual recipes.
|
||||
|
||||
- The compressed archive ``IMAGE-MACHINE.spdx.tar.zst`` contains the index
|
||||
and the files for the single recipes.
|
||||
|
||||
The :ref:`ref-classes-create-spdx` class offers options to include
|
||||
more information in the output :term:`SPDX` data, such as making the generated
|
||||
files more human readable (:term:`SPDX_PRETTY`), adding compressed archives of
|
||||
the files in the generated target packages (:term:`SPDX_ARCHIVE_PACKAGED`),
|
||||
adding a description of the source files used to generate host tools and target
|
||||
packages (:term:`SPDX_INCLUDE_SOURCES`) and adding archives of these source
|
||||
files themselves (:term:`SPDX_ARCHIVE_SOURCES`).
|
||||
more information in the output :term:`SPDX` data:
|
||||
|
||||
- Make the json files more human readable by setting (:term:`SPDX_PRETTY`).
|
||||
|
||||
- Add compressed archives of the files in the generated target packages by
|
||||
setting (:term:`SPDX_ARCHIVE_PACKAGED`).
|
||||
|
||||
- Add a description of the source files used to generate host tools and target
|
||||
packages (:term:`SPDX_INCLUDE_SOURCES`)
|
||||
|
||||
- Add archives of these source files themselves (:term:`SPDX_ARCHIVE_SOURCES`).
|
||||
|
||||
Though the toplevel :term:`SPDX` output is available in
|
||||
``tmp/deploy/images/MACHINE/`` inside the :term:`Build Directory`, ancillary
|
||||
@@ -65,11 +72,12 @@ generated files are available in ``tmp/deploy/spdx/MACHINE`` too, such as:
|
||||
|
||||
See also the :term:`SPDX_CUSTOM_ANNOTATION_VARS` variable which allows
|
||||
to associate custom notes to a recipe.
|
||||
|
||||
See the `tools page <https://spdx.dev/resources/tools/>`__ on the :term:`SPDX`
|
||||
project website for a list of tools to consume and transform the :term:`SPDX`
|
||||
data generated by the OpenEmbedded build system.
|
||||
|
||||
See also Joshua Watt's
|
||||
See also Joshua Watt's presentations
|
||||
`Automated SBoM generation with OpenEmbedded and the Yocto Project <https://youtu.be/Q5UQUM6zxVU>`__
|
||||
presentation at FOSDEM 2023.
|
||||
at FOSDEM 2023 and
|
||||
`SPDX in the Yocto Project <https://fosdem.org/2024/schedule/event/fosdem-2024-3318-spdx-in-the-yocto-project/>`__
|
||||
at FOSDEM 2024.
|
||||
|
||||
@@ -33,7 +33,7 @@ auto-scaling ensures that the build system fundamentally takes advantage
|
||||
of potential parallel operations during the build based on the build
|
||||
machine's capabilities.
|
||||
|
||||
Following are additional factors that can affect build speed:
|
||||
Additional factors that can affect build speed are:
|
||||
|
||||
- File system type: The file system type that the build is being
|
||||
performed on can also influence performance. Using ``ext4`` is
|
||||
@@ -88,7 +88,7 @@ that can help you speed up the build:
|
||||
variable to "1".
|
||||
|
||||
- Disable static library generation for recipes derived from
|
||||
``autoconf`` or ``libtool``: Following is an example showing how to
|
||||
``autoconf`` or ``libtool``: Here is an example showing how to
|
||||
disable static libraries and still provide an override to handle
|
||||
exceptions::
|
||||
|
||||
|
||||
@@ -36,7 +36,7 @@ particular working environment and set of practices.
|
||||
equipment together and set up your development environment's
|
||||
hardware topology.
|
||||
|
||||
Here are possible roles:
|
||||
Possible roles are:
|
||||
|
||||
- *Application Developer:* This type of developer does application
|
||||
level work on top of an existing software stack.
|
||||
@@ -99,7 +99,7 @@ particular working environment and set of practices.
|
||||
|
||||
#. *Set up the Application Development Machines:* As mentioned earlier,
|
||||
application developers are creating applications on top of existing
|
||||
software stacks. Following are some best practices for setting up
|
||||
software stacks. Here are some best practices for setting up
|
||||
machines used for application development:
|
||||
|
||||
- Use a pre-built toolchain that contains the software stack
|
||||
@@ -118,7 +118,7 @@ particular working environment and set of practices.
|
||||
|
||||
#. *Set up the Core Development Machines:* As mentioned earlier, core
|
||||
developers work on the contents of the operating system itself.
|
||||
Following are some best practices for setting up machines used for
|
||||
Here are some best practices for setting up machines used for
|
||||
developing images:
|
||||
|
||||
- Have the :term:`OpenEmbedded Build System` available on
|
||||
|
||||
@@ -1295,7 +1295,7 @@ In order to run this task, you must have an existing ``.config`` file.
|
||||
See the ":ref:`kernel-dev/common:using \`\`menuconfig\`\``" section for
|
||||
information on how to create a configuration file.
|
||||
|
||||
Following is sample output from the :ref:`ref-tasks-kernel_configcheck` task:
|
||||
Here is sample output from the :ref:`ref-tasks-kernel_configcheck` task:
|
||||
|
||||
.. code-block:: none
|
||||
|
||||
@@ -1726,7 +1726,7 @@ tree. Using Git is an efficient way to see what has changed in the tree.
|
||||
What Changed in a Kernel?
|
||||
-------------------------
|
||||
|
||||
Following are a few examples that show how to use Git commands to
|
||||
Here are a few examples that show how to use Git commands to
|
||||
examine changes. These examples are by no means the only way to see
|
||||
changes.
|
||||
|
||||
|
||||
@@ -256,7 +256,7 @@ section in the Yocto Project Development Tasks Manual.
|
||||
Build History
|
||||
-------------
|
||||
|
||||
Following are changes to Build History:
|
||||
The changes to Build History are:
|
||||
|
||||
- Installed package sizes: ``installed-package-sizes.txt`` for an image
|
||||
now records the size of the files installed by each package instead
|
||||
@@ -279,7 +279,7 @@ section in the Yocto Project Development Tasks Manual.
|
||||
``udev``
|
||||
--------
|
||||
|
||||
Following are changes to ``udev``:
|
||||
The changes to ``udev`` are:
|
||||
|
||||
- ``udev`` no longer brings in ``udev-extraconf`` automatically through
|
||||
:term:`RRECOMMENDS`, since this was originally
|
||||
@@ -323,7 +323,7 @@ Removed and Renamed Recipes
|
||||
Other Changes
|
||||
-------------
|
||||
|
||||
Following is a list of short entries describing other changes:
|
||||
Here is a list of short entries describing other changes:
|
||||
|
||||
- ``run-postinsts``: Make this generic.
|
||||
|
||||
|
||||
@@ -73,8 +73,8 @@ Metadata Must Now Use Python 3 Syntax
|
||||
The metadata is now required to use Python 3 syntax. For help preparing
|
||||
metadata, see any of the many Python 3 porting guides available.
|
||||
Alternatively, you can reference the conversion commits for BitBake and
|
||||
you can use :term:`OpenEmbedded-Core (OE-Core)` as a guide for changes. Following are
|
||||
particular areas of interest:
|
||||
you can use :term:`OpenEmbedded-Core (OE-Core)` as a guide for changes.
|
||||
Particular areas of interest are:
|
||||
|
||||
- subprocess command-line pipes needing locale decoding
|
||||
|
||||
@@ -182,7 +182,7 @@ root filesystem, provides an image, and uses the ``nographic`` option::
|
||||
|
||||
$ runqemu qemux86-64 tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.ext4 tmp/deploy/images/qemux86-64/bzImage nographic
|
||||
|
||||
Following is a list of variables that can be set in configuration files
|
||||
Here is a list of variables that can be set in configuration files
|
||||
such as ``bsp.conf`` to enable the BSP to be booted by ``runqemu``::
|
||||
|
||||
QB_SYSTEM_NAME: QEMU name (e.g. "qemu-system-i386")
|
||||
|
||||
@@ -91,8 +91,6 @@ occurred:
|
||||
Removed Recipes
|
||||
---------------
|
||||
|
||||
The following recipes have been removed:
|
||||
|
||||
- ``acpitests``: This recipe is not maintained.
|
||||
|
||||
- ``autogen-native``: No longer required by Grub, oe-core, or
|
||||
@@ -213,8 +211,6 @@ recipes you might have. This will avoid breakage in post 2.4 releases.
|
||||
Package QA Changes
|
||||
------------------
|
||||
|
||||
The following package QA changes took place:
|
||||
|
||||
- The "unsafe-references-in-scripts" QA check has been removed.
|
||||
|
||||
- If you refer to ``${COREBASE}/LICENSE`` within
|
||||
@@ -229,8 +225,6 @@ The following package QA changes took place:
|
||||
``README`` File Changes
|
||||
-----------------------
|
||||
|
||||
The following are changes to ``README`` files:
|
||||
|
||||
- The main Poky ``README`` file has been moved to the ``meta-poky``
|
||||
layer and has been renamed ``README.poky``. A symlink has been
|
||||
created so that references to the old location work.
|
||||
@@ -246,8 +240,6 @@ The following are changes to ``README`` files:
|
||||
Miscellaneous Changes
|
||||
---------------------
|
||||
|
||||
The following are additional changes:
|
||||
|
||||
- The ``ROOTFS_PKGMANAGE_BOOTSTRAP`` variable and any references to it
|
||||
have been removed. You should remove this variable from any custom
|
||||
recipes.
|
||||
|
||||
@@ -87,8 +87,6 @@ The following recipes have been removed:
|
||||
Scripts and Tools Changes
|
||||
-------------------------
|
||||
|
||||
The following are changes to scripts and tools:
|
||||
|
||||
- ``yocto-bsp``, ``yocto-kernel``, and ``yocto-layer``: The
|
||||
``yocto-bsp``, ``yocto-kernel``, and ``yocto-layer`` scripts
|
||||
previously shipped with poky but not in OpenEmbedded-Core have been
|
||||
@@ -119,8 +117,6 @@ The following are changes to scripts and tools:
|
||||
BitBake Changes
|
||||
---------------
|
||||
|
||||
The following are BitBake changes:
|
||||
|
||||
- The ``--runall`` option has changed. There are two different
|
||||
behaviors people might want:
|
||||
|
||||
@@ -153,7 +149,7 @@ The following are BitBake changes:
|
||||
Python and Python 3 Changes
|
||||
---------------------------
|
||||
|
||||
The following are auto-packaging changes to Python and Python 3:
|
||||
Here are auto-packaging changes to Python and Python 3:
|
||||
|
||||
The script-managed ``python-*-manifest.inc`` files that were previously
|
||||
used to generate Python and Python 3 packages have been replaced with a
|
||||
@@ -187,8 +183,6 @@ change please see :yocto_git:`this commit
|
||||
Miscellaneous Changes
|
||||
---------------------
|
||||
|
||||
The following are additional changes:
|
||||
|
||||
- The :ref:`ref-classes-kernel` class supports building packages for multiple kernels.
|
||||
If your kernel recipe or ``.bbappend`` file mentions packaging at
|
||||
all, you should replace references to the kernel in package names
|
||||
|
||||
@@ -142,7 +142,7 @@ Python changes
|
||||
classes should be updated to inherit ``setuptools*`` equivalents instead.
|
||||
|
||||
- The Python package build process is now based on `wheels <https://pythonwheels.com/>`__.
|
||||
Here are the new Python packaging classes that should be used:
|
||||
The new Python packaging classes that should be used are
|
||||
:ref:`ref-classes-python_flit_core`, :ref:`ref-classes-python_setuptools_build_meta`
|
||||
and :ref:`ref-classes-python_poetry_core`.
|
||||
|
||||
|
||||
@@ -23,3 +23,4 @@ Release 4.0 (kirkstone)
|
||||
release-notes-4.0.14
|
||||
release-notes-4.0.15
|
||||
release-notes-4.0.16
|
||||
release-notes-4.0.17
|
||||
|
||||
@@ -9,3 +9,4 @@ Release 4.3 (nanbield)
|
||||
release-notes-4.3
|
||||
release-notes-4.3.1
|
||||
release-notes-4.3.2
|
||||
release-notes-4.3.3
|
||||
|
||||
238
documentation/migration-guides/release-notes-4.0.17.rst
Normal file
238
documentation/migration-guides/release-notes-4.0.17.rst
Normal file
@@ -0,0 +1,238 @@
|
||||
.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
|
||||
|
||||
Release notes for Yocto-4.0.17 (Kirkstone)
|
||||
------------------------------------------
|
||||
|
||||
Security Fixes in Yocto-4.0.17
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
- bind: Fix :cve:`2023-4408`, :cve:`2023-50387`, :cve:`2023-50868`, :cve:`2023-5517` and :cve:`2023-5679`
|
||||
- binutils: Fix :cve:`2023-39129` and :cve:`2023-39130`
|
||||
- curl: Fix :cve:`2023-46219`
|
||||
- curl: Ignore :cve:`2023-42915`
|
||||
- gcc: Ignore :cve:`2023-4039`
|
||||
- gdb: Fix :cve:`2023-39129` and :cve:`2023-39130`
|
||||
- glibc: Ignore :cve:`2023-0687`
|
||||
- go: Fix :cve:`2023-29406`, :cve:`2023-45285`, :cve:`2023-45287`, :cve:`2023-45289`, :cve:`2023-45290`, :cve:`2024-24784` and :cve:`2024-24785`
|
||||
- less: Fix :cve:`2022-48624`
|
||||
- libgit2: Fix :cve:`2024-24575` and :cve:`2024-24577`
|
||||
- libuv: fix :cve:`2024-24806`
|
||||
- libxml2: Fix for :cve:`2024-25062`
|
||||
- linux-yocto/5.15: Fix :cve:`2022-36402`, :cve:`2022-40982`, :cve:`2022-47940`, :cve:`2023-1193`, :cve:`2023-1194`, :cve:`2023-20569`, :cve:`2023-20588`, :cve:`2023-25775`, :cve:`2023-31085`, :cve:`2023-32247`, :cve:`2023-32250`, :cve:`2023-32252`, :cve:`2023-32254`, :cve:`2023-32257`, :cve:`2023-32258`, :cve:`2023-34324`, :cve:`2023-35827`, :cve:`2023-3772`, :cve:`2023-38427`, :cve:`2023-38430`, :cve:`2023-38431`, :cve_mitre:`2023-3867`, :cve:`2023-39189`, :cve:`2023-39192`, :cve:`2023-39193`, :cve:`2023-39194`, :cve:`2023-39198`, :cve:`2023-40283`, :cve:`2023-4128`, :cve:`2023-4206`, :cve:`2023-4207`, :cve:`2023-4208`, :cve:`2023-4244`, :cve:`2023-4273`, :cve:`2023-42752`, :cve:`2023-42753`, :cve:`2023-42754`, :cve:`2023-42755`, :cve:`2023-4563`, :cve:`2023-4569`, :cve:`2023-45871`, :cve:`2023-4623`, :cve:`2023-46343`, :cve:`2023-46813`, :cve:`2023-46838`, :cve:`2023-46862`, :cve:`2023-4881`, :cve:`2023-4921`, :cve:`2023-51042`, :cve:`2023-5158`, :cve:`2023-51779`, :cve_mitre:`2023-52340`, :cve:`2023-52429`, :cve:`2023-52435`, :cve:`2023-52436`, :cve:`2023-52438`, :cve:`2023-52439`, :cve:`2023-52441`, :cve:`2023-52442`, :cve:`2023-52443`, :cve:`2023-52444`, :cve:`2023-52445`, :cve:`2023-52448`, :cve:`2023-52449`, :cve:`2023-52451`, :cve:`2023-52454`, :cve:`2023-52456`, :cve:`2023-52457`, :cve:`2023-52458`, :cve:`2023-52463`, :cve:`2023-52464`, :cve:`2023-5717`, :cve:`2023-6040`, :cve:`2023-6121`, :cve:`2023-6176`, :cve:`2023-6546`, :cve:`2023-6606`, :cve:`2023-6622`, :cve:`2023-6817`, :cve:`2023-6915`, :cve:`2023-6931`, :cve:`2023-6932`, :cve:`2024-0340`, :cve:`2024-0584`, :cve:`2024-0607`, :cve:`2024-0641`, :cve:`2024-0646`, :cve:`2024-1085`, :cve:`2024-1086`, :cve:`2024-1151`, :cve:`2024-22705`, :cve:`2024-23849`, :cve:`2024-23850`, :cve:`2024-23851`, :cve:`2024-24860`, :cve:`2024-26586`, :cve:`2024-26589`, :cve:`2024-26591`, :cve:`2024-26592`, :cve:`2024-26593`, :cve:`2024-26594`, :cve:`2024-26597` and :cve:`2024-26598`
|
||||
- linux-yocto/5.15: Ignore :cve:`2020-27418`, :cve:`2020-36766`, :cve:`2021-33630`, :cve:`2021-33631`, :cve:`2022-48619`, :cve:`2023-2430`, :cve:`2023-40791`, :cve:`2023-42756`, :cve:`2023-44466`, :cve:`2023-45862`, :cve:`2023-45863`, :cve:`2023-45898`, :cve:`2023-4610`, :cve:`2023-4732`, :cve:`2023-5090`, :cve:`2023-51043`, :cve:`2023-5178`, :cve:`2023-51780`, :cve:`2023-51781`, :cve:`2023-51782`, :cve:`2023-5197`, :cve:`2023-52433`, :cve:`2023-52440`, :cve:`2023-52446`, :cve:`2023-52450`, :cve:`2023-52453`, :cve:`2023-52455`, :cve:`2023-52459`, :cve:`2023-52460`, :cve:`2023-52461`, :cve:`2023-52462`, :cve:`2023-5345`, :cve:`2023-5633`, :cve:`2023-5972`, :cve:`2023-6111`, :cve:`2023-6200`, :cve:`2023-6531`, :cve:`2023-6679`, :cve:`2023-7192`, :cve:`2024-0193`, :cve:`2024-0443`, :cve:`2024-0562`, :cve:`2024-0582`, :cve:`2024-0639`, :cve:`2024-0775`, :cve:`2024-26581`, :cve:`2024-26582`, :cve:`2024-26590`, :cve:`2024-26596` and :cve:`2024-26599`
|
||||
- linux-yocto/5.10: Fix :cve:`2023-39198`, :cve:`2023-46838`, :cve:`2023-51779`, :cve:`2023-51780`, :cve:`2023-51781`, :cve:`2023-51782`, :cve_mitre:`2023-52340`, :cve:`2023-6040`, :cve:`2023-6121`, :cve:`2023-6606`, :cve:`2023-6817`, :cve:`2023-6915`, :cve:`2023-6931`, :cve:`2023-6932`, :cve:`2024-0584` and :cve:`2024-0646`
|
||||
- linux-yocto/5.10: Ignore :cve:`2021-33630`, :cve:`2021-33631`, :cve:`2022-1508`, :cve:`2022-36402`, :cve:`2022-48619`, :cve:`2023-2430`, :cve:`2023-4610`, :cve:`2023-46343`, :cve:`2023-51042`, :cve:`2023-51043`, :cve:`2023-5972`, :cve:`2023-6039`, :cve:`2023-6200`, :cve:`2023-6531`, :cve:`2023-6546`, :cve:`2023-6622`, :cve:`2023-6679`, :cve:`2023-7192`, :cve:`2024-0193`, :cve:`2024-0443`, :cve:`2024-0562`, :cve:`2024-0582`, :cve:`2024-0639`, :cve:`2024-0641`, :cve:`2024-0775`, :cve:`2024-1085` and :cve:`2024-22705`
|
||||
- openssl: Fix :cve:`2024-0727`
|
||||
- python3-pycryptodome: Fix :cve:`2023-52323`
|
||||
- qemu: Fix :cve:`2023-42467`, :cve:`2023-6693` and :cve:`2024-24474`
|
||||
- vim: Fix :cve:`2024-22667`
|
||||
- xwayland: Fix :cve:`2023-6377` and :cve:`2023-6478`
|
||||
|
||||
|
||||
Fixes in Yocto-4.0.17
|
||||
~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
- bind: Upgrade to 9.18.24
|
||||
- bitbake: bitbake/codeparser.py: address ast module deprecations in py 3.12
|
||||
- bitbake: bitbake/lib/bs4/tests/test_tree.py: python 3.12 regex
|
||||
- bitbake: codeparser: replace deprecated ast.Str and 's'
|
||||
- bitbake: fetch2: Ensure that git LFS objects are available
|
||||
- bitbake: tests/fetch: Add real git lfs tests and decorator
|
||||
- bitbake: tests/fetch: git-lfs restore _find_git_lfs
|
||||
- bitbake: toaster/toastergui: Bug-fix verify given layer path only if import/add local layer
|
||||
- build-appliance-image: Update to kirkstone head revision
|
||||
- cmake: Unset CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES
|
||||
- contributor-guide: fix lore URL
|
||||
- curl: don't enable debug builds
|
||||
- cve_check: cleanup logging
|
||||
- dbus: Add missing :term:`CVE_PRODUCT`
|
||||
- dev-manual: sbom: Rephrase spdx creation
|
||||
- dev-manual: runtime-testing: gen-tapdevs need iptables installed
|
||||
- dev-manual: packages: clarify shared :term:`PR` service constraint
|
||||
- dev-manual: packages: need enough free space
|
||||
- dev-manual: start: remove idle line
|
||||
- feature-microblaze-versions.inc: python 3.12 regex
|
||||
- ghostscript: correct :term:`LICENSE` with AGPLv3
|
||||
- image-live.bbclass: LIVE_ROOTFS_TYPE support compression
|
||||
- kernel.bbclass: Set pkg-config variables for building modules
|
||||
- kernel.bbclass: introduce KERNEL_LOCALVERSION
|
||||
- kernel: fix localversion in v6.3+
|
||||
- kernel: make LOCALVERSION consistent between recipes
|
||||
- ldconfig-native: Fix to point correctly on the DT_NEEDED entries in an ELF file
|
||||
- librsvg: Fix do_package_qa error for librsvg
|
||||
- linux-firmware: upgrade to 20231211
|
||||
- linux-yocto/5.10: update to v5.10.210
|
||||
- linux-yocto/5.15: update to v5.15.150
|
||||
- manuals: add minimum RAM requirements
|
||||
- manuals: suppress excess use of "following" word
|
||||
- manuals: update disk space requirements
|
||||
- manuals: update references to buildtools
|
||||
- manuals: updates for building on Windows (WSL 2)
|
||||
- meta/lib/oeqa: python 3.12 regex
|
||||
- meta/recipes: python 3.12 regex
|
||||
- migration-guide: add release notes for 4.0.16
|
||||
- oeqa/selftest/oelib/buildhistory: git default branch
|
||||
- oeqa/selftest/recipetool: downgrade meson version to not use pyproject.toml
|
||||
- oeqa/selftest/recipetool: expect meson.bb
|
||||
- oeqa/selftest/recipetool: fix for python 3.12
|
||||
- oeqa/selftest/runtime_test: only run the virgl tests on qemux86-64
|
||||
- oeqa: replace deprecated assertEquals
|
||||
- openssl: Upgrade to 3.0.13
|
||||
- poky.conf: bump version for 4.0.17
|
||||
- populate_sdk_ext: use ConfigParser instead of SafeConfigParser
|
||||
- python3-jinja2: upgrade to 3.1.3
|
||||
- recipetool/create_buildsys_python: use importlib instead of imp
|
||||
- ref-manual: system-requirements: recommend buildtools for not supported distros
|
||||
- ref-manual: system-requirements: add info on buildtools-make-tarball
|
||||
- ref-manual: release-process: grammar fix
|
||||
- ref-manual: system-requirements: fix AlmaLinux variable name
|
||||
- ref-manual: system-requirements: modify anchor
|
||||
- ref-manual: system-requirements: remove outdated note
|
||||
- ref-manual: system-requirements: simplify supported distro requirements
|
||||
- ref-manual: system-requirements: update packages to build docs
|
||||
- scripts/runqemu: add qmp socket support
|
||||
- scripts/runqemu: direct mesa to use its own drivers, rather than ones provided by host distro
|
||||
- scripts/runqemu: fix regex escape sequences
|
||||
- scripts: python 3.12 regex
|
||||
- selftest: skip virgl gtk/sdl test on ubuntu 18.04
|
||||
- systemd: Only add myhostname to nsswitch.conf if in :term:`PACKAGECONFIG`
|
||||
- tzdata : Upgrade to 2024a
|
||||
- u-boot: Move UBOOT_INITIAL_ENV back to u-boot.inc
|
||||
- useradd-example: do not use unsupported clear text password
|
||||
- vim: upgrade to v9.0.2190
|
||||
- yocto-bsp: update to v5.15.150
|
||||
|
||||
|
||||
Known Issues in Yocto-4.0.17
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
- N/A
|
||||
|
||||
|
||||
Contributors to Yocto-4.0.17
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
- Adrian Freihofer
|
||||
- Alassane Yattara
|
||||
- Alexander Kanavin
|
||||
- Alexander Sverdlin
|
||||
- Archana Polampalli
|
||||
- Baruch Siach
|
||||
- Bruce Ashfield
|
||||
- Chen Qi
|
||||
- Chris Laplante
|
||||
- Deepthi Hemraj
|
||||
- Dhairya Nagodra
|
||||
- Fabien Mahot
|
||||
- Fabio Estevam
|
||||
- Hitendra Prajapati
|
||||
- Hugo SIMELIERE
|
||||
- Jermain Horsman
|
||||
- Kai Kang
|
||||
- Lee Chee Yang
|
||||
- Ludovic Jozeau
|
||||
- Michael Opdenacker
|
||||
- Ming Liu
|
||||
- Munehisa Kamata
|
||||
- Narpat Mali
|
||||
- Nikhil R
|
||||
- Paul Eggleton
|
||||
- Paulo Neves
|
||||
- Peter Marko
|
||||
- Philip Lorenz
|
||||
- Poonam Jadhav
|
||||
- Priyal Doshi
|
||||
- Ross Burton
|
||||
- Simone Weiß
|
||||
- Soumya Sambu
|
||||
- Steve Sakoman
|
||||
- Tim Orling
|
||||
- Trevor Gamblin
|
||||
- Vijay Anusuri
|
||||
- Vivek Kumbhar
|
||||
- Wang Mingyu
|
||||
- Zahir Hussain
|
||||
|
||||
|
||||
Repositories / Downloads for Yocto-4.0.17
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
poky
|
||||
|
||||
- Repository Location: :yocto_git:`/poky`
|
||||
- Branch: :yocto_git:`kirkstone </poky/log/?h=kirkstone>`
|
||||
- Tag: :yocto_git:`yocto-4.0.17 </poky/log/?h=yocto-4.0.17>`
|
||||
- Git Revision: :yocto_git:`6d1a878bbf24c66f7186b270f823fcdf82e35383 </poky/commit/?id=6d1a878bbf24c66f7186b270f823fcdf82e35383>`
|
||||
- Release Artefact: poky-6d1a878bbf24c66f7186b270f823fcdf82e35383
|
||||
- sha: 3bc3010340b674f7b0dd0a7997f0167b2240b794fbd4aa28c0c4217bddd15e30
|
||||
- Download Locations:
|
||||
http://downloads.yoctoproject.org/releases/yocto/yocto-4.0.17/poky-6d1a878bbf24c66f7186b270f823fcdf82e35383.tar.bz2
|
||||
http://mirrors.kernel.org/yocto/yocto/yocto-4.0.17/poky-6d1a878bbf24c66f7186b270f823fcdf82e35383.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.17 </openembedded-core/log/?h=yocto-4.0.17>`
|
||||
- Git Revision: :oe_git:`2501534c9581c6c3439f525d630be11554a57d24 </openembedded-core/commit/?id=2501534c9581c6c3439f525d630be11554a57d24>`
|
||||
- Release Artefact: oecore-2501534c9581c6c3439f525d630be11554a57d24
|
||||
- sha: 52cc6cce9e920bdce078584b89136e81cc01e0c55616fab5fca6c3e04264c88e
|
||||
- Download Locations:
|
||||
http://downloads.yoctoproject.org/releases/yocto/yocto-4.0.17/oecore-2501534c9581c6c3439f525d630be11554a57d24.tar.bz2
|
||||
http://mirrors.kernel.org/yocto/yocto/yocto-4.0.17/oecore-2501534c9581c6c3439f525d630be11554a57d24.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.17 </meta-mingw/log/?h=yocto-4.0.17>`
|
||||
- Git Revision: :yocto_git:`f6b38ce3c90e1600d41c2ebb41e152936a0357d7 </meta-mingw/commit/?id=f6b38ce3c90e1600d41c2ebb41e152936a0357d7>`
|
||||
- Release Artefact: meta-mingw-f6b38ce3c90e1600d41c2ebb41e152936a0357d7
|
||||
- sha: 7d57167c19077f4ab95623d55a24c2267a3a3fb5ed83688659b4c03586373b25
|
||||
- Download Locations:
|
||||
http://downloads.yoctoproject.org/releases/yocto/yocto-4.0.17/meta-mingw-f6b38ce3c90e1600d41c2ebb41e152936a0357d7.tar.bz2
|
||||
http://mirrors.kernel.org/yocto/yocto/yocto-4.0.17/meta-mingw-f6b38ce3c90e1600d41c2ebb41e152936a0357d7.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.17 </meta-gplv2/log/?h=yocto-4.0.17>`
|
||||
- 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.17/meta-gplv2-d2f8b5cdb285b72a4ed93450f6703ca27aa42e8a.tar.bz2
|
||||
http://mirrors.kernel.org/yocto/yocto/yocto-4.0.17/meta-gplv2-d2f8b5cdb285b72a4ed93450f6703ca27aa42e8a.tar.bz2
|
||||
|
||||
meta-clang
|
||||
|
||||
- Repository Location: :yocto_git:`/meta-clang`
|
||||
- Branch: :yocto_git:`kirkstone </meta-clang/log/?h=kirkstone>`
|
||||
- Tag: :yocto_git:`yocto-4.0.17 </meta-clang/log/?h=yocto-4.0.17>`
|
||||
- Git Revision: :yocto_git:`eebe4ff2e539f3ffb01c5060cc4ca8b226ea8b52 </meta-clang/commit/?id=eebe4ff2e539f3ffb01c5060cc4ca8b226ea8b52>`
|
||||
- Release Artefact: meta-clang-eebe4ff2e539f3ffb01c5060cc4ca8b226ea8b52
|
||||
- sha: 3299e96e069a22c0971e903fbc191f2427efffc83d910ac51bf0237caad01d17
|
||||
- Download Locations:
|
||||
http://downloads.yoctoproject.org/releases/yocto/yocto-4.0.17/meta-clang-eebe4ff2e539f3ffb01c5060cc4ca8b226ea8b52.tar.bz2
|
||||
http://mirrors.kernel.org/yocto/yocto/yocto-4.0.17/meta-clang-eebe4ff2e539f3ffb01c5060cc4ca8b226ea8b52.tar.bz2
|
||||
|
||||
bitbake
|
||||
|
||||
- Repository Location: :oe_git:`/bitbake`
|
||||
- Branch: :oe_git:`2.0 </bitbake/log/?h=2.0>`
|
||||
- Tag: :oe_git:`yocto-4.0.17 </bitbake/log/?h=yocto-4.0.17>`
|
||||
- Git Revision: :oe_git:`40fd5f4eef7460ca67f32cfce8e229e67e1ff607 </bitbake/commit/?id=40fd5f4eef7460ca67f32cfce8e229e67e1ff607>`
|
||||
- Release Artefact: bitbake-40fd5f4eef7460ca67f32cfce8e229e67e1ff607
|
||||
- sha: 5d20a0e4c5d0fce44bd84778168714a261a30a4b83f67c88df3b8a7e7115e444
|
||||
- Download Locations:
|
||||
http://downloads.yoctoproject.org/releases/yocto/yocto-4.0.17/bitbake-40fd5f4eef7460ca67f32cfce8e229e67e1ff607.tar.bz2
|
||||
http://mirrors.kernel.org/yocto/yocto/yocto-4.0.17/bitbake-40fd5f4eef7460ca67f32cfce8e229e67e1ff607.tar.bz2
|
||||
|
||||
yocto-docs
|
||||
|
||||
- Repository Location: :yocto_git:`/yocto-docs`
|
||||
- Branch: :yocto_git:`kirkstone </yocto-docs/log/?h=kirkstone>`
|
||||
- Tag: :yocto_git:`yocto-4.0.17 </yocto-docs/log/?h=yocto-4.0.17>`
|
||||
- Git Revision: :yocto_git:`08ce7db2aa3a38deb8f5aa59bafc78542986babb </yocto-docs/commit/?id=08ce7db2aa3a38deb8f5aa59bafc78542986babb>`
|
||||
|
||||
200
documentation/migration-guides/release-notes-4.3.3.rst
Normal file
200
documentation/migration-guides/release-notes-4.3.3.rst
Normal file
@@ -0,0 +1,200 @@
|
||||
.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
|
||||
|
||||
Release notes for Yocto-4.3.3 (Nanbield)
|
||||
----------------------------------------
|
||||
|
||||
Security Fixes in Yocto-4.3.3
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
- curl: Fix :cve:`2023-46219`
|
||||
- glibc: Ignore fixed :cve:`2023-0687` and :cve:`2023-5156`
|
||||
- linux-yocto/6.1: Ignore :cve:`2022-48619`, :cve:`2023-4610`, :cve:`2023-5178`, :cve:`2023-5972`, :cve:`2023-6040`, :cve:`2023-6531`, :cve:`2023-6546`, :cve:`2023-6622`, :cve:`2023-6679`, :cve:`2023-6817`, :cve:`2023-6931`, :cve:`2023-6932`, :cve:`2023-7192`, :cve:`2024-0193` and :cve:`2024-0443`
|
||||
- linux-yocto/6.1: Fix :cve:`2023-1193`, :cve_mitre:`2023-51779`, :cve:`2023-51780`, :cve:`2023-51781`, :cve:`2023-51782` and :cve:`2023-6606`
|
||||
- qemu: Fix :cve:`2023-3019`
|
||||
- shadow: Fix :cve:`2023-4641`
|
||||
- sqlite3: Fix :cve:`2024-0232`
|
||||
- sqlite3: drop obsolete CVE ignore :cve:`2023-36191`
|
||||
- sudo: Fix :cve:`2023-42456` and :cve:`2023-42465`
|
||||
- tiff: Fix :cve:`2023-6277`
|
||||
- xwayland: Fix :cve:`2023-6377` and :cve:`2023-6478`
|
||||
|
||||
|
||||
Fixes in Yocto-4.3.3
|
||||
~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
- aspell: upgrade to 0.60.8.1
|
||||
- avahi: update URL for new project location
|
||||
- base-passwd: upgrade to 3.6.3
|
||||
- bitbake: asyncrpc: Add context manager API
|
||||
- bitbake: toaster/toastergui: Bug-fix verify given layer path only if import/add local layer
|
||||
- build-appliance-image: Update to nanbield head revision
|
||||
- classes-global/sstate: Fix variable typo
|
||||
- cmake: Unset CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES
|
||||
- contributor-guide: fix lore URL
|
||||
- contributor-guide: use "apt" instead of "aptitude"
|
||||
- create-spdx-2.2: combine spdx can try to write before dir creation
|
||||
- curl: Disable test 1091 due to intermittent failures
|
||||
- curl: Disable two intermittently failing tests
|
||||
- dev-manual: gen-tapdevs need iptables installed
|
||||
- dev-manual: start.rst: Update use of Download page
|
||||
- dev-manual: update license manifest path
|
||||
- devtool: deploy: provide max_process to strip_execs
|
||||
- devtool: modify: Handle recipes with a menuconfig task correctly
|
||||
- docs: document VSCode extension
|
||||
- dtc: preserve version also from shallow git clones
|
||||
- elfutils: Update license information
|
||||
- glib-2.0: upgrade to 2.78.3
|
||||
- glibc-y2038-tests: do not run tests using 32 bit time APIs
|
||||
- go: upgrade to 1.20.12
|
||||
- grub: fs/fat: Don't error when mtime is 0
|
||||
- gstreamer1.0: upgrade to 1.22.8
|
||||
- icon-naming-utils: take tarball from debian
|
||||
- kea: upgrade to 2.4.1
|
||||
- lib/prservice: Improve lock handling robustness
|
||||
- libadwaita: upgrade to 1.4.2
|
||||
- libatomic-ops: upgrade to 7.8.2
|
||||
- libva-utils: upgrade to 2.20.1
|
||||
- linux-firmware: Change bnx2 packaging
|
||||
- linux-firmware: Create bnx2x subpackage
|
||||
- linux-firmware: Fix the linux-firmware-bcm4373 :term:`FILES` variable
|
||||
- linux-firmware: Package iwlwifi .pnvm files
|
||||
- linux-yocto/6.1: security/cfg: add configs to harden protection
|
||||
- linux-yocto/6.1: update to v6.1.73
|
||||
- meta/documentation.conf: fix do_menuconfig description
|
||||
- migration-guide: add release notes for 4.0.16
|
||||
- migration-guide: add release notes for 4.3.2
|
||||
- ncurses: Fix - tty is hung after reset
|
||||
- nfs-utils: Update Upstream-Status
|
||||
- nfs-utils: upgrade to 2.6.4
|
||||
- oeqa/selftest/prservice: Improve test robustness
|
||||
- package.py: OEHasPackage: Add :term:`MLPREFIX` to packagename
|
||||
- poky.conf: bump version for 4.3.3 release
|
||||
- pseudo: Update to pull in syncfs probe fix
|
||||
- python3-license-expression: Fix the ptest failure
|
||||
- qemu.bbclass: fix a python TypeError
|
||||
- qemu: upgrade to 8.1.4
|
||||
- ref-manual: Add UBOOT_BINARY, extend :term:`UBOOT_CONFIG`
|
||||
- ref-manual: classes: remove insserv bbclass
|
||||
- ref-manual: update tested and supported distros
|
||||
- release-notes-4.3: fix spacing
|
||||
- rootfs.py: check depmodwrapper execution result
|
||||
- rpcbind: Specify state directory under /run
|
||||
- scripts/runqemu: fix regex escape sequences
|
||||
- sqlite3: upgrade to 3.43.2
|
||||
- sstate: Fix dir ownership issues in :term:`SSTATE_DIR`
|
||||
- sudo: upgrade to 1.9.15p5
|
||||
- tcl: Fix prepending to run-ptest script
|
||||
- uninative-tarball.xz - reproducibility fix
|
||||
- xwayland: upgrade to 23.2.3
|
||||
- zstd: fix :term:`LICENSE` statement
|
||||
|
||||
|
||||
Known Issues in Yocto-4.3.3
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
- N/A
|
||||
|
||||
|
||||
Contributors to Yocto-4.3.3
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
- Alassane Yattara
|
||||
- Alexander Kanavin
|
||||
- Anuj Mittal
|
||||
- Baruch Siach
|
||||
- Bruce Ashfield
|
||||
- Chen Qi
|
||||
- Clay Chang
|
||||
- Enguerrand de Ribaucourt
|
||||
- Ilya A. Kriveshko
|
||||
- Jason Andryuk
|
||||
- Jeremy A. Puhlman
|
||||
- Joao Marcos Costa
|
||||
- Jose Quaresma
|
||||
- Joshua Watt
|
||||
- Jörg Sommer
|
||||
- Khem Raj
|
||||
- Lee Chee Yang
|
||||
- Markus Volk
|
||||
- Massimiliano Minella
|
||||
- Maxin B. John
|
||||
- Michael Opdenacker
|
||||
- Ming Liu
|
||||
- Mingli Yu
|
||||
- Peter Kjellerstedt
|
||||
- Peter Marko
|
||||
- Richard Purdie
|
||||
- Robert Berger
|
||||
- Robert Yang
|
||||
- Rodrigo M. Duarte
|
||||
- Ross Burton
|
||||
- Saul Wold
|
||||
- Simone Weiß
|
||||
- Soumya Sambu
|
||||
- Steve Sakoman
|
||||
- Trevor Gamblin
|
||||
- Wang Mingyu
|
||||
- William Lyu
|
||||
- Xiangyu Chen
|
||||
- Yang Xu
|
||||
- Zahir Hussain
|
||||
|
||||
|
||||
Repositories / Downloads for Yocto-4.3.3
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
poky
|
||||
|
||||
- Repository Location: :yocto_git:`/poky`
|
||||
- Branch: :yocto_git:`nanbield </poky/log/?h=nanbield>`
|
||||
- Tag: :yocto_git:`yocto-4.3.3 </poky/log/?h=yocto-4.3.3>`
|
||||
- Git Revision: :yocto_git:`d3b27346c3a4a7ef7ec517e9d339d22bda74349d </poky/commit/?id=d3b27346c3a4a7ef7ec517e9d339d22bda74349d>`
|
||||
- Release Artefact: poky-d3b27346c3a4a7ef7ec517e9d339d22bda74349d
|
||||
- sha: 2db39f1bf7bbcee039e9970eed1f6f9233bcc95d675159647c9a2a334fc81eb0
|
||||
- Download Locations:
|
||||
http://downloads.yoctoproject.org/releases/yocto/yocto-4.3.3/poky-d3b27346c3a4a7ef7ec517e9d339d22bda74349d.tar.bz2
|
||||
http://mirrors.kernel.org/yocto/yocto/yocto-4.3.3/poky-d3b27346c3a4a7ef7ec517e9d339d22bda74349d.tar.bz2
|
||||
|
||||
openembedded-core
|
||||
|
||||
- Repository Location: :oe_git:`/openembedded-core`
|
||||
- Branch: :oe_git:`nanbield </openembedded-core/log/?h=nanbield>`
|
||||
- Tag: :oe_git:`yocto-4.3.3 </openembedded-core/log/?h=yocto-4.3.3>`
|
||||
- Git Revision: :oe_git:`0584d01f623e1f9b0fef4dfa95dd66de6cbfb7b3 </openembedded-core/commit/?id=0584d01f623e1f9b0fef4dfa95dd66de6cbfb7b3>`
|
||||
- Release Artefact: oecore-0584d01f623e1f9b0fef4dfa95dd66de6cbfb7b3
|
||||
- sha: 730de0d5744f139322402ff9a6b2483c6ab929f704cec06258ae51de1daebe3d
|
||||
- Download Locations:
|
||||
http://downloads.yoctoproject.org/releases/yocto/yocto-4.3.3/oecore-0584d01f623e1f9b0fef4dfa95dd66de6cbfb7b3.tar.bz2
|
||||
http://mirrors.kernel.org/yocto/yocto/yocto-4.3.3/oecore-0584d01f623e1f9b0fef4dfa95dd66de6cbfb7b3.tar.bz2
|
||||
|
||||
meta-mingw
|
||||
|
||||
- Repository Location: :yocto_git:`/meta-mingw`
|
||||
- Branch: :yocto_git:`nanbield </meta-mingw/log/?h=nanbield>`
|
||||
- Tag: :yocto_git:`yocto-4.3.3 </meta-mingw/log/?h=yocto-4.3.3>`
|
||||
- Git Revision: :yocto_git:`49617a253e09baabbf0355bc736122e9549c8ab2 </meta-mingw/commit/?id=49617a253e09baabbf0355bc736122e9549c8ab2>`
|
||||
- Release Artefact: meta-mingw-49617a253e09baabbf0355bc736122e9549c8ab2
|
||||
- sha: 2225115b73589cdbf1e491115221035c6a61679a92a93b2a3cf761ff87bf4ecc
|
||||
- Download Locations:
|
||||
http://downloads.yoctoproject.org/releases/yocto/yocto-4.3.3/meta-mingw-49617a253e09baabbf0355bc736122e9549c8ab2.tar.bz2
|
||||
http://mirrors.kernel.org/yocto/yocto/yocto-4.3.3/meta-mingw-49617a253e09baabbf0355bc736122e9549c8ab2.tar.bz2
|
||||
|
||||
bitbake
|
||||
|
||||
- Repository Location: :oe_git:`/bitbake`
|
||||
- Branch: :oe_git:`2.6 </bitbake/log/?h=2.6>`
|
||||
- Tag: :oe_git:`yocto-4.3.3 </bitbake/log/?h=yocto-4.3.3>`
|
||||
- Git Revision: :oe_git:`380a9ac97de5774378ded5e37d40b79b96761a0c </bitbake/commit/?id=380a9ac97de5774378ded5e37d40b79b96761a0c>`
|
||||
- Release Artefact: bitbake-380a9ac97de5774378ded5e37d40b79b96761a0c
|
||||
- sha: 78f579b9d29e72d09b6fb10ac62aa925104335e92d2afb3155bc9ab1994e36c1
|
||||
- Download Locations:
|
||||
http://downloads.yoctoproject.org/releases/yocto/yocto-4.3.3/bitbake-380a9ac97de5774378ded5e37d40b79b96761a0c.tar.bz2
|
||||
http://mirrors.kernel.org/yocto/yocto/yocto-4.3.3/bitbake-380a9ac97de5774378ded5e37d40b79b96761a0c.tar.bz2
|
||||
|
||||
yocto-docs
|
||||
|
||||
- Repository Location: :yocto_git:`/yocto-docs`
|
||||
- Branch: :yocto_git:`nanbield </yocto-docs/log/?h=nanbield>`
|
||||
- Tag: :yocto_git:`yocto-4.3.3 </yocto-docs/log/?h=yocto-4.3.3>`
|
||||
- Git Revision: :yocto_git:`dde4b815db82196af086847f68ee27d7902b4ffa </yocto-docs/commit/?id=dde4b815db82196af086847f68ee27d7902b4ffa>`
|
||||
|
||||
@@ -37,7 +37,7 @@ to each data source as a layer. For information on layers, see the
|
||||
":ref:`dev-manual/layers:understanding and creating layers`"
|
||||
section of the Yocto Project Development Tasks Manual.
|
||||
|
||||
Following are some brief details on these core components. For
|
||||
Here are some brief details on these core components. For
|
||||
additional information on how these components interact during a build,
|
||||
see the
|
||||
":ref:`overview-manual/concepts:openembedded build system concepts`"
|
||||
@@ -1321,7 +1321,7 @@ can initialize the environment before using the tools.
|
||||
All the output files for an SDK are written to the ``deploy/sdk`` folder
|
||||
inside the :term:`Build Directory` as shown in the previous figure. Depending
|
||||
on the type of SDK, there are several variables to configure these files.
|
||||
Here are the variables associated with an extensible SDK:
|
||||
The variables associated with an extensible SDK are:
|
||||
|
||||
- :term:`DEPLOY_DIR`: Points to
|
||||
the ``deploy`` directory.
|
||||
@@ -1375,7 +1375,7 @@ This next list, shows the variables associated with a standard SDK:
|
||||
Lists packages that make up the target part of the SDK (i.e. the part
|
||||
built for the target hardware).
|
||||
|
||||
- :term:`SDKPATH`: Defines the
|
||||
- :term:`SDKPATHINSTALL`: Defines the
|
||||
default SDK installation path offered by the installation script.
|
||||
|
||||
- :term:`SDK_HOST_MANIFEST`:
|
||||
@@ -2238,7 +2238,7 @@ which is integrating ``sayhello`` in our root file system:
|
||||
#. Add ``sayhello`` to :term:`IMAGE_INSTALL` to integrate it into
|
||||
the root file system
|
||||
|
||||
The following are the contents of ``libhello/Makefile``::
|
||||
The contents of ``libhello/Makefile`` are::
|
||||
|
||||
LIB=libhello.so
|
||||
|
||||
@@ -2266,7 +2266,7 @@ The following are the contents of ``libhello/Makefile``::
|
||||
and ``CFLAGS`` as BitBake will set them as environment variables according
|
||||
to your build configuration.
|
||||
|
||||
The following are the contents of ``libhello/hellolib.h``::
|
||||
The contents of ``libhello/hellolib.h`` are::
|
||||
|
||||
#ifndef HELLOLIB_H
|
||||
#define HELLOLIB_H
|
||||
@@ -2275,7 +2275,7 @@ The following are the contents of ``libhello/hellolib.h``::
|
||||
|
||||
#endif
|
||||
|
||||
The following are the contents of ``libhello/hellolib.c``::
|
||||
The contents of ``libhello/hellolib.c`` are::
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
@@ -2283,7 +2283,7 @@ The following are the contents of ``libhello/hellolib.c``::
|
||||
puts("Hello from a Yocto demo \n");
|
||||
}
|
||||
|
||||
The following are the contents of ``sayhello/Makefile``::
|
||||
The contents of ``sayhello/Makefile`` are::
|
||||
|
||||
EXEC=sayhello
|
||||
LDFLAGS += -lhello
|
||||
@@ -2296,7 +2296,7 @@ The following are the contents of ``sayhello/Makefile``::
|
||||
clean:
|
||||
rm -rf $(EXEC) *.o
|
||||
|
||||
The following are the contents of ``sayhello/sayhello.c``::
|
||||
The contents of ``sayhello/sayhello.c`` are::
|
||||
|
||||
#include <hellolib.h>
|
||||
|
||||
@@ -2305,7 +2305,7 @@ The following are the contents of ``sayhello/sayhello.c``::
|
||||
return 0;
|
||||
}
|
||||
|
||||
The following are the contents of ``libhello_0.1.bb``::
|
||||
The contents of ``libhello_0.1.bb`` are::
|
||||
|
||||
SUMMARY = "Hello demo library"
|
||||
DESCRIPTION = "Hello shared library used in Yocto demo"
|
||||
@@ -2328,7 +2328,7 @@ The following are the contents of ``libhello_0.1.bb``::
|
||||
oe_soinstall ${PN}.so.${PV} ${D}${libdir}
|
||||
}
|
||||
|
||||
The following are the contents of ``sayhello_0.1.bb``::
|
||||
The contents of ``sayhello_0.1.bb`` are::
|
||||
|
||||
SUMMARY = "SayHello demo"
|
||||
DESCRIPTION = "SayHello project used in Yocto demo"
|
||||
|
||||
@@ -737,7 +737,7 @@ workflow:
|
||||
.. image:: figures/YP-flow-diagram.png
|
||||
:width: 100%
|
||||
|
||||
Following is a brief summary of the "workflow":
|
||||
Here is a brief summary of the "workflow":
|
||||
|
||||
#. Developers specify architecture, policies, patches and configuration
|
||||
details.
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -392,7 +392,7 @@ and BusyBox. It could have been called "kconfig" too.
|
||||
``compress_doc``
|
||||
================
|
||||
|
||||
Enables compression for man pages and info pages. This class is intended
|
||||
Enables compression for manual and info pages. This class is intended
|
||||
to be inherited globally. The default compression mechanism is gz (gzip)
|
||||
but you can select an alternative mechanism by setting the
|
||||
:term:`DOC_COMPRESS` variable.
|
||||
@@ -664,7 +664,7 @@ information about using :ref:`ref-classes-devshell`.
|
||||
The :ref:`ref-classes-devupstream` class uses
|
||||
:term:`BBCLASSEXTEND` to add a variant of the
|
||||
recipe that fetches from an alternative URI (e.g. Git) instead of a
|
||||
tarball. Following is an example::
|
||||
tarball. Here is an example::
|
||||
|
||||
BBCLASSEXTEND = "devupstream:target"
|
||||
SRC_URI:class-devupstream = "git://git.example.com/example;branch=main"
|
||||
@@ -1217,8 +1217,8 @@ Please keep in mind that the QA checks
|
||||
are meant to detect real or potential problems in the packaged
|
||||
output. So exercise caution when disabling these checks.
|
||||
|
||||
Here are the tests you can list with the :term:`WARN_QA` and
|
||||
:term:`ERROR_QA` variables:
|
||||
The tests you can list with the :term:`WARN_QA` and
|
||||
:term:`ERROR_QA` variables are:
|
||||
|
||||
- ``already-stripped:`` Checks that produced binaries have not
|
||||
already been stripped prior to the build system extracting debug
|
||||
@@ -3217,7 +3217,7 @@ information.
|
||||
The :ref:`ref-classes-uboot-sign` class provides support for U-Boot verified boot.
|
||||
It is intended to be inherited from U-Boot recipes.
|
||||
|
||||
Here are variables used by this class:
|
||||
The variables used by this class are:
|
||||
|
||||
- :term:`SPL_MKIMAGE_DTCOPTS`: DTC options for U-Boot ``mkimage`` when
|
||||
building the FIT image.
|
||||
|
||||
@@ -378,7 +378,7 @@ command::
|
||||
Unless you provide a specific recipe name on the command line, the
|
||||
command checks all recipes in all configured layers.
|
||||
|
||||
Following is a partial example table that reports on all the recipes::
|
||||
Here is a partial example table that reports on all the recipes::
|
||||
|
||||
$ devtool check-upgrade-status
|
||||
...
|
||||
@@ -598,7 +598,7 @@ The ``devtool status`` command has no command-line options::
|
||||
|
||||
$ devtool status
|
||||
|
||||
Following is sample output after using
|
||||
Here is sample output after using
|
||||
:ref:`devtool add <ref-manual/devtool-reference:adding a new recipe to the workspace layer>`
|
||||
to create and add the ``mtr_0.86.bb`` recipe to the ``workspace`` directory::
|
||||
|
||||
|
||||
@@ -90,7 +90,7 @@ HTTPS requests and direct them to the ``http://`` sources mirror. You
|
||||
can use ``file://`` URLs to point to local directories or network shares
|
||||
as well.
|
||||
|
||||
Here are other options::
|
||||
Another option is to set::
|
||||
|
||||
BB_NO_NETWORK = "1"
|
||||
|
||||
@@ -106,7 +106,7 @@ This statement limits the build system to pulling source from the
|
||||
:term:`PREMIRRORS` only. Again, this technique is useful for reproducing
|
||||
builds.
|
||||
|
||||
Here is another technique::
|
||||
Here is yet another technique::
|
||||
|
||||
BB_GENERATE_MIRROR_TARBALLS = "1"
|
||||
|
||||
@@ -135,7 +135,7 @@ Most source fetching by the OpenEmbedded build system is done by
|
||||
single user or can be in ``/usr/local/etc/wgetrc`` as a global user
|
||||
file.
|
||||
|
||||
Following is the applicable code for setting various proxy types in the
|
||||
Here is the applicable code for setting various proxy types in the
|
||||
``.wgetrc`` file. By default, these settings are disabled with comments.
|
||||
To use them, remove the comments::
|
||||
|
||||
|
||||
@@ -268,7 +268,7 @@ you can add several different predefined packages such as development
|
||||
utilities or packages with debug information needed to investigate
|
||||
application problems or profile applications.
|
||||
|
||||
Here are the image features available for all images:
|
||||
The image features available for all images are:
|
||||
|
||||
- *allow-empty-password:* Allows Dropbear and OpenSSH to accept
|
||||
logins from accounts having an empty password string.
|
||||
|
||||
@@ -32,7 +32,7 @@ that contain image recipe files::
|
||||
|
||||
$ ls meta*/recipes*/images/*.bb
|
||||
|
||||
Following is a list of supported recipes:
|
||||
Here is a list of supported recipes:
|
||||
|
||||
- ``build-appliance-image``: An example virtual machine that contains
|
||||
all the pieces required to run builds using the build system as well
|
||||
|
||||
@@ -14,7 +14,7 @@ Major and Minor Release Cadence
|
||||
|
||||
The Yocto Project delivers major releases (e.g. &DISTRO;) using a six
|
||||
month cadence roughly timed each April and October of the year.
|
||||
Following are examples of some major YP releases with their codenames
|
||||
Here are examples of some major YP releases with their codenames
|
||||
also shown. See the ":ref:`ref-manual/release-process:major release codenames`"
|
||||
section for information on codenames used with major releases.
|
||||
|
||||
@@ -29,8 +29,8 @@ major holidays in various geographies.
|
||||
|
||||
The Yocto project delivers minor (point) releases on an unscheduled
|
||||
basis and are usually driven by the accumulation of enough significant
|
||||
fixes or enhancements to the associated major release. Following are
|
||||
some example past point releases:
|
||||
fixes or enhancements to the associated major release.
|
||||
Some example past point releases are:
|
||||
|
||||
- 4.1.3
|
||||
- 4.0.8
|
||||
@@ -175,7 +175,7 @@ consists of the following pieces:
|
||||
piece of software. The test allows the packages to be run within a
|
||||
target image.
|
||||
|
||||
- ``oe-selftest``: Tests combination BitBake invocations. These tests
|
||||
- ``oe-selftest``: Tests combinations of BitBake invocations. These tests
|
||||
operate outside the OpenEmbedded build system itself. The
|
||||
``oe-selftest`` can run all tests by default or can run selected
|
||||
tests or test suites.
|
||||
|
||||
@@ -537,7 +537,7 @@ recipe-specific :term:`WORKDIR` directories. Thus, the
|
||||
This directory holds information that BitBake uses for accounting
|
||||
purposes to track what tasks have run and when they have run. The
|
||||
directory is sub-divided by architecture, package name, and version.
|
||||
Following is an example::
|
||||
Here is an example::
|
||||
|
||||
stamps/all-poky-linux/distcc-config/1.0-r0.do_build-2fdd....2do
|
||||
|
||||
|
||||
@@ -168,8 +168,8 @@ with a supported Ubuntu or Debian Linux distribution::
|
||||
|
||||
Here are the packages needed to build Project documentation manuals::
|
||||
|
||||
$ sudo apt install make python3-pip inkscape texlive-latex-extra
|
||||
&PIP3_HOST_PACKAGES_DOC;
|
||||
$ sudo apt install git make inkscape texlive-latex-extra
|
||||
$ sudo apt install sphinx python3-saneyaml python3-sphinx-rtd-theme
|
||||
|
||||
Fedora Packages
|
||||
---------------
|
||||
@@ -181,7 +181,7 @@ with a supported Fedora Linux distribution::
|
||||
|
||||
Here are the packages needed to build Project documentation manuals::
|
||||
|
||||
$ sudo dnf install make python3-pip which inkscape texlive-fncychap
|
||||
$ sudo dnf install git make python3-pip which inkscape texlive-fncychap
|
||||
&PIP3_HOST_PACKAGES_DOC;
|
||||
|
||||
openSUSE Packages
|
||||
@@ -194,7 +194,7 @@ with a supported openSUSE distribution::
|
||||
|
||||
Here are the packages needed to build Project documentation manuals::
|
||||
|
||||
$ sudo zypper install make python3-pip which inkscape texlive-fncychap
|
||||
$ sudo zypper install git make python3-pip which inkscape texlive-fncychap
|
||||
&PIP3_HOST_PACKAGES_DOC;
|
||||
|
||||
|
||||
@@ -221,7 +221,7 @@ with a supported AlmaLinux distribution::
|
||||
|
||||
Here are the packages needed to build Project documentation manuals::
|
||||
|
||||
$ sudo dnf install make python3-pip which inkscape texlive-fncychap
|
||||
$ sudo dnf install git make python3-pip which inkscape texlive-fncychap
|
||||
&PIP3_HOST_PACKAGES_DOC;
|
||||
|
||||
.. _system-requirements-buildtools:
|
||||
|
||||
@@ -470,9 +470,29 @@ You can run this task using BitBake as follows::
|
||||
|
||||
$ bitbake -c cleanall recipe
|
||||
|
||||
Typically, you would not normally use the :ref:`ref-tasks-cleanall` task. Do so only
|
||||
if you want to start fresh with the :ref:`ref-tasks-fetch`
|
||||
task.
|
||||
You should never use the :ref:`ref-tasks-cleanall` task in a normal
|
||||
scenario. If you want to start fresh with the :ref:`ref-tasks-fetch` task,
|
||||
use instead::
|
||||
|
||||
$ bitbake -f -c fetch recipe
|
||||
|
||||
.. note::
|
||||
|
||||
The reason to prefer ``bitbake -f -c fetch`` is that the
|
||||
:ref:`ref-tasks-cleanall` task would break in some cases, such as::
|
||||
|
||||
$ bitbake -c fetch recipe
|
||||
$ bitbake -c cleanall recipe-native
|
||||
$ bitbake -c unpack recipe
|
||||
|
||||
because after step 1 there is a stamp file for the
|
||||
:ref:`ref-tasks-fetch` task of ``recipe``, and it won't be removed at
|
||||
step 2 because step 2 uses a different work directory. So the unpack task
|
||||
at step 3 will try to extract the downloaded archive and fail as it has
|
||||
been deleted in step 2.
|
||||
|
||||
Note that this also applies to BitBake from concurrent processes when a
|
||||
shared download directory (:term:`DL_DIR`) is setup.
|
||||
|
||||
.. _ref-tasks-cleansstate:
|
||||
|
||||
@@ -494,6 +514,18 @@ When you run the :ref:`ref-tasks-cleansstate` task, the OpenEmbedded build syste
|
||||
no longer uses any sstate. Consequently, building the recipe from
|
||||
scratch is guaranteed.
|
||||
|
||||
.. note::
|
||||
|
||||
Using :ref:`ref-tasks-cleansstate` with a shared :term:`SSTATE_DIR` is
|
||||
not recommended because it could trigger an error during the build of a
|
||||
separate BitBake instance. This is because the builds check sstate "up
|
||||
front" but download the files later, so it if is deleted in the
|
||||
meantime, it will cause an error but not a total failure as it will
|
||||
rebuild it.
|
||||
|
||||
The reliable and preferred way to force a new build is to use ``bitbake
|
||||
-f`` instead.
|
||||
|
||||
.. note::
|
||||
|
||||
The :ref:`ref-tasks-cleansstate` task cannot remove sstate from a remote sstate
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
Yocto Project Terms
|
||||
*******************
|
||||
|
||||
Following is a list of terms and definitions users new to the Yocto Project
|
||||
Here is a list of terms and definitions users new to the Yocto Project
|
||||
development environment might find helpful. While some of these terms are
|
||||
universal, the list includes them just in case:
|
||||
|
||||
@@ -67,7 +67,7 @@ universal, the list includes them just in case:
|
||||
:term:`TOPDIR` variable points to the :term:`Build Directory`.
|
||||
|
||||
You have a lot of flexibility when creating the :term:`Build Directory`.
|
||||
Following are some examples that show how to create the directory. The
|
||||
Here are some examples that show how to create the directory. The
|
||||
examples assume your :term:`Source Directory` is named ``poky``:
|
||||
|
||||
- Create the :term:`Build Directory` inside your Source Directory and let
|
||||
|
||||
@@ -311,7 +311,7 @@ system and gives an overview of their function and contents.
|
||||
|
||||
:term:`BB_ALLOWED_NETWORKS`
|
||||
Specifies a space-delimited list of hosts that the fetcher is allowed
|
||||
to use to obtain the required source code. Following are
|
||||
to use to obtain the required source code. Here are
|
||||
considerations surrounding this variable:
|
||||
|
||||
- This host list is only used if :term:`BB_NO_NETWORK` is either not set
|
||||
@@ -2292,7 +2292,7 @@ system and gives an overview of their function and contents.
|
||||
:term:`DOC_COMPRESS`
|
||||
When inheriting the :ref:`ref-classes-compress_doc`
|
||||
class, this variable sets the compression policy used when the
|
||||
OpenEmbedded build system compresses man pages and info pages. By
|
||||
OpenEmbedded build system compresses manual and info pages. By
|
||||
default, the compression method used is gz (gzip). Other policies
|
||||
available are xz and bz2.
|
||||
|
||||
@@ -3234,6 +3234,14 @@ system and gives an overview of their function and contents.
|
||||
|
||||
GROUPADD_PARAM:${PN} = "-r netdev"
|
||||
|
||||
More than one group can be added by separating each set of different
|
||||
groups' parameters with a semicolon.
|
||||
|
||||
Here is an example adding multiple groups from the ``useradd-example.bb``
|
||||
file in the ``meta-skeleton`` layer::
|
||||
|
||||
GROUPADD_PARAM:${PN} = "-g 880 group1; -g 890 group2"
|
||||
|
||||
For information on the standard Linux shell command
|
||||
``groupadd``, see https://linux.die.net/man/8/groupadd.
|
||||
|
||||
@@ -6557,7 +6565,7 @@ system and gives an overview of their function and contents.
|
||||
The :term:`PREFERRED_PROVIDER` variable is set with the name (:term:`PN`) of
|
||||
the recipe you prefer to provide "virtual/kernel".
|
||||
|
||||
Following are more examples::
|
||||
Here are more examples::
|
||||
|
||||
PREFERRED_PROVIDER_virtual/xserver = "xserver-xf86"
|
||||
PREFERRED_PROVIDER_virtual/libgl ?= "mesa"
|
||||
@@ -6742,11 +6750,11 @@ system and gives an overview of their function and contents.
|
||||
|
||||
.. note::
|
||||
|
||||
A corresponding mechanism for virtual runtime dependencies
|
||||
(packages) exists. However, the mechanism does not depend on any
|
||||
special functionality beyond ordinary variable assignments. For
|
||||
example, ``VIRTUAL-RUNTIME_dev_manager`` refers to the package of
|
||||
the component that manages the ``/dev`` directory.
|
||||
A corresponding mechanism for virtual runtime dependencies (packages)
|
||||
exists. However, the mechanism does not depend on any special
|
||||
functionality beyond ordinary variable assignments. For example,
|
||||
:term:`VIRTUAL-RUNTIME_dev_manager <VIRTUAL-RUNTIME>` refers to the
|
||||
package of the component that manages the ``/dev`` directory.
|
||||
|
||||
Setting the "preferred provider" for runtime dependencies is as
|
||||
simple as using the following assignment in a configuration file::
|
||||
@@ -7612,6 +7620,10 @@ system and gives an overview of their function and contents.
|
||||
configuration will not take effect.
|
||||
|
||||
:term:`SDKPATH`
|
||||
Defines the path used to collect the SDK components and build the
|
||||
installer.
|
||||
|
||||
:term:`SDKPATHINSTALL`
|
||||
Defines the path offered to the user for installation of the SDK that
|
||||
is generated by the OpenEmbedded build system. The path appears as
|
||||
the default location for installing the SDK when you run the SDK's
|
||||
@@ -7621,7 +7633,7 @@ system and gives an overview of their function and contents.
|
||||
:term:`SDKTARGETSYSROOT`
|
||||
The full path to the sysroot used for cross-compilation within an SDK
|
||||
as it will be when installed into the default
|
||||
:term:`SDKPATH`.
|
||||
:term:`SDKPATHINSTALL`.
|
||||
|
||||
:term:`SECTION`
|
||||
The section in which packages should be categorized. Package
|
||||
@@ -7913,6 +7925,11 @@ system and gives an overview of their function and contents.
|
||||
image), compared to just using the :ref:`ref-classes-create-spdx` class
|
||||
with no option.
|
||||
|
||||
:term:`SPDX_NAMESPACE_PREFIX`
|
||||
This option could be used in order to change the prefix of ``spdxDocument``
|
||||
and the prefix of ``documentNamespace``. It is set by default to
|
||||
``http://spdx.org/spdxdoc``.
|
||||
|
||||
:term:`SPDX_PRETTY`
|
||||
This option makes the SPDX output more human-readable, using
|
||||
identation and newlines, instead of the default output in a
|
||||
@@ -9391,7 +9408,7 @@ system and gives an overview of their function and contents.
|
||||
configuration can define the :term:`UBOOT_MACHINE` and optionally the
|
||||
:term:`IMAGE_FSTYPES` and the :term:`UBOOT_BINARY`.
|
||||
|
||||
Following is an example from the ``meta-freescale`` layer. ::
|
||||
Here is an example from the ``meta-freescale`` layer. ::
|
||||
|
||||
UBOOT_CONFIG ??= "sdcard-ifc-secure-boot sdcard-ifc sdcard-qspi lpuart qspi secure-boot nor"
|
||||
UBOOT_CONFIG[nor] = "ls1021atwr_nor_defconfig"
|
||||
@@ -9868,6 +9885,33 @@ system and gives an overview of their function and contents.
|
||||
Additionally, you should also set the
|
||||
:term:`USERADD_ERROR_DYNAMIC` variable.
|
||||
|
||||
:term:`VIRTUAL-RUNTIME`
|
||||
:term:`VIRTUAL-RUNTIME` is a commonly used prefix for defining virtual
|
||||
packages for runtime usage, typically for use in :term:`RDEPENDS`
|
||||
or in image definitions.
|
||||
|
||||
An example is ``VIRTUAL-RUNTIME_base-utils`` that makes it possible
|
||||
to either use BusyBox based utilities::
|
||||
|
||||
VIRTUAL-RUNTIME_base-utils = "busybox"
|
||||
|
||||
or their full featured implementations from GNU Coreutils
|
||||
and other projects::
|
||||
|
||||
VIRTUAL-RUNTIME_base-utils = "packagegroup-core-base-utils"
|
||||
|
||||
Here are two examples using this virtual runtime package. The
|
||||
first one is in :yocto_git:`initramfs-framework_1.0.bb
|
||||
</poky/tree/meta/recipes-core/initrdscripts/initramfs-framework_1.0.bb?h=scarthgap>`::
|
||||
|
||||
RDEPENDS:${PN} += "${VIRTUAL-RUNTIME_base-utils}"
|
||||
|
||||
The second example is in the :yocto_git:`core-image-initramfs-boot
|
||||
</poky/tree/meta/recipes-core/images/core-image-initramfs-boot.bb?h=scarthgap>`
|
||||
image definition::
|
||||
|
||||
PACKAGE_INSTALL = "${INITRAMFS_SCRIPTS} ${VIRTUAL-RUNTIME_base-utils} base-passwd"
|
||||
|
||||
:term:`VOLATILE_LOG_DIR`
|
||||
Specifies the persistence of the target's ``/var/log`` directory,
|
||||
which is used to house postinstall target log files.
|
||||
@@ -9929,7 +9973,7 @@ system and gives an overview of their function and contents.
|
||||
With the :term:`WKS_FILE_DEPENDS` variable, you have the possibility to
|
||||
specify a list of additional dependencies (e.g. native tools,
|
||||
bootloaders, and so forth), that are required to build Wic images.
|
||||
Following is an example::
|
||||
Here is an example::
|
||||
|
||||
WKS_FILE_DEPENDS = "some-native-tool"
|
||||
|
||||
|
||||
@@ -66,7 +66,7 @@ Follow these steps to locate and hand-install the toolchain:
|
||||
poky-glibc-x86_64-core-image-sato-core2-64-qemux86-64-toolchain-&DISTRO;.sh
|
||||
|
||||
#. *Run the Installer:* Be sure you have execution privileges and run
|
||||
the installer. Following is an example from the ``Downloads``
|
||||
the installer. Here is an example from the ``Downloads``
|
||||
directory::
|
||||
|
||||
$ ~/Downloads/poky-glibc-x86_64-core-image-sato-core2-64-qemux86-64-toolchain-&DISTRO;.sh
|
||||
@@ -165,12 +165,12 @@ build the SDK installer. Follow these steps:
|
||||
variable inside your ``local.conf`` file before building the
|
||||
SDK installer. Doing so ensures that the eventual SDK
|
||||
installation process installs the appropriate library packages
|
||||
as part of the SDK. Following is an example using ``libc``
|
||||
as part of the SDK. Here is an example using ``libc``
|
||||
static development libraries: TOOLCHAIN_TARGET_TASK:append = "
|
||||
libc-staticdev"
|
||||
|
||||
#. *Run the Installer:* You can now run the SDK installer from
|
||||
``tmp/deploy/sdk`` in the :term:`Build Directory`. Following is an example::
|
||||
``tmp/deploy/sdk`` in the :term:`Build Directory`. Here is an example::
|
||||
|
||||
$ cd poky/build/tmp/deploy/sdk
|
||||
$ ./poky-glibc-x86_64-core-image-sato-core2-64-toolchain-ext-&DISTRO;.sh
|
||||
@@ -235,7 +235,7 @@ Follow these steps to extract the root filesystem:
|
||||
This script is located in the top-level directory in which you
|
||||
installed the toolchain (e.g. ``poky_sdk``).
|
||||
|
||||
Following is an example based on the toolchain installed in the
|
||||
Here is an example based on the toolchain installed in the
|
||||
":ref:`sdk-manual/appendix-obtain:locating pre-built sdk installers`" section::
|
||||
|
||||
$ source poky_sdk/environment-setup-core2-64-poky-linux
|
||||
@@ -243,7 +243,7 @@ Follow these steps to extract the root filesystem:
|
||||
#. *Extract the Root Filesystem:* Use the ``runqemu-extract-sdk``
|
||||
command and provide the root filesystem image.
|
||||
|
||||
Following is an example command that extracts the root filesystem
|
||||
Here is an example command that extracts the root filesystem
|
||||
from a previously built root filesystem image that was downloaded
|
||||
from the :yocto_dl:`Index of Releases </releases/yocto/yocto-&DISTRO;/machines/>`.
|
||||
This command extracts the root filesystem into the ``core2-64-sato``
|
||||
|
||||
@@ -74,7 +74,7 @@ Setting up the Extensible SDK environment directly in a Yocto build
|
||||
$ bitbake meta-ide-support
|
||||
$ bitbake -c populate_sysroot gtk+3
|
||||
# or any other target or native item that the application developer would need
|
||||
$ bitbake build-sysroots
|
||||
$ bitbake build-sysroots -c build_native_sysroot && bitbake build-sysroots -c build_target_sysroot
|
||||
|
||||
Setting up the Extensible SDK from a standalone installer
|
||||
---------------------------------------------------------
|
||||
@@ -1226,8 +1226,12 @@ In this scenario, the Yocto build tooling, e.g. ``bitbake``
|
||||
is directly accessible to build additional items, and it
|
||||
can simply be executed directly::
|
||||
|
||||
$ bitbake curl-native
|
||||
# Add newly built native items to native sysroot
|
||||
$ bitbake build-sysroots -c build_native_sysroot
|
||||
$ bitbake mesa
|
||||
$ bitbake build-sysroots
|
||||
# Add newly built target items to target sysroot
|
||||
$ bitbake build-sysroots -c build_target_sysroot
|
||||
|
||||
When using a standalone installer for the Extensible SDK
|
||||
--------------------------------------------------------
|
||||
|
||||
@@ -66,7 +66,7 @@ The SDK development environment consists of the following:
|
||||
|
||||
In summary, the extensible and standard SDK share many features.
|
||||
However, the extensible SDK has powerful development tools to help you
|
||||
more quickly develop applications. Following is a table that summarizes
|
||||
more quickly develop applications. Here is a table that summarizes
|
||||
the primary differences between the standard and extensible SDK types
|
||||
when considering which to build:
|
||||
|
||||
|
||||
@@ -5,6 +5,21 @@ documentation is created.
|
||||
|
||||
It is currently a work in progress.
|
||||
|
||||
## Automatic style validation
|
||||
|
||||
There is an ongoing effort to automate style validation
|
||||
through the [Vale](https://vale.sh/). To try it, run:
|
||||
|
||||
$ make stylecheck
|
||||
|
||||
Note that this just applies to text. Therefore, the syntax
|
||||
conventions described below still apply.
|
||||
|
||||
If you wish to add a new word to an "accept.txt" file
|
||||
(./styles/config/vocabularies/<Vocab>/accept.txt),
|
||||
make sure the spelling and capitalization matches
|
||||
what Wikipedia or the project defining this word uses.
|
||||
|
||||
## Text standards
|
||||
|
||||
### Bulleted lists
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
autovivification
|
||||
blkparse
|
||||
blktrace
|
||||
callee
|
||||
debugfs
|
||||
ftrace
|
||||
KernelShark
|
||||
Kprobe
|
||||
LTTng
|
||||
perf
|
||||
profiler
|
||||
subcommand
|
||||
subnode
|
||||
superset
|
||||
Sysprof
|
||||
systemd
|
||||
toolchain
|
||||
tracepoint
|
||||
Uprobe
|
||||
wget
|
||||
@@ -0,0 +1,5 @@
|
||||
BitBake
|
||||
BSP
|
||||
crosstap
|
||||
OpenEmbedded
|
||||
Yocto
|
||||
@@ -365,7 +365,7 @@ Perform the following steps to install Toaster:
|
||||
|
||||
/etc/apache2/conf.d/toaster.conf
|
||||
|
||||
Following is a sample Apache configuration for Toaster you can follow:
|
||||
Here is a sample Apache configuration for Toaster you can follow:
|
||||
|
||||
.. code-block:: apache
|
||||
|
||||
@@ -495,7 +495,7 @@ The Toaster web interface allows you to do the following:
|
||||
Toaster Web Interface Videos
|
||||
----------------------------
|
||||
|
||||
Following are several videos that show how to use the Toaster GUI:
|
||||
Here are several videos that show how to use the Toaster GUI:
|
||||
|
||||
- *Build Configuration:* This
|
||||
`video <https://www.youtube.com/watch?v=qYgDZ8YzV6w>`__ overviews and
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
DISTRO = "poky"
|
||||
DISTRO_NAME = "Poky (Yocto Project Reference Distro)"
|
||||
DISTRO_VERSION = "4.3.3"
|
||||
DISTRO_VERSION = "4.3.4"
|
||||
DISTRO_CODENAME = "nanbield"
|
||||
SDK_VENDOR = "-pokysdk"
|
||||
SDK_VERSION = "${@d.getVar('DISTRO_VERSION').replace('snapshot-${METADATA_REVISION}', 'snapshot')}"
|
||||
|
||||
@@ -18,5 +18,5 @@ do_install() {
|
||||
|
||||
FILES:${PN} += "\
|
||||
${exec_prefix} \
|
||||
${sysconfdir \
|
||||
${sysconfdir} \
|
||||
"
|
||||
|
||||
@@ -63,9 +63,9 @@ python () {
|
||||
d.appendVarFlag("emit_pkgdata", "vardepsexclude", " MULTILIB_VARIANTS")
|
||||
d.appendVarFlag("write_specfile", "vardepsexclude", " MULTILIBS")
|
||||
d.appendVarFlag("do_package", "vardepsexclude", " package_do_shlibs")
|
||||
|
||||
d.setVar("qemu_wrapper_cmdline", "def qemu_wrapper_cmdline(data, rootfs_path, library_paths):\n return 'false'")
|
||||
elif bb.data.inherits_class('packagegroup', d) and not bb.data.inherits_class('nativesdk', d):
|
||||
bb.error("Please ensure recipe %s sets PACKAGE_ARCH before inherit packagegroup" % d.getVar("FILE"))
|
||||
}
|
||||
|
||||
def qemu_wrapper_cmdline(data, rootfs_path, library_paths):
|
||||
return 'false'
|
||||
|
||||
@@ -239,6 +239,8 @@ KERNEL_EXTRA_ARGS ?= ""
|
||||
EXTRA_OEMAKE += ' CC="${KERNEL_CC}" LD="${KERNEL_LD}" OBJCOPY="${KERNEL_OBJCOPY}" STRIP="${KERNEL_STRIP}"'
|
||||
EXTRA_OEMAKE += ' HOSTCC="${BUILD_CC}" HOSTCFLAGS="${BUILD_CFLAGS}" HOSTLDFLAGS="${BUILD_LDFLAGS}" HOSTCPP="${BUILD_CPP}"'
|
||||
EXTRA_OEMAKE += ' HOSTCXX="${BUILD_CXX}" HOSTCXXFLAGS="${BUILD_CXXFLAGS}"'
|
||||
# Only for newer kernels (5.19+), native pkg-config variables are set for older kernels when building kernel and modules
|
||||
EXTRA_OEMAKE += ' HOSTPKG_CONFIG="pkg-config-native"'
|
||||
|
||||
KERNEL_ALT_IMAGETYPE ??= ""
|
||||
|
||||
@@ -356,9 +358,6 @@ kernel_do_compile() {
|
||||
export PKG_CONFIG_LIBDIR="$PKG_CONFIG_DIR"
|
||||
export PKG_CONFIG_SYSROOT_DIR=""
|
||||
|
||||
# for newer kernels (5.19+) there's a dedicated variable
|
||||
export HOSTPKG_CONFIG="pkg-config-native"
|
||||
|
||||
if [ "${KERNEL_DEBUG_TIMESTAMPS}" != "1" ]; then
|
||||
# kernel sources do not use do_unpack, so SOURCE_DATE_EPOCH may not
|
||||
# be set....
|
||||
@@ -408,6 +407,13 @@ addtask transform_kernel after do_compile before do_install
|
||||
|
||||
do_compile_kernelmodules() {
|
||||
unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS MACHINE
|
||||
|
||||
# setup native pkg-config variables (kconfig scripts call pkg-config directly, cannot generically be overriden to pkg-config-native)
|
||||
export PKG_CONFIG_DIR="${STAGING_DIR_NATIVE}${libdir_native}/pkgconfig"
|
||||
export PKG_CONFIG_PATH="$PKG_CONFIG_DIR:${STAGING_DATADIR_NATIVE}/pkgconfig"
|
||||
export PKG_CONFIG_LIBDIR="$PKG_CONFIG_DIR"
|
||||
export PKG_CONFIG_SYSROOT_DIR=""
|
||||
|
||||
if [ "${KERNEL_DEBUG_TIMESTAMPS}" != "1" ]; then
|
||||
# kernel sources do not use do_unpack, so SOURCE_DATE_EPOCH may not
|
||||
# be set....
|
||||
|
||||
@@ -418,6 +418,9 @@ def check_cves(d, patched_cves):
|
||||
cves_status.append([product, False])
|
||||
|
||||
conn.close()
|
||||
diff_ignore = list(set(cve_ignore) - set(cves_ignored))
|
||||
if diff_ignore:
|
||||
oe.qa.handle_error("cve_status_not_in_db", "Found CVE (%s) with CVE_STATUS set that are not found in database for this component" % " ".join(diff_ignore), d)
|
||||
|
||||
if not cves_in_recipe:
|
||||
bb.note("No CVE records for products in recipe %s" % (pn))
|
||||
|
||||
@@ -104,6 +104,7 @@ python () {
|
||||
# If we deltask do_patch, there's no dependency to ensure do_unpack gets run, so add one
|
||||
# Note that we cannot use d.appendVarFlag() here because deps is expected to be a list object, not a string
|
||||
d.setVarFlag('do_configure', 'deps', (d.getVarFlag('do_configure', 'deps', False) or []) + ['do_unpack'])
|
||||
d.setVarFlag('do_populate_lic', 'deps', (d.getVarFlag('do_populate_lic', 'deps', False) or []) + ['do_unpack'])
|
||||
|
||||
for task in d.getVar("SRCTREECOVEREDTASKS").split():
|
||||
if local_srcuri and task in fetch_tasks:
|
||||
|
||||
@@ -195,6 +195,7 @@ python multilib_virtclass_handler_global () {
|
||||
# from a copy of the datastore
|
||||
localdata = bb.data.createCopy(d)
|
||||
localdata.delVar("KERNEL_VERSION")
|
||||
localdata.delVar("KERNEL_VERSION_PKG_NAME")
|
||||
|
||||
variants = (e.data.getVar("MULTILIB_VARIANTS") or "").split()
|
||||
|
||||
|
||||
@@ -102,7 +102,6 @@ PTESTS_SLOW = "\
|
||||
libgcrypt \
|
||||
libmodule-build-perl \
|
||||
lttng-tools \
|
||||
mdadm \
|
||||
openssh \
|
||||
openssl \
|
||||
parted \
|
||||
@@ -131,6 +130,7 @@ PTESTS_PROBLEMS:append:x86 = " valgrind"
|
||||
# ifupdown \ # Tested separately in lib/oeqa/selftest/cases/imagefeatures.py
|
||||
# libinput \ # Tests need an unloaded system to be reliable
|
||||
# libpam \ # Needs pam DISTRO_FEATURE
|
||||
# mdadm \ # tests are flaky in AB.
|
||||
# numactl \ # qemu not (yet) configured for numa; all tests are skipped
|
||||
# libseccomp \ # tests failed: 38; add to slow tests once addressed
|
||||
# python3-numpy \ # requires even more RAM and (possibly) disk space; multiple failures
|
||||
@@ -143,6 +143,7 @@ PTESTS_PROBLEMS = "\
|
||||
libinput \
|
||||
libpam \
|
||||
libseccomp \
|
||||
mdadm \
|
||||
numactl \
|
||||
python3-license-expression \
|
||||
python3-numpy \
|
||||
|
||||
@@ -6,10 +6,10 @@
|
||||
# to the distro running on the build machine.
|
||||
#
|
||||
|
||||
UNINATIVE_MAXGLIBCVERSION = "2.38"
|
||||
UNINATIVE_VERSION = "4.3"
|
||||
UNINATIVE_MAXGLIBCVERSION = "2.39"
|
||||
UNINATIVE_VERSION = "4.4"
|
||||
|
||||
UNINATIVE_URL ?= "http://downloads.yoctoproject.org/releases/uninative/${UNINATIVE_VERSION}/"
|
||||
UNINATIVE_CHECKSUM[aarch64] ?= "8df05f4a41455018b4303b2e0ea4eac5c960b5a13713f6dbb33dfdb3e32753ec"
|
||||
UNINATIVE_CHECKSUM[i686] ?= "bea76b4a97c9ba0077c0dd1295f519cd599dbf71f0ca1c964471c4cdb043addd"
|
||||
UNINATIVE_CHECKSUM[x86_64] ?= "1c35f09a75c4096749bbe1e009df4e3968cde151424062cf4aa3ed89db22b030"
|
||||
UNINATIVE_CHECKSUM[aarch64] ?= "b61876130f494f75092f21086b4a64ea5fb064045769bf1d32e9cb6af17ea8ec"
|
||||
UNINATIVE_CHECKSUM[i686] ?= "9f28627828f0082cc0344eede4d9a861a9a064bfa8f36e072e46212f0fe45fcc"
|
||||
UNINATIVE_CHECKSUM[x86_64] ?= "d81c54284be2bb886931fc87281d58177a2cd381cf99d1981f8923039a72a302"
|
||||
|
||||
@@ -79,20 +79,19 @@ def get_patched_cves(d):
|
||||
import re
|
||||
import oe.patch
|
||||
|
||||
pn = d.getVar("PN")
|
||||
cve_match = re.compile("CVE:( CVE\-\d{4}\-\d+)+")
|
||||
cve_match = re.compile(r"CVE:( CVE-\d{4}-\d+)+")
|
||||
|
||||
# Matches the last "CVE-YYYY-ID" in the file name, also if written
|
||||
# in lowercase. Possible to have multiple CVE IDs in a single
|
||||
# file name, but only the last one will be detected from the file name.
|
||||
# However, patch files contents addressing multiple CVE IDs are supported
|
||||
# (cve_match regular expression)
|
||||
|
||||
cve_file_name_match = re.compile(".*([Cc][Vv][Ee]\-\d{4}\-\d+)")
|
||||
cve_file_name_match = re.compile(r".*(CVE-\d{4}-\d+)", re.IGNORECASE)
|
||||
|
||||
patched_cves = set()
|
||||
bb.debug(2, "Looking for patches that solves CVEs for %s" % pn)
|
||||
for url in oe.patch.src_patches(d):
|
||||
patches = oe.patch.src_patches(d)
|
||||
bb.debug(2, "Scanning %d patches for CVEs" % len(patches))
|
||||
for url in patches:
|
||||
patch_file = bb.fetch.decodeurl(url)[2]
|
||||
|
||||
# Check patch file name for CVE ID
|
||||
@@ -100,7 +99,7 @@ def get_patched_cves(d):
|
||||
if fname_match:
|
||||
cve = fname_match.group(1).upper()
|
||||
patched_cves.add(cve)
|
||||
bb.debug(2, "Found CVE %s from patch file name %s" % (cve, patch_file))
|
||||
bb.debug(2, "Found %s from patch file name %s" % (cve, patch_file))
|
||||
|
||||
# Remote patches won't be present and compressed patches won't be
|
||||
# unpacked, so say we're not scanning them
|
||||
@@ -231,7 +230,7 @@ def decode_cve_status(d, cve):
|
||||
Convert CVE_STATUS into status, detail and description.
|
||||
"""
|
||||
status = d.getVarFlag("CVE_STATUS", cve)
|
||||
if status is None:
|
||||
if not status:
|
||||
return ("", "", "")
|
||||
|
||||
status_split = status.split(':', 1)
|
||||
@@ -240,7 +239,7 @@ def decode_cve_status(d, cve):
|
||||
|
||||
status_mapping = d.getVarFlag("CVE_CHECK_STATUSMAP", detail)
|
||||
if status_mapping is None:
|
||||
bb.warn('Invalid detail %s for CVE_STATUS[%s] = "%s", fallback to Unpatched' % (detail, cve, status))
|
||||
bb.warn('Invalid detail "%s" for CVE_STATUS[%s] = "%s", fallback to Unpatched' % (detail, cve, status))
|
||||
status_mapping = "Unpatched"
|
||||
|
||||
return (status_mapping, detail, description)
|
||||
|
||||
@@ -131,6 +131,9 @@ def get_source_date_epoch_from_youngest_file(d, sourcedir):
|
||||
files = [f for f in files if not f[0] == '.']
|
||||
|
||||
for fname in files:
|
||||
if fname == "singletask.lock":
|
||||
# Ignore externalsrc/devtool lockfile [YOCTO #14921]
|
||||
continue
|
||||
filename = os.path.join(root, fname)
|
||||
try:
|
||||
mtime = int(os.lstat(filename).st_mtime)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
From 246087f89e9434b726c7884e4c0964f71084f091 Mon Sep 17 00:00:00 2001
|
||||
From 5ae30329f168c1e8d2e0c3831988a4f3e9096e39 Mon Sep 17 00:00:00 2001
|
||||
From: Paul Gortmaker <paul.gortmaker@windriver.com>
|
||||
Date: Tue, 9 Jun 2015 11:22:00 -0400
|
||||
Subject: [PATCH] bind: ensure searching for json headers searches sysroot
|
||||
@@ -33,10 +33,10 @@ Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 10e8bf6..bf20690 100644
|
||||
index 2ab8ddd..92fe983 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -814,7 +814,7 @@ AS_CASE([$with_lmdb],
|
||||
@@ -761,7 +761,7 @@ AS_CASE([$with_lmdb],
|
||||
[no],[],
|
||||
[auto|yes], [PKG_CHECK_MODULES([LMDB], [lmdb],
|
||||
[ac_lib_lmdb_found=yes],
|
||||
|
||||
@@ -20,7 +20,7 @@ SRC_URI = "https://ftp.isc.org/isc/bind9/${PV}/${BPN}-${PV}.tar.xz \
|
||||
file://0001-avoid-start-failure-with-bind-user.patch \
|
||||
"
|
||||
|
||||
SRC_URI[sha256sum] = "4b891ebf58d3f2a7ac3dd2682990f528a3448eaa1c992ddc5c141b8587a98ec5"
|
||||
SRC_URI[sha256sum] = "709d73023c9115ddad3bab65b6c8c79a590196d0d114f5d0ca2533dbd52ddf66"
|
||||
|
||||
UPSTREAM_CHECK_URI = "https://ftp.isc.org/isc/bind9/"
|
||||
# follow the ESV versions divisible by 2
|
||||
58
meta/recipes-connectivity/openssl/openssl/bti.patch
Normal file
58
meta/recipes-connectivity/openssl/openssl/bti.patch
Normal file
@@ -0,0 +1,58 @@
|
||||
From ba8a599395f8b770c76316b5f5b0f3838567014f Mon Sep 17 00:00:00 2001
|
||||
From: Tom Cosgrove <tom.cosgrove@arm.com>
|
||||
Date: Tue, 26 Mar 2024 13:18:00 +0000
|
||||
Subject: [PATCH] aarch64: fix BTI in bsaes assembly code
|
||||
|
||||
In Arm systems where BTI is enabled but the Crypto extensions are not (more
|
||||
likely in FVPs than in real hardware), the bit-sliced assembler code will
|
||||
be used. However, this wasn't annotated with BTI instructions when BTI was
|
||||
enabled, so the moment libssl jumps into this code it (correctly) aborts.
|
||||
|
||||
Solve this by adding the missing BTI landing pads.
|
||||
|
||||
Upstream-Status: Submitted [https://github.com/openssl/openssl/pull/23982]
|
||||
Signed-off-by: Ross Burton <ross.burton@arm.com>
|
||||
---
|
||||
crypto/aes/asm/bsaes-armv8.pl | 5 ++++-
|
||||
1 file changed, 4 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/crypto/aes/asm/bsaes-armv8.pl b/crypto/aes/asm/bsaes-armv8.pl
|
||||
index b3c97e439f..c3c5ff3e05 100644
|
||||
--- a/crypto/aes/asm/bsaes-armv8.pl
|
||||
+++ b/crypto/aes/asm/bsaes-armv8.pl
|
||||
@@ -1018,6 +1018,7 @@ _bsaes_key_convert:
|
||||
// Initialisation vector overwritten with last quadword of ciphertext
|
||||
// No output registers, usual AAPCS64 register preservation
|
||||
ossl_bsaes_cbc_encrypt:
|
||||
+ AARCH64_VALID_CALL_TARGET
|
||||
cmp x2, #128
|
||||
bhs .Lcbc_do_bsaes
|
||||
b AES_cbc_encrypt
|
||||
@@ -1270,7 +1271,7 @@ ossl_bsaes_cbc_encrypt:
|
||||
// Output text filled in
|
||||
// No output registers, usual AAPCS64 register preservation
|
||||
ossl_bsaes_ctr32_encrypt_blocks:
|
||||
-
|
||||
+ AARCH64_VALID_CALL_TARGET
|
||||
cmp x2, #8 // use plain AES for
|
||||
blo .Lctr_enc_short // small sizes
|
||||
|
||||
@@ -1476,6 +1477,7 @@ ossl_bsaes_ctr32_encrypt_blocks:
|
||||
// Output ciphertext filled in
|
||||
// No output registers, usual AAPCS64 register preservation
|
||||
ossl_bsaes_xts_encrypt:
|
||||
+ AARCH64_VALID_CALL_TARGET
|
||||
// Stack layout:
|
||||
// sp ->
|
||||
// nrounds*128-96 bytes: key schedule
|
||||
@@ -1921,6 +1923,7 @@ ossl_bsaes_xts_encrypt:
|
||||
// Output plaintext filled in
|
||||
// No output registers, usual AAPCS64 register preservation
|
||||
ossl_bsaes_xts_decrypt:
|
||||
+ AARCH64_VALID_CALL_TARGET
|
||||
// Stack layout:
|
||||
// sp ->
|
||||
// nrounds*128-96 bytes: key schedule
|
||||
--
|
||||
2.34.1
|
||||
|
||||
@@ -1,22 +0,0 @@
|
||||
The perl script adds random suffixes to the local function names to ensure
|
||||
it doesn't clash with other parts of openssl. Set the random number seed
|
||||
to something predictable so the assembler files are generated consistently
|
||||
and our own reproducible builds tests pass.
|
||||
|
||||
Upstream-Status: Pending
|
||||
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
||||
|
||||
Index: openssl-3.1.0/crypto/modes/asm/aes-gcm-avx512.pl
|
||||
===================================================================
|
||||
--- openssl-3.1.0.orig/crypto/modes/asm/aes-gcm-avx512.pl
|
||||
+++ openssl-3.1.0/crypto/modes/asm/aes-gcm-avx512.pl
|
||||
@@ -191,6 +191,9 @@ my $CTX_OFFSET_HTable = (16 * 6);
|
||||
# ;;; Helper functions
|
||||
# ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
|
||||
+# Ensure the local labels are reproduicble
|
||||
+srand(10000);
|
||||
+
|
||||
# ; Generates "random" local labels
|
||||
sub random_string() {
|
||||
my @chars = ('a' .. 'z', 'A' .. 'Z', '0' .. '9', '_');
|
||||
@@ -11,15 +11,15 @@ SRC_URI = "http://www.openssl.org/source/openssl-${PV}.tar.gz \
|
||||
file://run-ptest \
|
||||
file://0001-buildinfo-strip-sysroot-and-debug-prefix-map-from-co.patch \
|
||||
file://0001-Configure-do-not-tweak-mips-cflags.patch \
|
||||
file://fix_random_labels.patch \
|
||||
file://0001-Added-handshake-history-reporting-when-test-fails.patch \
|
||||
file://bti.patch \
|
||||
"
|
||||
|
||||
SRC_URI:append:class-nativesdk = " \
|
||||
file://environment.d-openssl.sh \
|
||||
"
|
||||
|
||||
SRC_URI[sha256sum] = "840af5366ab9b522bde525826be3ef0fb0af81c6a9ebd84caa600fea1731eee3"
|
||||
SRC_URI[sha256sum] = "6ae015467dabf0469b139ada93319327be24b98251ffaeceda0221848dc09262"
|
||||
|
||||
inherit lib_package multilib_header multilib_script ptest perlnative manpages
|
||||
MULTILIB_SCRIPTS = "${PN}-bin:${bindir}/c_rehash"
|
||||
@@ -187,6 +187,7 @@ PTEST_BUILD_HOST_PATTERN = "perl_version ="
|
||||
do_install_ptest () {
|
||||
install -d ${D}${PTEST_PATH}/test
|
||||
install -m755 ${B}/test/p_test.so ${D}${PTEST_PATH}/test
|
||||
install -m755 ${B}/test/p_minimal.so ${D}${PTEST_PATH}/test
|
||||
install -m755 ${B}/test/provider_internal_test.cnf ${D}${PTEST_PATH}/test
|
||||
|
||||
# Prune the build tree
|
||||
@@ -0,0 +1,213 @@
|
||||
From f6f7cead3661ceeef54b21f7e799c0afc98537ec Mon Sep 17 00:00:00 2001
|
||||
From: Jouni Malinen <j@w1.fi>
|
||||
Date: Sat, 8 Jul 2023 19:55:32 +0300
|
||||
Subject: [PATCH] PEAP client: Update Phase 2 authentication requirements
|
||||
|
||||
The previous PEAP client behavior allowed the server to skip Phase 2
|
||||
authentication with the expectation that the server was authenticated
|
||||
during Phase 1 through TLS server certificate validation. Various PEAP
|
||||
specifications are not exactly clear on what the behavior on this front
|
||||
is supposed to be and as such, this ended up being more flexible than
|
||||
the TTLS/FAST/TEAP cases. However, this is not really ideal when
|
||||
unfortunately common misconfiguration of PEAP is used in deployed
|
||||
devices where the server trust root (ca_cert) is not configured or the
|
||||
user has an easy option for allowing this validation step to be skipped.
|
||||
|
||||
Change the default PEAP client behavior to be to require Phase 2
|
||||
authentication to be successfully completed for cases where TLS session
|
||||
resumption is not used and the client certificate has not been
|
||||
configured. Those two exceptions are the main cases where a deployed
|
||||
authentication server might skip Phase 2 and as such, where a more
|
||||
strict default behavior could result in undesired interoperability
|
||||
issues. Requiring Phase 2 authentication will end up disabling TLS
|
||||
session resumption automatically to avoid interoperability issues.
|
||||
|
||||
Allow Phase 2 authentication behavior to be configured with a new phase1
|
||||
configuration parameter option:
|
||||
'phase2_auth' option can be used to control Phase 2 (i.e., within TLS
|
||||
tunnel) behavior for PEAP:
|
||||
* 0 = do not require Phase 2 authentication
|
||||
* 1 = require Phase 2 authentication when client certificate
|
||||
(private_key/client_cert) is no used and TLS session resumption was
|
||||
not used (default)
|
||||
* 2 = require Phase 2 authentication in all cases
|
||||
|
||||
Signed-off-by: Jouni Malinen <j@w1.fi>
|
||||
|
||||
CVE: CVE-2023-52160
|
||||
Upstream-Status: Backport [https://w1.fi/cgit/hostap/commit/?id=8e6485a1bcb0baffdea9e55255a81270b768439c]
|
||||
|
||||
Signed-off-by: Claus Stovgaard <claus.stovgaard@gmail.com>
|
||||
|
||||
---
|
||||
src/eap_peer/eap_config.h | 8 ++++++
|
||||
src/eap_peer/eap_peap.c | 40 +++++++++++++++++++++++++++---
|
||||
src/eap_peer/eap_tls_common.c | 6 +++++
|
||||
src/eap_peer/eap_tls_common.h | 5 ++++
|
||||
wpa_supplicant/wpa_supplicant.conf | 7 ++++++
|
||||
5 files changed, 63 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/src/eap_peer/eap_config.h b/src/eap_peer/eap_config.h
|
||||
index 3238f74..047eec2 100644
|
||||
--- a/src/eap_peer/eap_config.h
|
||||
+++ b/src/eap_peer/eap_config.h
|
||||
@@ -469,6 +469,14 @@ struct eap_peer_config {
|
||||
* 1 = use cryptobinding if server supports it
|
||||
* 2 = require cryptobinding
|
||||
*
|
||||
+ * phase2_auth option can be used to control Phase 2 (i.e., within TLS
|
||||
+ * tunnel) behavior for PEAP:
|
||||
+ * 0 = do not require Phase 2 authentication
|
||||
+ * 1 = require Phase 2 authentication when client certificate
|
||||
+ * (private_key/client_cert) is no used and TLS session resumption was
|
||||
+ * not used (default)
|
||||
+ * 2 = require Phase 2 authentication in all cases
|
||||
+ *
|
||||
* EAP-WSC (WPS) uses following options: pin=Device_Password and
|
||||
* uuid=Device_UUID
|
||||
*
|
||||
diff --git a/src/eap_peer/eap_peap.c b/src/eap_peer/eap_peap.c
|
||||
index 12e30df..6080697 100644
|
||||
--- a/src/eap_peer/eap_peap.c
|
||||
+++ b/src/eap_peer/eap_peap.c
|
||||
@@ -67,6 +67,7 @@ struct eap_peap_data {
|
||||
u8 cmk[20];
|
||||
int soh; /* Whether IF-TNCCS-SOH (Statement of Health; Microsoft NAP)
|
||||
* is enabled. */
|
||||
+ enum { NO_AUTH, FOR_INITIAL, ALWAYS } phase2_auth;
|
||||
};
|
||||
|
||||
|
||||
@@ -114,6 +115,19 @@ static void eap_peap_parse_phase1(struct eap_peap_data *data,
|
||||
wpa_printf(MSG_DEBUG, "EAP-PEAP: Require cryptobinding");
|
||||
}
|
||||
|
||||
+ if (os_strstr(phase1, "phase2_auth=0")) {
|
||||
+ data->phase2_auth = NO_AUTH;
|
||||
+ wpa_printf(MSG_DEBUG,
|
||||
+ "EAP-PEAP: Do not require Phase 2 authentication");
|
||||
+ } else if (os_strstr(phase1, "phase2_auth=1")) {
|
||||
+ data->phase2_auth = FOR_INITIAL;
|
||||
+ wpa_printf(MSG_DEBUG,
|
||||
+ "EAP-PEAP: Require Phase 2 authentication for initial connection");
|
||||
+ } else if (os_strstr(phase1, "phase2_auth=2")) {
|
||||
+ data->phase2_auth = ALWAYS;
|
||||
+ wpa_printf(MSG_DEBUG,
|
||||
+ "EAP-PEAP: Require Phase 2 authentication for all cases");
|
||||
+ }
|
||||
#ifdef EAP_TNC
|
||||
if (os_strstr(phase1, "tnc=soh2")) {
|
||||
data->soh = 2;
|
||||
@@ -142,6 +156,7 @@ static void * eap_peap_init(struct eap_sm *sm)
|
||||
data->force_peap_version = -1;
|
||||
data->peap_outer_success = 2;
|
||||
data->crypto_binding = OPTIONAL_BINDING;
|
||||
+ data->phase2_auth = FOR_INITIAL;
|
||||
|
||||
if (config && config->phase1)
|
||||
eap_peap_parse_phase1(data, config->phase1);
|
||||
@@ -454,6 +469,20 @@ static int eap_tlv_validate_cryptobinding(struct eap_sm *sm,
|
||||
}
|
||||
|
||||
|
||||
+static bool peap_phase2_sufficient(struct eap_sm *sm,
|
||||
+ struct eap_peap_data *data)
|
||||
+{
|
||||
+ if ((data->phase2_auth == ALWAYS ||
|
||||
+ (data->phase2_auth == FOR_INITIAL &&
|
||||
+ !tls_connection_resumed(sm->ssl_ctx, data->ssl.conn) &&
|
||||
+ !data->ssl.client_cert_conf) ||
|
||||
+ data->phase2_eap_started) &&
|
||||
+ !data->phase2_eap_success)
|
||||
+ return false;
|
||||
+ return true;
|
||||
+}
|
||||
+
|
||||
+
|
||||
/**
|
||||
* eap_tlv_process - Process a received EAP-TLV message and generate a response
|
||||
* @sm: Pointer to EAP state machine allocated with eap_peer_sm_init()
|
||||
@@ -568,6 +597,11 @@ static int eap_tlv_process(struct eap_sm *sm, struct eap_peap_data *data,
|
||||
" - force failed Phase 2");
|
||||
resp_status = EAP_TLV_RESULT_FAILURE;
|
||||
ret->decision = DECISION_FAIL;
|
||||
+ } else if (!peap_phase2_sufficient(sm, data)) {
|
||||
+ wpa_printf(MSG_INFO,
|
||||
+ "EAP-PEAP: Server indicated Phase 2 success, but sufficient Phase 2 authentication has not been completed");
|
||||
+ resp_status = EAP_TLV_RESULT_FAILURE;
|
||||
+ ret->decision = DECISION_FAIL;
|
||||
} else {
|
||||
resp_status = EAP_TLV_RESULT_SUCCESS;
|
||||
ret->decision = DECISION_UNCOND_SUCC;
|
||||
@@ -887,8 +921,7 @@ continue_req:
|
||||
/* EAP-Success within TLS tunnel is used to indicate
|
||||
* shutdown of the TLS channel. The authentication has
|
||||
* been completed. */
|
||||
- if (data->phase2_eap_started &&
|
||||
- !data->phase2_eap_success) {
|
||||
+ if (!peap_phase2_sufficient(sm, data)) {
|
||||
wpa_printf(MSG_DEBUG, "EAP-PEAP: Phase 2 "
|
||||
"Success used to indicate success, "
|
||||
"but Phase 2 EAP was not yet "
|
||||
@@ -1199,8 +1232,9 @@ static struct wpabuf * eap_peap_process(struct eap_sm *sm, void *priv,
|
||||
static bool eap_peap_has_reauth_data(struct eap_sm *sm, void *priv)
|
||||
{
|
||||
struct eap_peap_data *data = priv;
|
||||
+
|
||||
return tls_connection_established(sm->ssl_ctx, data->ssl.conn) &&
|
||||
- data->phase2_success;
|
||||
+ data->phase2_success && data->phase2_auth != ALWAYS;
|
||||
}
|
||||
|
||||
|
||||
diff --git a/src/eap_peer/eap_tls_common.c b/src/eap_peer/eap_tls_common.c
|
||||
index c1837db..a53eeb1 100644
|
||||
--- a/src/eap_peer/eap_tls_common.c
|
||||
+++ b/src/eap_peer/eap_tls_common.c
|
||||
@@ -239,6 +239,12 @@ static int eap_tls_params_from_conf(struct eap_sm *sm,
|
||||
|
||||
sm->ext_cert_check = !!(params->flags & TLS_CONN_EXT_CERT_CHECK);
|
||||
|
||||
+ if (!phase2)
|
||||
+ data->client_cert_conf = params->client_cert ||
|
||||
+ params->client_cert_blob ||
|
||||
+ params->private_key ||
|
||||
+ params->private_key_blob;
|
||||
+
|
||||
return 0;
|
||||
}
|
||||
|
||||
diff --git a/src/eap_peer/eap_tls_common.h b/src/eap_peer/eap_tls_common.h
|
||||
index 9ac0012..3348634 100644
|
||||
--- a/src/eap_peer/eap_tls_common.h
|
||||
+++ b/src/eap_peer/eap_tls_common.h
|
||||
@@ -79,6 +79,11 @@ struct eap_ssl_data {
|
||||
* tls_v13 - Whether TLS v1.3 or newer is used
|
||||
*/
|
||||
int tls_v13;
|
||||
+
|
||||
+ /**
|
||||
+ * client_cert_conf: Whether client certificate has been configured
|
||||
+ */
|
||||
+ bool client_cert_conf;
|
||||
};
|
||||
|
||||
|
||||
diff --git a/wpa_supplicant/wpa_supplicant.conf b/wpa_supplicant/wpa_supplicant.conf
|
||||
index 6619d6b..d63f73c 100644
|
||||
--- a/wpa_supplicant/wpa_supplicant.conf
|
||||
+++ b/wpa_supplicant/wpa_supplicant.conf
|
||||
@@ -1321,6 +1321,13 @@ fast_reauth=1
|
||||
# * 0 = do not use cryptobinding (default)
|
||||
# * 1 = use cryptobinding if server supports it
|
||||
# * 2 = require cryptobinding
|
||||
+# 'phase2_auth' option can be used to control Phase 2 (i.e., within TLS
|
||||
+# tunnel) behavior for PEAP:
|
||||
+# * 0 = do not require Phase 2 authentication
|
||||
+# * 1 = require Phase 2 authentication when client certificate
|
||||
+# (private_key/client_cert) is no used and TLS session resumption was
|
||||
+# not used (default)
|
||||
+# * 2 = require Phase 2 authentication in all cases
|
||||
# EAP-WSC (WPS) uses following options: pin=<Device Password> or
|
||||
# pbc=1.
|
||||
#
|
||||
@@ -18,6 +18,7 @@ SRC_URI = "http://w1.fi/releases/wpa_supplicant-${PV}.tar.gz \
|
||||
file://0001-build-Re-enable-options-for-libwpa_client.so-and-wpa.patch \
|
||||
file://0002-Fix-removal-of-wpa_passphrase-on-make-clean.patch \
|
||||
file://0001-Install-wpa_passphrase-when-not-disabled.patch \
|
||||
file://0001-PEAP-client-Update-Phase-2-authentication-requiremen.patch \
|
||||
"
|
||||
SRC_URI[sha256sum] = "20df7ae5154b3830355f8ab4269123a87affdea59fe74fe9292a91d0d7e17b2f"
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
SRCBRANCH ?= "release/2.38/master"
|
||||
PV = "2.38+git"
|
||||
SRCREV_glibc ?= "44f757a6364a546359809d48c76b3debd26e77d4"
|
||||
SRCREV_glibc ?= "d37c2b20a4787463d192b32041c3406c2bd91de0"
|
||||
SRCREV_localedef ?= "e0eca29583b9e0f62645c4316ced93cf4e4e26e1"
|
||||
|
||||
GLIBC_GIT_URI ?= "git://sourceware.org/git/glibc.git;protocol=https"
|
||||
@@ -11,5 +11,7 @@ CVE_STATUS[CVE-2023-4527] = "fixed-version: Fixed in stable branch updates"
|
||||
CVE_STATUS[CVE-2023-4911] = "fixed-version: Fixed in stable branch updates"
|
||||
CVE_STATUS[CVE-2023-4806] = "fixed-version: Fixed in stable branch updates"
|
||||
CVE_STATUS[CVE-2023-5156] = "fixed-version: Fixed in stable branch updates"
|
||||
CVE_STATUS[CVE-2023-4527] = "fixed-version: Fixed in stable branch updates"
|
||||
CVE_STATUS[CVE-2023-0687] = "fixed-version: Fixed in stable branch updates"
|
||||
CVE_STATUS[CVE-2023-6246] = "fixed-version: Fixed in stable branch updates"
|
||||
CVE_STATUS[CVE-2023-6779] = "fixed-version: Fixed in stable branch updates"
|
||||
CVE_STATUS[CVE-2023-6780] = "fixed-version: Fixed in stable branch updates"
|
||||
|
||||
@@ -26,7 +26,7 @@ inherit core-image setuptools3 features_check
|
||||
|
||||
REQUIRED_DISTRO_FEATURES += "xattr"
|
||||
|
||||
SRCREV ?= "17635c5e4d2460a762152f550ac98d66b9090904"
|
||||
SRCREV ?= "8730750b335c2eb9c3af673262dd83f4a861e075"
|
||||
SRC_URI = "git://git.yoctoproject.org/poky;branch=nanbield \
|
||||
file://Yocto_Build_Appliance.vmx \
|
||||
file://Yocto_Build_Appliance.vmxf \
|
||||
|
||||
@@ -21,7 +21,7 @@ BBCLASSEXTEND = "${@' '.join(['mcextend:'+x for x in d.getVar('PTESTS').split()]
|
||||
IMAGE_OVERHEAD_FACTOR = "1.0"
|
||||
IMAGE_ROOTFS_EXTRA_SPACE = "324288"
|
||||
IMAGE_ROOTFS_EXTRA_SPACE:virtclass-mcextend-mdadm = "1524288"
|
||||
IMAGE_ROOTFS_EXTRA_SPACE:virtclass-mcextend-strace = "1024288"
|
||||
IMAGE_ROOTFS_EXTRA_SPACE:virtclass-mcextend-strace = "1524288"
|
||||
IMAGE_ROOTFS_EXTRA_SPACE:virtclass-mcextend-lttng-tools = "1524288"
|
||||
|
||||
# tar-ptest in particular needs more space
|
||||
|
||||
@@ -18,7 +18,7 @@ SRC_URI += "http://www.w3.org/XML/Test/xmlts20130923.tar;subdir=${BP};name=testt
|
||||
file://install-tests.patch \
|
||||
"
|
||||
|
||||
SRC_URI[archive.sha256sum] = "3727b078c360ec69fa869de14bd6f75d7ee8d36987b071e6928d4720a28df3a6"
|
||||
SRC_URI[archive.sha256sum] = "fb27720e25eaf457f94fd3d7189bcf2626c6dccf4201553bc8874d50e3560162"
|
||||
SRC_URI[testtar.sha256sum] = "c6b2d42ee50b8b236e711a97d68e6c4b5c8d83e69a2be4722379f08702ea7273"
|
||||
|
||||
# Disputed as a security issue, but fixed in d39f780
|
||||
@@ -26,13 +26,17 @@ NVDCVE_API_KEY ?= ""
|
||||
# Use a negative value to skip the update
|
||||
CVE_DB_UPDATE_INTERVAL ?= "86400"
|
||||
|
||||
# Number of attmepts for each http query to nvd server before giving up
|
||||
# CVE database incremental update age threshold, in seconds. If the database is
|
||||
# older than this threshold, do a full re-download, else, do an incremental
|
||||
# update. By default: the maximum allowed value from NVD: 120 days (120*24*60*60)
|
||||
# Use 0 to force a full download.
|
||||
CVE_DB_INCR_UPDATE_AGE_THRES ?= "10368000"
|
||||
|
||||
# Number of attempts for each http query to nvd server before giving up
|
||||
CVE_DB_UPDATE_ATTEMPTS ?= "5"
|
||||
|
||||
CVE_DB_TEMP_FILE ?= "${CVE_CHECK_DB_DIR}/temp_nvdcve_2.db"
|
||||
|
||||
CVE_CHECK_DB_FILE ?= "${CVE_CHECK_DB_DIR}/nvdcve_2.db"
|
||||
|
||||
python () {
|
||||
if not bb.data.inherits_class("cve-check", d):
|
||||
raise bb.parse.SkipRecipe("Skip recipe when cve-check class is not loaded.")
|
||||
@@ -119,7 +123,8 @@ def nvd_request_wait(attempt, min_wait):
|
||||
|
||||
def nvd_request_next(url, attempts, api_key, args, min_wait):
|
||||
"""
|
||||
Request next part of the NVD dabase
|
||||
Request next part of the NVD database
|
||||
NVD API documentation: https://nvd.nist.gov/developers/vulnerabilities
|
||||
"""
|
||||
|
||||
import urllib.request
|
||||
@@ -172,18 +177,24 @@ def update_db_file(db_tmp_file, d, database_time):
|
||||
|
||||
req_args = {'startIndex' : 0}
|
||||
|
||||
# The maximum range for time is 120 days
|
||||
# Force a complete update if our range is longer
|
||||
if (database_time != 0):
|
||||
incr_update_threshold = int(d.getVar("CVE_DB_INCR_UPDATE_AGE_THRES"))
|
||||
if database_time != 0:
|
||||
database_date = datetime.datetime.fromtimestamp(database_time, tz=datetime.timezone.utc)
|
||||
today_date = datetime.datetime.now(tz=datetime.timezone.utc)
|
||||
delta = today_date - database_date
|
||||
if delta.days < 120:
|
||||
if incr_update_threshold == 0:
|
||||
bb.note("CVE database: forced full update")
|
||||
elif delta < datetime.timedelta(seconds=incr_update_threshold):
|
||||
bb.note("CVE database: performing partial update")
|
||||
# The maximum range for time is 120 days
|
||||
if delta > datetime.timedelta(days=120):
|
||||
bb.error("CVE database: Trying to do an incremental update on a larger than supported range")
|
||||
req_args['lastModStartDate'] = database_date.isoformat()
|
||||
req_args['lastModEndDate'] = today_date.isoformat()
|
||||
else:
|
||||
bb.note("CVE database: file too old, forcing a full update")
|
||||
else:
|
||||
bb.note("CVE database: no preexisting database, do a full download")
|
||||
|
||||
with bb.progress.ProgressHandler(d) as ph, open(os.path.join(d.getVar("TMPDIR"), 'cve_check'), 'a') as cve_f:
|
||||
|
||||
@@ -313,6 +324,10 @@ def update_db(conn, elt):
|
||||
vectorString = None
|
||||
cveId = elt['cve']['id']
|
||||
if elt['cve']['vulnStatus'] == "Rejected":
|
||||
c = conn.cursor()
|
||||
c.execute("delete from PRODUCTS where ID = ?;", [cveId])
|
||||
c.execute("delete from NVD where ID = ?;", [cveId])
|
||||
c.close()
|
||||
return
|
||||
cveDesc = ""
|
||||
for desc in elt['cve']['descriptions']:
|
||||
@@ -346,6 +361,10 @@ def update_db(conn, elt):
|
||||
[cveId, cveDesc, cvssv2, cvssv3, date, accessVector, vectorString]).close()
|
||||
|
||||
try:
|
||||
# Remove any pre-existing CVE configuration. Even for partial database
|
||||
# update, those will be repopulated. This ensures that old
|
||||
# configuration is not kept for an updated CVE.
|
||||
conn.execute("delete from PRODUCTS where ID = ?", [cveId]).close()
|
||||
for config in elt['cve']['configurations']:
|
||||
# This is suboptimal as it doesn't handle AND/OR and negate, but is better than nothing
|
||||
for node in config["nodes"]:
|
||||
|
||||
@@ -196,7 +196,7 @@ if [ "$ACTION" = "remove" ] || [ "$ACTION" = "change" ] && [ -x "$UMOUNT" ] && [
|
||||
logger "mount.sh/remove" "cleaning up $DEVNAME, was mounted by the auto-mounter"
|
||||
for mnt in `cat /proc/mounts | grep "$DEVNAME" | cut -f 2 -d " " `
|
||||
do
|
||||
$UMOUNT $mnt
|
||||
$UMOUNT "`printf $mnt`"
|
||||
done
|
||||
# Remove mount directory created by the auto-mounter
|
||||
# and clean up our tmp cache file
|
||||
|
||||
@@ -47,3 +47,4 @@ do_install_ptest() {
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
CVE_STATUS[CVE-2023-45853] = "not-applicable-config: we don't build minizip"
|
||||
CVE_STATUS[CVE-2023-6992] = "cpe-incorrect: this CVE is for cloudflare zlib"
|
||||
|
||||
@@ -115,3 +115,4 @@ EXTRA_OECONF_PATHS = "\
|
||||
"
|
||||
|
||||
CVE_STATUS[CVE-2021-37322] = "cpe-incorrect: Is a binutils 2.26 issue, not gcc"
|
||||
CVE_STATUS[CVE-2023-4039] = "fixed-version: Fixed via CVE-2023-4039.patch included here. Set the status explictly to deal with all recipes that share the gcc-source"
|
||||
|
||||
@@ -44,19 +44,6 @@ Index: git/pseudo_util.c
|
||||
|
||||
#include <ctype.h>
|
||||
#include <errno.h>
|
||||
Index: git/pseudolog.c
|
||||
===================================================================
|
||||
--- git.orig/pseudolog.c
|
||||
+++ git/pseudolog.c
|
||||
@@ -8,7 +8,7 @@
|
||||
*/
|
||||
/* We need _XOPEN_SOURCE for strptime(), but if we define that,
|
||||
* we then don't get S_IFSOCK... _GNU_SOURCE turns on everything. */
|
||||
-#define _GNU_SOURCE
|
||||
+#define _DEFAULT_SOURCE
|
||||
|
||||
#include <ctype.h>
|
||||
#include <limits.h>
|
||||
Index: git/pseudo_client.c
|
||||
===================================================================
|
||||
--- git.orig/pseudo_client.c
|
||||
|
||||
@@ -14,7 +14,7 @@ SRC_URI:append:class-nativesdk = " \
|
||||
file://older-glibc-symbols.patch"
|
||||
SRC_URI[prebuilt.sha256sum] = "ed9f456856e9d86359f169f46a70ad7be4190d6040282b84c8d97b99072485aa"
|
||||
|
||||
SRCREV = "a8453eea4d902bbb0e01c786f1cb4a178c3bbee3"
|
||||
SRCREV = "516a0a3c4b46f046895d27bfa019d685fe462dfa"
|
||||
S = "${WORKDIR}/git"
|
||||
PV = "1.9.0+git"
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ HOMEPAGE = "https://pypi.org/project/Jinja2/"
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=5dc88300786f1c214c1e9827a5229462"
|
||||
|
||||
SRC_URI[sha256sum] = "31351a702a408a9e7595a8fc6150fc3f43bb6bf7e319770cbc0db9df9437e852"
|
||||
SRC_URI[sha256sum] = "ac8bd6544d4bb2c9792bf3a159e80bba8fda7f07e81bc3aed565432d5925ba90"
|
||||
|
||||
PYPI_PACKAGE = "Jinja2"
|
||||
|
||||
@@ -7,12 +7,11 @@ LICENSE = "GPL-3.0-only"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949"
|
||||
|
||||
SRC_URI = "${GNU_MIRROR}/cpio/cpio-${PV}.tar.gz \
|
||||
file://0001-configure-Include-needed-header-for-major-minor-macr.patch \
|
||||
file://run-ptest \
|
||||
file://test.sh \
|
||||
"
|
||||
|
||||
SRC_URI[sha256sum] = "145a340fd9d55f0b84779a44a12d5f79d77c99663967f8cfa168d7905ca52454"
|
||||
SRC_URI[sha256sum] = "efa50ef983137eefc0a02fdb51509d624b5e3295c980aa127ceee4183455499e"
|
||||
|
||||
inherit autotools gettext texinfo ptest
|
||||
|
||||
@@ -1,48 +0,0 @@
|
||||
From 8179be21e664cedb2e9d238cc2f6d04965e97275 Mon Sep 17 00:00:00 2001
|
||||
From: Sergey Poznyakoff <gray@gnu.org>
|
||||
Date: Thu, 11 May 2023 10:18:44 +0300
|
||||
Subject: [PATCH] configure: Include needed header for major/minor macros
|
||||
|
||||
This helps in avoiding the warning about implicit function declaration
|
||||
which is elevated as error with newer compilers e.g. clang 16
|
||||
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
|
||||
Upstream-Status: Backport
|
||||
Signed-off-by: Ross Burton <ross.burton@arm.com>
|
||||
---
|
||||
configure.ac | 18 ++++++++++++++++--
|
||||
1 file changed, 16 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index de479e7..c601029 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -43,8 +43,22 @@ AC_TYPE_UID_T
|
||||
AC_CHECK_TYPE(gid_t, int)
|
||||
|
||||
AC_HEADER_DIRENT
|
||||
-AX_COMPILE_CHECK_RETTYPE([major], [0])
|
||||
-AX_COMPILE_CHECK_RETTYPE([minor], [0])
|
||||
+AX_COMPILE_CHECK_RETTYPE([major], [0], [
|
||||
+#include <sys/types.h>
|
||||
+#ifdef MAJOR_IN_MKDEV
|
||||
+# include <sys/mkdev.h>
|
||||
+#endif
|
||||
+#ifdef MAJOR_IN_SYSMACROS
|
||||
+# include <sys/sysmacros.h>
|
||||
+#endif])
|
||||
+AX_COMPILE_CHECK_RETTYPE([minor], [0], [
|
||||
+#include <sys/types.h>
|
||||
+#ifdef MAJOR_IN_MKDEV
|
||||
+# include <sys/mkdev.h>
|
||||
+#endif
|
||||
+#ifdef MAJOR_IN_SYSMACROS
|
||||
+# include <sys/sysmacros.h>
|
||||
+#endif])
|
||||
|
||||
AC_CHECK_FUNCS([fchmod fchown])
|
||||
# This is needed for mingw build
|
||||
--
|
||||
2.34.1
|
||||
|
||||
@@ -6,7 +6,7 @@ SECTION = "base"
|
||||
LICENSE = "PD & BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=c679c9d6b02bc2757b3eaf8f53c43fba"
|
||||
|
||||
PV = "2023d"
|
||||
PV = "2024a"
|
||||
|
||||
SRC_URI =" http://www.iana.org/time-zones/repository/releases/tzcode${PV}.tar.gz;name=tzcode;subdir=tz \
|
||||
http://www.iana.org/time-zones/repository/releases/tzdata${PV}.tar.gz;name=tzdata;subdir=tz \
|
||||
@@ -16,5 +16,5 @@ S = "${WORKDIR}/tz"
|
||||
|
||||
UPSTREAM_CHECK_URI = "http://www.iana.org/time-zones"
|
||||
|
||||
SRC_URI[tzcode.sha256sum] = "e9a5f9e118886d2de92b62bb05510a28cc6c058d791c93bd6b84d3292c3c161e"
|
||||
SRC_URI[tzdata.sha256sum] = "dbca21970b0a8b8c0ceceec1d7b91fa903be0f6eca5ae732b5329672232a08f3"
|
||||
SRC_URI[tzcode.sha256sum] = "80072894adff5a458f1d143e16e4ca1d8b2a122c9c5399da482cb68cba6a1ff8"
|
||||
SRC_URI[tzdata.sha256sum] = "0d0434459acbd2059a7a8da1f3304a84a86591f6ed69c6248fffa502b6edffe3"
|
||||
|
||||
@@ -13,3 +13,5 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=5f30f0716dfdd0d91eb439ebec522ec2 \
|
||||
file://gtk/gtk.h;endline=25;md5=1d8dc0fccdbfa26287a271dce88af737 \
|
||||
file://gdk/gdk.h;endline=25;md5=c920ce39dc88c6f06d3e7c50e08086f2 \
|
||||
file://tests/testgtk.c;endline=25;md5=cb732daee1d82af7a2bf953cf3cf26f1"
|
||||
|
||||
CVE_PRODUCT = "gnome:gtk"
|
||||
|
||||
@@ -41,6 +41,8 @@ SRC_URI[sha256sum] = "148ce262f6c86487455fb1d9793c3f58bc3e1da477a29617fadb0420f5
|
||||
|
||||
S = "${WORKDIR}/gtk-${PV}"
|
||||
|
||||
CVE_PRODUCT = "gnome:gtk"
|
||||
|
||||
inherit meson gettext pkgconfig gi-docgen update-alternatives gsettings features_check gobject-introspection
|
||||
|
||||
# TBD: nativesdk
|
||||
|
||||
@@ -3,7 +3,7 @@ require xserver-xorg.inc
|
||||
SRC_URI += "file://0001-xf86pciBus.c-use-Intel-ddx-only-for-pre-gen4-hardwar.patch \
|
||||
file://0001-Avoid-duplicate-definitions-of-IOPortBase.patch \
|
||||
"
|
||||
SRC_URI[sha256sum] = "ff697be2011b4c4966b7806929e51b7a08e9d33800d505305d26d9ccde4b533a"
|
||||
SRC_URI[sha256sum] = "1d3dadbd57fb86b16a018e9f5f957aeeadf744f56c0553f55737628d06d326ef"
|
||||
|
||||
# These extensions are now integrated into the server, so declare the migration
|
||||
# path for in-place upgrades.
|
||||
@@ -10,7 +10,7 @@ LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=5df87950af51ac2c5822094553ea1880"
|
||||
|
||||
SRC_URI = "https://www.x.org/archive/individual/xserver/xwayland-${PV}.tar.xz"
|
||||
SRC_URI[sha256sum] = "eb9d9aa7232c47412c8835ec15a97c575f03563726c787754ff0c019bd07e302"
|
||||
SRC_URI[sha256sum] = "a99e159b6d0d33098b3b6ab22a88bfcece23c8b9d0ca72c535c55dcb0681b46b"
|
||||
|
||||
UPSTREAM_CHECK_REGEX = "xwayland-(?P<pver>\d+(\.(?!90\d)\d+)+)\.tar"
|
||||
|
||||
@@ -91,7 +91,7 @@ LIC_FILES_CHKSUM = "file://LICENCE.Abilis;md5=b5ee3f410780e56711ad48eadc22b8bc \
|
||||
file://LICENCE.cadence;md5=009f46816f6956cfb75ede13d3e1cee0 \
|
||||
file://LICENCE.cavium;md5=c37aaffb1ebe5939b2580d073a95daea \
|
||||
file://LICENCE.chelsio_firmware;md5=819aa8c3fa453f1b258ed8d168a9d903 \
|
||||
file://LICENSE.cirrus;md5=bb18d943382abf8e8232a9407bfdafe0 \
|
||||
file://LICENSE.cirrus;md5=662ea2c1a8888f7d79ed7f27c27472e1 \
|
||||
file://LICENCE.cnm;md5=93b67e6bac7f8fec22b96b8ad0a1a9d0 \
|
||||
file://LICENCE.cw1200;md5=f0f770864e7a8444a5c5aa9d12a3a7ed \
|
||||
file://LICENCE.cypress;md5=48cd9436c763bf873961f9ed7b5c147b \
|
||||
@@ -151,7 +151,7 @@ LIC_FILES_CHKSUM = "file://LICENCE.Abilis;md5=b5ee3f410780e56711ad48eadc22b8bc \
|
||||
"
|
||||
# WHENCE checksum is defined separately to ease overriding it if
|
||||
# class-devupstream is selected.
|
||||
WHENCE_CHKSUM = "ceb5248746d24d165b603e71b288cf75"
|
||||
WHENCE_CHKSUM = "a344e6c28970fc7daafa81c10247aeb6"
|
||||
|
||||
# These are not common licenses, set NO_GENERIC_LICENSE for them
|
||||
# so that the license files will be copied from fetched source
|
||||
@@ -237,7 +237,7 @@ SRC_URI:class-devupstream = "git://git.kernel.org/pub/scm/linux/kernel/git/firmw
|
||||
# Pin this to the 20220509 release, override this in local.conf
|
||||
SRCREV:class-devupstream ?= "b19cbdca78ab2adfd210c91be15a22568e8b8cae"
|
||||
|
||||
SRC_URI[sha256sum] = "c98d200fc4a3120de1a594713ce34e135819dff23e883a4ed387863ba25679c7"
|
||||
SRC_URI[sha256sum] = "bf0f239dc0801e9d6bf5d5fb3e2f549575632cf4688f4348184199cb02c2bcd7"
|
||||
|
||||
inherit allarch
|
||||
|
||||
@@ -248,7 +248,8 @@ do_compile() {
|
||||
}
|
||||
|
||||
do_install() {
|
||||
oe_runmake 'DESTDIR=${D}' 'FIRMWAREDIR=${nonarch_base_libdir}/firmware' install
|
||||
# install-nodedup avoids rdfind dependency
|
||||
oe_runmake 'DESTDIR=${D}' 'FIRMWAREDIR=${nonarch_base_libdir}/firmware' install-nodedup
|
||||
cp GPL-2 LICEN[CS]E.* WHENCE ${D}${nonarch_base_libdir}/firmware/
|
||||
}
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
|
||||
# Auto-generated CVE metadata, DO NOT EDIT BY HAND.
|
||||
# Generated at 2024-01-18 21:10:06.148505+00:00 for version 6.1.73
|
||||
# Generated at 2024-02-21 02:22:41.710563+00:00 for version 6.1.78
|
||||
|
||||
python check_kernel_cve_status_version() {
|
||||
this_version = "6.1.73"
|
||||
this_version = "6.1.78"
|
||||
kernel_version = d.getVar("LINUX_VERSION")
|
||||
if kernel_version != this_version:
|
||||
bb.warn("Kernel CVE status needs updating: generated for %s but kernel is %s" % (this_version, kernel_version))
|
||||
@@ -3668,6 +3668,10 @@ CVE_STATUS[CVE-2021-3348] = "fixed-version: Fixed from version 5.11rc6"
|
||||
|
||||
CVE_STATUS[CVE-2021-33624] = "fixed-version: Fixed from version 5.13rc7"
|
||||
|
||||
CVE_STATUS[CVE-2021-33630] = "fixed-version: Fixed from version 5.4rc1"
|
||||
|
||||
CVE_STATUS[CVE-2021-33631] = "cpe-stable-backport: Backported in 6.1.4"
|
||||
|
||||
CVE_STATUS[CVE-2021-33655] = "fixed-version: Fixed from version 5.19rc6"
|
||||
|
||||
CVE_STATUS[CVE-2021-33656] = "fixed-version: Fixed from version 5.12rc1"
|
||||
@@ -4420,7 +4424,7 @@ CVE_STATUS[CVE-2022-3636] = "fixed-version: Fixed from version 5.19rc1"
|
||||
|
||||
CVE_STATUS[CVE-2022-3640] = "fixed-version: Fixed from version 6.1rc4"
|
||||
|
||||
# CVE-2022-36402 has no known resolution
|
||||
CVE_STATUS[CVE-2022-36402] = "cpe-stable-backport: Backported in 6.1.50"
|
||||
|
||||
# CVE-2022-3642 has no known resolution
|
||||
|
||||
@@ -4958,7 +4962,7 @@ CVE_STATUS[CVE-2023-35824] = "cpe-stable-backport: Backported in 6.1.28"
|
||||
|
||||
CVE_STATUS[CVE-2023-35826] = "cpe-stable-backport: Backported in 6.1.28"
|
||||
|
||||
# CVE-2023-35827 needs backporting (fixed from 6.1.59)
|
||||
CVE_STATUS[CVE-2023-35827] = "cpe-stable-backport: Backported in 6.1.59"
|
||||
|
||||
CVE_STATUS[CVE-2023-35828] = "cpe-stable-backport: Backported in 6.1.28"
|
||||
|
||||
@@ -5032,7 +5036,7 @@ CVE_STATUS[CVE-2023-4015] = "cpe-stable-backport: Backported in 6.1.43"
|
||||
|
||||
CVE_STATUS[CVE-2023-40283] = "cpe-stable-backport: Backported in 6.1.45"
|
||||
|
||||
# CVE-2023-40791 needs backporting (fixed from 6.5rc6)
|
||||
CVE_STATUS[CVE-2023-40791] = "fixed-version: only affects 6.3rc1 onwards"
|
||||
|
||||
CVE_STATUS[CVE-2023-4128] = "cpe-stable-backport: Backported in 6.1.45"
|
||||
|
||||
@@ -5100,9 +5104,15 @@ CVE_STATUS[CVE-2023-4611] = "fixed-version: only affects 6.4rc1 onwards"
|
||||
|
||||
CVE_STATUS[CVE-2023-4623] = "cpe-stable-backport: Backported in 6.1.53"
|
||||
|
||||
# CVE-2023-46813 needs backporting (fixed from 6.1.60)
|
||||
CVE_STATUS[CVE-2023-46343] = "cpe-stable-backport: Backported in 6.1.60"
|
||||
|
||||
# CVE-2023-46862 needs backporting (fixed from 6.6)
|
||||
CVE_STATUS[CVE-2023-46813] = "cpe-stable-backport: Backported in 6.1.60"
|
||||
|
||||
CVE_STATUS[CVE-2023-46838] = "cpe-stable-backport: Backported in 6.1.75"
|
||||
|
||||
CVE_STATUS[CVE-2023-46862] = "cpe-stable-backport: Backported in 6.1.61"
|
||||
|
||||
# CVE-2023-47233 has no known resolution
|
||||
|
||||
CVE_STATUS[CVE-2023-4732] = "fixed-version: Fixed from version 5.14rc1"
|
||||
|
||||
@@ -5110,10 +5120,14 @@ CVE_STATUS[CVE-2023-4881] = "cpe-stable-backport: Backported in 6.1.54"
|
||||
|
||||
CVE_STATUS[CVE-2023-4921] = "cpe-stable-backport: Backported in 6.1.54"
|
||||
|
||||
# CVE-2023-50431 has no known resolution
|
||||
CVE_STATUS[CVE-2023-50431] = "cpe-stable-backport: Backported in 6.1.75"
|
||||
|
||||
CVE_STATUS[CVE-2023-5090] = "cpe-stable-backport: Backported in 6.1.62"
|
||||
|
||||
CVE_STATUS[CVE-2023-51042] = "cpe-stable-backport: Backported in 6.1.47"
|
||||
|
||||
CVE_STATUS[CVE-2023-51043] = "cpe-stable-backport: Backported in 6.1.40"
|
||||
|
||||
CVE_STATUS[CVE-2023-5158] = "cpe-stable-backport: Backported in 6.1.57"
|
||||
|
||||
CVE_STATUS[CVE-2023-51779] = "cpe-stable-backport: Backported in 6.1.70"
|
||||
@@ -5128,11 +5142,13 @@ CVE_STATUS[CVE-2023-51782] = "cpe-stable-backport: Backported in 6.1.69"
|
||||
|
||||
CVE_STATUS[CVE-2023-5197] = "cpe-stable-backport: Backported in 6.1.56"
|
||||
|
||||
CVE_STATUS[CVE-2023-52340] = "cpe-stable-backport: Backported in 6.1.73"
|
||||
|
||||
CVE_STATUS[CVE-2023-5345] = "cpe-stable-backport: Backported in 6.1.56"
|
||||
|
||||
CVE_STATUS[CVE-2023-5633] = "fixed-version: only affects 6.2 onwards"
|
||||
|
||||
# CVE-2023-5717 needs backporting (fixed from 6.1.60)
|
||||
CVE_STATUS[CVE-2023-5717] = "cpe-stable-backport: Backported in 6.1.60"
|
||||
|
||||
CVE_STATUS[CVE-2023-5972] = "fixed-version: only affects 6.2rc1 onwards"
|
||||
|
||||
@@ -5146,8 +5162,12 @@ CVE_STATUS[CVE-2023-6121] = "cpe-stable-backport: Backported in 6.1.65"
|
||||
|
||||
CVE_STATUS[CVE-2023-6176] = "cpe-stable-backport: Backported in 6.1.54"
|
||||
|
||||
CVE_STATUS[CVE-2023-6200] = "fixed-version: only affects 6.6rc1 onwards"
|
||||
|
||||
# CVE-2023-6238 has no known resolution
|
||||
|
||||
# CVE-2023-6240 has no known resolution
|
||||
|
||||
# CVE-2023-6270 has no known resolution
|
||||
|
||||
# CVE-2023-6356 has no known resolution
|
||||
@@ -5164,7 +5184,7 @@ CVE_STATUS[CVE-2023-6546] = "cpe-stable-backport: Backported in 6.1.47"
|
||||
|
||||
CVE_STATUS[CVE-2023-6606] = "cpe-stable-backport: Backported in 6.1.70"
|
||||
|
||||
# CVE-2023-6610 needs backporting (fixed from 6.7rc7)
|
||||
CVE_STATUS[CVE-2023-6610] = "cpe-stable-backport: Backported in 6.1.74"
|
||||
|
||||
CVE_STATUS[CVE-2023-6622] = "cpe-stable-backport: Backported in 6.1.68"
|
||||
|
||||
@@ -5172,6 +5192,8 @@ CVE_STATUS[CVE-2023-6679] = "fixed-version: only affects 6.7rc1 onwards"
|
||||
|
||||
CVE_STATUS[CVE-2023-6817] = "cpe-stable-backport: Backported in 6.1.68"
|
||||
|
||||
CVE_STATUS[CVE-2023-6915] = "cpe-stable-backport: Backported in 6.1.74"
|
||||
|
||||
CVE_STATUS[CVE-2023-6931] = "cpe-stable-backport: Backported in 6.1.68"
|
||||
|
||||
CVE_STATUS[CVE-2023-6932] = "cpe-stable-backport: Backported in 6.1.66"
|
||||
@@ -5186,5 +5208,65 @@ CVE_STATUS[CVE-2024-0193] = "fixed-version: only affects 6.5rc6 onwards"
|
||||
|
||||
CVE_STATUS[CVE-2024-0443] = "fixed-version: only affects 6.2rc1 onwards"
|
||||
|
||||
# Skipping dd=CVE-2023-1476, no affected_versions
|
||||
CVE_STATUS[CVE-2024-0562] = "fixed-version: Fixed from version 6.0rc3"
|
||||
|
||||
# CVE-2024-0564 has no known resolution
|
||||
|
||||
CVE_STATUS[CVE-2024-0565] = "cpe-stable-backport: Backported in 6.1.69"
|
||||
|
||||
CVE_STATUS[CVE-2024-0582] = "fixed-version: only affects 6.4rc1 onwards"
|
||||
|
||||
CVE_STATUS[CVE-2024-0584] = "cpe-stable-backport: Backported in 6.1.66"
|
||||
|
||||
CVE_STATUS[CVE-2024-0607] = "cpe-stable-backport: Backported in 6.1.64"
|
||||
|
||||
CVE_STATUS[CVE-2024-0639] = "cpe-stable-backport: Backported in 6.1.39"
|
||||
|
||||
CVE_STATUS[CVE-2024-0641] = "cpe-stable-backport: Backported in 6.1.57"
|
||||
|
||||
CVE_STATUS[CVE-2024-0646] = "cpe-stable-backport: Backported in 6.1.69"
|
||||
|
||||
CVE_STATUS[CVE-2024-0775] = "cpe-stable-backport: Backported in 6.1.29"
|
||||
|
||||
# CVE-2024-0841 has no known resolution
|
||||
|
||||
CVE_STATUS[CVE-2024-1085] = "cpe-stable-backport: Backported in 6.1.75"
|
||||
|
||||
CVE_STATUS[CVE-2024-1086] = "cpe-stable-backport: Backported in 6.1.76"
|
||||
|
||||
# CVE-2024-1312 needs backporting (fixed from 6.5rc4)
|
||||
|
||||
# CVE-2024-21803 has no known resolution
|
||||
|
||||
# CVE-2024-22099 has no known resolution
|
||||
|
||||
# CVE-2024-22386 has no known resolution
|
||||
|
||||
CVE_STATUS[CVE-2024-22705] = "cpe-stable-backport: Backported in 6.1.71"
|
||||
|
||||
# CVE-2024-23196 has no known resolution
|
||||
|
||||
# CVE-2024-23307 has no known resolution
|
||||
|
||||
# CVE-2024-23848 has no known resolution
|
||||
|
||||
CVE_STATUS[CVE-2024-23849] = "cpe-stable-backport: Backported in 6.1.76"
|
||||
|
||||
# CVE-2024-23850 has no known resolution
|
||||
|
||||
# CVE-2024-23851 has no known resolution
|
||||
|
||||
# CVE-2024-24855 has no known resolution
|
||||
|
||||
# CVE-2024-24857 has no known resolution
|
||||
|
||||
# CVE-2024-24858 has no known resolution
|
||||
|
||||
# CVE-2024-24859 has no known resolution
|
||||
|
||||
# CVE-2024-24860 has no known resolution
|
||||
|
||||
# CVE-2024-24861 has no known resolution
|
||||
|
||||
# CVE-2024-24864 has no known resolution
|
||||
|
||||
|
||||
@@ -14,13 +14,13 @@ python () {
|
||||
raise bb.parse.SkipRecipe("Set PREFERRED_PROVIDER_virtual/kernel to linux-yocto-rt to enable it")
|
||||
}
|
||||
|
||||
SRCREV_machine ?= "6fd0860ac9846438f226257ab515bcd612fdc379"
|
||||
SRCREV_meta ?= "40dede8a165ea5894f172fede6baa0dd94d23fec"
|
||||
SRCREV_machine ?= "8c4c2f0278e1c64eb5e95bfb23d6322e81090b3d"
|
||||
SRCREV_meta ?= "ea5365f818fb6031ec97b8ae7a88bb83001b901e"
|
||||
|
||||
SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine;protocol=https \
|
||||
git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-6.1;destsuffix=${KMETA};protocol=https"
|
||||
|
||||
LINUX_VERSION ?= "6.1.73"
|
||||
LINUX_VERSION ?= "6.1.78"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ require recipes-kernel/linux/linux-yocto.inc
|
||||
# CVE exclusions
|
||||
include recipes-kernel/linux/cve-exclusion_6.1.inc
|
||||
|
||||
LINUX_VERSION ?= "6.1.73"
|
||||
LINUX_VERSION ?= "6.1.78"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
|
||||
|
||||
DEPENDS += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-native', '', d)}"
|
||||
@@ -17,8 +17,8 @@ DEPENDS += "openssl-native util-linux-native"
|
||||
KMETA = "kernel-meta"
|
||||
KCONF_BSP_AUDIT_LEVEL = "2"
|
||||
|
||||
SRCREV_machine ?= "6c78fd37122b29c40bd8bb6f43aaa1ba7d6fb53a"
|
||||
SRCREV_meta ?= "40dede8a165ea5894f172fede6baa0dd94d23fec"
|
||||
SRCREV_machine ?= "d025fe8c17718aa4c837bfafee0f3aa0f830bc75"
|
||||
SRCREV_meta ?= "ea5365f818fb6031ec97b8ae7a88bb83001b901e"
|
||||
|
||||
PV = "${LINUX_VERSION}+git"
|
||||
|
||||
|
||||
@@ -18,25 +18,25 @@ KBRANCH:qemux86-64 ?= "v6.1/standard/base"
|
||||
KBRANCH:qemuloongarch64 ?= "v6.1/standard/base"
|
||||
KBRANCH:qemumips64 ?= "v6.1/standard/mti-malta64"
|
||||
|
||||
SRCREV_machine:qemuarm ?= "45e6b64447b888e94af6fa8529cf976bf8116624"
|
||||
SRCREV_machine:qemuarm64 ?= "6c78fd37122b29c40bd8bb6f43aaa1ba7d6fb53a"
|
||||
SRCREV_machine:qemuloongarch64 ?= "6c78fd37122b29c40bd8bb6f43aaa1ba7d6fb53a"
|
||||
SRCREV_machine:qemumips ?= "90ea25826ce7ef511d0d93ae33c3888f3b583bf3"
|
||||
SRCREV_machine:qemuppc ?= "6c78fd37122b29c40bd8bb6f43aaa1ba7d6fb53a"
|
||||
SRCREV_machine:qemuriscv64 ?= "6c78fd37122b29c40bd8bb6f43aaa1ba7d6fb53a"
|
||||
SRCREV_machine:qemuriscv32 ?= "6c78fd37122b29c40bd8bb6f43aaa1ba7d6fb53a"
|
||||
SRCREV_machine:qemux86 ?= "6c78fd37122b29c40bd8bb6f43aaa1ba7d6fb53a"
|
||||
SRCREV_machine:qemux86-64 ?= "6c78fd37122b29c40bd8bb6f43aaa1ba7d6fb53a"
|
||||
SRCREV_machine:qemumips64 ?= "59248cf67c17a987f898d9d0c81292cb5fcda858"
|
||||
SRCREV_machine ?= "6c78fd37122b29c40bd8bb6f43aaa1ba7d6fb53a"
|
||||
SRCREV_meta ?= "40dede8a165ea5894f172fede6baa0dd94d23fec"
|
||||
SRCREV_machine:qemuarm ?= "2f7e672f9677d3cc448ec7e004763f76f95c7fe0"
|
||||
SRCREV_machine:qemuarm64 ?= "d025fe8c17718aa4c837bfafee0f3aa0f830bc75"
|
||||
SRCREV_machine:qemuloongarch64 ?= "d025fe8c17718aa4c837bfafee0f3aa0f830bc75"
|
||||
SRCREV_machine:qemumips ?= "f6c42d90dab94077c1c8b6b7eb77d6ca85eab07e"
|
||||
SRCREV_machine:qemuppc ?= "ff10270b2748ad74c93ef0abf8e76a464665c23d"
|
||||
SRCREV_machine:qemuriscv64 ?= "d025fe8c17718aa4c837bfafee0f3aa0f830bc75"
|
||||
SRCREV_machine:qemuriscv32 ?= "d025fe8c17718aa4c837bfafee0f3aa0f830bc75"
|
||||
SRCREV_machine:qemux86 ?= "d025fe8c17718aa4c837bfafee0f3aa0f830bc75"
|
||||
SRCREV_machine:qemux86-64 ?= "d025fe8c17718aa4c837bfafee0f3aa0f830bc75"
|
||||
SRCREV_machine:qemumips64 ?= "01b545e3fd1f9ea66d812e281de06b07c861dd69"
|
||||
SRCREV_machine ?= "d025fe8c17718aa4c837bfafee0f3aa0f830bc75"
|
||||
SRCREV_meta ?= "ea5365f818fb6031ec97b8ae7a88bb83001b901e"
|
||||
|
||||
# set your preferred provider of linux-yocto to 'linux-yocto-upstream', and you'll
|
||||
# get the <version>/base branch, which is pure upstream -stable, and the same
|
||||
# meta SRCREV as the linux-yocto-standard builds. Select your version using the
|
||||
# normal PREFERRED_VERSION settings.
|
||||
BBCLASSEXTEND = "devupstream:target"
|
||||
SRCREV_machine:class-devupstream ?= "fec3b1451d5febbc9e04250f879c10f8952e6bed"
|
||||
SRCREV_machine:class-devupstream ?= "8b4118fabd6eb75fed19483b04dab3a036886489"
|
||||
PN:class-devupstream = "linux-yocto-upstream"
|
||||
KBRANCH:class-devupstream = "v6.1/base"
|
||||
|
||||
@@ -45,7 +45,7 @@ SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;name=machine;branch=${KBRA
|
||||
SRC_URI += "file://0001-perf-cpumap-Make-counter-as-unsigned-ints.patch"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
|
||||
LINUX_VERSION ?= "6.1.73"
|
||||
LINUX_VERSION ?= "6.1.78"
|
||||
|
||||
PV = "${LINUX_VERSION}+git"
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ LICENSE = "ISC"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=07c4f6dea3845b02a18dc00c8c87699c"
|
||||
|
||||
SRC_URI = "https://www.kernel.org/pub/software/network/${BPN}/${BP}.tar.xz"
|
||||
SRC_URI[sha256sum] = "26d4c2a727cc59239b84735aad856b7c7d0b04e30aa5c235c4f7f47f5f053491"
|
||||
SRC_URI[sha256sum] = "c8a61c9acf76fa7eb4239e89f640dee3e87098d9f69b4d3518c9c60fc6d20c55"
|
||||
|
||||
inherit bin_package allarch
|
||||
|
||||
@@ -13,7 +13,7 @@ do_install() {
|
||||
install -d -m0755 ${D}${nonarch_libdir}/crda
|
||||
install -d -m0755 ${D}${sysconfdir}/wireless-regdb/pubkeys
|
||||
install -m 0644 regulatory.bin ${D}${nonarch_libdir}/crda/regulatory.bin
|
||||
install -m 0644 sforshee.key.pub.pem ${D}${sysconfdir}/wireless-regdb/pubkeys/sforshee.key.pub.pem
|
||||
install -m 0644 wens.key.pub.pem ${D}${sysconfdir}/wireless-regdb/pubkeys/wens.key.pub.pem
|
||||
|
||||
install -m 0644 -D regulatory.db ${D}${nonarch_base_libdir}/firmware/regulatory.db
|
||||
install -m 0644 regulatory.db.p7s ${D}${nonarch_base_libdir}/firmware/regulatory.db.p7s
|
||||
@@ -12,7 +12,7 @@ SRC_URI = "https://gstreamer.freedesktop.org/src/gst-devtools/gst-devtools-${PV}
|
||||
file://0001-connect-has-a-different-signature-on-musl.patch \
|
||||
"
|
||||
|
||||
SRC_URI[sha256sum] = "cd634056fcb16d035b3df5953ec85ae8bd56c68f29920b720ef920ca71ea76a7"
|
||||
SRC_URI[sha256sum] = "02e29400b44e9cc603aa6444dee5726b57edabef6455e6d0921ffed6f13840ee"
|
||||
|
||||
DEPENDS = "json-glib glib-2.0 glib-2.0-native gstreamer1.0 gstreamer1.0-plugins-base"
|
||||
RRECOMMENDS:${PN} = "git"
|
||||
@@ -12,7 +12,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=69333daa044cb77e486cc36129f7a770 \
|
||||
"
|
||||
|
||||
SRC_URI = "https://gstreamer.freedesktop.org/src/gst-libav/gst-libav-${PV}.tar.xz"
|
||||
SRC_URI[sha256sum] = "be39349bc07ab4cdbd9a5fd6ea9848c601c7560ba5a0577ad5200b83bd424981"
|
||||
SRC_URI[sha256sum] = "192f7d27d21c1e7c72c339a2647a9b0c247fedc62ea5029115f8c3e22ebb87d8"
|
||||
|
||||
S = "${WORKDIR}/gst-libav-${PV}"
|
||||
|
||||
@@ -10,7 +10,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c \
|
||||
|
||||
SRC_URI = "https://gstreamer.freedesktop.org/src/gst-omx/gst-omx-${PV}.tar.xz"
|
||||
|
||||
SRC_URI[sha256sum] = "94df10e7713618f0c8a4223f6e047f2d8f0ccecba1d585618e791f13037762df"
|
||||
SRC_URI[sha256sum] = "9362d6117985d09dcf6e27bdaef377dc08efb7df01d00101d04fb644addac61e"
|
||||
|
||||
S = "${WORKDIR}/gst-omx-${PV}"
|
||||
|
||||
@@ -10,7 +10,7 @@ SRC_URI = "https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad
|
||||
file://0002-avoid-including-sys-poll.h-directly.patch \
|
||||
file://0004-opencv-resolve-missing-opencv-data-dir-in-yocto-buil.patch \
|
||||
"
|
||||
SRC_URI[sha256sum] = "458783f8236068991e3e296edd671c8eddb8be6fac933c1c2e1503462864ea0f"
|
||||
SRC_URI[sha256sum] = "1bc65d0fd5f53a3636564efd3fcf318c3edcdec39c4109a503c1fc8203840a1d"
|
||||
|
||||
S = "${WORKDIR}/gst-plugins-bad-${PV}"
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user