]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
4 years agolttng-tools: Fix missing legacy test files
Anders Wallin [Fri, 9 Apr 2021 12:59:32 +0000 (14:59 +0200)]
lttng-tools: Fix missing legacy test files

tests/regression/tools/save-load

Signed-off-by: Anders Wallin <anders.wallin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agovte: Upgrade to 0.64.0 release
Khem Raj [Mon, 5 Apr 2021 20:38:17 +0000 (13:38 -0700)]
vte: Upgrade to 0.64.0 release

Use git for SRC_URI as thi release has not appeared on gnome downloads yet
Drop LGPL-2.0 as it has fully moved to LGPL-3.1+ see [1] that also
covers for change in License checksums for GPL-3

Add license information to cover for Xterm files in libvte

Add new glade files into -dev package

[1] https://github.com/GNOME/vte/commit/5e14529d4219f3792690566ef7ec70febd87e070

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoglib-2.0: upgrade 2.66.7 -> 2.68.0
wangmy [Wed, 31 Mar 2021 14:28:01 +0000 (22:28 +0800)]
glib-2.0: upgrade 2.66.7 -> 2.68.0

the following patches are refreshed:
0001-Set-host_machine-correctly-when-building-with-mingw3.patch
0001-gio-tests-codegen.py-bump-timeout-to-100-seconds.patch
0001-tests-codegen.py-removing-unecessary-print-statement.patch
relocate-modules.patch

the following patches are removed since they are included
in 2.68.0:
0001-gobject-Drop-use-of-volatile-from-get_type-macros.patch
0002-tests-Fix-non-atomic-access-to-a-shared-variable.patch
0003-tests-Fix-non-atomic-access-to-a-shared-variable.patch
0004-tests-Drop-unnecessary-volatile-qualifiers-from-test.patch
0005-tests-Fix-non-atomic-access-to-some-shared-variables.patch
0006-tests-Drop-unnecessary-volatile-qualifiers-from-test.patch
0007-gdbusconnection-Drop-unnecessary-volatile-qualifiers.patch
0008-gdbuserror-Drop-unnecessary-volatile-qualifiers-from.patch
0009-gio-Drop-unnecessary-volatile-qualifiers-from-intern.patch
0010-kqueue-Fix-unlocked-access-to-shared-variable.patch
0011-tests-Drop-unnecessary-volatile-qualifiers-from-test.patch
0012-tests-Fix-non-atomic-access-to-some-shared-variables.patch
0013-gatomic-Drop-unnecessary-volatile-qualifiers-from-in.patch
0014-gatomic-Drop-unnecessary-volatile-qualifiers-from-ma.patch
0015-glib-Drop-unnecessary-volatile-qualifiers-from-inter.patch
0016-gobject-Drop-unnecessary-volatile-qualifiers-from-in.patch
0017-gmessages-Drop-unnecessary-volatile-qualifiers-from-.patch
0018-gtypes-Drop-volatile-qualifier-from-gatomicrefcount.patch
0019-gatomicarray-Drop-volatile-qualifier-from-GAtomicArr.patch
0020-gobject-Drop-volatile-qualifier-from-GObject.ref_cou.patch
0021-tests-Drop-unnecessary-volatile-qualifiers-from-test.patch
0022-build-Drop-unnecessary-volatile-qualifiers-from-conf.patch
0023-gdbusprivate-Avoid-a-warning-about-a-statement-with-.patch
0024-tests-Add-comment-to-volatile-atomic-tests.patch
0025-gthread-Use-g_atomic-primitives-correctly-in-destruc.patch
0026-gtype-Fix-some-typos-in-comments.patch
0027-gtype-Add-some-missing-atomic-accesses-to-init_state.patch
0028-gresource-Fix-a-pointer-mismatch-with-an-atomic-load.patch
0029-docs-Document-not-to-use-volatile-qualifiers.patch

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopython3-gitdb: upgrade 4.0.5 -> 4.0.7
zhengruoqin [Wed, 31 Mar 2021 23:38:51 +0000 (07:38 +0800)]
python3-gitdb: upgrade 4.0.5 -> 4.0.7

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopython3-dbusmock: upgrade 0.22.0 -> 0.23.0
zhengruoqin [Wed, 31 Mar 2021 23:38:34 +0000 (07:38 +0800)]
python3-dbusmock: upgrade 0.22.0 -> 0.23.0

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agonetbase: upgrade 6.2 -> 6.3
zhengruoqin [Wed, 31 Mar 2021 23:38:03 +0000 (07:38 +0800)]
netbase: upgrade 6.2 -> 6.3

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibsolv: upgrade 0.7.17 -> 0.7.18
wangmy [Wed, 31 Mar 2021 14:28:21 +0000 (22:28 +0800)]
libsolv: upgrade 0.7.17 -> 0.7.18

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoghostscript: upgrade 9.53.3 -> 9.54.0
wangmy [Wed, 31 Mar 2021 14:27:43 +0000 (22:27 +0800)]
ghostscript: upgrade 9.53.3 -> 9.54.0

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogcr: upgrade 3.38.1 -> 3.40.0
wangmy [Wed, 31 Mar 2021 14:23:16 +0000 (22:23 +0800)]
gcr: upgrade 3.38.1 -> 3.40.0

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoccache: upgrade 4.2 -> 4.2.1
wangmy [Wed, 31 Mar 2021 14:22:25 +0000 (22:22 +0800)]
ccache: upgrade 4.2 -> 4.2.1

License-Update: add license information of src/third_party/win32/winerror_to_errno.h

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agodbus-glib: upgrade 0.110 -> 0.112
wangmy [Wed, 31 Mar 2021 14:22:26 +0000 (22:22 +0800)]
dbus-glib: upgrade 0.110 -> 0.112

License-Update:add the following information of license
     SPDX-License-Identifier: AFL-2.1 OR GPL-2.0-or-later

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoell: upgrade 0.38 -> 0.39
wangmy [Wed, 31 Mar 2021 14:22:27 +0000 (22:22 +0800)]
ell: upgrade 0.38 -> 0.39

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agosqlite3: upgrade 3.35.0 -> 3.35.3
Randy MacLeod [Tue, 30 Mar 2021 14:05:37 +0000 (10:05 -0400)]
sqlite3: upgrade 3.35.0 -> 3.35.3

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agovte: upgrade 0.62.2 -> 0.62.3
Wang Mingyu [Wed, 24 Mar 2021 23:46:54 +0000 (07:46 +0800)]
vte: upgrade 0.62.2 -> 0.62.3

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agowebkitgtk: upgrade 2.30.5 -> 2.30.6
Wang Mingyu [Thu, 25 Mar 2021 03:28:00 +0000 (11:28 +0800)]
webkitgtk: upgrade 2.30.5 -> 2.30.6

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agowpebackend-fdo: upgrade 1.8.0 -> 1.8.2
zhengruoqin [Fri, 26 Mar 2021 10:24:17 +0000 (18:24 +0800)]
wpebackend-fdo: upgrade 1.8.0 -> 1.8.2

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoepiphany: upgrade 3.38.2 -> 3.38.3
zhengruoqin [Fri, 26 Mar 2021 10:23:28 +0000 (18:23 +0800)]
epiphany: upgrade 3.38.2 -> 3.38.3

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibassuan: upgrade 2.5.4 -> 2.5.5
Wang Mingyu [Mon, 29 Mar 2021 05:51:23 +0000 (13:51 +0800)]
libassuan: upgrade 2.5.4 -> 2.5.5

refresh libassuan-add-pkgconfig-support.patch

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agovalgrind: Add libstdc++ debug symbols for ptest
Khem Raj [Wed, 14 Apr 2021 16:40:18 +0000 (09:40 -0700)]
valgrind: Add libstdc++ debug symbols for ptest

new/delete symbols are needed by overloaded-new.post test

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agovalgrind: Add glibc-src to ptest rdeps
Khem Raj [Wed, 14 Apr 2021 16:40:17 +0000 (09:40 -0700)]
valgrind: Add glibc-src to ptest rdeps

gdbserver tests look for glibc sources ( rtld.c )
or else they are flagged as differences and tests marked as failures

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agovalgrind: Delete trailing whitespaces
Khem Raj [Wed, 14 Apr 2021 16:40:16 +0000 (09:40 -0700)]
valgrind: Delete trailing whitespaces

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agovalgrind: Fix ptest swapcontext.vgtest
Yi Fan Yu [Mon, 12 Apr 2021 20:48:18 +0000 (13:48 -0700)]
valgrind: Fix ptest swapcontext.vgtest

Backport an upstream patch.
to limit the amount of stackstrace present.

Revert "valgrind: Disable ptest swapcontext.vgtest"
Effectively reverts commit 9dff5766f5795bb02677050045f24365f68bbc1a.

[YOCTO #14324]

Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agovalgrind: Disable ptest swapcontext.vgtest
Yi Fan Yu [Fri, 26 Mar 2021 14:37:10 +0000 (07:37 -0700)]
valgrind: Disable ptest swapcontext.vgtest

New test introduced in valgrind 3.17.0.
Test fails on both qemuarm64 and qemux64.

[YOCTO #14324]

Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agovalgrind: update 3.16.1 -> 3.17.0
Yi Fan Yu [Fri, 26 Mar 2021 14:37:09 +0000 (07:37 -0700)]
valgrind: update 3.16.1 -> 3.17.0

Notable changes:
* library is now in libexecdir instead of libdir

Added patches:
* Add musl.supp: missing musl.supp in 3.17.0

Dropped backport patches:
* nlcontrolc: found in c79180a3afcf65902e578646c3b716cc749db406
* drd Fedora33: found in 15330adf7c2471fbaa6a0818db07078d81dbff97
* lmw lswi ppc64le: found in 74b74174d572fee4015b8f4e326db3cd949bcdc3

Other dropped patches
* helgrind intercept: found in d2d54dbcc74244adfc0c80b40862edf2b82f53b9
* drd musl fix: found in d2d54dbcc74244adfc0c80b40862edf2b82f53b9

TESTING RESULTS:
qemux86-64:
FAIL: drd/tests/swapcontext

      3.17.0  3.16.1
===================
TOTAL:  736    726
PASSED: 694    688
FAILED:   1      0
SKIPPED: 41     38

Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoboost-build-native: upgrade 4.3.0 -> 4.4.1
Wang Mingyu [Wed, 24 Mar 2021 13:38:48 +0000 (21:38 +0800)]
boost-build-native: upgrade 4.3.0 -> 4.4.1

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agobabeltrace2: upgrade 2.0.3 -> 2.0.4
Wang Mingyu [Wed, 24 Mar 2021 13:38:47 +0000 (21:38 +0800)]
babeltrace2: upgrade 2.0.3 -> 2.0.4

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoat-spi2-core: upgrade 2.38.0 -> 2.40.0
Wang Mingyu [Wed, 24 Mar 2021 13:38:46 +0000 (21:38 +0800)]
at-spi2-core: upgrade 2.38.0 -> 2.40.0

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolayer.conf: Update to add post 3.3 release honister series
Richard Purdie [Thu, 15 Apr 2021 13:57:41 +0000 (14:57 +0100)]
layer.conf: Update to add post 3.3 release honister series

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agobusybox: fix CVE-2021-28831
Chen Qi [Thu, 8 Apr 2021 04:55:18 +0000 (21:55 -0700)]
busybox: fix CVE-2021-28831

Backport patch to fix CVE-2021-28831.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoarchiver: Fix typos
Daniel Ammann [Thu, 8 Apr 2021 10:30:11 +0000 (12:30 +0200)]
archiver: Fix typos

Signed-off-by: Daniel Ammann <daniel.ammann@bytesatwork.ch>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogcc-runtime: Make DEBUG_PREFIX_MAP relative to S
Khem Raj [Thu, 15 Apr 2021 01:13:22 +0000 (18:13 -0700)]
gcc-runtime: Make DEBUG_PREFIX_MAP relative to S

Current definition of SLIB is actually equal to S but is hardcoded, this
means when we have altered location of S, then the regexp for
DEBUG_PREFIX_MAP will not be effective, which could result in S being
emitted into debug_line sections. Simplify the maps to use S variable
instead of SLIB

Secondly, rename SLIB_NEW to REL_S to make it more appropritate to what
it represents

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoglibc: Rename glibc src package
Khem Raj [Wed, 14 Apr 2021 20:11:22 +0000 (13:11 -0700)]
glibc: Rename glibc src package

Since glibc uses custom PACKAGES, it misses using ${PN}-src and as a
result it uses libc-src for name which means creating rdep on glibc src
package becomes difficult since bitbake can not resolve rdep = glibc-src
back to glibc recipe and bails out on builds

Missing or unbuildable dependency chain was: ['glibc-src']
ERROR: Required build target 'valgrind' has no buildable providers.
Missing or unbuildable dependency chain was: ['valgrind', 'glibc-src']

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogcc: Upgrade to 10.3.0 bug-fix release
Khem Raj [Fri, 9 Apr 2021 19:46:03 +0000 (12:46 -0700)]
gcc: Upgrade to 10.3.0 bug-fix release

Drop aarch64 backports which are already upstream
List of bugs fixed is [1]

[1] https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&list_id=298084&resolution=FIXED&target_milestone=10.3

Signed-off-by: Khem Raj <raj.khem@gmail.com>
4 years agoqemu: Fix CVE-2020-35517
Khairul Rohaizzat Jamaluddin [Wed, 7 Apr 2021 05:42:35 +0000 (05:42 +0000)]
qemu: Fix CVE-2020-35517

CVE:
CVE-2020-35517

Signed-off-by: Khairul Rohaizzat Jamaluddin <khairul.rohaizzat.jamaluddin@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agooeqa/selftest: Ensure packages classes are set correctly for maintainers test
Richard Purdie [Thu, 15 Apr 2021 13:09:28 +0000 (14:09 +0100)]
oeqa/selftest: Ensure packages classes are set correctly for maintainers test

The dnf packages aren't parsed if rpm isn't in PACKAGE_CLASSES which means
the aintainers test failes for OE-Core (where ipk is the default) but not
for poky (where the default is rpm).

Ensure PACKAGE_CLASSES is set so it works in all cases.

[YOCTO #14277]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopseudo: Upgrade to add trailing slashes ignore path fix
Richard Purdie [Tue, 13 Apr 2021 09:40:36 +0000 (10:40 +0100)]
pseudo: Upgrade to add trailing slashes ignore path fix

Pull in:
  client: strip trailing slashes when opening an ignored path

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolib/oe/terminal: Fix tmux new-session on older tmux versions (<1.9)
Peter Budny [Mon, 12 Apr 2021 20:23:17 +0000 (20:23 +0000)]
lib/oe/terminal: Fix tmux new-session on older tmux versions (<1.9)

`tmux new -c` fails on tmux older than 1.9, when that flag was added.
We can omit the flag for older versions of tmux, and the working
directory gets set even without it.

Signed-off-by: Peter Budny <pbbudny@amazon.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agooeqa/selftest: Hardcode test assumptions about heartbeat event timings
Richard Purdie [Fri, 16 Apr 2021 12:35:50 +0000 (13:35 +0100)]
oeqa/selftest: Hardcode test assumptions about heartbeat event timings

Setting a value of 10 for heartbeat events causes the test to fail. Hardcode
a value to ensure it works correctly even if the default is changed.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agooe-time-dd-test.sh: provide more information from "top"
Sakib Sajal [Tue, 13 Apr 2021 16:59:15 +0000 (12:59 -0400)]
oe-time-dd-test.sh: provide more information from "top"

Improvements:
    - increase width to 512
    - pass -c option to show full command-line

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agooe-time-dd-test.sh: make executable
Sakib Sajal [Tue, 13 Apr 2021 16:59:14 +0000 (12:59 -0400)]
oe-time-dd-test.sh: make executable

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agobuild-appliance-image: Update to master head revision 2021-04 2021-04-hardknott yocto-3.3
Richard Purdie [Tue, 6 Apr 2021 21:52:14 +0000 (22:52 +0100)]
build-appliance-image: Update to master head revision

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoperf-tests: add bash into RDEPENDS (v5.12-rc5+)
Bruce Ashfield [Mon, 29 Mar 2021 03:10:39 +0000 (23:10 -0400)]
perf-tests: add bash into RDEPENDS (v5.12-rc5+)

Upstream commit:

   commit 1dc481c0b0cf18d3952d93a73c4ece90dec277f0
   Author: Leo Yan <leo.yan@linaro.org>
   Date:   Sat Mar 20 18:45:54 2021 +0800

       perf test: Change to use bash for daemon test

       When executing the daemon test on Arm64 and x86 with Debian (Buster)
       distro, both skip the test case with the log:

Changes tools/perf/tests/shell/daemon.sh to be explicitly bash
(it was already required, but was just skipped on various
distros).

We add it into our RDEPENDS for perf-tests to fixup 5.12+
builds.

We already have relatively heavy RDEPENDS for perf tests (python3), so
adding bash into the RDEPENDS isn't signifcant even for older perf
builds that use the same recipe.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agooeqa/selftest: add test case for SRC_URI dependency sniffing
Ross Burton [Tue, 6 Apr 2021 13:34:20 +0000 (14:34 +0100)]
oeqa/selftest: add test case for SRC_URI dependency sniffing

Add tests to verify that SRC_URI dependency sniffing works correctly.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agouboot: Fixes SPL verified boot on corner cases
Klaus Heinrich Kiwi [Wed, 31 Mar 2021 13:23:13 +0000 (10:23 -0300)]
uboot: Fixes SPL verified boot on corner cases

* The kernel-fitimage class adds a do_assemble_fitimage_initramfs task
  regardless of INITRAMFS_IMAGE_BUNDLE setting, which in some cases can
  result in that task running after do_uboot_assemble_fitimage and
  overwriting the u-boot-spl.dtb file with the pristine version (without
  public key). Fix this by making do_uboot_assemble_fitimage dependant
  on both do_assemble_fitimage_* tasks, regardless of the aforementioned
  setting.

* Adjust 'type' and 'os' on the U-boot fitimage its script so that
  mkimage/dumpimage can recognize them.

* Move the deployment of the u-boot-spl-nodtb files outside of
  concat_spl_dtb_helper(), so that we can better isolate the scenarios
  of creating an (unsigned) U-Boot fitimage versus also signing it. This
  prevents some stale files from being deployed in the images directory.

* Remove any u-boot-fitImage and u-boot-its files from build tree, in
  case the build tree is being reused across bitbake calls.

Signed-off-by: Klaus Heinrich Kiwi <klaus@linux.vnet.ibm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agokernel-yocto: fix do_kernel_configme indentation
Yann Dirson [Wed, 31 Mar 2021 09:30:25 +0000 (11:30 +0200)]
kernel-yocto: fix do_kernel_configme indentation

Signed-off-by: Yann Dirson <yann@blade-group.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agooe-selftest: Add U-Boot fitImage signing testcases
Klaus Heinrich Kiwi [Fri, 26 Mar 2021 20:14:10 +0000 (17:14 -0300)]
oe-selftest: Add U-Boot fitImage signing testcases

Derived from the similar kernel fitImage sign testcase, the U-Boot
fitImage testcases exercises the following fitimage.FitImageTest
scenarios:

 * test_uboot_fit_image - create unsigned U-Boot fitImage
 * test_uboot_sign_fit_image - create unsigned U-Boot fitImage in
   addition to signed Kernel fitImage
 * test_sign_standalone_uboot_fit_image - Create signed U-Boot fitImage
   without a Kernel fitImage
 * test_sign_cascaded_uboot_fit_image - Create and sign U-Boot and
   Kernel fitImages

Signed-off-by: Klaus Heinrich Kiwi <klaus@linux.vnet.ibm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agou-boot: Use a different Key for SPL signing
Klaus Heinrich Kiwi [Fri, 26 Mar 2021 20:14:09 +0000 (17:14 -0300)]
u-boot: Use a different Key for SPL signing

Duplicate the variables governing u-boot signing so that we can have a
different set of keys/parameters signing the SPL.

Signed-off-by: Klaus Heinrich Kiwi <klaus@linux.vnet.ibm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agou-boot: Add infrastructure to SPL verified boot
Klaus Heinrich Kiwi [Fri, 26 Mar 2021 20:14:08 +0000 (17:14 -0300)]
u-boot: Add infrastructure to SPL verified boot

Add the necessary infrastructure to create a U-boot proper fitimage,
sign it (using the same keys as the kernel-fitimage), and put the public
key in the SPL binary so that verified SPL boot can be accomplished.

Signed-off-by: Klaus Heinrich Kiwi <klaus@linux.vnet.ibm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agou-boot: Move definitions to common locations
Klaus Heinrich Kiwi [Fri, 26 Mar 2021 20:14:07 +0000 (17:14 -0300)]
u-boot: Move definitions to common locations

Move some definitions from u-boot.inc into uboot-config.bbclass and
similarly from kernel-fitimage.bbclass into uboot-sign.bbclass, so that
they can be useful when signing the U-boot proper fitimage, for a
verified-boot SPL.

Signed-off-by: Klaus Heinrich Kiwi <klaus@linux.vnet.ibm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agooeqa/runqemu: Support RUNQEMU_TMPFS_DIR as a location to copy snapshot images to
Richard Purdie [Wed, 31 Mar 2021 21:41:52 +0000 (22:41 +0100)]
oeqa/runqemu: Support RUNQEMU_TMPFS_DIR as a location to copy snapshot images to

We have a working theory that IO queues on the autobuilder are impacting
runtime testing under qemu, particularly async writes which inice does not
influence. We already pass the snapshot option to qemu which copies the
image and runs out of the copy. Add in the ability to copy the image to
a specificed location which can be a tmpfs. This means that writes to the
image would no longer be blocked by other writes to disk in the system.

Preliminary tests show that this does improve the qemu errors at the expense
of sometimes showing qemu startup timeouts as on a loaded system with a large
test image, it can take longer than 120s to copy the image to tmpfs. Having
a most consistent failure mode for loaded tests is probably desireable though.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agodiffoscope: Upgrade 168 -> 172
Richard Purdie [Sun, 4 Apr 2021 12:48:41 +0000 (13:48 +0100)]
diffoscope: Upgrade 168 -> 172

In particular 170 includes rpm header fixes which stop the webpages
for rpm diffs breaking web browsers and are important in the context
of the autobuilder.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agooeqa/concurrencytest: Fix display of test stdout/stderr
Richard Purdie [Sun, 4 Apr 2021 10:33:14 +0000 (11:33 +0100)]
oeqa/concurrencytest: Fix display of test stdout/stderr

If oe-selftest is run with -j, the output to stdout/stderr is being
lost at present. Capture this and display it upon test failure. We
have code that previously tried to enable this but it wasn't functioning
correctly. This should give more usable error reports on the autobuilder.

This code will mix stdout and stderr as the output is streamed from the test
server without markup. This is most in keeping with subunit/testools though
and the easiest way to handle the various challenges here as far as I can
see.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agooeqa/concurrencytest: Rename variables to improve the code
Richard Purdie [Sun, 4 Apr 2021 10:30:07 +0000 (11:30 +0100)]
oeqa/concurrencytest: Rename variables to improve the code

Each time I look at this code I get confused about what the different
variables represent. Rename a few of them to better indicate what they
represent.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agowebkitgtk: Drop include_array.patch
Khem Raj [Sun, 4 Apr 2021 20:39:12 +0000 (13:39 -0700)]
webkitgtk: Drop include_array.patch

It has been fixed with another upstream fix
https://bugs.webkit.org/show_bug.cgi?id=198180

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoapt: Fix do_compile error when enable ccache
Chen Qi [Wed, 31 Mar 2021 10:46:08 +0000 (18:46 +0800)]
apt: Fix do_compile error when enable ccache

When apt was upgraded, the '-DCMAKE_DISABLE_FIND_PACKAGE_Zstd=True'
was dropped. However, it was there to fix do_compile error when ccache is
enabled. See details in the following commit.

"""
commit 0aa7d612b8b7e5f14b4ed38f2a32b3f7eefca31c
Author: Robert Yang <liezhi.yang@windriver.com>
Date:   Tue Jan 19 01:23:45 2021 -0800

    apt: Fix do_compile error when enable ccache

    Fixed:
        apt-pkg/libapt-pkg.so.5.0.2: undefined reference to `ZSTD_endStream'
    collect2: error: ld returned 1 exit status

    This is because ccache-native depends on zstd-native which makes apt wronly
        find it. Disable zstd for apt to fix the problem.
"""

Now we are meeting do_compile failure again when enabling ccache, so add it
back to solve the problem.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agobitbake.conf: Limit the number of OpenMP threads
Joshua Watt [Thu, 1 Apr 2021 14:43:29 +0000 (09:43 -0500)]
bitbake.conf: Limit the number of OpenMP threads

Limits the number of OpenMP threads to match BB_NUMBER_THREADS. This
prevents OpenMP (libgomp in particular) from falling back to using all
the available CPUs, which behaves poorly when attempting to limit build
usage, especially when attempting to build in a container.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agobinutils: Fix a missing break in case statement
Khem Raj [Thu, 1 Apr 2021 03:07:47 +0000 (20:07 -0700)]
binutils: Fix a missing break in case statement

This was missed during patch forward porting
its only effective when printing options

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoconf/machine: Enable keyboard and mouse on RISC-V machines
Alistair Francis [Fri, 2 Apr 2021 04:29:18 +0000 (21:29 -0700)]
conf/machine: Enable keyboard and mouse on RISC-V machines

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agouboot: Deploy default symlinks with fitImage
Klaus Heinrich Kiwi [Thu, 1 Apr 2021 17:25:41 +0000 (14:25 -0300)]
uboot: Deploy default symlinks with fitImage

Some image recipes uses ${DEPLOY_DIR_IMAGE}/${UBOOT_BINARY} to create
their images. Force the re-creation of those symlinks pointing to the
u-boot-fitImage in case UBOOT_FITIMAGE_ENABLE is set.

Signed-off-by: Klaus Heinrich Kiwi <klaus@linux.vnet.ibm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibxcb: use PN for naming dynamic packages
Matt Madison [Sat, 3 Apr 2021 16:36:04 +0000 (09:36 -0700)]
libxcb: use PN for naming dynamic packages

so an explicit runtime dependency on one of the library
packages doesn't generate a message about libxcb and
libxcb-native both being providers.

Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agovalgrind: print failed ptest details
Yi Fan Yu [Thu, 1 Apr 2021 17:01:41 +0000 (13:01 -0400)]
valgrind: print failed ptest details

Some intermittent failures in valgrind are hard
reproduce.

Printing the difference between actual and expected
will make understanding them slightly easier.

[YOCTO #14294]

Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoconf/machine: Enable bochs-display on RISC-V machines
Alistair Francis [Thu, 1 Apr 2021 16:47:00 +0000 (12:47 -0400)]
conf/machine: Enable bochs-display on RISC-V machines

Enable the bochs-display as q QEMU argument when running on RISC-V
machines.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopython3: Skip failing ptests due to load variability
Yi Fan Yu [Thu, 1 Apr 2021 21:39:27 +0000 (14:39 -0700)]
python3: Skip failing ptests due to load variability

Skip tests until load issue is fixed,
most commonly seen on the arm64 builder.

[YOCTO #14296]

Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agomake-mod-scripts: pass CROSS_COMPILE to configure and build
Denys Dmytriyenko [Wed, 31 Mar 2021 23:59:51 +0000 (19:59 -0400)]
make-mod-scripts: pass CROSS_COMPILE to configure and build

Fixes:
|   CALL    /OE/poky-master/build/tmp/work-shared/qemuarm64/kernel-source/scripts/checksyscalls.sh
|   CALL    /OE/poky-master/build/tmp/work-shared/qemuarm64/kernel-source/scripts/atomic/check-atomics.sh
|   LDS     arch/arm64/kernel/vdso/vdso.lds
|   CC      arch/arm64/kernel/vdso/vgettimeofday.o
|   AS      arch/arm64/kernel/vdso/note.o
|   AS      arch/arm64/kernel/vdso/sigreturn.o
|   LD      arch/arm64/kernel/vdso/vdso.so.dbg
|   VDSOSYM include/generated/vdso-offsets.h
|   OBJCOPY arch/arm64/kernel/vdso/vdso.so
| objcopy: Unable to recognise the format of the input file `arch/arm64/kernel/vdso/vdso.so.dbg'
| /OE/poky-master/build/tmp/work-shared/qemuarm64/kernel-source/arch/arm64/kernel/vdso/Makefile:61: recipe for target 'arch/arm64/kernel/vdso/vdso.so' failed

Cc: Bruce Ashfield <bruce.ashfield@gmail.com>
Cc: Nishanth Menon <nm@ti.com>
Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoimage-live.bbclass: optional depends when ROOTFS empty
Guillaume Champagne [Thu, 1 Apr 2021 20:48:49 +0000 (16:48 -0400)]
image-live.bbclass: optional depends when ROOTFS empty

`ROOTFS` is optional. It can be empty if the live image doesn't require
a rootfs.  In such cases, the build doesn't depend on
`do_image_{LIVE_ROOTFS_TYPE}`.

Signed-off-by: Guillaume Champagne <champagne.guillaume.c@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoperl: fix creation and generate new perl-rdepends.txt
Awais Belal [Tue, 30 Mar 2021 07:29:22 +0000 (12:29 +0500)]
perl: fix creation and generate new perl-rdepends.txt

The creation of perl-rdepends.txt simply copied over the
generated list (perl-rdepends.generated) to perl-rdepends.txt
while missing out the manual dependencies placed in
perl-rdepends.inc. This caused missing runtime dependencies.
Additionally, the mechanism always appended which then
produced duplicated lines in perl-rdepends.txt if the creation
function is run multiple times.
We now concatenate both the .inc and .generated to the final
.txt so manual and generated both types of dependencies make
it to the final configuration. A new perl-rdepends.txt is then
generated with these fixes.

Signed-off-by: Awais Belal <awais_belal@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoperl: allow empty lines and comments in perl-rdepends.txt
Awais Belal [Tue, 30 Mar 2021 07:29:21 +0000 (12:29 +0500)]
perl: allow empty lines and comments in perl-rdepends.txt

With this change the rdepends file can now have empty lines
and comment lines. The perl-rdepends.txt generation will be
fixed with further commits to leverage this change.

Signed-off-by: Awais Belal <awais_belal@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoptest-runner: correct version check
Alexander Kanavin [Fri, 2 Apr 2021 20:46:24 +0000 (22:46 +0200)]
ptest-runner: correct version check

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoptest-runner: Upgrade to 2.4.1
Anibal Limon [Tue, 30 Mar 2021 00:27:57 +0000 (18:27 -0600)]
ptest-runner: Upgrade to 2.4.1

Changes:

cce0edb utils.c: wait_child reimplement timeout using alarm
acbba90 utils.c: Use a thread to read from child
cb2840a utils.c: Fix exit status of a child
77bc79e utils.c: get_available_ptests allow to specify relative directories
d27e242 README.md: Small fix mtrace call
c5d5831 tests/utils.c: Add braces in START_TEST/END_TEST now required in check 0.15.x

Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agomesa: enable dri in native/nativesdk through gallium drivers
Alexander Kanavin [Fri, 2 Apr 2021 20:46:27 +0000 (22:46 +0200)]
mesa: enable dri in native/nativesdk through gallium drivers

Previously, dri was enabled via a token dri driver (swrast, then
nouveau). Upstream is discussing removing dri drivers altogether
(they're becoming difficult to support and only needed for obsolete
x86 hardware), so let's prepare for that happening in the future:

https://lists.freedesktop.org/archives/mesa-dev/2021-March/224984.html

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agomesa: gallium option requires libdrm
Alexander Kanavin [Fri, 2 Apr 2021 20:46:26 +0000 (22:46 +0200)]
mesa: gallium option requires libdrm

Previously it was pulled in via dri option, and there was
no configuration where gallium was enabled and dri was not.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agorunqemu: do not stop processing graphical options after nographic
Alexander Kanavin [Fri, 2 Apr 2021 20:46:25 +0000 (22:46 +0200)]
runqemu: do not stop processing graphical options after nographic

Some options such as egl-headless are fully compatible with it, so
there is no need to quit.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agomesa: update 21.0.0 -> 21.0.1
Alexander Kanavin [Fri, 2 Apr 2021 20:46:23 +0000 (22:46 +0200)]
mesa: update 21.0.0 -> 21.0.1

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agomesa-gl: Use swrast gallium driver
Khem Raj [Fri, 2 Apr 2021 20:46:22 +0000 (22:46 +0200)]
mesa-gl: Use swrast gallium driver

Fixes:
../mesa-21.0.0/meson.build:21:0: ERROR: Options "swrast" are not in allowed choices: "auto, i915, i965, r100, r200, nouveau"

with any driver enabled in DRIDRIVERS, do_configure fails with:
../mesa-21.0.0/meson.build:519:4: ERROR: Problem encountered: building dri drivers require at least one windowing system

even after enabling gallium and wayland PACKAGECONFIGs, move DRIDRIVERS_append* from
mesa.inc to mesa recipe.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agocve-update-db-native: Allow to overrule the URL in a bbappend.
jan [Mon, 29 Mar 2021 17:21:52 +0000 (19:21 +0200)]
cve-update-db-native: Allow to overrule the URL in a bbappend.

With this small patch, it's possible to overrule the public
URL with a local mirror for those without Internet access.

Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoimage,populate_sdk_base: move 'func' flag setting for sdk command vars
Christopher Larson [Thu, 25 Mar 2021 16:16:59 +0000 (21:16 +0500)]
image,populate_sdk_base: move 'func' flag setting for sdk command vars

Setting the 'func' flag on the commands variables ensures that they are parsed
as shell, and therefore that the referenced commands contents are included in
checksums. Doing this only in image.bbclass means that this is missing in
recipes that are not images, but which inherit populate_sdk or populate_sdk_base
directly, so move it to the latter.

[YOCTO #13998]

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agobuildhistory: add missing vardepsexcludes
Christopher Larson [Tue, 30 Mar 2021 17:27:13 +0000 (22:27 +0500)]
buildhistory: add missing vardepsexcludes

For POPULATE_SDK_POST_TARGET_COMMAND, POPULATE_SDK_POST_HOST_COMMAND, and SDK_POSTPROCESS_COMMAND, the appropriate entries were added to vardepvalueexclude, but we want them in vardepsexclude as well.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agognutls: upgrade 3.7.0 -> 3.7.1
Wang Mingyu [Wed, 24 Mar 2021 23:46:52 +0000 (07:46 +0800)]
gnutls: upgrade 3.7.0 -> 3.7.1

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopopulate_sdk_ext: Add support for PR service
Mark Hatle [Fri, 26 Mar 2021 00:16:44 +0000 (19:16 -0500)]
populate_sdk_ext: Add support for PR service

In the classes/populate_sdk_ext.bbclass the system already copies a number
of configurations, such as the hash equivalency data.  However, the PR
service was being handled.

The new code works by checking if PRSERV_HOST is defined, if it is, use
the existing export functions to write out a conf/prserv.inc file into
the eSDK.  On eSDK install, if a conf/prserv.inc file is present we then
import this file into the system.

This mechanism will work if the PRSERV_HOST is local or remote, as it pulls
the necessary data from the server and then imports it to a local database
on eSDK installation.

Note: the conf/prserv.inc file is not deleted at this time.  It was left
for possible debugging purposes, but removing it is something we could decide
to do in the future.

Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogrub2: Enable on riscv32
Khem Raj [Mon, 29 Mar 2021 02:22:09 +0000 (19:22 -0700)]
grub2: Enable on riscv32

Update the patch as submitted upstream to grub2

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogit: upgrade 2.30.1 -> 2.31.1
Minjae Kim [Sat, 27 Mar 2021 04:44:12 +0000 (13:44 +0900)]
git: upgrade 2.30.1 -> 2.31.1

Includes a fix for CVE-2021-21300

Signed-off-by: Minjae Kim <flowergom@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogit: fix CVE-2021-21300
Minjae Kim [Sat, 27 Mar 2021 03:11:12 +0000 (12:11 +0900)]
git: fix CVE-2021-21300

checkout: fix bug that makes checkout follow symlinks in leading path

Upstream-Status: Acepted [https://github.com/git/git/commit/684dd4c2b414bcf648505e74498a608f28de4592]
CVE: CVE-2021-21300
Signed-off-by: Minjae Kim <flowergom@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agomeson: use native-file instead of environment variables
Ross Burton [Thu, 25 Mar 2021 17:39:01 +0000 (17:39 +0000)]
meson: use native-file instead of environment variables

Meson now supports native-files, which are the same as cross files but
describe the native build.

By writing and using a native file which describes the tools to use, we
can drop the environment variable overriding.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agomeson: fix native/host confusion in gobject-introspection
Ross Burton [Thu, 25 Mar 2021 17:38:59 +0000 (17:38 +0000)]
meson: fix native/host confusion in gobject-introspection

When building G-I we want to use *native* binaries (as they need to be
executed) but the *cross* libraries, as otherwise when using the correct
pkg-config binary in native lookups Meson will end up linking native and
cross libraries together.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogrub-efi: Re-introduce lost cast to long
Khem Raj [Fri, 26 Mar 2021 19:12:14 +0000 (12:12 -0700)]
grub-efi: Re-introduce lost cast to long

This cast was accidentally dropped in
https://git.savannah.gnu.org/cgit/grub.git/commit/?id=2bf40e9e5be9808b17852e688eead87acff14420

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogrub2: Disable for RISCV32
Khem Raj [Fri, 26 Mar 2021 04:37:08 +0000 (21:37 -0700)]
grub2: Disable for RISCV32

A full working port is not available yet, until such time disable it

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopackagegroups: delete useless "PROVIDES" lines
Robert P. J. Day [Sat, 27 Mar 2021 20:18:33 +0000 (16:18 -0400)]
packagegroups: delete useless "PROVIDES" lines

There is apparently no functional value to "PROVIDES" lines anymore in
packagegroup recipe files, so remove the lonely couple of examples
left.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoimage-uefi: Set efi_file for rv32/rv64
Khem Raj [Tue, 23 Mar 2021 21:50:04 +0000 (14:50 -0700)]
image-uefi: Set efi_file for rv32/rv64

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopopulate_sdk_ext: Avoid copying and producing .pyc files
Mark Hatle [Thu, 25 Mar 2021 22:44:02 +0000 (17:44 -0500)]
populate_sdk_ext: Avoid copying and producing .pyc files

Since pyc cache files are really system specific, no real reason to copy or
generate them during the eSDK build process.  Also generating them has the
possibility of re-using inodes that pseudo may have been tracking, leading
a build failure.

Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolinux-yocto-rt/5.10: update to -rt34
Bruce Ashfield [Thu, 25 Mar 2021 20:32:53 +0000 (16:32 -0400)]
linux-yocto-rt/5.10: update to -rt34

Integrating the following commit(s) to linux-yocto/5.10:

    be2935bce35f v5.10.21-rt34
    8078987238f9 softirq: Update the softirq/tasklet patches
    0042f5e5ac7d mm: slub: Don't resize the location tracking cache on PREEMPT_RT
    69bcb4682eaa v5.10.21-rt33
    75e139bb405a v5.10.17-rt32
    209e0ad0f61d printk: Update the printk code
    f1e0daad5cd4 trace: Add the flags for need_resched_lazy()

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolinux-yocto/5.4: update to v5.4.107
Bruce Ashfield [Thu, 25 Mar 2021 20:32:52 +0000 (16:32 -0400)]
linux-yocto/5.4: update to v5.4.107

Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    a65e78863443 Linux 5.4.107
    5161cc4350de net: dsa: b53: Support setting learning on port
    ebeefdc3d8ee net: dsa: tag_mtk: fix 802.1ad VLAN egress
    6c3d86e6ffde crypto: x86/aes-ni-xts - use direct calls to and 4-way stride
    ae69c97bb76e crypto: aesni - Use TEST %reg,%reg instead of CMP $0,%reg
    eeb0899e0073 crypto: x86 - Regularize glue function prototypes
    187ae0463653 fuse: fix live lock in fuse_iget()
    28e53acd3065 drm/i915/gvt: Fix vfio_edid issue for BXT/APL
    5a7c72ffb412 drm/i915/gvt: Fix port number for BDW on EDID region setup
    4ab29329668d drm/i915/gvt: Fix virtual display setup for BXT/APL
    e46f72e1f27c drm/i915/gvt: Fix mmio handler break on BXT/APL.
    8cd68991b836 drm/i915/gvt: Set SNOOP for PAT3 on BXT/APL to workaround GPU BB hang
    50f83ffc58ab btrfs: scrub: Don't check free space before marking a block group RO
    591ea83fd2ce bpf, selftests: Fix up some test_verifier cases for unprivileged
    4e4c85404a23 bpf: Add sanity check for upper ptr_limit
    524471df8fa9 bpf: Simplify alu_limit masking for pointer arithmetic
    2da0540739e4 bpf: Fix off-by-one for area size in creating mask to left
    ea8fb45eaac1 bpf: Prohibit alu ops for pointer types not defining ptr_limit
    010c5bee66bd KVM: arm64: nvhe: Save the SPE context early
    0437de26e28d Linux 5.4.106
    b802b6ef28d6 xen/events: avoid handling the same event on two cpus at the same time
    92aefc62f483 xen/events: don't unmask an event channel when an eoi is pending
    43d0b82bb45c xen/events: reset affinity of 2-level event when tearing it down
    38563c1ff081 KVM: arm64: Reject VM creation when the default IPA size is unsupported
    da2e37b55d4c KVM: arm64: Ensure I-cache isolation between vcpus of a same VM
    4e2156c0d37b nvme: release namespace head reference on error
    eb565f052b3e nvme: unlink head after removing last namespace
    4535fb9ec5fd KVM: arm64: Fix exclusive limit for IPA size
    e28b19ca2aeb x86/unwind/orc: Disable KASAN checking in the ORC unwinder, part 2
    c0e0ab60d0b1 binfmt_misc: fix possible deadlock in bm_register_write
    106fea9ad246 powerpc/64s: Fix instruction encoding for lis in ppc_function_entry()
    907f7f2cf0ff sched/membarrier: fix missing local execution of ipi_sync_rq_state()
    2306580a95b7 zram: fix return value on writeback_store
    29e28a134a49 include/linux/sched/mm.h: use rcu_dereference in in_vfork()
    99f1960cae4f stop_machine: mark helpers __always_inline
    aaf92d0538d2 hrtimer: Update softirq_expires_next correctly after __hrtimer_get_next_event()
    88c79851b82d arm64: mm: use a 48-bit ID map when possible on 52-bit VA builds
    73aa6f93e1e9 configfs: fix a use-after-free in __configfs_open_file
    babd55002dd4 block: rsxx: fix error return code of rsxx_pci_probe()
    41deefab452a NFSv4.2: fix return value of _nfs4_get_security_label()
    86954a52d829 NFS: Don't gratuitously clear the inode cache when lookup failed
    d29f9aa6a8b2 NFS: Don't revalidate the directory permissions on a lookup failure
    d5a69ed75931 SUNRPC: Set memalloc_nofs_save() for sync tasks
    9c9ea7ac18b2 arm64/mm: Fix pfn_valid() for ZONE_DEVICE based memory
    19bb2a20710d sh_eth: fix TRSCER mask for R7S72100
    c3c1defad2dd staging: comedi: pcl818: Fix endian problem for AI command data
    c5916897a6e1 staging: comedi: pcl711: Fix endian problem for AI command data
    7d8ec7bef320 staging: comedi: me4000: Fix endian problem for AI command data
    e70294943c89 staging: comedi: dmm32at: Fix endian problem for AI command data
    47a2af64eea3 staging: comedi: das800: Fix endian problem for AI command data
    0f2522ec71b6 staging: comedi: das6402: Fix endian problem for AI command data
    e91490b9edb9 staging: comedi: adv_pci1710: Fix endian problem for AI command data
    4d6505edee5a staging: comedi: addi_apci_1500: Fix endian problem for command sample
    f258c1c26f64 staging: comedi: addi_apci_1032: Fix endian problem for COS sample
    e644fc4ab7bb staging: rtl8192e: Fix possible buffer overflow in _rtl92e_wx_set_scan
    8f586a59829b staging: rtl8712: Fix possible buffer overflow in r8712_sitesurvey_cmd
    9fe42273b2c6 staging: ks7010: prevent buffer overflow in ks_wlan_set_scan()
    ab42f28d5f34 staging: rtl8188eu: fix potential memory corruption in rtw_check_beacon_data()
    1a866057e970 staging: rtl8712: unterminated string leads to read overflow
    da5abe369b03 staging: rtl8188eu: prevent ->ssid overflow in rtw_wx_set_scan()
    a311b6a7f099 staging: rtl8192u: fix ->ssid overflow in r8192_wx_set_scan()
    e4b52c7cbaaf misc: fastrpc: restrict user apps from sending kernel RPC messages
    9009b59dfd5f misc/pvpanic: Export module FDT device table
    0a58a400a93b usbip: fix vudc usbip_sockfd_store races leading to gpf
    8a50dda5243e usbip: fix vhci_hcd attach_store() races leading to gpf
    8698133003cf usbip: fix stub_dev usbip_sockfd_store() races leading to gpf
    7b76c7a91bf6 usbip: fix vudc to check for stream socket
    2e24c093e264 usbip: fix vhci_hcd to check for stream socket
    da1be8e07852 usbip: fix stub_dev to check for stream socket
    ec7fb77a37af USB: serial: cp210x: add some more GE USB IDs
    b05ac5bcf623 USB: serial: cp210x: add ID for Acuity Brands nLight Air Adapter
    0b7034401f0c USB: serial: ch341: add new Product ID
    5287c3d62e91 USB: serial: io_edgeport: fix memory leak in edge_startup
    c1b20c6fac05 xhci: Fix repeated xhci wake after suspend due to uncleared internal wake state
    3573dea8c17a usb: xhci: Fix ASMedia ASM1042A and ASM3242 DMA addressing
    57ab089c09d5 xhci: Improve detection of device initiated wake signal.
    f4f02f9feb4e usb: xhci: do not perform Soft Retry for some xHCI hosts
    45bc1c34b54e usb: renesas_usbhs: Clear PIPECFG for re-enabling pipe with other EPNUM
    c9e346234698 USB: usblp: fix a hang in poll() if disconnected
    cc495be17466 usb: dwc3: qcom: Honor wakeup enabled/disabled state
    f030e3c67791 usb: dwc3: qcom: Add missing DWC3 OF node refcount decrement
    014e4b616313 usb: gadget: f_uac1: stop playback on function disable
    117aadfc0616 usb: gadget: f_uac2: always increase endpoint max_packet_size by one audio slot
    ec7b0ac66539 USB: gadget: u_ether: Fix a configfs return code
    0ae3101f5cf0 Goodix Fingerprint device is not a modem
    b0ea155fa4f7 mmc: cqhci: Fix random crash when remove mmc module/card
    61fadd5f1e4e mmc: core: Fix partition switch time for eMMC
    1cb73c82622c software node: Fix node registration
    3bc266631a9e s390/dasd: fix hanging IO request during DASD driver unbind
    87adc240df30 s390/dasd: fix hanging DASD driver unbind
    12002aa2e7af arm64: kasan: fix page_alloc tagging with DEBUG_VIRTUAL
    47a5d1b63f21 Revert 95ebabde382c ("capabilities: Don't allow writing ambiguous v3 file capabilities")
    ac85e7d4abb1 ALSA: usb-audio: Apply the control quirk to Plantronics headsets
    b1fe755e51df ALSA: usb-audio: Fix "cannot get freq eq" errors on Dell AE515 sound bar
    2b7615c97b0e ALSA: hda: Avoid spurious unsol event handling during S3/S4
    bb060148e29f ALSA: hda: Flush pending unsolicited events before suspend
    09cb42025a46 ALSA: hda: Drop the BATCH workaround for AMD controllers
    e1a92ad57b2c ALSA: hda/ca0132: Add Sound BlasterX AE-5 Plus support
    ff2152beb22c ALSA: hda/hdmi: Cancel pending works before suspend
    dd6d483104bf ALSA: usb: Add Plantronics C320-M USB ctrl msg delay quirk
    300fba2b4e11 scsi: target: core: Prevent underflow for service actions
    de2cdbcb4f38 scsi: target: core: Add cmd length set before cmd complete
    050e1900d617 scsi: libiscsi: Fix iscsi_prep_scsi_cmd_pdu() error handling
    acf0e7b15f87 sysctl.c: fix underflow value setting risk in vm_table
    508d56e2c5c3 s390/smp: __smp_rescan_cpus() - move cpumask away from stack
    54fc6a56f72a i40e: Fix memory leak in i40e_probe
    f95403013744 PCI: Fix pci_register_io_range() memory leak
    e9be5518af2c kbuild: clamp SUBLEVEL to 255
    e622e01d44e4 PCI: mediatek: Add missing of_node_put() to fix reference leak
    d54c77959ece PCI: xgene-msi: Fix race in installing chained irq handler
    395f24b37fe8 Input: applespi - don't wait for responses to commands indefinitely.
    ad93777a59c7 sparc64: Use arch_validate_flags() to validate ADI flag
    dec0ab3bc3a2 sparc32: Limit memblock allocation to low memory
    f8788ee8544c iommu/amd: Fix performance counter initialization
    d92afe30a665 powerpc/64: Fix stack trace not displaying final frame
    61654b5d079d HID: logitech-dj: add support for the new lightspeed connection iteration
    49e38713faaf powerpc/perf: Record counter overflow always if SAMPLE_IP is unset
    a54c278fcf8b powerpc: improve handling of unrecoverable system reset
    7765b5c2c192 spi: stm32: make spurious and overrun interrupts visible
    507b9bce2113 powerpc/pci: Add ppc_md.discover_phbs()
    26d60799d99b Platform: OLPC: Fix probe error handling
    ccad3c70fcd0 mmc: mediatek: fix race condition between msdc_request_timeout and irq
    edf05afc9be3 mmc: mxs-mmc: Fix a resource leak in an error handling path in 'mxs_mmc_probe()'
    c44d966e9020 udf: fix silent AED tagLocation corruption
    5f04f970d579 i2c: rcar: optimize cacheline to minimize HW race condition
    1e1aace4a395 i2c: rcar: faster irq code to minimize HW race condition
    2e24fd30c6f0 net: phy: fix save wrong speed and duplex problem if autoneg is on
    aea71e92b9a0 net: enetc: initialize RFS/RSS memories for unused ports too
    d1f308174a60 net: hns3: fix error mask definition of flow director
    cb36bf447a0c media: rc: compile rc-cec.c into rc-core
    4c0c31572b67 media: v4l: vsp1: Fix bru null pointer access
    f56a82844c1f media: v4l: vsp1: Fix uif null pointer access
    8cdc0900fc80 media: usbtv: Fix deadlock on suspend
    56b9b2c25905 sh_eth: fix TRSCER mask for R7S9210
    bdec0dd95cc8 qxl: Fix uninitialised struct field head.surface_id
    d5fc9c5d64ca s390/crypto: return -EFAULT if copy_to_user() fails
    72ba965bf10d s390/cio: return -EFAULT if copy_to_user() fails
    d2100ef32a8c drm: meson_drv add shutdown function
    72c541cc4552 drm/shmem-helper: Don't remove the offset in vm_area_struct pgoff
    0d574fc463c7 drm/shmem-helper: Check for purged buffers in fault handler
    3b08ea3a548f drm/compat: Clear bounce structures
    cabbd263c8e8 bnxt_en: reliably allocate IRQ table on reset to avoid crash
    dfa176f374ba s390/cio: return -EFAULT if copy_to_user() fails again
    05d11eb7bd9d net: hns3: fix bug when calculating the TCAM table info
    8bbc59bb0556 net: hns3: fix query vlan mask value error for flow director
    4d0273ab0a79 perf traceevent: Ensure read cmdlines are null terminated.
    ef663d149f8e selftests: forwarding: Fix race condition in mirror installation
    fcce3cb62c09 net: stmmac: fix watchdog timeout during suspend/resume stress test
    d31ae9ec5a03 net: stmmac: stop each tx channel independently
    86ea605518d7 ixgbe: fail to create xfrm offload of IPsec tunnel mode SA
    e8b6c1d7ced2 net: qrtr: fix error return code of qrtr_sendmsg()
    d28e783c2003 net: davicom: Fix regulator not turned off on driver removal
    05517de4188b net: davicom: Fix regulator not turned off on failed probe
    11a589205119 net: lapbether: Remove netif_start_queue / netif_stop_queue
    b4800e7a1c9f cipso,calipso: resolve a number of problems with the DOI refcounts
    6d599697e9a8 netdevsim: init u64 stats for 32bit hardware
    8e365b61bda7 net: usb: qmi_wwan: allow qmimux add/del with master up
    392f34cce2b0 net: sched: avoid duplicates in classes dump
    3e66c16388f5 nexthop: Do not flush blackhole nexthops when loopback goes down
    7f101d035deb net: stmmac: fix incorrect DMA channel intr enable setting of EQoS v4.10
    0fbbcf797e9c net/mlx4_en: update moderation when config reset
    78cbd0a4749d net: enetc: don't overwrite the RSS indirection table when initializing
    6547ec428619 Revert "mm, slub: consider rest of partial list if acquire_slab() fails"
    55e6ede3b935 cifs: return proper error code in statfs(2)
    a1ff418d3eda mount: fix mounting of detached mounts onto targets that reside on shared mounts
    59a057a89155 powerpc/603: Fix protection of user pages mapped with PROT_NONE
    da9f2219f66c mt76: dma: do not report truncated frames to mac80211
    95b0a3b09094 ibmvnic: always store valid MAC address
    3e8ab75f3301 samples, bpf: Add missing munmap in xdpsock
    c2c3a85ab01f selftests/bpf: Mask bpf_csum_diff() return value to 16 bits in test_verifier
    57b9f13e8aaa selftests/bpf: No need to drop the packet when there is no geneve opt
    82e85c0e7f34 netfilter: x_tables: gpf inside xt_find_revision()
    f66b8e738140 netfilter: nf_nat: undo erroneous tcp edemux lookup
    3bf899438c12 tcp: add sanity tests to TCP_QUEUE_SEQ
    b7049b6156ce can: tcan4x5x: tcan4x5x_init(): fix initialization - clear MRAM before entering Normal Mode
    a7e187a87e8e can: flexcan: invoke flexcan_chip_freeze() to enter freeze mode
    e0eccdfc5c0e can: flexcan: enable RX FIFO after FRZ/HALT valid
    ca483b872d20 can: flexcan: assert FRZ bit in flexcan_chip_freeze()
    6676e510d1a9 can: skb: can_skb_set_owner(): fix ref counting if socket was closed before setting skb ownership
    718769eb1bbe sh_eth: fix TRSCER mask for SH771x
    8baa52f26b3e net: avoid infinite loop in mpls_gso_segment when mpls_hlen == 0
    ca278267d6cd net: check if protocol extracted by virtio_net_hdr_set_proto is correct
    f2d78bbbca42 net: Fix gro aggregation for udp encaps with zero csum
    9be769161192 ath9k: fix transmitting to stations in dynamic SMPS mode
    5555ee33b6cc ethernet: alx: fix order of calls on resume
    dcb95790821b powerpc/pseries: Don't enforce MSI affinity with kdump
    fd1824bf963a uapi: nfnetlink_cthelper.h: fix userspace compilation error

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolinux-yocto/5.10: update to v5.10.25
Bruce Ashfield [Thu, 25 Mar 2021 20:32:51 +0000 (16:32 -0400)]
linux-yocto/5.10: update to v5.10.25

Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    3ba56f490c7a Linux 5.10.25
    dd0b7edb7794 net: dsa: b53: Support setting learning on port
    0f6cab2350d5 ALSA: usb-audio: Don't avoid stopping the stream at disconnection
    df8596f57743 Revert "nfsd4: a client's own opens needn't prevent delegations"
    894ecf0cb505 Revert "nfsd4: remove check_conflicting_opens warning"
    d955f13ea212 fuse: fix live lock in fuse_iget()
    2d7888b2c4cd RDMA/srp: Fix support for unpopulated and unbalanced NUMA nodes
    3672c3ce622e bpf, selftests: Fix up some test_verifier cases for unprivileged
    1010f17aaa78 bpf: Add sanity check for upper ptr_limit
    6a3504bf4006 bpf: Simplify alu_limit masking for pointer arithmetic
    ac1b87a18c1f bpf: Fix off-by-one for area size in creating mask to left
    c4d37eea1c64 bpf: Prohibit alu ops for pointer types not defining ptr_limit
    bf93113d46f8 crypto: x86/aes-ni-xts - use direct calls to and 4-way stride
    fcfab1a9aa40 crypto: aesni - Use TEST %reg,%reg instead of CMP $0,%reg
    05d125f7524e Linux 5.10.24
    1c0899636d44 RDMA/umem: Use ib_dma_max_seg_size instead of dma_get_max_seg_size
    1dbce9ba2aa9 KVM: arm64: Fix nVHE hyp panic host context restore
    f67e5243d0f3 xen/events: avoid handling the same event on two cpus at the same time
    30cdb862e831 xen/events: don't unmask an event channel when an eoi is pending
    4c84191cbc3e mm/page_alloc.c: refactor initialization of struct page for holes in memory layout
    e7afadd0dbe2 KVM: arm64: Ensure I-cache isolation between vcpus of a same VM
    518f98e39077 mm/madvise: replace ptrace attach requirement for process_madvise
    2aaa79f69417 mm/userfaultfd: fix memory corruption due to writeprotect
    c3d70b1bf1ce KVM: arm64: Fix exclusive limit for IPA size
    ada8817ab674 KVM: arm64: Reject VM creation when the default IPA size is unsupported
    eeba4e4cc524 KVM: arm64: nvhe: Save the SPE context early
    a9779820bb97 KVM: arm64: Avoid corrupting vCPU context register in guest exit
    17becbfca9fc KVM: arm64: Fix range alignment when walking page tables
    a688bf8cf550 KVM: kvmclock: Fix vCPUs > 64 can't be online/hotpluged
    4ab5d1b70929 KVM: x86: Ensure deadline timer has truly expired before posting its IRQ
    e40384fcd600 x86/entry: Fix entry/exit mismatch on failed fast 32-bit syscalls
    a2bab396cb97 x86/sev-es: Use __copy_from_user_inatomic()
    977b9f4190ad x86/sev-es: Correctly track IRQ states in runtime #VC handler
    269424432731 x86/entry: Move nmi entry/exit into common code
    752fbe0c8ddd x86/sev-es: Check regs->sp is trusted before adjusting #VC IST stack
    871fd1e3ee8e x86/sev-es: Introduce ip_within_syscall_gap() helper
    d327d8632cdb x86/unwind/orc: Disable KASAN checking in the ORC unwinder, part 2
    5ab9464a2a3c binfmt_misc: fix possible deadlock in bm_register_write
    0e4750f69c17 powerpc: Fix missing declaration of [en/dis]able_kernel_vsx()
    1f372e89567b powerpc: Fix inverted SET_FULL_REGS bitop
    9776812ee861 powerpc/64s: Fix instruction encoding for lis in ppc_function_entry()
    8571c66401ea efi: stub: omit SetVirtualAddressMap() if marked unsupported in RT_PROP table
    68b4378d910e sched/membarrier: fix missing local execution of ipi_sync_rq_state()
    5f2f616343b1 linux/compiler-clang.h: define HAVE_BUILTIN_BSWAP*
    bc7c1b09f7a4 zram: fix return value on writeback_store
    3cbe8f9193e6 include/linux/sched/mm.h: use rcu_dereference in in_vfork()
    7da7542c04a4 stop_machine: mark helpers __always_inline
    2a39eb7b8670 seqlock,lockdep: Fix seqcount_latch_init()
    372734dc1897 powerpc/64s/exception: Clean up a missed SRR specifier
    df7dbfc24c33 hrtimer: Update softirq_expires_next correctly after __hrtimer_get_next_event()
    896846b8151d perf/x86/intel: Set PERF_ATTACH_SCHED_CB for large PEBS and LBR
    82ad50c112f8 perf/core: Flush PMU internal buffers for per-CPU events
    3ebd4bd2eb6f arm64: mm: use a 48-bit ID map when possible on 52-bit VA builds
    109720342efd configfs: fix a use-after-free in __configfs_open_file
    6cf11f3a09a2 nvme-fc: fix racing controller reset and create association
    d1d918492e6e block: rsxx: fix error return code of rsxx_pci_probe()
    caa86901c863 NFSv4.2: fix return value of _nfs4_get_security_label()
    e181960ec51d NFS: Don't gratuitously clear the inode cache when lookup failed
    dd756d05bee5 NFS: Don't revalidate the directory permissions on a lookup failure
    faa48b23d0e3 SUNRPC: Set memalloc_nofs_save() for sync tasks
    475a4307c14c arm64/mm: Fix pfn_valid() for ZONE_DEVICE based memory
    e50ada589497 cpufreq: qcom-hw: Fix return value check in qcom_cpufreq_hw_cpu_init()
    7dfe37e9ea69 cpufreq: qcom-hw: fix dereferencing freed memory 'data'
    75d9be57cf2e sh_eth: fix TRSCER mask for R7S72100
    a854bd051465 staging: comedi: pcl818: Fix endian problem for AI command data
    ddfeb236ed8e staging: comedi: pcl711: Fix endian problem for AI command data
    c30fe0f767c3 staging: comedi: me4000: Fix endian problem for AI command data
    2c1ea26a289e staging: comedi: dmm32at: Fix endian problem for AI command data
    c36d2f40c1bc staging: comedi: das800: Fix endian problem for AI command data
    d8f26a4122db staging: comedi: das6402: Fix endian problem for AI command data
    b46f6908ea3e staging: comedi: adv_pci1710: Fix endian problem for AI command data
    66a44ed42367 staging: comedi: addi_apci_1500: Fix endian problem for command sample
    4d14685f9f74 staging: comedi: addi_apci_1032: Fix endian problem for COS sample
    c5d3e25e1808 staging: rtl8192e: Fix possible buffer overflow in _rtl92e_wx_set_scan
    74a14d8ae20d staging: rtl8712: Fix possible buffer overflow in r8712_sitesurvey_cmd
    66cf4f582987 staging: ks7010: prevent buffer overflow in ks_wlan_set_scan()
    be9745304e3e staging: rtl8188eu: fix potential memory corruption in rtw_check_beacon_data()
    550c9e49eb42 staging: rtl8712: unterminated string leads to read overflow
    d972a516958d staging: rtl8188eu: prevent ->ssid overflow in rtw_wx_set_scan()
    1642b5153ba5 staging: rtl8192u: fix ->ssid overflow in r8192_wx_set_scan()
    52feb58f9b5b misc: fastrpc: restrict user apps from sending kernel RPC messages
    7ae2482c7042 misc/pvpanic: Export module FDT device table
    70c26fc71b7e Revert "serial: max310x: rework RX interrupt handling"
    9951e64550d0 usbip: fix vudc usbip_sockfd_store races leading to gpf
    116a71087875 usbip: fix vhci_hcd attach_store() races leading to gpf
    ab5c3186686a usbip: fix stub_dev usbip_sockfd_store() races leading to gpf
    e033d7f79995 usbip: fix vudc to check for stream socket
    2aa21585adbd usbip: fix vhci_hcd to check for stream socket
    6d7452392151 usbip: fix stub_dev to check for stream socket
    b249b8f9b740 USB: serial: cp210x: add some more GE USB IDs
    0aa33c041e84 USB: serial: cp210x: add ID for Acuity Brands nLight Air Adapter
    3aa50426c72c USB: serial: ch341: add new Product ID
    a347908c5192 USB: serial: io_edgeport: fix memory leak in edge_startup
    fc411ca43bed xhci: Fix repeated xhci wake after suspend due to uncleared internal wake state
    209b3ff98deb usb: xhci: Fix ASMedia ASM1042A and ASM3242 DMA addressing
    e7800913ac97 xhci: Improve detection of device initiated wake signal.
    203060896dbe usb: xhci: do not perform Soft Retry for some xHCI hosts
    7c87f4ea3f16 usb: renesas_usbhs: Clear PIPECFG for re-enabling pipe with other EPNUM
    48c7fc4f14b6 USB: usblp: fix a hang in poll() if disconnected
    adb9639d1e50 usb: dwc3: qcom: Honor wakeup enabled/disabled state
    13c9e76cdda6 usb: dwc3: qcom: add ACPI device id for sc8180x
    39bcc4b7f398 usb: dwc3: qcom: add URS Host support for sdm845 ACPI boot
    10551fbc5517 usb: dwc3: qcom: Add missing DWC3 OF node refcount decrement
    32ad0eb74eac usb: gadget: f_uac1: stop playback on function disable
    30a187afdbd2 usb: gadget: f_uac2: always increase endpoint max_packet_size by one audio slot
    50233f8220f0 USB: gadget: u_ether: Fix a configfs return code
    80091541a46b USB: gadget: udc: s3c2410_udc: fix return value check in s3c2410_udc_probe()
    b0db0c76a2ba Goodix Fingerprint device is not a modem
    d308202c1b96 cifs: do not send close in compound create+close requests
    310a1ffe7b36 mmc: cqhci: Fix random crash when remove mmc module/card
    a61596a9b2a7 mmc: core: Fix partition switch time for eMMC
    6c971bd99cb8 mmc: mmci: Add MMC_CAP_NEED_RSP_BUSY for the stm32 variants
    bb815894ba37 xen/events: reset affinity of 2-level event when tearing it down
    e86abde80d12 software node: Fix node registration
    08bccd721243 s390/dasd: fix hanging IO request during DASD driver unbind
    5d766455510c s390/dasd: fix hanging DASD driver unbind
    fb242be88da9 arm64: perf: Fix 64-bit event counter read truncation
    ffb9a77d0a7f arm64: mte: Map hotplugged memory as Normal Tagged
    d73665b4a9f6 arm64: kasan: fix page_alloc tagging with DEBUG_VIRTUAL
    d44c9780ed40 block: Try to handle busy underlying device on discard
    a53477849286 block: Discard page cache of zone reset target range
    5d5422a294e6 Revert 95ebabde382c ("capabilities: Don't allow writing ambiguous v3 file capabilities")
    29bc89c8b48d ALSA: usb-audio: fix use after free in usb_audio_disconnect
    d2fdcc82d866 ALSA: usb-audio: fix NULL ptr dereference in usb_audio_probe
    e4493974dbce ALSA: usb-audio: Disable USB autosuspend properly in setup_disable_autosuspend()
    144ebd02a118 ALSA: usb-audio: Apply the control quirk to Plantronics headsets
    723bf21ceab0 ALSA: usb-audio: Fix "cannot get freq eq" errors on Dell AE515 sound bar
    4b536c1ec8b3 ALSA: hda: Avoid spurious unsol event handling during S3/S4
    f1d28b1310bb ALSA: hda: Flush pending unsolicited events before suspend
    ebbb9bbe35ae ALSA: hda: Drop the BATCH workaround for AMD controllers
    f5278fcfb760 ALSA: hda/ca0132: Add Sound BlasterX AE-5 Plus support
    064ac8ed90a3 ALSA: hda/conexant: Add quirk for mute LED control on HP ZBook G5
    4dc34571e973 ALSA: hda/hdmi: Cancel pending works before suspend
    d77540ada71b ALSA: usb: Add Plantronics C320-M USB ctrl msg delay quirk
    d291b2594f85 ARM: efistub: replace adrl pseudo-op with adr_l macro invocation
    fd863653ad63 ARM: assembler: introduce adr_l, ldr_l and str_l macros
    917220f362a0 ARM: 9029/1: Make iwmmxt.S support Clang's integrated assembler
    69f845526833 mmc: sdhci: Update firmware interface API
    73d1a11a198a clk: qcom: gpucc-msm8998: Add resets, cxc, fix flags on gpu_gx_gdsc
    1b0b0c0b9ae9 scsi: target: core: Prevent underflow for service actions
    17c2c52051c4 scsi: target: core: Add cmd length set before cmd complete
    79b4fdd8b4cf scsi: libiscsi: Fix iscsi_prep_scsi_cmd_pdu() error handling
    f49bdac3e7f4 sysctl.c: fix underflow value setting risk in vm_table
    8876cc237e04 drivers/base/memory: don't store phys_device in memory blocks
    e4b98e2260fd s390/smp: __smp_rescan_cpus() - move cpumask away from stack
    219fc4b30058 kasan: fix memory corruption in kasan_bitops_tags test
    6c73bc9f28e2 i40e: Fix memory leak in i40e_probe
    6d4fabc6c7ec PCI: Fix pci_register_io_range() memory leak
    950bff22a98a kbuild: clamp SUBLEVEL to 255
    64578f9417e1 ext4: don't try to processed freed blocks until mballoc is initialized
    d49f86e88859 PCI/LINK: Remove bandwidth notification
    732bb21397ee drivers/base: build kunit tests without structleak plugin
    fa6dae9d7ffd PCI: mediatek: Add missing of_node_put() to fix reference leak
    d26949c732e4 PCI: xgene-msi: Fix race in installing chained irq handler
    8282ec632443 Input: applespi - don't wait for responses to commands indefinitely.
    f27af42b1f10 sparc64: Use arch_validate_flags() to validate ADI flag
    99ed6ae4d000 sparc32: Limit memblock allocation to low memory
    661cba45dc67 clk: qcom: gdsc: Implement NO_RET_PERIPH flag
    a19d18a1171b iommu/amd: Fix performance counter initialization
    adc631d87ea9 powerpc/64: Fix stack trace not displaying final frame
    9fbbc5d3f7e0 HID: logitech-dj: add support for the new lightspeed connection iteration
    eb5a9ee32c76 powerpc/perf: Record counter overflow always if SAMPLE_IP is unset
    87e443255dce powerpc: improve handling of unrecoverable system reset
    2314d5061709 spi: stm32: make spurious and overrun interrupts visible
    912237ec3485 powerpc/pci: Add ppc_md.discover_phbs()
    711112e99a65 Platform: OLPC: Fix probe error handling
    09ef146f640d mmc: sdhci-iproc: Add ACPI bindings for the RPi
    35f662ba915e mmc: mediatek: fix race condition between msdc_request_timeout and irq
    7cb2c431583e mmc: mxs-mmc: Fix a resource leak in an error handling path in 'mxs_mmc_probe()'
    1e5ac057b05c iommu/vt-d: Clear PRQ overflow only when PRQ is empty
    82d6c12899e2 udf: fix silent AED tagLocation corruption
    cd69732c2579 scsi: ufs: WB is only available on LUN #0 to #7
    2b6105746b83 i2c: rcar: optimize cacheline to minimize HW race condition
    222a825f6bdb i2c: rcar: faster irq code to minimize HW race condition
    4d65eb3df0ad ath11k: fix AP mode for QCA6390
    700e2b63cbc8 ath11k: start vdev if a bss peer is already created
    dbec869d234e ath11k: peer delete synchronization with firmware
    781e956a8277 net: enetc: initialize RFS/RSS memories for unused ports too
    a3df6b7a8a41 enetc: Fix unused var build warning for CONFIG_OF
    606cfdeebd3d net: dsa: tag_mtk: fix 802.1ad VLAN egress
    409af8946619 net: dsa: tag_ar9331: let DSA core deal with TX reallocation
    a2fd181b4b7a net: dsa: tag_gswip: let DSA core deal with TX reallocation
    9bb1bec952ad net: dsa: tag_dsa: let DSA core deal with TX reallocation
    9ad635b75e42 net: dsa: tag_brcm: let DSA core deal with TX reallocation
    67fd35c21a60 net: dsa: tag_edsa: let DSA core deal with TX reallocation
    6702dd45534a net: dsa: tag_lan9303: let DSA core deal with TX reallocation
    27f014eb6627 net: dsa: tag_mtk: let DSA core deal with TX reallocation
    54787024c8fb net: dsa: tag_ocelot: let DSA core deal with TX reallocation
    cf5c6682e274 net: dsa: tag_qca: let DSA core deal with TX reallocation
    8f17133cc3ae net: dsa: trailer: don't allocate additional memory for padding/tagging
    a4d2836de5c6 net: dsa: tag_ksz: don't allocate additional memory for padding/tagging
    162c423e6071 net: dsa: implement a central TX reallocation procedure
    f91a299fb160 s390/qeth: fix notification for pending buffers during teardown
    f7a7d3ede5f5 s390/qeth: improve completion of pending TX buffers
    144dbdf86c7a s390/qeth: remove QETH_QDIO_BUF_HANDLED_DELAYED state
    926200fd224c s390/qeth: don't replace a fully completed async TX buffer
    13e312dca2f2 net: hns3: fix error mask definition of flow director
    3370a84d781c cifs: fix credit accounting for extra channel
    83ff4f644de4 media: rc: compile rc-cec.c into rc-core
    db2ae26d7855 media: v4l: vsp1: Fix bru null pointer access
    465fd4191aaa media: v4l: vsp1: Fix uif null pointer access
    17c6d693a33a media: rkisp1: params: fix wrong bits settings
    c29dcb253a6a media: usbtv: Fix deadlock on suspend
    a5190a7865b6 sh_eth: fix TRSCER mask for R7S9210
    c6ecc613ef16 qxl: Fix uninitialised struct field head.surface_id
    1afe77386a6d s390/crypto: return -EFAULT if copy_to_user() fails
    dac4e0e10b9b s390/cio: return -EFAULT if copy_to_user() fails
    d7b8aef5b6d1 drm/i915: Wedge the GPU if command parser setup fails
    335d21ad8a9a drm/shmem-helpers: vunmap: Don't put pages for dma-buf
    d4ec1ffbdaa8 drm: meson_drv add shutdown function
    915f2f8cadbd drm: Use USB controller's DMA mask when importing dmabufs
    5e9b01152527 drm/shmem-helper: Don't remove the offset in vm_area_struct pgoff
    368b53e797c9 drm/shmem-helper: Check for purged buffers in fault handler
    ad106ddd3366 drm/amdgpu/display: handle aux backlight in backlight_get_brightness
    fd87d778642b drm/amdgpu/display: don't assert in set backlight function
    4b55b9fd9bfc drm/amdgpu/display: simplify backlight setting
    96b097e84101 drm/amd/pm: bug fix for pcie dpm
    6b9900263a31 drm/amd/display: Fix nested FPU context in dcn21_validate_bandwidth()
    b40528bcc10b drm/amdgpu/display: use GFP_ATOMIC in dcn21_validate_bandwidth_fp()
    55086176c75a drm/amd/display: Add a backlight module option
    e30ce84181cf drm/compat: Clear bounce structures
    ccc942eaf570 gpio: fix gpio-device list corruption
    2e3c8a28f465 gpio: pca953x: Set IRQ type when handle Intel Galileo Gen 2
    f60ffab25855 gpiolib: acpi: Allow to find GpioInt() resource by name and index
    8df70a5b4d0c gpiolib: acpi: Add ACPI_GPIO_QUIRK_ABSOLUTE_NUMBER quirk
    845ec460537d bnxt_en: reliably allocate IRQ table on reset to avoid crash
    686874ca92c2 s390/cio: return -EFAULT if copy_to_user() fails again
    fd61e772f036 net: hns3: fix bug when calculating the TCAM table info
    3c7f1304ee71 net: hns3: fix query vlan mask value error for flow director
    f9a87999bdd9 perf report: Fix -F for branch & mem modes
    57a798e4a197 perf traceevent: Ensure read cmdlines are null terminated.
    e4f7ffaa7cdf mlxsw: spectrum_ethtool: Add an external speed to PTYS register
    824c94cbf4d6 selftests: forwarding: Fix race condition in mirror installation
    c1e1a64a2313 net: phy: make mdio_bus_phy_suspend/resume as __maybe_unused
    ad59796872ae ethtool: fix the check logic of at least one channel for RX/TX
    482f99d0ad39 net: stmmac: fix wrongly set buffer2 valid when sph unsupport
    333dbdee0651 net: stmmac: fix watchdog timeout during suspend/resume stress test
    3c1b58261ff8 net: stmmac: stop each tx channel independently
    640492cf1732 perf build: Fix ccache usage in $(CC) when generating arch errno table
    8493877b58b6 tools/resolve_btfids: Fix build error with older host toolchains
    ee7eac24b5b4 ixgbe: fail to create xfrm offload of IPsec tunnel mode SA
    cab735320fe9 r8169: fix r8168fp_adjust_ocp_cmd function
    84ef8a8cb789 s390/qeth: fix memory leak after failed TX Buffer allocation
    345d90cd741a net: qrtr: fix error return code of qrtr_sendmsg()
    4f8e71a770dd net: enetc: allow hardware timestamping on TX queues with tc-etf enabled
    4fd0654b8f21 net: davicom: Fix regulator not turned off on driver removal
    e334c401f3fc net: davicom: Fix regulator not turned off on failed probe
    6342ccdfdf2b net: lapbether: Remove netif_start_queue / netif_stop_queue
    9c4136081cc2 stmmac: intel: Fixes clock registration error seen for multiple interfaces
    d78f23ef3040 net: stmmac: Fix VLAN filter delete timeout issue in Intel mGBE SGMII
    85178d76febd cipso,calipso: resolve a number of problems with the DOI refcounts
    e03ed1190d56 netdevsim: init u64 stats for 32bit hardware
    6ed0a2cafd1f net: usb: qmi_wwan: allow qmimux add/del with master up
    565b2d3ae202 net: dsa: sja1105: fix SGMII PCS being forced to SPEED_UNKNOWN instead of SPEED_10
    719611e806de net: mscc: ocelot: properly reject destination IP keys in VCAP IS1
    2809a5ca962e net: sched: avoid duplicates in classes dump
    9c61f1e1c40e nexthop: Do not flush blackhole nexthops when loopback goes down
    87b7b19d6e1d net: stmmac: fix incorrect DMA channel intr enable setting of EQoS v4.10
    6b0d3ae1051b net/mlx4_en: update moderation when config reset
    fa0bc09db49b net: ethernet: mtk-star-emac: fix wrong unmap in RX handling
    1cdd008902d4 net: enetc: keep RX ring consumer index in sync with hardware
    531736540111 net: enetc: remove bogus write to SIRXIDR from enetc_setup_rxbdr
    63876df5615e net: enetc: force the RGMII speed and duplex instead of operating in inband mode
    5732688c8411 net: enetc: don't disable VLAN filtering in IFF_PROMISC mode
    d56e3f8d289b net: enetc: fix incorrect TPID when receiving 802.1ad tagged packets
    bf9c564716a1 net: enetc: take the MDIO lock only once per NAPI poll cycle
    dfaf418dfff8 net: enetc: don't overwrite the RSS indirection table when initializing
    4ea379733555 sh_eth: fix TRSCER mask for SH771x
    68277f69a873 net: dsa: tag_rtl4_a: fix egress tags
    389055e7b970 docs: networking: drop special stable handling
    e1759160877a Revert "mm, slub: consider rest of partial list if acquire_slab() fails"
    3d0bbd97eb6f cifs: return proper error code in statfs(2)
    36e1efcdc542 mount: fix mounting of detached mounts onto targets that reside on shared mounts
    aa1258d91455 powerpc/603: Fix protection of user pages mapped with PROT_NONE
    e36d276dd4be mt76: dma: do not report truncated frames to mac80211
    1e343b2e7b96 ibmvnic: always store valid MAC address
    57ac75f8d241 ibmvnic: Fix possibly uninitialized old_num_tx_queues variable warning.
    2f6f72ee9a98 libbpf: Clear map_info before each bpf_obj_get_info_by_fd
    f126147970a1 samples, bpf: Add missing munmap in xdpsock
    4d2cdb2ded60 selftests/bpf: Mask bpf_csum_diff() return value to 16 bits in test_verifier
    4fa0ece2e0eb selftests/bpf: No need to drop the packet when there is no geneve opt
    7653656be252 selftests/bpf: Use the last page in test_snprintf_btf on s390
    6aa23829949c net: phy: fix save wrong speed and duplex problem if autoneg is on
    91796b65563b net: always use icmp{,v6}_ndo_send from ndo_start_xmit
    8abbf7e53e17 netfilter: x_tables: gpf inside xt_find_revision()
    42402bd84530 netfilter: nf_nat: undo erroneous tcp edemux lookup
    046f3c1c2ff4 tcp: add sanity tests to TCP_QUEUE_SEQ
    e95ebe1ed6ab tcp: Fix sign comparison bug in getsockopt(TCP_ZEROCOPY_RECEIVE)
    473bce9b9393 can: tcan4x5x: tcan4x5x_init(): fix initialization - clear MRAM before entering Normal Mode
    c537011c99ab can: flexcan: invoke flexcan_chip_freeze() to enter freeze mode
    e24c53182850 can: flexcan: enable RX FIFO after FRZ/HALT valid
    98b7f969116d can: flexcan: assert FRZ bit in flexcan_chip_freeze()
    4224890edff1 can: skb: can_skb_set_owner(): fix ref counting if socket was closed before setting skb ownership
    fa5d019c56e7 net: l2tp: reduce log level of messages in receive path, add counter instead
    453fff24f52e net: avoid infinite loop in mpls_gso_segment when mpls_hlen == 0
    faa3baa2828c net: check if protocol extracted by virtio_net_hdr_set_proto is correct
    09af4362ba47 net: Fix gro aggregation for udp encaps with zero csum
    d2fb1911a7a8 ath9k: fix transmitting to stations in dynamic SMPS mode
    b0454a28f608 crypto: mips/poly1305 - enable for all MIPS processors
    a0df424a863a ethernet: alx: fix order of calls on resume
    a9c55f22a0b9 powerpc/pseries: Don't enforce MSI affinity with kdump
    ac022fbee685 powerpc/perf: Fix handling of privilege level checks in perf interrupt context
    7732f57f0f52 uapi: nfnetlink_cthelper.h: fix userspace compilation error

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agorootfs.py: uninstall the run-postinsts package if not needed
Awais Belal [Thu, 25 Mar 2021 11:59:32 +0000 (16:59 +0500)]
rootfs.py: uninstall the run-postinsts package if not needed

The run-postinsts package runs post installation scripts
on target if packages request delayed post installations. When
no delayed post installations are found the sysV style scripts
are disabled for the package and hence it did not run on sysV
based systems. However, the package provides systemd service
as well which still ran on systems based on systemd even when
no post installations were found.
Rather than disabling/masking scripts for different initialization
managers we now simply remove/uninstall the run-postinsts package
when no post installations are found to be delayed till runtime.
This is also more aligned with the function (_uninstall_unneeded)
this functionality is triggered through.

Signed-off-by: Awais Belal <awais_belal@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoopenssl: update to 1.1.1k to fix CVE-2021-3450 and CVE-2021-3449
Mikko Rapeli [Thu, 25 Mar 2021 19:20:37 +0000 (21:20 +0200)]
openssl: update to 1.1.1k to fix CVE-2021-3450 and CVE-2021-3449

Only security issues fixed in this release according to
https://www.openssl.org/news/cl111.txt

Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agobitbake.conf: ensure BUILD_* tools match target tools
Ross Burton [Thu, 25 Mar 2021 17:39:00 +0000 (17:39 +0000)]
bitbake.conf: ensure BUILD_* tools match target tools

Add a few more tools to the BUILD_* list, to match the target tool list.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoutil-linux-libuuid: Simplify recipe and rename from util-linux-uuid
Richard Purdie [Wed, 24 Mar 2021 21:41:53 +0000 (21:41 +0000)]
util-linux-libuuid: Simplify recipe and rename from util-linux-uuid

Rename the recipe from util-linux-uuid to util-linux-libuuid which means
we can drop the custom PACKAGES and FILES defintions which simplifies
things. Also move the LICENSE setting to the libuuid recipe so that
it is correctly applied to the right packages.

This means the standard definitions from bitbake.conf are used, avoiding
errors from situations where users have customised settings causing
failures.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibtool: make sure autoheader run before autoconf
Mingli Yu [Wed, 24 Mar 2021 06:48:53 +0000 (14:48 +0800)]
libtool: make sure autoheader run before autoconf

autoheader will update ../libtool-2.4.6/libltdl/config-h.in which
autoconf needs, so there comes a race sometimes as below:
 | configure.ac:45: error: required file 'config-h.in' not found
 | touch '../libtool-2.4.6/libltdl/config-h.in'

So make sure autoheader run before autoconf to avoid this race.

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agobitbake.conf: correct description of HOSTTOOLS_DIR
Robert P. J. Day [Wed, 24 Mar 2021 16:23:06 +0000 (12:23 -0400)]
bitbake.conf: correct description of HOSTTOOLS_DIR

HOSTTOOLS_DIR contains symlinks to host tools, not copies

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agotune-cortexa32: Add hard FPU
Jon Mason [Wed, 24 Mar 2021 15:40:16 +0000 (11:40 -0400)]
tune-cortexa32: Add hard FPU

A32 always has NEON and VFP.  Set the FPU as hard to always have this
enabled and used.

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoclasses/image: use oe.utils.directory_size() instead of du
Ross Burton [Tue, 23 Mar 2021 16:37:22 +0000 (16:37 +0000)]
classes/image: use oe.utils.directory_size() instead of du

Instead of using du (which has issues as disussed in the previous commit), use
the new oe.utils.directory_size() function.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>