summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2020-12-08buildtools-tarball.bb: Fix PATH for environment setup scriptrbt/btRobert Yang
It only added ${SDKPATHNATIVE}/usr/bin to PATH which didn't work when files were installed to other bin dirs such as /bin or /sbin, for example, nativesdk-pigz installs the files to /bin, now fix it to keep align with sdk's PATH. Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2020-12-06meta/lib/oeqa/manual/oe-core.json: Update test_bitbake_devshellsangeeta jain
Update command used for cross compilation to include ${CONFIGUREOPTS} to ensure right arguments are passed for cross compiling on any host. Signed-off-by: sangeeta jain <sangeeta.jain@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-06systemd.bbclass: update command to check systemctl availableKai Kang
When use a core image with systemd as docker image, it fails to install/remove package which calls systemctl in post scripts. It fails to run systemctl in a container: bash-5.0# systemctl System has not been booted with systemd as init system (PID 1). Can't operate. Failed to connect to bus: Host is down So replace the criterion command 'type systemctl' with 'systemctl' in package post scripts to check whether systemctl available. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-06systemd-systemctl-native: capable to call without argumentKai Kang
In systemd.bbclass, it will replace criterion command 'type systemctl' with 'systemctl' without any argument to judge whether command systemctl is available. The change is to fix install/remove package error in container when command systemctl exists but not callable. Make native systemctl wrapper prints help mesages if called without any argument to follow the update. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-06qemu: CVE-2020-25624Li Wang
References: https://nvd.nist.gov/vuln/detail/CVE-2020-25624 backport patch from: https://git.qemu.org/?p=qemu.git;a=commit;h=1328fe0c32d5474604105b8105310e944976b058 Signed-off-by: Li Wang <li.wang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-06initscripts: Change execution order between checkroot and modutilsDiego Sueiro
When '/' is first mounted as read-only, we want to have the checkroot.sh initscript (which then remounts '/' as rw if allowed) running before the modutils.sh. This is because modutils.sh initscript might need to run depmod depending on the status of the modules.dep file to update it and the '/' needs to be writable. Signed-off-by: Diego Sueiro <diego.sueiro@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-06modutils-initscripts: Fix modules.dep creation when USE_DEPMOD="0"Diego Sueiro
When having USE_DEPMOD="0" it is expected that in the first boot that the modules.dep is generated. To achieve this we need to check if modules.dep exists and has a size greater than zero. This verification also needs to be done regardless of whether the /etc/modules or /etc/modules-load.d directories exist. Signed-off-by: Diego Sueiro <diego.sueiro@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-06systemd-conf: match ethernet interfaces by type rather than globbingJack Mitchell
If we say we're enabling DHCP on wired/ethernet networks lets be more specific than trying to catch everything with globbing. Signed-off-by: Jack Mitchell <ml@embed.me.uk> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-06systemd-conf: add PACKAGECONFIG to enable/disable auto ethernet DHCPJack Mitchell
Allow distros which include other network managers to disable the auto DHCP setup of interfaces in systemd-networkd. Signed-off-by: Jack Mitchell <ml@embed.me.uk> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-06Revert "connman: set service to conflict with systemd-networkd"Jack Mitchell
Without further examples of how this is failing revert as using both together is a valid use case, for example connman handling Wifi/AP and systemd-networkd handling more complex routing such as for containers and ethernet switches. This reverts commit 5303420ead25817f5caec276b79eec7ee797271a. Signed-off-by: Jack Mitchell <ml@embed.me.uk> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-06oeqa/selftest/containerimage: update for improved cleanupRoss Burton
ldconfig/aux-cache isn't generated anymore, and the opkg directories are correctly removed now. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-06package_manager/ipk: improve remove_packaging_dataRoss Burton
/var/cache/opkg wasn't being deleted, and /var/lib/opkg doesn't need to exist as there are no lockfiles that write into it after this step. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-06ldconfig-native: don't write auxiliary cacheRoss Burton
The auxiliary cache written by ldconfig is only useful for speeding up future runs of ldconfig, and as it contains inode numbers as the keys in a dictionary it is entirely pointless to generate on the build host. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-03qemu: CVE-2020-29129 CVE-2020-29130Li Wang
References: https://nvd.nist.gov/vuln/detail/CVE-2020-29129 https://nvd.nist.gov/vuln/detail/CVE-2020-29130 backport patch from: https://git.qemu.org/?p=libslirp.git;a=commit;h=2e1dcbc0c2af64fcb17009eaf2ceedd81be2b27f Signed-off-by: Li Wang <li.wang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-03linux-firmware: package ath11k firmwareDmitry Baryshkov
Package firmware for new generation of Atheros WiFi cards. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-03linux-firmware: upgrade 20201022 -> 20201118Dmitry Baryshkov
License-Update: firmware versions/filenames Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-03package_manager/ipk: neaten OPKGLIBDIR logicRoss Burton
oe.path.join handles path components starting with / for us. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-03image_types: sort tarball file listingsRoss Burton
Help rootfs tarballs be reproducible by sorting the file listing. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-03image_types: remove obsolete tar commentRoss Burton
We now depend on tar 1.28, so talking about older tar versions is just confusing. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-03bitbake.conf: Add all layers (from BBLAYERS) to PSEUDO_IGNORE_PATHSPeter Kjellerstedt
Instead of ignoring ${COREBASE}/meta in PSEUDO_IGNORE_PATHS (which may or may not ignore all layers depending on how they are named and placed under ${COREBASE}), ignore all layers. Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-03pseudo: Simplify pseudo_client_ignore_path_chroot()Peter Kjellerstedt
This also plugs a memory leak in pseudo_client_ignore_path_chroot(). Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-03oeqa/devtool: use Yocto mirror for pv-1.5.3 tarballRoss Burton
Some of the selftests failed over the weekend with "access denied" errors fetching this tarball. Instead of relying on upstream when fetching the tarball, use the Yocto source mirrors instead. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-03dbus: move messagebus user to dbus-common packageLuca Boccassi
dbus-broker also uses the messagebus user, so move it over from dbus to dbus-common Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-03lz4: Use the new branch naming from upstreamRichard Purdie
Upstream renamed master -> dev, update SRC_URI to match. [YOCTO #14135] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-03buildtools-tarball: add wic dependency into extended buildtoolsChangqing Li
fix below error: wic ls ./core-image-minimal-intel-x86-64.wic ERROR: Can't find executable parted wic depend on some tools like parted/mtools/..., and we have those tools in native_sysroot. so above problem can be avoided by run command like wic ls imagename.wic --native-sysroot <path> but this cannot cover condition that usr don't have build the image, the image just copy from somewhere. Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30kernel-dummy: fix executing unexpected tasksAndrej Valek
- correctly save files into sstate - fix: ERROR: Task linux-dummy.do_fetch attempted to execute unexpectedly Signed-off-by: Andrej Valek <andrej.valek@siemens.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30python3-numpy: Add ptestKhem Raj
Since 1.15, numpy have replaced nose with pytest testing framework it additionally needs hypothesis and sortedcontainers modules Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30python3-numpy: Upgrade to 1.19.4Khem Raj
Unify inc file into single recipe, py2 is gone Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30python3-hypothesis: upgrade 5.41.3 -> 5.41.4Tim Orling
Upstream release notes: """ 5.41.4 - 2020-11-28 This patch fixes issue #2657, where passing unicode patterns compiled with re.IGNORECASE to from_regex() could trigger an internal error when casefolding a character creates a longer string (e.g. "\u0130".lower() -> "i\u0370"). """ Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30maintainers.inc: add self for new python recipesTim Orling
* Add self as maintainer for: - python3-hypothesis - python3-sortedcontainers Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30python3-sortedcontainers: move from meta-pythonTim Orling
Sorted Containers is an Apache2 licensed sorted collections library, written in pure-Python, and fast as C-extensions. * Part of the dependency chain for python3-numpy ptest Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30python3-hypothesis: move from meta-pythonTim Orling
A library for property-based testing * Part of the dependency chain for python3-numpy ptest Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30python3-pytest: RDEPENDS on python3-tomlTim Orling
The generated requires.txt in pytest-*-py3.9.egg-info shows the requirement. Caught during ptest of python3-wcwidth: Signed-off-byROR collecting tests/test_core.py ______________________ tests/test_core.py:4: in <module> import pkg_resources ../../python3.9/site-packages/pkg_resources/__init__.py:3239: in <module> def _initialize_master_working_set(): ../../python3.9/site-packages/pkg_resources/__init__.py:3222: in _call_aside f(*args, **kwargs) ../../python3.9/site-packages/pkg_resources/__init__.py:3251: in _initialize_master_working_set working_set = WorkingSet._build_master() ../../python3.9/site-packages/pkg_resources/__init__.py:567: in _build_master ws.require(__requires__) ../../python3.9/site-packages/pkg_resources/__init__.py:884: in require needed = self.resolve(parse_requirements(requirements)) ../../python3.9/site-packages/pkg_resources/__init__.py:770: in resolve raise DistributionNotFound(req, requirers) E pkg_resources.DistributionNotFound: The 'toml' distribution was not found and is required by pytest Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30python3-importlib-metadata: upgrade 2.0.0 to 3.1.0Tim Orling
Upstream release notes: " v3.1.0 Merge with 2.1.0. v2.1.0 #253: When querying for package metadata, the lookup now honors package normalization rules. v3.0.0 Require Python 3.6 or later. " Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30python3-more-itertools: upgrade 8.5.0 -> 8.6.0Tim Orling
Upstream release notes: " * New itertools - all_unique (thanks to brianmaissy) - nth_product and nth_permutation (thanks to N8Brooks) * Changes to existing itertools - chunked and sliced now accept a strict parameter (thanks to shlomif and jtwool) * Other changes - Python 3.5 has reached its end of life and is no longer supported. - Python 3.9 is officially supported. - Various documentation fixes (thanks to timgates42) Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30maintainers.inc: add self for new pytest packagesTim Orling
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30python3-pytest: move from meta-pythonTim Orling
Simple powerful testing with python Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30python3-pluggy: move from meta-pythonTim Orling
Plugin and hook calling mechanisms for python * Part of the dependency chain for pytest Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30python3-importlib-metadata: move from meta-pythonTim Orling
Read metadata from Python packages * Part of the dependency chain for pytest Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30python3-zipp: move from meta-pythonTim Orling
Backport of pathlib-compatible object wrapper for zip files * Part of the dependency chain for pytest Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30python3-wcwidth: move from meta-pythonTim Orling
Library for bulding powerful interactive command lines in Python * Part of the dependency chain for pytest Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30python3-packaging: move from meta-pythonTim Orling
Core utilities for Python packages * Part of the dependency chain for pytest Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30python3-setuptools-scm: move from meta-pythonTim Orling
The blessed package to manage your versions by scm tags * Part of the dependency chain for pytest Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30python3-py: move from meta-pythonTim Orling
Library with cross-pythonpath, ini-parsing, io, code, log facilities * Part of the dependency chain for pytest Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30python3-toml: move from meta-pythonTim Orling
Python Library for Tom's Obvious, Minimimal Language * Part of the dependency chain for pytest Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30python3-pathlib2: move from meta-pythonTim Orling
Object-oriented filesystem paths * Part of the dependency chain for pytest Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30python3-more-itertools: move from meta-pythonTim Orling
More routines for operating on iterables, beyond itertools * Part of the dependency chain for pytest Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30python3-iniconfig: move from meta-pythonTim Orling
A small and simple INI-file parser module * Part of the dependency chain for pytest Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30python3-attrs: move from meta-pythonTim Orling
Classes Without Boilerplate * Part of the dependency chain for pytest Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30python3-atomicwrites: move from meta-pythonTim Orling
Powerful Python library for atomic file writes * Part of the dependency chain for python3-pytest Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>