]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
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>
4 years agolib/oe/utils: add directory size function
Ross Burton [Tue, 23 Mar 2021 16:37:21 +0000 (16:37 +0000)]
lib/oe/utils: add directory size function

For the purpose of image construction using du on a rootfs directory isn't
entirely satisfactory.  Bare "du" will report the actual disk usage so file
systems which can compress the data will report less than the actual space
required.  Using "du --apparent-size" will report the actual space used, but as
this simply sums the bytes used for content across an entire file system can
result in significant under-reporting due to block size overhead.

Attempt to solve these problems by implementing our own function to calculate
how large a rootfs will be.  This function handles hardlinks correctly but
rounds up all sizes to multiples of the block size (currently, 4KB is the
hard-coded block size).

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoffmpeg: disable GPL features by default
Yann Dirson [Tue, 23 Mar 2021 16:36:49 +0000 (17:36 +0100)]
ffmpeg: disable GPL features by default

--disable-gpl is the upstream default, and using GPL features violates
the license when linking into non-GPL programs.

Enabling it by default breaks user expectations, may cause people to
violate the GPL by mistake.

Signed-off-by: Yann Dirson <yann@blade-group.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoinitramfs-framework:rootfs: fix some conditional check
Ming Liu [Wed, 24 Mar 2021 12:37:58 +0000 (13:37 +0100)]
initramfs-framework:rootfs: fix some conditional check

Drop a duplicated check for "PARTLABEL=", also change to use elif to
avoid go through all the checks for root parameter.

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agodocumentation-audit.sh: Fix typo in specifying LICENSE_FLAGS_WHITELIST
Khem Raj [Fri, 26 Mar 2021 01:11:07 +0000 (18:11 -0700)]
documentation-audit.sh: Fix typo in specifying LICENSE_FLAGS_WHITELIST

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agobuild-appliance-image: Update to master head revision
Richard Purdie [Tue, 23 Mar 2021 22:56:39 +0000 (22:56 +0000)]
build-appliance-image: Update to master head revision

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoopenssh: Improve LICENSE to show BSD license variants.
Wang Mingyu [Tue, 23 Mar 2021 01:42:39 +0000 (09:42 +0800)]
openssh: Improve LICENSE to show BSD license variants.

Update LICENSE to show that BSD-2-Clause, BSD-3-Clause and BSD-4-Clause
are all present.

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoopenssh: upgrade 8.4p1 -> 8.5p1
Wang Mingyu [Tue, 23 Mar 2021 01:42:38 +0000 (09:42 +0800)]
openssh: upgrade 8.4p1 -> 8.5p1

0f90440ca70abab947acbd77795e9f130967956c.patch
removed since it is included in 8.5p1

License Updated :
2-clause BSD license and 4-clause BSD license added

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolinux-yocto/5.10: update qemuriscv32 v5.10.23
Bruce Ashfield [Mon, 22 Mar 2021 18:44:55 +0000 (14:44 -0400)]
linux-yocto/5.10: update qemuriscv32 v5.10.23

The kernel SRCREV updates were missing riscv32, so stayed back on
5.10.21, which causes build issues as PV is out of sync with the
actual kernel version.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolinux-yocto-dev: bump to v5.12-rc
Bruce Ashfield [Mon, 22 Mar 2021 18:44:40 +0000 (14:44 -0400)]
linux-yocto-dev: bump to v5.12-rc

The -dev kernel has moved to v5.12, as it will be the latest avialable
in the upcoming release. core-image-kernel-dev sanity has passed for
the supported arches.

So we bump the version to match the active branches.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agosite/elfutils/libunistring: Drop patching for iconv and set in site file
Richard Purdie [Mon, 22 Mar 2021 21:47:29 +0000 (21:47 +0000)]
site/elfutils/libunistring: Drop patching for iconv and set in site file

The standard macros from gettext for iconv include problematic tests which
we've been patching out adhoc. Stop doing this and set results in the site
files instead which is simpler, more maintainable and peforms better too
as an added bonus.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agovalgrind: Fix ptests on ppc64 LE
Khem Raj [Mon, 22 Mar 2021 15:51:33 +0000 (08:51 -0700)]
valgrind: Fix ptests on ppc64 LE

Backport a patch to avoid lsw/lmw instructions

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoscripts: add oe-time-dd-test.sh
Sakib Sajal [Mon, 22 Mar 2021 08:32:24 +0000 (04:32 -0400)]
scripts: add oe-time-dd-test.sh

oe-time-dd-test records how much time it takes to
write <count> number of kilobytes to the filesystem.
It also records the number of processes that are in
running (R), uninterruptible sleep (D) and interruptible
sleep (S) state from the output of "top" command.
The purporse of this script is to find which part of
the build system puts stress on the filesystem io and
log all the processes.

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogo-helloworld: disable module-aware mode
Changqing Li [Mon, 22 Mar 2021 03:23:30 +0000 (11:23 +0800)]
go-helloworld: disable module-aware mode

>From go 1.16, module-aware mode is enabled by default, regardless of
whether a go.mod file is present in the current working directory or a
parent directory.

Above change makes go-helloworld build fail when doing offline build or
proxy.golang.org is not accessible.

This fix is kind of workaround, as from go1.17, GOPATH mode will be
dropped, and GO111MODULE is ignored.

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agou-boot: Fix CVE-2021-27097, CVE-2021-27138
Scott Murray [Mon, 22 Mar 2021 02:53:55 +0000 (22:53 -0400)]
u-boot: Fix CVE-2021-27097, CVE-2021-27138

Backport fixes for CVE-2021-27097 and CVE-2021-27138 as well as
a precursor fdt validation fix that allows using the upstream
patches for the CVEs without significant rebasing.  Note that
the additional upstream changes to add new U-Boot fit image tests
have been left out to keep the patch count down.  Those tests are
currently not used for ptest or oe-selftest, so it is believed
their absence should not be problematic.

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogstreamer1.0-plugins-good: fix rtpjitterbuffer regression
Jose Quaresma [Sun, 21 Mar 2021 15:46:04 +0000 (15:46 +0000)]
gstreamer1.0-plugins-good: fix rtpjitterbuffer regression

Due to an off-by-one when parsing the string, the most significant digit
or the clock offset was skipped when parsing the offset.

https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/910

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogstreamer1.0: upgrade 1.18.3 -> 1.18.4
Jose Quaresma [Sun, 21 Mar 2021 15:46:03 +0000 (15:46 +0000)]
gstreamer1.0: upgrade 1.18.3 -> 1.18.4

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agorun-postinsts: do not remove postinsts directory.
Anton D. Kachalov [Sun, 21 Mar 2021 10:26:16 +0000 (11:26 +0100)]
run-postinsts: do not remove postinsts directory.

When running on the systems having read-only rootfs backed by overlayfs,
removing the whole directory lead to create a special char device file
on the upperdir to reflect directory's removal. Once it is required to
upgrade the whole read-only image that might contain new postinsts scripts,
it will be impossible to run such scripts with a "deletion mark" file
on the overlayfs -- the whole directory will be marked as deleted regardless
new files in it.

Signed-off-by: Anton D. Kachalov <gmouse@google.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopython3: fix PACKAGECONFIG handling
Martin Jansa [Sat, 20 Mar 2021 10:11:13 +0000 (11:11 +0100)]
python3: fix PACKAGECONFIG handling

* it was changed from sysconf_dis to mods_disabled in:
  https://git.openembedded.org/openembedded-core/diff/meta/recipes-devtools/python/python3/0017-setup.py-do-not-report-missing-dependencies-for-disa.patch?id=7347556b18b45c5f9afc2cade565a75c95876914

  but unfortunately this doesn't work as mods_disabled set by remove_configured_extensions
  can contain only extensions which were disabled, as this list:
  self.extensions: ['_struct', 'array', '_contextvars', 'math', 'cmath', 'time', '_datetime', '_zoneinfo', '_random', '_bisect', '_heapq', '_pickle', 'atexit', '_json', '_lsprof', 'unicodedata', '_opcode', '_asyncio', '_abc', '_queue', '_statistics', 'fcntl', 'pwd', 'grp', 'spwd', 'select', 'parser', 'mmap', 'syslog', '_xxsubinterpreters', 'audioop', '_csv', '_posixsubprocess', '_testcapi', '_testinternalcapi', '_testbuffer', '_testimportmultiple', '_testmultiphase', '_xxtestfuzz', '_curses', '_curses_panel', '_crypt', '_socket', '_ssl', '_hashlib', '_sha256', '_sha512', '_md5', '_sha1', '_blake2', '_sha3', '_sqlite3', 'termios', 'resource', 'ossaudiodev', 'nis', 'zlib', 'binascii', '_bz2', '_lzma', 'pyexpat', '_elementtree', '_multibytecodec', '_codecs_kr', '_codecs_jp', '_codecs_cn', '_codecs_tw', '_codecs_hk', '_codecs_iso2022', '_decimal', '_ctypes_test', '_posixshmem', '_multiprocessing', '_uuid', 'xxlimited', '_ctypes']

  while PACKAGECONFIG in python3 usually uses this to disable _dbm, _gdbm or runtime modules.

* without this change the do_install will fail (based on check_build_completeness.py log.do_compile) with:
  | ERROR: Execution of '/OE/build/oe-core/tmp-glibc/work/x86_64-linux/python3-native/3.9.0-r0/temp/run.do_install.69743' failed with exit code 1:
  | The necessary bits to build these optional modules were not found:
  | _dbm                  _gdbm                 readline

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoapt: Do not disable NLS
Khem Raj [Sat, 20 Mar 2021 21:49:56 +0000 (14:49 -0700)]
apt: Do not disable NLS

Add a patch to disable cmake po targets

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoapt: Support old resolver as fallback
Khem Raj [Sat, 20 Mar 2021 21:49:55 +0000 (14:49 -0700)]
apt: Support old resolver as fallback

Not all C libraries implement the new resolver APIs e.g. musl, therefore
keep the old interfaces around and choose using __RES version macro
which is meant for this kind of work.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoapt: update 1.8.2.2 -> 2.2.2
Alexander Kanavin [Sat, 20 Mar 2021 21:49:54 +0000 (14:49 -0700)]
apt: update 1.8.2.2 -> 2.2.2

Drop 0001-test-libapt-do-not-use-gtest-from-the-host.patch
(replaced by WITH_TESTS option).

Drop 0001-Do-not-configure-packages-on-installation.patch
(no longer necessary).

Adjust build dependencies.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolinux-yocto/5.10: cfg: fix ppc64 configuration warnings
Bruce Ashfield [Mon, 22 Mar 2021 01:42:18 +0000 (21:42 -0400)]
linux-yocto/5.10: cfg: fix ppc64 configuration warnings

Recent tweaks to the kern tools triggered some warnings that were
previously hidden.

With these two commits, ppc64 has a clean audit:

    c0cfc016a51 qemuppc64: fix 5.10 configuration warnings
    489c76aa9fb qemu-ppc64.cfg: Do not set CONFIG_POWER4

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agosstate: Add documentation for eventhandlers and tweak naming
Richard Purdie [Tue, 23 Mar 2021 11:38:58 +0000 (11:38 +0000)]
sstate: Add documentation for eventhandlers and tweak naming

It isn't immediately obvious what these do, add some better examples
to document them. Also improve the naming for one of the handlers.
This will help make it clear in any tracebacks which code is being
used.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agosstate: Remove stale objects before the main build
Richard Purdie [Thu, 18 Mar 2021 17:57:45 +0000 (17:57 +0000)]
sstate: Remove stale objects before the main build

The split of util-linux-uuid out from util-linux caused some interesting
sstate file overlap errors on existing build directories. This is a
challenge to handle since util-linux depends on util-linux-uuid and has
overlapping files in package data and deploy/packages directories.
The util-linux build happens later and is what would clean up those files
but it happens too late for uuid.

Fixing this is hard as we don't know the taskhashes until the task
graph is calculated. Once that is ready, we can compare the hashes
with the existing hashes and know which sstate tasks are "stale".

This patch adds a handler which iterates the sstate manifests looking
for matching stamp paths and then removes the manifests along with the
associated stamp files.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agostress-ng: upgrade 0.12.04 -> 0.12.05
zhengruoqin [Wed, 17 Mar 2021 17:50:24 +0000 (01:50 +0800)]
stress-ng: upgrade 0.12.04 -> 0.12.05

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoliburi-perl: upgrade 1.74 -> 5.08
zhengruoqin [Wed, 17 Mar 2021 17:48:34 +0000 (01:48 +0800)]
liburi-perl: upgrade 1.74 -> 5.08

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopackagegroup-core-weston.bb: add pam to REQUIRED_DISTRO_FEATURES
Martin Jansa [Fri, 19 Mar 2021 13:34:50 +0000 (14:34 +0100)]
packagegroup-core-weston.bb: add pam to REQUIRED_DISTRO_FEATURES

* weston, weston-init, weston-examples require pam
* fixes:
  ERROR: Nothing RPROVIDES 'weston-init' (but meta/recipes-graphics/packagegroups/packagegroup-core-weston.bb RDEPENDS on or otherwise requires it)
  weston-init was skipped: missing required distro feature 'pam' (not in DISTRO_FEATURES)
  NOTE: Runtime target 'weston-init' is unbuildable, removing...
  Missing or unbuildable dependency chain was: ['weston-init']
  ERROR: Nothing RPROVIDES 'packagegroup-core-weston' (but meta/recipes-graphics/packagegroups/packagegroup-core-weston.bb RDEPENDS on or otherwise requires it)
  No eligible RPROVIDERs exist for 'packagegroup-core-weston'
  NOTE: Runtime target 'packagegroup-core-weston' is unbuildable, removing...
  Missing or unbuildable dependency chain was: ['packagegroup-core-weston']
  ERROR: Nothing RPROVIDES 'weston-examples' (but meta/recipes-graphics/packagegroups/packagegroup-core-weston.bb RDEPENDS on or otherwise requires it)
  weston RPROVIDES weston-examples but was skipped: missing required distro feature 'pam' (not in DISTRO_FEATURES)
  NOTE: Runtime target 'weston-examples' is unbuildable, removing...
  Missing or unbuildable dependency chain was: ['weston-examples']
  ERROR: Nothing RPROVIDES 'weston' (but meta/recipes-graphics/packagegroups/packagegroup-core-weston.bb RDEPENDS on or otherwise requires it)
  weston was skipped: missing required distro feature 'pam' (not in DISTRO_FEATURES)
  NOTE: Runtime target 'weston' is unbuildable, removing...
  Missing or unbuildable dependency chain was: ['weston']

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agokernel-devsrc: fix on-target scripts/prepare for v5.12+
Bruce Ashfield [Fri, 19 Mar 2021 18:58:37 +0000 (14:58 -0400)]
kernel-devsrc: fix on-target scripts/prepare for v5.12+

AR is now captured are part of the build environment. If we don't
subtitute our on-target variant for the cross version, we'll end
up getting a prompted configure when preparing to build modules.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolttng-modules: backport patches to fix build against 5.12+ kernel
Bruce Ashfield [Fri, 19 Mar 2021 18:58:36 +0000 (14:58 -0400)]
lttng-modules: backport patches to fix build against 5.12+ kernel

There are four changes in addition to the 2.12.5 release that we
need to build against the 5.12 kernel. Rather than only rely on
people knowing to use devupstream support to build against newer
kernels, we backport the 4 patches while waiting for release.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolttng-modules: update devupstream to 2.12.5+
Bruce Ashfield [Fri, 19 Mar 2021 18:58:35 +0000 (14:58 -0400)]
lttng-modules: update devupstream to 2.12.5+

When building against kernel v5.12-rc+, we need extra changes
on top of the 2.12.5 release. We can bump devupstream separately
from the main release to grab those changes.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolinux-yocto/5.10: cfg: features/numa: Remove NODES_SPAN_OTHER_NODES option
Bruce Ashfield [Fri, 19 Mar 2021 18:58:33 +0000 (14:58 -0400)]
linux-yocto/5.10: cfg: features/numa: Remove NODES_SPAN_OTHER_NODES option

Integrating the following commit(s) to:

    f5babefa399 features/numa: Remove NODES_SPAN_OTHER_NODES option

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.23
Bruce Ashfield [Fri, 19 Mar 2021 18:58:32 +0000 (14:58 -0400)]
linux-yocto/5.10: update to v5.10.23

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

    dfbf345b63c3 Linux 5.10.23
    c8714d1faae8 nvme-pci: add quirks for Lexar 256GB SSD
    e88e01440a48 nvme-pci: mark Seagate Nytro XM1440 as QUIRK_NO_NS_DESC_LIST.
    3b659091587a KVM: SVM: Clear the CR4 register on reset
    1611c323df9f scsi: ufs: Fix a duplicate dev quirk number
    2dba0f805416 ASoC: Intel: sof_sdw: add quirk for HP Spectre x360 convertible
    c08344abc971 ASoC: Intel: sof_sdw: reorganize quirks by generation
    1d3efd15e8a4 PCI: cadence: Retrain Link to work around Gen2 training defect
    015d38539db9 ALSA: usb-audio: add mixer quirks for Pioneer DJM-900NXS2
    d78acca2afe5 ALSA: usb-audio: Add DJM750 to Pioneer mixer quirk
    96c4c0a9405e HID: i2c-hid: Add I2C_HID_QUIRK_NO_IRQ_AFTER_RESET for ITE8568 EC on Voyo Winpad A15
    5b6526283499 mmc: sdhci-of-dwcmshc: set SDHCI_QUIRK2_PRESET_VALUE_BROKEN
    e62bdb34858c drm/msm/a5xx: Remove overwriting A5XX_PC_DBG_ECO_CNTL register
    e74b237ef989 scsi: ufs: ufs-exynos: Use UFSHCD_QUIRK_ALIGN_SG_WITH_PAGE_SIZE
    0905bfe69ac2 scsi: ufs: ufs-exynos: Apply vendor-specific values for three timeouts
    c32b34115357 scsi: ufs: Introduce a quirk to allow only page-aligned sg entries
    eece8fe5ebb0 misc: eeprom_93xx46: Add quirk to support Microchip 93LC46B eeprom
    2fc01226c288 scsi: ufs: Add a quirk to permit overriding UniPro defaults
    dbaa2667515e scsi: ufs-mediatek: Enable UFSHCI_QUIRK_SKIP_MANUAL_WB_FLUSH_CTRL
    ff72a41132b3 ASoC: Intel: sof_sdw: add missing TGL_HDMI quirk for Dell SKU 0A32
    c7ebe45e403d KVM: x86: Supplement __cr4_reserved_bits() with X86_FEATURE_PCID check
    422da3196be9 PCI: Add function 1 DMA alias quirk for Marvell 9215 SATA controller
    0ff1f97510fd usb: cdns3: fix NULL pointer dereference on no platform data
    8694c4e2b19c usb: cdns3: add quirk for enable runtime pm by default
    febf7d870371 usb: cdns3: host: add xhci_plat_priv quirk XHCI_SKIP_PHY_INIT
    3db17e283a92 usb: cdns3: host: add .suspend_quirk for xhci-plat.c
    1b2ac1d95fb1 ASoC: Intel: bytcr_rt5640: Add quirk for ARCHOS Cesium 140
    d3116e06fb16 ACPI: video: Add DMI quirk for GIGABYTE GB-BXBT-2807
    c5188a98d2fb media: cx23885: add more quirks for reset DMA on some AMD IOMMU
    748446897d36 HID: mf: add support for 0079:1846 Mayflash/Dragonrise USB Gamecube Adapter
    8fb656fefddd platform/x86: acer-wmi: Add ACER_CAP_KBD_DOCK quirk for the Aspire Switch 10E SW3-016
    ba1a647e0f11 platform/x86: acer-wmi: Add support for SW_TABLET_MODE on Switch devices
    2c9132e543b7 platform/x86: acer-wmi: Add ACER_CAP_SET_FUNCTION_MODE capability flag
    039cd40179e9 platform/x86: acer-wmi: Add new force_caps module parameter
    74848026bcb1 platform/x86: acer-wmi: Cleanup accelerometer device handling
    be52e3ea4520 platform/x86: acer-wmi: Cleanup ACER_CAP_FOO defines
    b159a9a4d357 bus: ti-sysc: Implement GPMC debug quirk to drop platform data
    f7f227eb32d1 ASoC: Intel: sof_sdw: add quirk for new TigerLake-SDCA device
    36b3ba412d7c mwifiex: pcie: skip cancel_work_sync() on reset failure path
    f5526b77335d Bluetooth: btqca: Add valid le states quirk
    93d20ce4c47f iommu/amd: Fix sleeping in atomic in increase_address_space()
    bf6dd437c3ba btrfs: don't flush from btrfs_delayed_inode_reserve_metadata
    cf9317ceb5a1 btrfs: export and rename qgroup_reserve_meta
    7215d7742daf arm64: Make CPU_BIG_ENDIAN depend on ld.bfd or ld.lld 13.0.0+
    a6425142f522 parisc: Enable -mlong-calls gcc option with CONFIG_COMPILE_TEST
    ea222427ae9c nvme-pci: mark Kingston SKC2000 as not supporting the deepest power state
    6d7fdad08fbd ASoC: SOF: Intel: broadwell: fix mutual exclusion with catpt driver
    62ba6d817c91 ACPICA: Fix race in generic_serial_bus (I2C) and GPIO op_region parameter handling
    b672142f76cb Linux 5.10.22
    b31a9f0c366d r8169: fix resuming from suspend on RTL8105e if machine runs on battery
    aa40f5e33ce3 tomoyo: recognize kernel threads correctly
    4645271c32b4 of: unittest: Fix build on architectures without CONFIG_OF_ADDRESS
    b70e6aacbe32 Revert "arm64: dts: amlogic: add missing ethernet reset ID"
    a7cefacccafa iommu/vt-d: Fix status code for Allocate/Free PASID command
    5cc0813e7bb9 rsxx: Return -EFAULT if copy_to_user() fails
    e88c1b25f2bc ftrace: Have recordmcount use w8 to read relp->r_info in arm64_is_fake_mcount
    a14c6ea66211 ALSA: hda: intel-nhlt: verify config type
    7ef9d23bc312 IB/mlx5: Add missing error code
    f767104af496 RDMA/rxe: Fix missing kconfig dependency on CRYPTO
    8850a814d42d RDMA/cm: Fix IRQ restore in ib_send_cm_sidr_rep
    253b7a11ce26 ALSA: ctxfi: cthw20k2: fix mask on conf to allow 4 bits
    4d7ed9a49b0c mm: Remove examples from enum zone_type comment
    8eaef922e938 arm64: mm: Set ZONE_DMA size based on early IORT scan
    35ec3d09ff6a arm64: mm: Set ZONE_DMA size based on devicetree's dma-ranges
    a9861e7fa4f8 of: unittest: Add test for of_dma_get_max_cpu_address()
    18bf6e998d08 of/address: Introduce of_dma_get_max_cpu_address()
    3fbe62ffbb54 arm64: mm: Move zone_dma_bits initialization into zone_sizes_init()
    407b173adfac arm64: mm: Move reserve_crashkernel() into mem_init()
    85433307d8a1 crypto - shash: reduce minimum alignment of shash_desc structure
    3868a277e6fc drm/amdgpu: fix parameter error of RREG32_PCIE() in amdgpu_regs_pcie
    c2fee74ea801 drm/amdgpu:disable VCN for Navi12 SKU
    ce1cca17381f dm verity: fix FEC for RS roots unaligned to block size
    7bda53f46387 dm bufio: subtract the number of initial sectors in dm_bufio_get_device_size
    a2501d87663b io_uring: ignore double poll add on the same waitqueue head
    3301afbfef69 ring-buffer: Force before_stamp and write_stamp to be different on discard
    c6e5800bdf70 PM: runtime: Update device status before letting suppliers suspend
    ae971992e9fe btrfs: fix warning when creating a directory with smack enabled
    e6ba61aaff88 btrfs: unlock extents in btrfs_zero_range in case of quota reservation errors
    37ffce966821 btrfs: free correct amount of space in btrfs_delayed_inode_reserve_metadata
    a64ad80223f2 btrfs: validate qgroup inherit for SNAP_CREATE_V2 ioctl
    e82407d24968 btrfs: fix race between extent freeing/allocation when using bitmaps
    1559d94fece2 btrfs: fix stale data exposure after cloning a hole with NO_HOLES enabled
    6fc9e5866cb9 btrfs: fix race between swap file activation and snapshot creation
    501fdd1cefae btrfs: fix race between writes to swap files and scrub
    b2a487613218 btrfs: fix raid6 qstripe kmap
    a01415e5e862 btrfs: avoid double put of block group when emptying cluster
    fbefc2d28900 tpm, tpm_tis: Decorate tpm_get_timeouts() with request_locality()
    bfa2e4ed1d39 tpm, tpm_tis: Decorate tpm_tis_gen_interrupt() with request_locality()
    86c524934277 ALSA: usb-audio: Drop bogus dB range in too low level
    4330e7a8bf01 ALSA: usb-audio: use Corsair Virtuoso mapping for Corsair Virtuoso SE
    5c947a8a6f05 ALSA: hda/realtek: Enable headset mic of Acer SWIFT with ALC256

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.105
Bruce Ashfield [Fri, 19 Mar 2021 18:58:31 +0000 (14:58 -0400)]
linux-yocto/5.4: update to v5.4.105

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

    ce615a08404c Linux 5.4.105
    d17cf4cb1928 nvme-pci: add quirks for Lexar 256GB SSD
    1d08ff846484 nvme-pci: mark Seagate Nytro XM1440 as QUIRK_NO_NS_DESC_LIST.
    9106a7844efb HID: i2c-hid: Add I2C_HID_QUIRK_NO_IRQ_AFTER_RESET for ITE8568 EC on Voyo Winpad A15
    b5e10e9b3047 mmc: sdhci-of-dwcmshc: set SDHCI_QUIRK2_PRESET_VALUE_BROKEN
    21f3fb36b5a2 drm/msm/a5xx: Remove overwriting A5XX_PC_DBG_ECO_CNTL register
    1d113893ff9d misc: eeprom_93xx46: Add quirk to support Microchip 93LC46B eeprom
    9f1f09887551 PCI: Add function 1 DMA alias quirk for Marvell 9215 SATA controller
    f40fdcb7ca29 ASoC: Intel: bytcr_rt5640: Add quirk for ARCHOS Cesium 140
    242be7cddd25 ACPI: video: Add DMI quirk for GIGABYTE GB-BXBT-2807
    86c8848d680a media: cx23885: add more quirks for reset DMA on some AMD IOMMU
    fd476c6d4e1a HID: mf: add support for 0079:1846 Mayflash/Dragonrise USB Gamecube Adapter
    ef9fa6bb8582 platform/x86: acer-wmi: Add ACER_CAP_KBD_DOCK quirk for the Aspire Switch 10E SW3-016
    3a8eb20cb87b platform/x86: acer-wmi: Add support for SW_TABLET_MODE on Switch devices
    e3a3a69da177 platform/x86: acer-wmi: Add ACER_CAP_SET_FUNCTION_MODE capability flag
    b734af305c78 platform/x86: acer-wmi: Add new force_caps module parameter
    025180244251 platform/x86: acer-wmi: Cleanup accelerometer device handling
    37b4324cb78e platform/x86: acer-wmi: Cleanup ACER_CAP_FOO defines
    200e14759da5 mwifiex: pcie: skip cancel_work_sync() on reset failure path
    c699a89d385c iommu/amd: Fix sleeping in atomic in increase_address_space()
    fa56bf637eac ACPICA: Fix race in generic_serial_bus (I2C) and GPIO op_region parameter handling
    f27765adb3f6 dm table: fix zoned iterate_devices based device capability checks
    06ef17b88676 dm table: fix DAX iterate_devices based device capability checks
    b8aedc65db40 dm table: fix iterate_devices based device capability checks
    c1f5fc082beb net: dsa: add GRO support via gro_cells
    84d5d3c9d3fb Linux 5.4.104
    d859388ea25a r8169: fix resuming from suspend on RTL8105e if machine runs on battery
    1fba84f3c491 rsxx: Return -EFAULT if copy_to_user() fails
    77a81b10f894 ftrace: Have recordmcount use w8 to read relp->r_info in arm64_is_fake_mcount
    9a20e5782d2d ALSA: hda: intel-nhlt: verify config type
    86b3b62b81c5 IB/mlx5: Add missing error code
    809ef2660c1b RDMA/rxe: Fix missing kconfig dependency on CRYPTO
    26a1af33c9cd ALSA: ctxfi: cthw20k2: fix mask on conf to allow 4 bits
    6827415290ab usbip: tools: fix build error for multiple definition
    078170924d84 crypto - shash: reduce minimum alignment of shash_desc structure
    1f8884d04480 arm64: ptrace: Fix seccomp of traced syscall -1 (NO_SYSCALL)
    9e15b43fdaf3 drm/amdgpu: fix parameter error of RREG32_PCIE() in amdgpu_regs_pcie
    b367201430dd dm verity: fix FEC for RS roots unaligned to block size
    1a4182923144 dm bufio: subtract the number of initial sectors in dm_bufio_get_device_size
    52a643680165 PM: runtime: Update device status before letting suppliers suspend
    e49baccfe299 btrfs: fix warning when creating a directory with smack enabled
    a87911c26a1c btrfs: unlock extents in btrfs_zero_range in case of quota reservation errors
    91bc3296bffb btrfs: free correct amount of space in btrfs_delayed_inode_reserve_metadata
    8674c1a72a69 btrfs: validate qgroup inherit for SNAP_CREATE_V2 ioctl
    0c740d2b8c61 btrfs: fix raid6 qstripe kmap
    909a8d2b1e7b btrfs: raid56: simplify tracking of Q stripe presence
    15726df8c09a tpm, tpm_tis: Decorate tpm_get_timeouts() with request_locality()
    6d71cbc91104 tpm, tpm_tis: Decorate tpm_tis_gen_interrupt() with request_locality()

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolinux-yocto/5.10: fix SERIAL_OF_PLATFORM warning
Bruce Ashfield [Fri, 19 Mar 2021 18:58:30 +0000 (14:58 -0400)]
linux-yocto/5.10: fix SERIAL_OF_PLATFORM warning

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

    a0249ac3bae cfg: classify CONFIG_SERIAL_OF_PLATFORM as non-hardware

By declaring the option non-hardware, we make it optional and hence
fix the warning on non OF platforms.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolayer.conf: Drop gatesgarth from the layer series names
Richard Purdie [Fri, 19 Mar 2021 17:52:44 +0000 (17:52 +0000)]
layer.conf: Drop gatesgarth from the layer series names

The time has come to encourage people to update actively maintained
layers to use the new series name.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogcc-sanitizers: Package up hwasan files
Khem Raj [Fri, 19 Mar 2021 17:14:26 +0000 (10:14 -0700)]
gcc-sanitizers: Package up hwasan files

This is introduced in GCC-11

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoxxhash: import from meta-oe
Alexander Kanavin [Fri, 19 Mar 2021 08:43:58 +0000 (09:43 +0100)]
xxhash: import from meta-oe

This is needed for newer versions of apt.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoautomake: update 1.16.2 - > 1.16.3
Alexander Kanavin [Fri, 19 Mar 2021 08:43:57 +0000 (09:43 +0100)]
automake: update 1.16.2 - > 1.16.3

Drop automake-replace-w-option-in-shebangs-with-modern-use-warnings.patch;
upstream has fixed the issue.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agostrace: update 5.10 -> 5.11
Alexander Kanavin [Fri, 19 Mar 2021 08:43:56 +0000 (09:43 +0100)]
strace: update 5.10 -> 5.11

Drop disable-git-version-gen.patch as problem fixed upstream.

Add parallel builds to ptest compile.

strace-graph has been removed upstream.

Adjust ptest patch to match upstream changes.

License-Update: copyright years.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibhandy: update 1.0.3 -> 1.2.0
Alexander Kanavin [Fri, 19 Mar 2021 08:43:55 +0000 (09:43 +0100)]
libhandy: update 1.0.3 -> 1.2.0

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoasciidoc: update 9.0.4 -> 9.1.0
Alexander Kanavin [Fri, 19 Mar 2021 08:43:54 +0000 (09:43 +0100)]
asciidoc: update 9.0.4 -> 9.1.0

Dropped patch supserseded by https://github.com/asciidoc-py/asciidoc-py/pull/172

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoattr: update 2.4.48 -> 2.5.1
Alexander Kanavin [Fri, 19 Mar 2021 08:43:53 +0000 (09:43 +0100)]
attr: update 2.4.48 -> 2.5.1

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agomesa: update 20.3.4 -> 21.0.0
Alexander Kanavin [Fri, 19 Mar 2021 08:43:52 +0000 (09:43 +0100)]
mesa: update 20.3.4 -> 21.0.0

0001-anv-fix-a-build-race-between-generating-a-header-and.patch
merged upstream.

osmesa is now a simple boolean option.

Swrast has been removed from dri drivers, so as we need at least one
driver to enable dri in native/nativesdk, replace it with nouveau
(which does not take long to build).

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agospirv-tools: upgrade 2020.6 -> 2020.7
Alexander Kanavin [Fri, 19 Mar 2021 08:43:51 +0000 (09:43 +0100)]
spirv-tools: upgrade 2020.6 -> 2020.7

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agospirv-headers: update to latest revision
Alexander Kanavin [Fri, 19 Mar 2021 08:43:50 +0000 (09:43 +0100)]
spirv-headers: update to latest revision

This is required by latest release of spirv-tools.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agobind: upgrade 9.16.11 -> 9.16.12
Alexander Kanavin [Fri, 19 Mar 2021 08:43:49 +0000 (09:43 +0100)]
bind: upgrade 9.16.11 -> 9.16.12

Adjust library packaging (see link to commit in the recipe).

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogrub: upgrade 2.04 -> 2.06~rc1
Naveen Saini [Fri, 19 Mar 2021 07:14:33 +0000 (15:14 +0800)]
grub: upgrade 2.04 -> 2.06~rc1

2.06 RC1 release have a number of CVEs fixed:
CVE-2020-15705
CVE-2021-3418
CVE-2020-27749
CVE-2021-20233
CVE-2021-20225
CVE-2020-25647
CVE-2020-25632
CVE-2020-27779
CVE-2020-14372
CVE-2020-15707
CVE-2020-15706
CVE-2020-14309
CVE-2020-14310
CVE-2020-14311
CVE-2020-14308
CVE-2020-10713
CVE-2014-4607

Dropped backported patches.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoselftest/wic: Fix dependency issue in rawcopy test
Richard Purdie [Fri, 19 Mar 2021 13:30:36 +0000 (13:30 +0000)]
selftest/wic: Fix dependency issue in rawcopy test

The current test code contains a subtle race. It is building an ext4,
then trying to reuse that image in a wic build for the same recipe.
Whilst this happened to work, the code is within its rights to clean
up the output before the wic code runs.

Avoid this by using separate image targets instead.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogcc: Update patch to only patch files once
Wang Mingyu [Mon, 15 Mar 2021 01:02:04 +0000 (09:02 +0800)]
gcc: Update patch to only patch files once

This fixes an error in do_patch when using "PATCHTOOL = "patch""

error message:
checking file gcc/configure.ac Hunk #1 FAILED at 6602.

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolinux-dummy: add empty dependent packages
Li Wang [Fri, 12 Mar 2021 09:52:50 +0000 (17:52 +0800)]
linux-dummy: add empty dependent packages

some kernel includes kernel-image-image and kernel-devicetree packages.
these patckages are defined in kernel.bbclass
but, when use linux-dummy, these packages are not defined.
so, define them as empty packages for avoiding compile error:

ERROR: Nothing RPROVIDES 'kernel-devicetree'

Signed-off-by: Li Wang <li.wang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agospirv-tools: cleanup an old patch that is not used anymore
Jose Quaresma [Sun, 14 Mar 2021 12:53:44 +0000 (12:53 +0000)]
spirv-tools: cleanup an old patch that is not used anymore

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agospirv-tools: python3 is need not only for the tests
Jose Quaresma [Sun, 14 Mar 2021 12:53:43 +0000 (12:53 +0000)]
spirv-tools: python3 is need not only for the tests

commit acf109c1a1a30907f7401f6225fcbfb5f2e39a58 remove the python3native
when disabling the tests but python is needed not only for the tests,
so re add it.

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agodevshell.bbclass: Exceptions displayed within devpyshell
Dorinda Bassey [Thu, 18 Mar 2021 15:49:40 +0000 (16:49 +0100)]
devshell.bbclass: Exceptions displayed within devpyshell

If you type something into devpyshell, an exception should be triggered,
but that exception isn't printed out because it is not being flushed out
of the buffer. This patch fixes that issue.

[YOCTO #12156]

Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agovulkan-tools: upgrade 1.2.162.1 -> 1.2.170.0
Wang Mingyu [Thu, 18 Mar 2021 03:34:40 +0000 (11:34 +0800)]
vulkan-tools: upgrade 1.2.162.1 -> 1.2.170.0

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agovulkan-loader: upgrade 1.2.162.0 -> 1.2.170.0
Wang Mingyu [Thu, 18 Mar 2021 03:34:39 +0000 (11:34 +0800)]
vulkan-loader: upgrade 1.2.162.0 -> 1.2.170.0

0001-Rename-LIB_SUFFIX-to-VULKAN_LIB_SUFFIX.patch
removed since it is included in 1.2.170.0

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agovulkan-headers: upgrade 1.2.162.0 -> 1.2.170.0
Wang Mingyu [Thu, 18 Mar 2021 03:34:38 +0000 (11:34 +0800)]
vulkan-headers: upgrade 1.2.162.0 -> 1.2.170.0

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agokernel-fitimage.bbclass: support both KERNEL_DEVICETREE/EXTERNAL_KERNEL_DEVICETREE
Ming Liu [Thu, 18 Mar 2021 12:47:58 +0000 (13:47 +0100)]
kernel-fitimage.bbclass: support both KERNEL_DEVICETREE/EXTERNAL_KERNEL_DEVICETREE

There are user cases that a developer wants to add both in-tree and
out-of-tree devicetrees to fitimage, and this is quite normal, for
instance, a developer might need the devicetrees from kernel source
meanwhile maintaining his/her own devicetree overlays to be applied
on top of them.

To support that, we now allow KERNEL_DEVICETREE and
EXTERNAL_KERNEL_DEVICETREE to be both set in configuration files, and
the devicetrees in EXTERNAL_KERNEL_DEVICETREE have higher priority to
override the same names in KERNEL_DEVICETREE.

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibxcrypt: fix sporadic failures in nativesdk-libxcrypt-compat
Alexander Kanavin [Thu, 18 Mar 2021 11:55:57 +0000 (12:55 +0100)]
libxcrypt: fix sporadic failures in nativesdk-libxcrypt-compat

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agosystemd: upgrade 247.3 -> 247.4
wangmy@fujitsu.com [Thu, 18 Mar 2021 09:05:26 +0000 (17:05 +0800)]
systemd: upgrade 247.3 -> 247.4

refresh the following patches:
systemd/0001-systemd.pc.in-use-ROOTPREFIX-without-suffixed-slash.patch
systemd/0006-Include-netinet-if_ether.h.patch

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoscripts/verify-bashisms: Update checkbashisms.pl URL
Petr Vorel [Thu, 18 Mar 2021 18:51:44 +0000 (19:51 +0100)]
scripts/verify-bashisms: Update checkbashisms.pl URL

anonscm.debian.org is not used any more, update the URL.

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoweston-init: Set $HOME variable for SysVinit manager
Adrian [Mon, 15 Mar 2021 15:01:10 +0000 (16:01 +0100)]
weston-init: Set $HOME variable for SysVinit manager

SysVinit sets by default the $HOME directory to "/" for the init scripts.
It's picked then by the weston-launcher and make weston-terminal to have
wrongly set $HOME environment variable for the root user.

Signed-off-by: Adrian Fiergolski <adrian.fiergolski@fastree3d.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogptfdisk: upgrade 1.0.6 -> 1.0.7
Wang Mingyu [Wed, 17 Mar 2021 23:52:35 +0000 (07:52 +0800)]
gptfdisk: upgrade 1.0.6 -> 1.0.7

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoexternalsrc: Detect code changes in submodules
Douglas Royds [Wed, 17 Mar 2021 23:37:55 +0000 (12:37 +1300)]
externalsrc: Detect code changes in submodules

Further to 50ff9afb39, only detect code changes in submodules that are
subdirectories of the EXTERNALSRC directory.

git submodule status returns a path relative to the cwd for each submodule.
We don't add submodules that are not within our source subtree.

Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agocmake: Fully-qualified path to ar
Douglas Royds [Wed, 17 Mar 2021 23:25:14 +0000 (12:25 +1300)]
cmake: Fully-qualified path to ar

We (correctly enough) pass in our AR to cmake via the toolchain file,
but unlike the other cross-compilation tools (CC, CXX, ranlib, etc),
cmake does not then do its own search in the PATH for our AR.

By using cmake's own find_program() to search the PATH,
make works as expected from the commandline, outside of bitbake.

Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agocve-check: CVE_VERSION_SUFFIX to work with patched release
Lee Chee Yang [Thu, 4 Mar 2021 14:44:07 +0000 (22:44 +0800)]
cve-check: CVE_VERSION_SUFFIX to work with patched release

CVE_VERSION_SUFFIX in "patch" to treat version string with suffix "pX"
or "patchX" as patched release.

also update testcases to cover this changes and set CVE_VERSION_SUFFIX
for sudo.

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agocve-update-db-native: consider version suffix when update CVE db
Lee Chee Yang [Thu, 4 Mar 2021 14:44:06 +0000 (22:44 +0800)]
cve-update-db-native: consider version suffix when update CVE db

some record from NVD can merge or split suffix from version, for
example:
  CVE-2017-15906
  "cpe23Uri" : "cpe:2.3:a:openbsd:openssh:5.0:p1:*:*:*:*:*:*"
  "cpe23Uri" : "cpe:2.3:a:openbsd:openssh:4.7p1:*:*:*:*:*:*:*"

in such case include the suffix into version when update local CVE db.

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agomsmtp: upgrade 1.8.14 -> 1.8.15
Wang Mingyu [Tue, 16 Mar 2021 10:10:38 +0000 (18:10 +0800)]
msmtp: upgrade 1.8.14 -> 1.8.15

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agowebkitgtk: enable strlen and stpcpy on musl/linux too
Khem Raj [Wed, 17 Mar 2021 20:24:59 +0000 (13:24 -0700)]
webkitgtk: enable strlen and stpcpy on musl/linux too

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agowebkitgtk: Add packageconfig to chose between size and speed
Khem Raj [Wed, 17 Mar 2021 20:24:58 +0000 (13:24 -0700)]
webkitgtk: Add packageconfig to chose between size and speed

This packageconfig when selected will use -Os -DNDEBUG instead of -O2
-DNDEBUG, which should generate smaller binaries and libs but perhaps at
the expense of some runtime performance, defaults are kept as it is

size reduction when enabled

--rwxr-xr-x root       root         23503680 ./usr/lib/libjavascriptcoregtk-4.0.so.18.17.13
+-rwxr-xr-x root       root         17536152 ./usr/lib/libjavascriptcoregtk-4.0.so.18.17.13
--rwxr-xr-x root       root         53314616 ./usr/lib/libwebkit2gtk-4.0.so.37.49.9
+-rwxr-xr-x root       root         40195672 ./usr/lib/libwebkit2gtk-4.0.so.37.49.9

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agowebkitgtk: Reduce stack and heap sizes for jsc on musl
Khem Raj [Wed, 17 Mar 2021 20:24:57 +0000 (13:24 -0700)]
webkitgtk: Reduce stack and heap sizes for jsc on musl

Fixes

[YOCTO #14281]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Andrei Gherzan <andrei@gherzan.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agosudo: upgrade 1.9.6 -> 1.9.6p1
zhengruoqin [Wed, 17 Mar 2021 17:49:02 +0000 (01:49 +0800)]
sudo: upgrade 1.9.6 -> 1.9.6p1

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibsdl2: disable shared memory for native builds
Awais Belal [Wed, 17 Mar 2021 14:06:44 +0000 (19:06 +0500)]
libsdl2: disable shared memory for native builds

libsdl2 currently does not handle the failures that
occur due to shared memory in case of remote hosts
where it should ideally switch to socket based writing
when a failure is seen with shared memory.
Consider a scenario where a qemu build is done with
graphics support on a build machine and then accessed
remotely using ssh. If the remote host's X presents
MIT-SHM as an extension, launching qemu fails with

runqemu - ERROR - Failed to run qemu: X Error: BadValue
Request Major code 130 (MIT-SHM)
Request Minor code 3 ()

This is most often seen when the remote machine doing
ssh is a Ubuntu 20.04. The libsdl2 native are mainly
used for qemu at this time so it is a major usecase.
A report of such a failure was also presented at
https://lists.yoctoproject.org/g/poky/topic/78854857

Signed-off-by: Awais Belal <awais_belal@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agobase: respect downloadfilename when sniffing the SRC_URI for dependencies
Ross Burton [Tue, 16 Mar 2021 19:38:50 +0000 (19:38 +0000)]
base: respect downloadfilename when sniffing the SRC_URI for dependencies

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoselftest/reproducible: Drop ovmf exclusion
Richard Purdie [Fri, 19 Mar 2021 17:51:55 +0000 (17:51 +0000)]
selftest/reproducible: Drop ovmf exclusion

The hardcoded path issue was fixed, drop the exclusion.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoovmf: make output binaries reproducible
Ross Burton [Tue, 16 Mar 2021 19:38:02 +0000 (19:38 +0000)]
ovmf: make output binaries reproducible

OVMF is mostly reproducible, but the final .efi binaries have a 'NM10'
segment in that references the original input file, and this input file
has the build path in.

This can be solved by passing --zero to GenFw so that this segment is
zero'd out in release builds.

[ YOCTO #14264 ]

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolinux-firmware: Fix packaging
Michael Trensch [Tue, 16 Mar 2021 20:26:38 +0000 (20:26 +0000)]
linux-firmware: Fix packaging

Upstream directory layout has changed after update in commit 3c2f8b750ab9c53773fb5a9a1a874e475740b4ee, resulting in some package to pull in linux-firmware base package.
This may cause an image size increase of approximately 700MB.

See log.do_packaging:
DEBUG: linux-firmware-bcm43340 contains dangling link /lib/firmware/cypress/cyfmac43340-sdio.bin
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-bcm43362 contains dangling link /lib/firmware/cypress/cyfmac43362-sdio.bin
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-bcm4339 contains dangling link /lib/firmware/cypress/cyfmac4339-sdio.bin
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-bcm43430 contains dangling link /lib/firmware/cypress/cyfmac43430-sdio.clm_blob
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-bcm43430 contains dangling link /lib/firmware/cypress/cyfmac43430-sdio.bin
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-bcm43455 contains dangling link /lib/firmware/cypress/cyfmac43455-sdio.bin
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-bcm43455 contains dangling link /lib/firmware/cypress/cyfmac43455-sdio.clm_blob
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-bcm4354 contains dangling link /lib/firmware/cypress/cyfmac4354-sdio.bin
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-bcm4356 contains dangling link /lib/firmware/cypress/cyfmac4356-sdio.bin
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-bcm4356-pcie contains dangling link /lib/firmware/cypress/cyfmac4356-pcie.clm_blob
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-bcm4356-pcie contains dangling link /lib/firmware/cypress/cyfmac4356-pcie.bin
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-bcm43570 contains dangling link /lib/firmware/cypress/cyfmac43570-pcie.bin
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-bcm4373 contains dangling link /lib/firmware/cypress/cyfmac4373-sdio.bin
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-netronome contains dangling link /lib/firmware/netronome/nic/nic_AMDA0099-0001_2x10.nffw
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-netronome contains dangling link /lib/firmware/netronome/nic/nic_AMDA0099-0001_2x25.nffw
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-netronome contains dangling link /lib/firmware/netronome/nic/nic_AMDA0081-0001_4x10.nffw
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-netronome contains dangling link /lib/firmware/netronome/nic/nic_AMDA0097-0001_8x10.nffw
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-netronome contains dangling link /lib/firmware/netronome/nic/nic_AMDA0099-0001_1x10_1x25.nffw
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-netronome contains dangling link /lib/firmware/netronome/nic/nic_AMDA0097-0001_2x40.nffw
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-netronome contains dangling link /lib/firmware/netronome/nic/nic_AMDA0096-0001_2x10.nffw
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-netronome contains dangling link /lib/firmware/netronome/nic/nic_AMDA0097-0001_4x10_1x40.nffw
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-netronome contains dangling link /lib/firmware/netronome/nic/nic_AMDA0081-0001_1x40.nffw
DEBUG: target found in linux-firmware

Signed-off-by: Michael Trensch <mtrensch@hilscher.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopython3: make pydoc rdepend on python3-io
Bartosz Golaszewski [Sun, 7 Mar 2021 15:19:06 +0000 (16:19 +0100)]
python3: make pydoc rdepend on python3-io

pydoc needs tempfile (provided by python3-io) to work. Add python3-io
to its RDEPENDS.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoutil-linux: backport patch to skip build of unused objects
Luca Boccassi [Tue, 16 Mar 2021 11:38:36 +0000 (11:38 +0000)]
util-linux: backport patch to skip build of unused objects

util-linux-uuid does not need libtcolors.a and libcommon.a but
they get build regardless. Backport a patch from upstream to
skip them and save some compilation time.

https://github.com/karelzak/util-linux/commit/c65953d72bbc7412f32e566d9fa6e780d84f0696

Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agosudo: upgrade 1.9.5p2 -> 1.9.6
Richard Purdie [Mon, 15 Mar 2021 07:18:04 +0000 (07:18 +0000)]
sudo: upgrade 1.9.5p2 -> 1.9.6

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agosqlite3: upgrade 3.34.1 -> 3.35.0
Richard Purdie [Mon, 15 Mar 2021 16:29:23 +0000 (16:29 +0000)]
sqlite3: upgrade 3.34.1 -> 3.35.0

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolttng-modules: upgrade 2.12.4 -> 2.12.5
Richard Purdie [Mon, 15 Mar 2021 14:04:23 +0000 (14:04 +0000)]
lttng-modules: upgrade 2.12.4 -> 2.12.5

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolttng-tools: upgrade 2.12.2 -> 2.12.3
Richard Purdie [Mon, 15 Mar 2021 14:27:32 +0000 (14:27 +0000)]
lttng-tools: upgrade 2.12.2 -> 2.12.3

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibedit: upgrade 20191231-3.1 -> 20210216-3.1
Khem Raj [Mon, 15 Mar 2021 18:13:40 +0000 (11:13 -0700)]
libedit: upgrade 20191231-3.1 -> 20210216-3.1

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agomeson: Work around determinism issue
Richard Purdie [Mon, 15 Mar 2021 23:48:34 +0000 (23:48 +0000)]
meson: Work around determinism issue

The meson determinism issue is the same frozenset issue we encountered with
python itself. Remove the problematic pyc file until upstream work out the
best way to address the issue (as with core python).

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agometa-selftest: Add HOMEPAGE / DESCRIPTION
Dorinda Bassey [Mon, 15 Mar 2021 12:40:54 +0000 (13:40 +0100)]
meta-selftest: Add HOMEPAGE / DESCRIPTION

Added HOMEPAGE and DESCRIPTION for recipes with missing
descriptions or homepage.

Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agobuild-appliance-image: Update to master head revision
Richard Purdie [Mon, 15 Mar 2021 15:17:41 +0000 (15:17 +0000)]
build-appliance-image: Update to master head revision

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolayer.conf: Add gatesgarth back for now to allow for transition
Richard Purdie [Mon, 15 Mar 2021 15:17:31 +0000 (15:17 +0000)]
layer.conf: Add gatesgarth back for now to allow for transition

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agobuild-appliance-image: Update to master head revision
Richard Purdie [Mon, 15 Mar 2021 14:59:51 +0000 (14:59 +0000)]
build-appliance-image: Update to master head revision

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolayer.conf: Update for hardknott release series
Richard Purdie [Mon, 15 Mar 2021 14:54:09 +0000 (14:54 +0000)]
layer.conf: Update for hardknott release series

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoprocps: update 3.3.16 -> 3.3.17
Alexander Kanavin [Sun, 28 Feb 2021 15:36:56 +0000 (16:36 +0100)]
procps: update 3.3.16 -> 3.3.17

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoimage.bbclass: deltask do_packagedata
Robert Yang [Thu, 11 Mar 2021 08:46:22 +0000 (00:46 -0800)]
image.bbclass: deltask do_packagedata

This can fix a do_package error when compile with meta-secure-core layer:
http://layers.openembedded.org/layerindex/branch/master/layer/meta-secure-core/

$ bitbake kernel-initramfs
[snip]
WARNING:kernel-initramfs-1.0-r0 do_package: Manifest
build/tmp-glibc/sstate-control/manifest-x86_64_x86_64-nativesdk-secure-core-image-initramfs.packagedata
not found in intel_x86_64 corei7-64 core2-64 x86_64 allarch x86_64_x86_64-nativesdk (variant '')?
[snip]

This is because kernel-initramfs wants to pack an initramfs image into
kernel-initramfs.rpm which adds a dependency in kernel-initramfs.bb to do this:

d.appendVarFlag('do_install', 'depends', ' ${INITRAMFS_IMAGE}:do_image_complete')

This causes kernel-initramfs' do_package depends on
${INITRAMFS_IMAGE}:do_image_complete's do_packagedata, then we will get the
error. Delete do_packagedata as other do_package relelated tasks for the image
recipe will fix the error.

RP: There is a side effect from this change which means that image
tasks will no longer run their fetch/unpack/configure/compile/install
tasks as these become detached from the dependency chain. The standard
tasks are noexec or deleted anyway already so this shouldn't be a
significant change.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoscripts/contrib/list-packageconfig-flags: Upate for tinfoil API changes
Richard Purdie [Sat, 27 Feb 2021 18:02:02 +0000 (18:02 +0000)]
scripts/contrib/list-packageconfig-flags: Upate for tinfoil API changes

Update after tinfoil API changes in bitake for REQUIRED_VERSION.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agomultilib_global: handle REQUIRED_VERSION
Charlie Davies [Thu, 18 Feb 2021 20:52:21 +0000 (20:52 +0000)]
multilib_global: handle REQUIRED_VERSION

Add logic to multilib_global.bbclass to handle new REQUIRED_VERSION
variable.

Fixes [YOCTO #10096]

Signed-off-by: Charlie Davies <charles.davies@whitetree.xyz>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agozstd: upgrade 1.4.8 -> 1.4.9
Randy MacLeod [Sun, 14 Mar 2021 15:50:34 +0000 (11:50 -0400)]
zstd: upgrade 1.4.8 -> 1.4.9

Shave fuzz off the Makefile-sort-all-wildcard-file-list-expansions patch

CHANGELOG:

    v1.4.9  (Mar 1, 2021)
    bug: Use `umask()` to Constrain Created File Permissions (#2495, @felixhandte)
    bug: Make Simple Single-Pass Functions Ignore Advanced Parameters (#2498, @terrelln)
    api: Add (De)Compression Tracing Functionality (#2482, @terrelln)
    api: Support References to Multiple DDicts (#2446, @senhuang42)
    api: Add Function to Generate Skippable Frame (#2439, @senhuang42)
    perf: New Algorithms for the Long Distance Matcher (#2483, @mpu)
    perf: Performance Improvements for Long Distance Matcher (#2464, @mpu)
    perf: Don't Shrink Window Log when Streaming with a Dictionary (#2451, @terrelln)
    cli: Fix `--output-dir-mirror`'s Rejection of `..`-Containing Paths (#2512, @felixhandte)
    cli: Allow Input From Console When `-f`/`--force` is Passed (#2466, @felixhandte)
    cli: Improve Help Message (#2500, @senhuang42)
    tests: Remove Flaky Tests (#2455, #2486, #2445, @Cyan4973)
    tests: Correctly Invoke md5 Utility on NetBSD (#2492, @niacat)
    tests: Avoid Using `stat -c` on NetBSD (#2513, @felixhandte)
    build: Zstd CLI Can Now be Linked to Dynamic `libzstd` (#2457, #2454 @Cyan4973)
    build: Hide and Avoid Using Static-Only Symbols (#2501, #2504, @skitt)
    build: CMake: Enable Only C for lib/ and programs/ Projects (#2498, @concatime)
    build: CMake: Use `configure_file()` to Create the `.pc` File (#2462, @lazka)
    build: Fix Fuzzer Compiler Detection & Update UBSAN Flags (#2503, @terrelln)
    build: Add Guards for `_LARGEFILE_SOURCE` and `_LARGEFILE64_SOURCE` (#2444, @indygreg)
    build: Improve `zlibwrapper` Makefile (#2437, @Cyan4973)
    contrib: Add `recover_directory` Program (#2473, @terrelln)
    doc: Change License Year to 2021 (#2452 & #2465, @terrelln & @senhuang42)
    doc: Fix Typos (#2459, @ThomasWaldmann)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agodistrodata.py: Test to track recipes without HOMEPAGE or DESCRIPTION
Dorinda Bassey [Sun, 14 Mar 2021 12:58:03 +0000 (13:58 +0100)]
distrodata.py: Test to track recipes without HOMEPAGE or DESCRIPTION

This test is to keep track of recipes that do not have a HOMEPAGE or DESCRIPTION,
with exceptions to recipes whose SRC_URI are not linked to external sources.

Results of this test: it take about 2 to 3 minutes for this test to complete execution
depending on the laptop used, Recipes that didn't have a homepage or description were found,
and using list data structure instead of set() returned an ordered list of recipes that
didn't have a homepage. Hence it's easier to view recipes with missing homepage and description.

[YOCTO #13471]

Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibunwind: Link with libucontext on musl
Khem Raj [Fri, 12 Mar 2021 07:26:25 +0000 (23:26 -0800)]
libunwind: Link with libucontext on musl

Functions like unw_getcontext in libunwind call getcontext() which are
not part of musl C library like glibc, however there is a supplimental
library providing these functions called libucontext, therefore link
libunwind with a static version of this library to resolve such symbols,
this inturn helps packages needing libunwind, who look for certain
APIs in libunwind during configure e.g. heaptrack

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>