]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
2 years agodnf: upgrade 4.10.0 -> 4.11.1
wangmy [Tue, 15 Mar 2022 10:51:02 +0000 (18:51 +0800)] 
dnf: upgrade 4.10.0 -> 4.11.1

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agocreaterepo-c: upgrade 0.18.0 -> 0.19.0
wangmy [Tue, 15 Mar 2022 10:51:01 +0000 (18:51 +0800)] 
createrepo-c: upgrade 0.18.0 -> 0.19.0

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoqemu: Fix build on ppc64
Khem Raj [Tue, 15 Mar 2022 02:00:44 +0000 (19:00 -0700)] 
qemu: Fix build on ppc64

add a missing system include

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython_pep517: use installer instead of pip
Ross Burton [Mon, 14 Mar 2022 14:39:23 +0000 (14:39 +0000)] 
python_pep517: use installer instead of pip

Instead of battling pip to install a wheel, use installer. Installer
does one thing, so it's faster and easier to work with.

This means setuptools, pip, and wheel are no longer part of the
bootstrap phase, so they can be built normally.  To avoid sysroot file
conflicts these three recipes can't install .pyc files to the native
sysroot.

We currently patch pypa/installer to allow us to override the interpreter
used, which means we can drop the interpreter seding.

We don't need to recompile any Python which is found in $bindir as
Python doesn't actually load those files.

Across a build of oe-core, the only differences between using pip and
installer are:

- the .dist-info/RECORD files are ordered differently
- the .dist-info/REQUESTED and INSTALLER files are not created
- the hashbang in native scripts is "/usr/bin/env nativepython" instead
  of pointing directly at the native sysroot python3.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-installer: add installer module
Ross Burton [Mon, 14 Mar 2022 14:39:22 +0000 (14:39 +0000)] 
python3-installer: add installer module

Add a recipe for Installer, a minimal library/tool to install Python
Wheels.  Unlike PIP, it explicitly only installs wheels and does nothing
else.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-cryptography-vectors: Fix reproducibility
Richard Purdie [Mon, 14 Mar 2022 11:25:45 +0000 (11:25 +0000)] 
python3-cryptography-vectors: Fix reproducibility

We regenerate the pycache files and the checksums in the manifest are incorrect.
Remove them to avoid this and ensure reproducibility.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-cryptography: remove obsolete PIP_INSTALL_DIST_PATH
Ross Burton [Mon, 14 Mar 2022 21:01:12 +0000 (21:01 +0000)] 
python3-cryptography: remove obsolete PIP_INSTALL_DIST_PATH

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-cryptography: Add missing ptest tomli dependency
Richard Purdie [Mon, 14 Mar 2022 11:25:23 +0000 (11:25 +0000)] 
python3-cryptography: Add missing ptest tomli dependency

Add missing tomli runtime dependency to allow ptests to execute.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-cryptography: mark test_create_certificate_with_extensions as expected to...
Ross Burton [Mon, 14 Mar 2022 13:56:54 +0000 (13:56 +0000)] 
python3-cryptography: mark test_create_certificate_with_extensions as expected to fail

This test causes OpenSSL to leak some memory. Until this is resolved in
OpenSSL, mark the test as expected-to-fail.

Signed-off-by: Ross Burton <ross.burton@arm.com>
2 years agoptest-packagelists: add python3-bcrypt and -pytz
Tim Orling [Mon, 14 Mar 2022 04:10:34 +0000 (21:10 -0700)] 
ptest-packagelists: add python3-bcrypt and -pytz

python3-bcrypt and python3-pytz both run in just a few seconds, so add
them to the fast list.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoptest-packagelists.inc: add python3-cryptography
Tim Orling [Sat, 12 Mar 2022 21:07:02 +0000 (13:07 -0800)] 
ptest-packagelists.inc: add python3-cryptography

The python3-cryptography recipe has a lot of tests and uses a large
amount of memory. It is slow (> 30 seconds).

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2 years agopoetry_core: update for renamed class pip_install_wheel to python_pep517
Ross Burton [Sat, 12 Mar 2022 20:06:09 +0000 (20:06 +0000)] 
poetry_core: update for renamed class pip_install_wheel to python_pep517

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopoetry_core: Rename to python_poetry_core
Richard Purdie [Sun, 13 Mar 2022 09:14:25 +0000 (09:14 +0000)] 
poetry_core: Rename to python_poetry_core

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agosetuptools3_rust: Rename to python_setuptools3_rust
Richard Purdie [Sun, 13 Mar 2022 09:13:20 +0000 (09:13 +0000)] 
setuptools3_rust: Rename to python_setuptools3_rust

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopy3o: Rename to python_py3o
Richard Purdie [Sun, 13 Mar 2022 09:11:29 +0000 (09:11 +0000)] 
py3o: Rename to python_py3o

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agomaintainers.inc: add python3-crypto and friends
Tim Orling [Sat, 12 Mar 2022 21:02:07 +0000 (13:02 -0800)] 
maintainers.inc: add python3-crypto and friends

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2 years agopython3-ply: move from meta-python
Tim Orling [Sat, 12 Mar 2022 21:53:06 +0000 (13:53 -0800)] 
python3-ply: move from meta-python

Dependency for python3-cryptography

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2 years agopython3-pycparser: move from meta-python
Tim Orling [Sat, 12 Mar 2022 21:50:14 +0000 (13:50 -0800)] 
python3-pycparser: move from meta-python

Dependency for python3-cryptography

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2 years agopython3-semantic-version: move from meta-python
Tim Orling [Sat, 12 Mar 2022 21:47:33 +0000 (13:47 -0800)] 
python3-semantic-version: move from meta-python

Dependency for python3-cryptography

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2 years agopython3-typing-extensions: move from meta-python
Tim Orling [Sat, 12 Mar 2022 21:44:29 +0000 (13:44 -0800)] 
python3-typing-extensions: move from meta-python

Dependency for python3-cryptography

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2 years agopython3-iso8601: move from meta-python
Tim Orling [Sat, 12 Mar 2022 21:35:27 +0000 (13:35 -0800)] 
python3-iso8601: move from meta-python

Dependency for python3-cryptography

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2 years agopython3-poetry-core: remove obsolete PIP_INSTALL_PACKAGE
Ross Burton [Mon, 14 Mar 2022 21:01:00 +0000 (21:01 +0000)] 
python3-poetry-core: remove obsolete PIP_INSTALL_PACKAGE

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-poetry-core: move from meta-python
Tim Orling [Sat, 12 Mar 2022 21:38:48 +0000 (13:38 -0800)] 
python3-poetry-core: move from meta-python

A PEP 517 build backend implementation developed for Poetry. This project
is intended to be a light weight, fully compliant, self-contained package
allowing PEP 517 compatible build frontends to build Poetry managed projects.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2 years agopoetry_core.bbclass: move from meta-python
Tim Orling [Sat, 12 Mar 2022 21:40:31 +0000 (13:40 -0800)] 
poetry_core.bbclass: move from meta-python

poetry.core.masonry.api is one of the common PEP-517 build backends.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2 years agopython3-psutil/python3-bcrypt: Add missing HOMEPAGE
Richard Purdie [Sun, 13 Mar 2022 16:49:38 +0000 (16:49 +0000)] 
python3-psutil/python3-bcrypt: Add missing HOMEPAGE

Add missing HOMEPAGE entries to the two recipes imported from meta-oe to fix
selftest failures.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-psutil: move from meta-python
Tim Orling [Sat, 12 Mar 2022 21:31:52 +0000 (13:31 -0800)] 
python3-psutil: move from meta-python

Dependency for python3-cryptography

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2 years agopython3-pretend: move from meta-python
Tim Orling [Sat, 12 Mar 2022 21:28:51 +0000 (13:28 -0800)] 
python3-pretend: move from meta-python

Dependency for python3-cryptography

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2 years agopython3-bcrypt: move from meta-python
Tim Orling [Sat, 12 Mar 2022 21:25:16 +0000 (13:25 -0800)] 
python3-bcrypt: move from meta-python

Dependency for python3-cryptography

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2 years agopython3-pytz: move from meta-python
Tim Orling [Sat, 12 Mar 2022 21:21:40 +0000 (13:21 -0800)] 
python3-pytz: move from meta-python

Dependency for python3-cryptography

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2 years agopython3-cffi: move from meta-python
Tim Orling [Sat, 12 Mar 2022 21:17:10 +0000 (13:17 -0800)] 
python3-cffi: move from meta-python

Dependency for python3-cryptography

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2 years agopython3-asn1crypto: move from meta-python
Tim Orling [Sat, 12 Mar 2022 21:13:08 +0000 (13:13 -0800)] 
python3-asn1crypto: move from meta-python

Dependency for python3-cryptography

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2 years agopython3-cryptography-vectors: from meta-python
Tim Orling [Sat, 12 Mar 2022 21:00:50 +0000 (13:00 -0800)] 
python3-cryptography-vectors: from meta-python

Dependency for python3-cryptography ptest.

This recipe needs to be kept in lock-step with the version of
python3-cryptography.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2 years agopython3-pytest-subtests: move from meta-python
Tim Orling [Sat, 12 Mar 2022 20:59:18 +0000 (12:59 -0800)] 
python3-pytest-subtests: move from meta-python

Dependency for python3-cryptography ptest.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2 years agopython3-cryptography: move from meta-python
Tim Orling [Sat, 12 Mar 2022 20:53:54 +0000 (12:53 -0800)] 
python3-cryptography: move from meta-python

* inherit new setuptools_rust class (which inherits new pyo3 class, which
  inherits cargo and python3-dir).
* RDEPENDS on python3-pytest-subtests for ptest
* Copy pyproject.toml for ptest as it defines the pytest.marker(s) needed
* Use 'cargo bitbake' to generate the crate:// SRC_URIs
   - Needed some hacks to the Cargo.toml in src/rust/ to make this work (probably
     only package.repository was strictly required):

     [package]
     description = "cryptography includes both high level recipes and low level interfaces to common cryptographic algorithms such as symmetric ciphers, message digests, and key derivation functions."
     homepage = "https://github.com/pyca/cryptography"
     repository = "https://github.com/pyca/cryptography"

* Add patches to src/rust/Cargo.toml to fix cargo errors including  pem version
* Add check-memfree.py to ptest to check for sufficient free memory

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2 years agosetuptools3_rust.bbclass: move from meta-python
Tim Orling [Sat, 12 Mar 2022 20:50:43 +0000 (12:50 -0800)] 
setuptools3_rust.bbclass: move from meta-python

setuptools-rust is a plugin for setuptools to build Rust Python extensions
implemented with PyO3 or rust-cpython.

Compile and distribute Python extensions written in Rust as easily as if
they were written in C.

This class inherits pyo3.bbclass (and therefore cargo.bbclass) and
setuptools3.bbclass to make it easier to build Python modules with Rust
extensions.

Need to call pyo3_do_configure to properly setup the PyO3 environment
for cross-compiling.

Need to call cargo_common_do_configure to setup cargo_home/config so
that the linker properly finds e.g. crti.o and crtbeginS.o

It is strongly recommended to provide crates needed for your recipe
using the crate:// fetcher. This can be helped with the cargo-bitbake
command [1].

If you choose not to use the crate fetcher, bitbake vendoring will not
work with setuptools-rust, as it errors out immediately because it cannot
find pyo3 or some other crate. The (strongly discouraged) workaround for
this is to set:

CARGO_DISABLE_BITBAKE_VENDORING = "1"

[1] https://crates.io/crates/cargo-bitbake

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2 years agopyo3.bbclass: move from meta-python
Tim Orling [Sat, 12 Mar 2022 20:49:24 +0000 (12:49 -0800)] 
pyo3.bbclass: move from meta-python

PyO3 provides Rust bindings for Python, including tools for creating native
Python extension modules. Running and interacting with Python code from a
Rust binary is also supported.

This class sets up the cross-compilation environment.

Export PYO3_CROSS, PYO3_CROSS_LIB_DIR, PYO3_CROSS_INCLUDE_DIR and CARGO_BUILD_TARGET
to inform tools like setuptools-rust we are cross-compiling.

Export RUSTFLAGS so cargo can find 'std' and 'core' for target

Dynamically generate PyO3 config file and export PYO3_CONFIG_FILE
absolute path. This is the trick that finally made pyo3 work.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2 years agopython3-setuptools-rust-native: remove obsolete PIP_*
Ross Burton [Mon, 14 Mar 2022 21:01:35 +0000 (21:01 +0000)] 
python3-setuptools-rust-native: remove obsolete PIP_*

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-setuptools-rust-native: from meta-python
Tim Orling [Sat, 12 Mar 2022 20:46:44 +0000 (12:46 -0800)] 
python3-setuptools-rust-native: from meta-python

Dependency for python3-cryptography 3.4.x+

Only native rustc is supported at this time in oe-core,
therefore it makes no sense to try to build for target.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2 years agogst-devtools: upgrade 1.20.0 -> 1.20.1
Jose Quaresma [Mon, 14 Mar 2022 23:17:12 +0000 (23:17 +0000)] 
gst-devtools: upgrade 1.20.0 -> 1.20.1

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agogstreamer1.0-python: upgrade 1.20.0 -> 1.20.1
Jose Quaresma [Mon, 14 Mar 2022 23:17:11 +0000 (23:17 +0000)] 
gstreamer1.0-python: upgrade 1.20.0 -> 1.20.1

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agogstreamer1.0-rtsp-server: upgrade 1.20.0 -> 1.20.1
Jose Quaresma [Mon, 14 Mar 2022 23:17:10 +0000 (23:17 +0000)] 
gstreamer1.0-rtsp-server: upgrade 1.20.0 -> 1.20.1

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agogstreamer1.0-vaapi: upgrade 1.20.0 -> 1.20.1
Jose Quaresma [Mon, 14 Mar 2022 23:17:09 +0000 (23:17 +0000)] 
gstreamer1.0-vaapi: upgrade 1.20.0 -> 1.20.1

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agogstreamer1.0-omx: upgrade 1.20.0 -> 1.20.1
Jose Quaresma [Mon, 14 Mar 2022 23:17:08 +0000 (23:17 +0000)] 
gstreamer1.0-omx: upgrade 1.20.0 -> 1.20.1

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agogstreamer1.0-libav: upgrade 1.20.0 -> 1.20.1
Jose Quaresma [Mon, 14 Mar 2022 23:17:07 +0000 (23:17 +0000)] 
gstreamer1.0-libav: upgrade 1.20.0 -> 1.20.1

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agogstreamer1.0-plugins-ugly: upgrade 1.20.0 -> 1.20.1
Jose Quaresma [Mon, 14 Mar 2022 23:17:06 +0000 (23:17 +0000)] 
gstreamer1.0-plugins-ugly: upgrade 1.20.0 -> 1.20.1

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agogstreamer1.0-plugins-bad: upgrade 1.20.0 -> 1.20.1
Jose Quaresma [Mon, 14 Mar 2022 23:17:05 +0000 (23:17 +0000)] 
gstreamer1.0-plugins-bad: upgrade 1.20.0 -> 1.20.1

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agogstreamer1.0-plugins-good: upgrade 1.20.0 -> 1.20.1
Jose Quaresma [Mon, 14 Mar 2022 23:17:04 +0000 (23:17 +0000)] 
gstreamer1.0-plugins-good: upgrade 1.20.0 -> 1.20.1

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agogstreamer1.0-plugins-base: upgrade 1.20.0 -> 1.20.1
Jose Quaresma [Mon, 14 Mar 2022 23:17:03 +0000 (23:17 +0000)] 
gstreamer1.0-plugins-base: upgrade 1.20.0 -> 1.20.1

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agogstreamer1.0: upgrade 1.20.0 -> 1.20.1
Jose Quaresma [Mon, 14 Mar 2022 23:17:02 +0000 (23:17 +0000)] 
gstreamer1.0: upgrade 1.20.0 -> 1.20.1

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolibstd-rs: Fix build on riscv64/musl
Khem Raj [Mon, 14 Mar 2022 18:13:22 +0000 (11:13 -0700)] 
libstd-rs: Fix build on riscv64/musl

Backport necessary patch, which was dropped in upgrade to 1.59

Fixes:

error[E0425]: cannot find value `SYS_clone3` in this scope
   --> library/std/src/sys/unix/weak.rs:202:17
    |
202 |                   concat_idents!(SYS_, $name),
    |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `SYS_clone`
    |
   ::: library/std/src/sys/unix/process/process_unix.rs:165:9
    |
165 | /         raw_syscall! {
166 | |             fn clone3(cl_args: *mut clone_args, len: libc::size_t) -> libc::c_long
167 | |         }
    | |_________- in this macro invocation
    |

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoerofs-utils: Use __SANE_USERSPACE_TYPES__ on ppc64
Khem Raj [Sun, 13 Mar 2022 19:52:04 +0000 (12:52 -0700)] 
erofs-utils: Use __SANE_USERSPACE_TYPES__ on ppc64

ppc64 historically has used l64 for defining u64 types in kernel
asm/types.h defaults to use l64 by default but kernel uses ll64 now a
days, therefore lets use same int-ll64.h to provide these defines like
other architectures

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoshadow-native: Simplify and fix syslog disable patch
Richard Purdie [Mon, 14 Mar 2022 17:53:29 +0000 (17:53 +0000)] 
shadow-native: Simplify and fix syslog disable patch

Shadow is happily spamming the host syslog with messages and shouldn't be
which suggests the patch isn't working. Redo it to work at the configure
level which is simpler and hopefully more effective.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoscripts/runqemu: Fix memory limits for qemux86-64
Richard Purdie [Mon, 14 Mar 2022 13:35:00 +0000 (13:35 +0000)] 
scripts/runqemu: Fix memory limits for qemux86-64

When setting memory to 4GB, qemu is only running with 2GB for x86_64.
Avoid this by removing the mem= option to the kernel and letting the
qemu configuration handle it for x86 in a similar way to mips.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agogo: Remove three unnecessary paths from do_compile[dirs]
Peter Kjellerstedt [Mon, 14 Mar 2022 14:16:47 +0000 (15:16 +0100)] 
go: Remove three unnecessary paths from do_compile[dirs]

There is no reason to include a path in foo[dirs] if it is also in
foo[cleandirs] (except if it is the last path in foo[dirs]).

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoimage.bbclass: Remove two unnecessary paths from do_rootfs[dirs]
Peter Kjellerstedt [Mon, 14 Mar 2022 14:16:45 +0000 (15:16 +0100)] 
image.bbclass: Remove two unnecessary paths from do_rootfs[dirs]

There is no reason to include a path in foo[dirs] if it is also in
foo[cleandirs] (except if it is the last path in foo[dirs]).

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopackage.bbclass: Remove an unnecessary path from do_package[dirs]
Peter Kjellerstedt [Mon, 14 Mar 2022 14:16:46 +0000 (15:16 +0100)] 
package.bbclass: Remove an unnecessary path from do_package[dirs]

There is no reason to include a path in foo[dirs] if it is also in
foo[cleandirs] (except if it is the last path in foo[dirs]).

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agodeploy.bbclass: Remove an unnecessary path from do_deploy[dirs]
Peter Kjellerstedt [Mon, 14 Mar 2022 14:16:44 +0000 (15:16 +0100)] 
deploy.bbclass: Remove an unnecessary path from do_deploy[dirs]

There is no reason to include a path in foo[dirs] if it is also in
foo[cleandirs] (except if it is the last path in foo[dirs]).

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agocreate-spdx.bbclass: Remove an unnecessary path from do_create_spdx[dirs]
Peter Kjellerstedt [Mon, 14 Mar 2022 14:16:43 +0000 (15:16 +0100)] 
create-spdx.bbclass: Remove an unnecessary path from do_create_spdx[dirs]

There is no reason to include a path in foo[dirs] if it is also in
foo[cleandirs] (except if it is the last path in foo[dirs]).

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agobinutils: Bump to latest 2.38 release branch
Khem Raj [Sun, 13 Mar 2022 07:59:32 +0000 (23:59 -0800)] 
binutils: Bump to latest 2.38 release branch

Fixes building ppc32 kernels

Brings following fixes

2d92604cd30 Revert "Check thin archive element file size against archive header"
  * ed9b2e40ebf binutils 2.38 vs. ppc32 linux kernel
  * 40d32f56f63 Updated Serbian translations for the bfd, gold, ld and opcodes directories
  * 6aa1b7df2fc ld: Keep indirect symbol from IR if referenced from shared object
  * ae1cab7d3f3 i386: Update I386_NEED_DYNAMIC_RELOC_TYPE_P for DT_TEXTREL
  * df9071487a8 PR28882, build failure with gcc-4.2 due to use of 0b literals
  * caa6172de4b x86: Disallow invalid relocation against protected symbol

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolinux-yocto: Ignore textrels for ppc64 kernel
Khem Raj [Sun, 13 Mar 2022 07:59:31 +0000 (23:59 -0800)] 
linux-yocto: Ignore textrels for ppc64 kernel

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agogcompat: Do not use static-pie on ppc
Khem Raj [Sun, 13 Mar 2022 07:59:30 +0000 (23:59 -0800)] 
gcompat: Do not use static-pie on ppc

It fails currently with binutils 2.38
powerpc-yoe-linux-musl-ld: read-only segment has dynamic relocations

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoppc/siteinfo: Fix differences between musl and glibc
Khem Raj [Sat, 12 Mar 2022 19:18:22 +0000 (11:18 -0800)] 
ppc/siteinfo: Fix differences between musl and glibc

There is a key difference between glibc and musl when it comes to
ppc/ppc64 and that is that musl does not support 128-bit long IBM doubles format
it only supports 128-bit long double IEEE format on ppc64 alone.
this change ensures that we account for this change, so far we have been
doing it a bit wrong for ppc/musl case.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopowerpc32-linux: Remove libc cached variables
Khem Raj [Sat, 12 Mar 2022 19:18:21 +0000 (11:18 -0800)] 
powerpc32-linux: Remove libc cached variables

libc_cv_ppc_machine and no longer exists in glibc
others are detected correctly in configure. They
perhaps made sense in past when the toolchain build has several
bootstrap stages

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolibrsvg: inherit vala
Markus Volk [Sat, 12 Mar 2022 07:30:22 +0000 (08:30 +0100)] 
librsvg: inherit vala

this fixes a build error about missing vapigen and enables vapi build

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agogtk+3: remove deprecated option
Markus Volk [Sat, 12 Mar 2022 07:30:21 +0000 (08:30 +0100)] 
gtk+3: remove deprecated option

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agomesa: update to 22.0.0
Markus Volk [Sat, 12 Mar 2022 07:30:20 +0000 (08:30 +0100)] 
mesa: update to 22.0.0

- remove 0001-v3dv-account-for-64bit-time_t-on-32bit-arches.patch that was applied upstream

- adjust 0002-meson.build-make-TLS-ELF-optional.patch

- fix patch fuzz

- DRI1 drivers have been removed! For all AMD/Nvidia Cards gallium-llvm is required

License-Update: removed references to deleted code.

RP: Fix dri PACKAGECONFIG reference to opengl instead

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agox86-base.inc: replace intel i965 driver with crocus
Markus Volk [Sat, 12 Mar 2022 08:01:58 +0000 (09:01 +0100)] 
x86-base.inc: replace intel i965 driver with crocus

this fixes do_rootfs for core-image-sato after mesa update:

 Problem: package packagegroup-core-x11-base-1.0-r1.noarch requires packagegroup-core-x11-xserver, but none of the providers can be installed
  - conflicting requests
  - nothing provides mesa-driver-i965 needed by packagegroup-core-x11-xserver-1.0-r40.intel_corei7_64
(try to add '--skip-broken' to skip uninstallable packages)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agodbus: update 1.12.22 -> 1.14.0
Alexander Kanavin [Wed, 9 Mar 2022 22:22:14 +0000 (23:22 +0100)] 
dbus: update 1.12.22 -> 1.14.0

Drop patches:
clear-guid_from_server-if-send_negotiate_unix_f.patch
stop_using_selinux_set_mapping.patch
(both merged upstream)

python-config.patch
(patched code removed upstream)

License-Update: whitespace fixes

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agodbus: merge dbus.inc into the recipe
Alexander Kanavin [Wed, 9 Mar 2022 22:22:13 +0000 (23:22 +0100)] 
dbus: merge dbus.inc into the recipe

The content is unchanged.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agodbus-test: merge into main dbus recipe
Alexander Kanavin [Wed, 9 Mar 2022 22:22:12 +0000 (23:22 +0100)] 
dbus-test: merge into main dbus recipe

The reason it was separate is that there is a peculiar circular
dependency: dbus tests require glib, while some of glib's gdbus tests
require dbus. So dbus was built with tests disabled and without glib
dependency, then glib was built with dbus dependency, then dbus was
built again with glib dependency and tests enabled, only for the purpose
of installing those tests. I find that brittle and hacky, so this
removes dbus dependecy from glib (the fallout is that some gdbus tests
are no longer being executed), and dbus and its tests are built once,
after glib. Conversely, dbus is now dependent on glib for the purpose
of building the tests.

Also, dbus ptest installation is no longer using custom code, and dbus
run-ptest simply uses standard installed tests execution mechanism from
gnome.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agooeqa/runtime/ping: Improve failure message to include more detail
Richard Purdie [Sat, 12 Mar 2022 13:44:03 +0000 (13:44 +0000)] 
oeqa/runtime/ping: Improve failure message to include more detail

When the ping test fails due to a timeout we only get limited debug
information. Tweak the code to improve that in case it sheds any light
on intermittent failures.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoweston-init: add use-pixman PACKAGECONFIG
Ming Liu [Sat, 12 Mar 2022 14:10:56 +0000 (15:10 +0100)] 
weston-init: add use-pixman PACKAGECONFIG

Fbdev backend has been deprecated since weston 10.0.0, and it could be
replaced by passing --use-pixman to drm backend, add a use-pixman
PACKAGECONFIG for convenience.

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoimage.bbclass: make sure do_rootfs run from a clean workspace
Ming Liu [Sat, 12 Mar 2022 11:53:03 +0000 (12:53 +0100)] 
image.bbclass: make sure do_rootfs run from a clean workspace

Add ${IMAGE_ROOTFS} and ${IMGDEPLOYDIR} to do_rootfs[dirs] and
do_rootfs[cleandirs], this ensures do_rootfs run from a clean
workspace, with this change, we can now remove two bb.utils.mkdirhier
lines from meta/lib/oe/rootfs.py.

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoRevert "mesa: make sure GLES3 headers are installed"
Richard Purdie [Sat, 12 Mar 2022 17:12:17 +0000 (17:12 +0000)] 
Revert "mesa: make sure GLES3 headers are installed"

This reverts commit 7c6effef9d471efbaea76e23e91938687fcc661c.

It uses old overrides syntax which simply doesn't work.

2 years agolibxml2: update to 2.9.13
Ralph Siemsen [Fri, 11 Mar 2022 16:58:55 +0000 (11:58 -0500)] 
libxml2: update to 2.9.13

- new version includes fix for CVE-2022-23308
- drop patche which was upstream
- refresh patch

Signed-off-by: Ralph Siemsen <ralph.siemsen@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolibxml2: move to gitlab.gnome.org
Ralph Siemsen [Fri, 11 Mar 2022 16:58:54 +0000 (11:58 -0500)] 
libxml2: move to gitlab.gnome.org

The project has migrated from www.xmlsoft.org to gitlab.gnome.org.
Update the homepage accordingly, and use gnomebase to construct the
download URL, rather than including it in SRC_URI explicitly.

Note that the download is now in .xz format rather than .gz, so the
sha256sum is updated accordingly. Post-decompression tarballs are
identical, so there is no change to the libxml2 code.

Signed-off-by: Ralph Siemsen <ralph.siemsen@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython_pep517: move PEP517_SOURCE_PATH to python_pep517
Ross Burton [Fri, 11 Mar 2022 17:12:06 +0000 (17:12 +0000)] 
python_pep517: move PEP517_SOURCE_PATH to python_pep517

Now we have the start of a PEP-517 base class, the PEP517_SOURCE_PATH
variable can be defined in there instead of the classes that use it.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agometa: rename pip_install_wheel.bbclass to python_pep517.bbclass
Ross Burton [Fri, 11 Mar 2022 12:03:02 +0000 (12:03 +0000)] 
meta: rename pip_install_wheel.bbclass to python_pep517.bbclass

pip_install_wheel shouldn't restricted to just using Pip to install
wheels (the installer module is simplier and likely a better option),
and in the future may be extended to also provide do_compile() using
the build module.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agometa: remove obsolete PIP_INSTALL_PACKAGE
Ross Burton [Fri, 11 Mar 2022 12:02:04 +0000 (12:02 +0000)] 
meta: remove obsolete PIP_INSTALL_PACKAGE

PIP_INSTALL_PACKAGE isn't used anymore, so remove all instances of it
from the recipes.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agosetuptools3-base: improve RDEPENDS assignment
Ross Burton [Fri, 11 Mar 2022 15:05:30 +0000 (15:05 +0000)] 
setuptools3-base: improve RDEPENDS assignment

Use :append instead of += so that recipes can assign to RDEPENDS:${PN}.
This fixes missing RDEPENDS for sixteen recipes in oe-core alone.

Also instead of using obscure inline Python we can just use the
class-target override.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agogrub-efi: Add option to include all available modules
Diego Sueiro [Fri, 11 Mar 2022 18:07:12 +0000 (18:07 +0000)] 
grub-efi: Add option to include all available modules

Include all available modules If 'all' is present in GRUB_BUILDIN variable.
To achieve this we need to search for all .mod files in ${B}/grub-core/ and
pass them to grub-mkimage command.

Also, add the verbose option to grub-mkimage.

Signed-off-by: Diego Sueiro <diego.sueiro@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agogcompat: Update to latest
Khem Raj [Fri, 11 Mar 2022 17:39:45 +0000 (09:39 -0800)] 
gcompat: Update to latest

Brings in these fixes

  * 391b270 unistd: add __close
  * 8af2ff2 random_r: set `x` before calling savestate_r
  * cca99e8 wchar: add __mbrlen
  * 59e99e9 random_r: Add reentrant random functions from LSB
  * 6461276 gnulib: Add __fdelt_warn alias

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agobind: all even versions now get long term maintenance windows
Alexander Kanavin [Fri, 11 Mar 2022 20:13:32 +0000 (21:13 +0100)] 
bind: all even versions now get long term maintenance windows

See here:
https://www.isc.org/download/
https://kb.isc.org/docs/aa-00896

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoweston: require wayland as a distro feature
Joe Slater [Thu, 10 Mar 2022 20:08:07 +0000 (12:08 -0800)] 
weston: require wayland as a distro feature

Weston will not configure successfully unless wayland
is a distro feature.

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agooe-pkgdata-util: Adapt to the new variable override syntax
Peter Kjellerstedt [Thu, 10 Mar 2022 21:23:49 +0000 (22:23 +0100)] 
oe-pkgdata-util: Adapt to the new variable override syntax

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoseatd: upgrade to 0.6.4 (fixes CVE-2022-25643)
Ross Burton [Thu, 10 Mar 2022 13:51:59 +0000 (13:51 +0000)] 
seatd: upgrade to 0.6.4 (fixes CVE-2022-25643)

We need to set nobranch=1 as the 0.6.4 tag isn't on any branches at
present.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agofiles: overlayfs-etc: add overlay mount options to preinit
Claudius Heine [Thu, 10 Mar 2022 13:13:29 +0000 (14:13 +0100)] 
files: overlayfs-etc: add overlay mount options to preinit

Overlayfs-etc is useful if the rootfs is read-only. One reason to have
the rootfs read-only is to allow image based updating.

Image based updating will change the underlying root file system, which
is unsupported by overlayfs when with some mount options [1].

This disables those options.

[1] https://www.kernel.org/doc/html/latest/filesystems/overlayfs.html?highlight=overlayfs#changes-to-underlying-filesystems

Signed-off-by: Claudius Heine <ch@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agofiles: overlayfs-etc: wrap long lines of preinit file
Claudius Heine [Thu, 10 Mar 2022 13:13:28 +0000 (14:13 +0100)] 
files: overlayfs-etc: wrap long lines of preinit file

Make it easier to see what is happening by wrapping the overly long
lines in the preinit file for the overlayfs-etc.

Signed-off-by: Claudius Heine <ch@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoiptables: do not install /etc/ethertypes
Trevor Gamblin [Thu, 10 Mar 2022 14:10:03 +0000 (09:10 -0500)] 
iptables: do not install /etc/ethertypes

Take inspiration from the ebtables recipe in meta-networking and omit
installation of etc/ethertypes, since it is provided by netbase. If we
don't do this, the following error occurs during build:

Error: Transaction test error:
  file /etc/ethertypes conflicts between attempted installs of
iptables-1.8.7-r0.core2_64 and netbase-1:6.3-r0.noarch

Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopip_install_wheel: add a generic do_install for bootstrapping
Ross Burton [Thu, 10 Mar 2022 11:40:33 +0000 (11:40 +0000)] 
pip_install_wheel: add a generic do_install for bootstrapping

Several recipes are duplicating the same bootstrap logic for installing
a wheel without using any tools.  Add an implementation to
pip_install_wheel to centralise the code, and remove the duplicated code
from the following recipes:

- python3-flit-core
- python3-pip
- python3-setuptools
- python3-wheel

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-pip: remove redundant DEPENDS on python3-setuptools-native
Ross Burton [Thu, 10 Mar 2022 11:40:34 +0000 (11:40 +0000)] 
python3-pip: remove redundant DEPENDS on python3-setuptools-native

This recipe inherits setuptools_build_meta which already depends on
python3-setuptools-native.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoflit_core: remove redundant python3-pip-native DEPENDS
Ross Burton [Thu, 10 Mar 2022 11:40:35 +0000 (11:40 +0000)] 
flit_core: remove redundant python3-pip-native DEPENDS

PIP is not needed by this class directly, but is used by
pip_install_wheel which already depends on python3-pip-native.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agom4: Fix build on musl/ppc
Khem Raj [Thu, 10 Mar 2022 07:53:34 +0000 (23:53 -0800)] 
m4: Fix build on musl/ppc

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolibtool: Recognise additional linker commandline options passed by clang
Khem Raj [Wed, 9 Mar 2022 20:57:37 +0000 (12:57 -0800)] 
libtool: Recognise additional linker commandline options passed by clang

Like stdlib, these options are also used to select runtime libraries by
clang driver

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agounzip: Pass LDFLAGS to configure tests
Khem Raj [Wed, 9 Mar 2022 20:26:05 +0000 (12:26 -0800)] 
unzip: Pass LDFLAGS to configure tests

Ensures the configure time tests are compiled/linked with the Options
that it will be using to build.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agooverlayfs-etc: add condition to package-management feature conflict
Claudius Heine [Wed, 9 Mar 2022 12:05:26 +0000 (13:05 +0100)] 
overlayfs-etc: add condition to package-management feature conflict

The conflict with the `package-managment` only happens if the
`overlayfs-etc` class overwrites `/sbin/init`, which is not the case
when `OVERLAYFS_ETC_USE_ORIG_INIT_NAME` is set to `0`.

Signed-off-by: Claudius Heine <ch@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agooverlayfs: add systemd unit path prefix to FILES:${PN} array
Claudius Heine [Wed, 9 Mar 2022 14:29:46 +0000 (15:29 +0100)] 
overlayfs: add systemd unit path prefix to FILES:${PN} array

The 'FILES:${PN}' array is missing the systemd unit dir prefix causing
them to not be packaged and the build fails with the
`installed-vs-shipped` error.

This adds the `systemd_system_unitdir` variable in front of every unit
file added with this class.

Signed-off-by: Claudius Heine <ch@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agowebkitgtk: Fix build when x11 is not in distro features
Khem Raj [Wed, 9 Mar 2022 17:07:52 +0000 (09:07 -0800)] 
webkitgtk: Fix build when x11 is not in distro features

ANGLE's copy of khrplatform.h is not uptodate with mesa/khronos khrplatform.h
which uses MESA_EGL_NO_X11_HEADERS which is now renamed in newer headers to
EGL_NO_X11 from mesa/khronos headers, however this define is
relatively new and 3D stacks do not have this adopted but apps
like qemu and bunch of others depend on it, I guess they assume mesa.
One can argue that its better to fix the 3D stacks to behave
like mesa but this means every BSP using these stacks will need to
carry such a fix.

https://gitlab.freedesktop.org/mesa/mesa/-/blob/main/include/EGL/eglplatform.h

This patch helps with that

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoqemu: Fix build when x11 is not in distro features
Khem Raj [Wed, 9 Mar 2022 17:07:51 +0000 (09:07 -0800)] 
qemu: Fix build when x11 is not in distro features

There is use of MESA_EGL_NO_X11_HEADERS which is now renamed in newer headers to
EGL_NO_X11 from mesa/khronos headers, however this define is
relatively new and 3D stacks do not have this adopted but apps
like qemu and bunch of others depend on it, I guess they assume mesa.
One can argue that its better to fix the 3D stacks to behave
like mesa but this means every BSP using these stacks will need to
carry such a fix.

https://gitlab.freedesktop.org/mesa/mesa/-/blob/main/include/EGL/eglplatform.h

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoconf/machine: fix QEMU x86 sound options
Michael Opdenacker [Wed, 9 Mar 2022 10:02:59 +0000 (11:02 +0100)] 
conf/machine: fix QEMU x86 sound options

This updates the QEMU sounds options for x86 emulation,
when "runqemu" is called with the "audio" argument,
to fix the below error:

runqemu - ERROR - Failed to run qemu: qemu-system-x86_64: warning: '-soundhw ac97' is deprecated, please use '-device AC97' instead

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>