]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
3 years agopkgconfig: update SRC_URI
Changqing Li [Fri, 28 May 2021 08:51:55 +0000 (16:51 +0800)]
pkgconfig: update SRC_URI

The git repo for pkg-config was changed, so update the
SRC_URI accordingly with the new link.

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoovmf: Fix VLA warnings with GCC 11
Khem Raj [Fri, 28 May 2021 17:12:41 +0000 (10:12 -0700)]
ovmf: Fix VLA warnings with GCC 11

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoAdd support for erofs filesystems
Richard Weinberger [Tue, 25 May 2021 11:29:51 +0000 (13:29 +0200)]
Add support for erofs filesystems

Since Linux 5.4 a new read-only filesystem is available, erofs.
Compared to squashfs it offers much better read performance with and
without compression enabled.
It suppports two optional compressors, lz4 and lz4hc.

>From the mkfs.erofs man page:
EROFS is a new enhanced lightweight linux read-only filesystem with
modern designs (eg. no buffer head, reduced metadata, inline
xattrs/data, etc.) for scenarios which need high-performance read-only
requirements, e.g. Android OS for smartphones and LIVECDs.
It also provides fixed-sized output compression support, which improves
storage density, keeps relatively higher compression ratios, which is
more useful to achieve high performance for embedded devices with
limited  memory since it has unnoticable memory overhead and page cache
thrashing.

This commit adds support for three new filesystem targets:
erofs: erofs without compression
erofs-lz4: erofs with lz4 compresssion enabled
erofs-lz4hc: erofs with lz4hc compression enabled

Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoflex: correct license information
Nikolay Papenkov [Tue, 25 May 2021 11:23:26 +0000 (11:23 +0000)]
flex: correct license information

License-Update: Corrected license information

flex package is under two licenses:
- "BSD-3-Clause" is provided in top-level COPYING file; the license
  actually include third obligation (without the actual "3" numbering)
- "LGPL-2.0+" is explained by src/gettext.h

Signed-off-by: Dmitry Kisil <d.kisil@inango-systems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoexpat: set CVE_PRODUCT
Steve Sakoman [Thu, 27 May 2021 15:47:59 +0000 (05:47 -1000)]
expat: set CVE_PRODUCT

Upstream database uses both "expat" and "libexpat" to report CVEs

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobind: upgrade 9.16.15 -> 9.16.16
Trevor Gamblin [Thu, 27 May 2021 14:28:55 +0000 (10:28 -0400)]
bind: upgrade 9.16.15 -> 9.16.16

Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agooeqa/runtime/rpm: Drop log message counting test component
Richard Purdie [Thu, 27 May 2021 13:59:22 +0000 (14:59 +0100)]
oeqa/runtime/rpm: Drop log message counting test component

This test is flawed since multiple parts of the system can write to the log
and we obtain different numbers of log messages depending on factors we
can't control.

Drop the log testing component of the test.

[YOCTO #12465]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibucontext: upgrade 0.10 -> 1.1
zhengruoqin [Thu, 27 May 2021 01:26:12 +0000 (09:26 +0800)]
libucontext: upgrade 0.10 -> 1.1

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibtest-needs-perl: upgrade 0.002006 -> 0.002009
zhengruoqin [Thu, 27 May 2021 01:25:48 +0000 (09:25 +0800)]
libtest-needs-perl: upgrade 0.002006 -> 0.002009

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibedit: upgrade 20210419-3.1 -> 20210522-3.1
zhengruoqin [Thu, 27 May 2021 01:25:24 +0000 (09:25 +0800)]
libedit: upgrade 20210419-3.1 -> 20210522-3.1

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agostress-ng: upgrade 0.12.08 -> 0.12.09
wangmy [Wed, 26 May 2021 23:51:48 +0000 (07:51 +0800)]
stress-ng: upgrade 0.12.08 -> 0.12.09

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agologrotate: upgrade 3.18.0 -> 3.18.1
wangmy [Wed, 26 May 2021 23:51:47 +0000 (07:51 +0800)]
logrotate: upgrade 3.18.0 -> 3.18.1

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-pytest: upgrade 6.2.3 -> 6.2.4
wangmy [Wed, 26 May 2021 23:46:46 +0000 (07:46 +0800)]
python3-pytest: upgrade 6.2.3 -> 6.2.4

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-more-itertools: upgrade 8.7.0 -> 8.8.0
wangmy [Wed, 26 May 2021 23:46:45 +0000 (07:46 +0800)]
python3-more-itertools: upgrade 8.7.0 -> 8.8.0

Add runtime dependency to resolve errors that occurred when import more_itertools.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-markupsafe: upgrade 2.0.0 -> 2.0.1
wangmy [Wed, 26 May 2021 23:46:44 +0000 (07:46 +0800)]
python3-markupsafe: upgrade 2.0.0 -> 2.0.1

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-libarchive-c: upgrade 2.9 -> 3.0
wangmy [Wed, 26 May 2021 23:46:43 +0000 (07:46 +0800)]
python3-libarchive-c: upgrade 2.9 -> 3.0

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agodistro/maintainers: Fix up the ptest image entries
Richard Purdie [Thu, 27 May 2021 20:04:01 +0000 (21:04 +0100)]
distro/maintainers: Fix up the ptest image entries

This fixes the maintainers file to match the ptest images changes

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoimages: add ptest images based on core-image-minimal
Alexander Kanavin [Thu, 27 May 2021 10:54:25 +0000 (12:54 +0200)]
images: add ptest images based on core-image-minimal

This greatly reduces build times needed for those images, as
they no longer need anything graphical, or -dev packages for
everything.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoimages: remove sato/weston ptest images
Alexander Kanavin [Thu, 27 May 2021 10:54:26 +0000 (12:54 +0200)]
images: remove sato/weston ptest images

They have been replaced by core-image-minimal-ptest-fast/all

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoapt: Add missing <array> header
Khem Raj [Thu, 27 May 2021 07:48:52 +0000 (00:48 -0700)]
apt: Add missing <array> header

This issue is seen with clang/libc++

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoicecc-create-env: Silence warning: invalid ICECC_ENV_EXEC
Douglas Royds [Wed, 26 May 2021 00:27:44 +0000 (12:27 +1200)]
icecc-create-env: Silence warning: invalid ICECC_ENV_EXEC

Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoicecc: Demote "could not get ICECC_CC" warning to note
Douglas Royds [Wed, 26 May 2021 00:27:43 +0000 (12:27 +1200)]
icecc: Demote "could not get ICECC_CC" warning to note

For many components, it is perfectly correct not to have gcc or g++ in
the PATH, notably when INHIBIT_DEFAULT_DEPS is set.
We were getting a flood of warnings when icecc was enabled, eg:

    WARNING: base-files-3.0.14-r89.tait.8.6 do_configure: Cannot use icecc: could not get ICECC_CC or ICECC_CXX
    WARNING: base-files-3.0.14-r89.tait.8.6 do_compile: Cannot use icecc: could not get ICECC_CC or ICECC_CXX
    WARNING: base-files-3.0.14-r89.tait.8.6 do_install: Cannot use icecc: could not get ICECC_CC or ICECC_CXX
    WARNING: busybox-inittab-1.33.0-r0 do_configure: Cannot use icecc: could not get ICECC_CC or ICECC_CXX
    WARNING: busybox-inittab-1.33.0-r0 do_compile: Cannot use icecc: could not get ICECC_CC or ICECC_CXX
    WARNING: busybox-inittab-1.33.0-r0 do_install: Cannot use icecc: could not get ICECC_CC or ICECC_CXX
    WARNING: linux-libc-headers-3.14-r0 do_configure: Cannot use icecc: could not get ICECC_CC or ICECC_CXX
    WARNING: linux-libc-headers-3.14-r0 do_compile: Cannot use icecc: could not get ICECC_CC or ICECC_CXX
    WARNING: linux-libc-headers-3.14-r0 do_install: Cannot use icecc: could not get ICECC_CC or ICECC_CXX

Demote this message to a "NOTE".
It still appears in log.do_configure and friends:

    NOTE: Cannot use icecc: could not get ICECC_CC or ICECC_CXX

Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoRevert "icecc: Don't use icecc when INHIBIT_DEFAULT_DEPS is set"
Douglas Royds [Wed, 26 May 2021 00:27:42 +0000 (12:27 +1200)]
Revert "icecc: Don't use icecc when INHIBIT_DEFAULT_DEPS is set"

Although this silenced the warnings, it also turned off icecc for
gcc-cross and friends, binutils-cross, and importantly, the linux
kernel.

This reverts commit 0315aabeff8e6483b737d0e23d6841f1394ad3c8.

[YOCTO #13863]

Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoptest: add newly discovered missing runtime dependencies across recipes
Alexander Kanavin [Wed, 26 May 2021 20:40:16 +0000 (22:40 +0200)]
ptest: add newly discovered missing runtime dependencies across recipes

Making ptest images based on core-image-minimal uncovered quite a
few missing depenendcies from various recipes, here they are.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agowayland: package target binaries into -tools, not into -dev
Alexander Kanavin [Wed, 26 May 2021 20:40:15 +0000 (22:40 +0200)]
wayland: package target binaries into -tools, not into -dev

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosquashfs-tools: package squashfs-fs.h
Nisha Parrakat [Wed, 26 May 2021 20:03:17 +0000 (20:03 +0000)]
squashfs-tools: package squashfs-fs.h

Needed to build the latest debian version
of android-tools
Fixes below error while building android-tools libext4_utils.mk
| squashfs_utils/squashfs_utils.c:27:10: fatal error: 'squashfs_fs.h' file not found
| #include "squashfs_fs.h"
|          ^~~~~~~~~~~~~~~
| 1 error generated.
| core2-64-poky-linux/android-tools/10.0.0.r36-r0/git/system/extras/debian/libext4_utils.mk:29: recipe for target 'build' failed
| make: *** [build] Error 1

Signed-off-by: Nisha Parrakat <Nisha.Parrakat@kpit.com>
Signed-off-by: Nisha Parrakat <nishaparrakat@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogcc: revert libstc++-gdb.py installation changes
Ross Burton [Wed, 26 May 2021 21:11:32 +0000 (22:11 +0100)]
gcc: revert libstc++-gdb.py installation changes

Commit dbb87d in the GCC 11 branch was intended to make the installation of
this Python module more robust, but for unknown reasons the library_name
in libstdc++.la in baremetal builds (for example, Zephyr) is unset, so the
module is just installed as "-gdb.py".

This may be a GCC bug, or a bug in our build. Until that is resolved,
revert the commit to fix the packaging.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoimage-live.bbclass: order do_bootimg after do_rootfs
Guillaume Champagne [Wed, 26 May 2021 18:32:50 +0000 (14:32 -0400)]
image-live.bbclass: order do_bootimg after do_rootfs

do_bootimg expects IMGDEPLOYDIR to exist, since it stores its artifacts
there. Therefore, do_bootimg should run after do_rootfs because
IMGDEPLOYDIR is created before do_rootfs runs since IMGDEPLOYDIR is
contained in do_rootfs' [cleandirs] varflag.

When do_bootimg depends on ${PN}:do_image_${LIVE_ROOTFS_TYPE},
do_bootimg is correctly ordered after do_rootfs because
do_image_${FSTYPE} tasks are added after do_image and do_image itself is
added after do_rootfs.

However, when do_bootimg doesn't depend on
${PN}:do_image_${LIVE_ROOTFS_TYPE}
(introduced by: 96f47c39f1d17f073243913d524bde84add41d8f), do_bootimg
can run before do_rootfs, thus before IMGDEPLOYDIR is created. To
avoid this situation, do_bootimg is now explicitly ordered after
do_rootfs.

Signed-off-by: Guillaume Champagne <champagne.guillaume.c@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoffmpeg: Add libopus packageconfig
Carlos Rafael Giani [Tue, 25 May 2021 10:00:13 +0000 (12:00 +0200)]
ffmpeg: Add libopus packageconfig

Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agocmake-native: enabled zstd support
Samuli Piippo [Tue, 25 May 2021 12:40:48 +0000 (15:40 +0300)]
cmake-native: enabled zstd support

CMake depends on having all formats supported and build issues can
arise when zstd is not available:
https://gitlab.kitware.com/cmake/cmake/-/issues/21552

Quote from a CMake dev:
"As far as CMake's design is concerned, we have no optional formats.
All should be supported. That's why we bundle sufficiently new versions
of libarchive and libzstd. If a distro builds with an older libarchive
that doesn't have zstd support, then that is not a proper packaging of CMake."

Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agozstd: Add patch to fix MinGW builds
Joshua Watt [Wed, 26 May 2021 14:37:02 +0000 (09:37 -0500)]
zstd: Add patch to fix MinGW builds

Adds a patch to fix the make files to work correctly when building for
MinGW

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibarchive: enable zstd support
Samuli Piippo [Tue, 25 May 2021 12:40:47 +0000 (15:40 +0300)]
libarchive: enable zstd support

Now that zstd is in oe-core, add PACKAGECONFIG for it and enabled
it by default in libarchive.

zstd support is expected by CMake, which in nativesdk depends on
libarchive. CMake depends on having all formats supported and build
issues can arise when zstd is not available:
https://gitlab.kitware.com/cmake/cmake/-/issues/21552

Quote from a CMake dev:
"As far as CMake's design is concerned, we have no optional formats.
All should be supported. That's why we bundle sufficiently new versions
of libarchive and libzstd. If a distro builds with an older libarchive
that doesn't have zstd support, then that is not a proper packaging of CMake."

Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopackage_rpm: pass XZ_THREADS to rpm
Ross Burton [Wed, 26 May 2021 14:59:10 +0000 (15:59 +0100)]
package_rpm: pass XZ_THREADS to rpm

By default RPM uses the number of cores as the number of threads to use,
which can result in quite antisocial memory usage.

As we control the macros for compression anyway, we can pass XZ_THREADS
to limit the number of threads if needed.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoexpat: upgrade 2.3.0 -> 2.4.1
Andrej Valek [Tue, 25 May 2021 10:13:49 +0000 (12:13 +0200)]
expat: upgrade 2.3.0 -> 2.4.1

Includes lot of security fixes, especially CVE-2013-0340/CWE-776.

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoltp: Update to 20210524
Petr Vorel [Tue, 25 May 2021 21:59:10 +0000 (23:59 +0200)]
ltp: Update to 20210524

Remove patches accepted in this upstream release
* determinism.patch (45530792a01fefa08c)
* libswapon.patch (2b64c727f)
* 0001-open_posix_testsuite-generate-makefiles.sh-Avoid-inc.patch
  (f38172209)
* 0002-Makefile-Avoid-wildcard-determinism-issues.patch (edf60cf6a)
* 0003-syscalls-swapon-swapoff-Move-common-library-to-libs.patch
  (ac140ed58)

Removed (test rewritten to new API)
* 0007-Fix-test_proc_kill-hanging.patch

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-setuptools: upgrade 56.0.0 -> 56.2.0
Richard Purdie [Sat, 15 May 2021 05:16:52 +0000 (05:16 +0000)]
python3-setuptools: upgrade 56.0.0 -> 56.2.0

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogcc: Update to latest on release/gcc-11 branch
Khem Raj [Mon, 24 May 2021 15:21:06 +0000 (08:21 -0700)]
gcc: Update to latest on release/gcc-11 branch

There has been 150+ fixes made available after gcc 11.1.0
was released, details of these fixes is here

https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff_plain;hp=releases/gcc-11.1.0;h=9ee61d2b51d

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolinux-yocto/5.10: update to v5.10.38
Bruce Ashfield [Mon, 24 May 2021 15:33:49 +0000 (11:33 -0400)]
linux-yocto/5.10: update to v5.10.38

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

    689e89aee55c Linux 5.10.38
    ed350825e89a ASoC: rsnd: check all BUSIF status when error
    cd709c8e06b6 nvme: do not try to reconfigure APST when the controller is not live
    054add24a869 ext4: fix debug format string warning
    c5dffd422145 debugfs: Make debugfs_allow RO after init
    81cb4f36d62c dt-bindings: serial: 8250: Remove duplicated compatible strings
    c1514ad24c3e dt-bindings: media: renesas,vin: Make resets optional on R-Car Gen1
    c4e3d8cf615b i2c: mediatek: Fix send master code at more than 1MHz
    667627fa85a8 media: rkvdec: Remove of_match_ptr()
    b0402e785351 clk: exynos7: Mark aclk_fsys1_200 as critical
    805c990a9c54 drm/i915: Fix crash in auto_retire
    cd47b861d225 drm/i915/overlay: Fix active retire callback alignment
    a67c80dcb403 drm/i915: Read C0DRB3/C1DRB3 as 16 bits again
    17928443db88 drm/i915/gt: Fix a double free in gen8_preallocate_top_level_pdp
    20530f7fde75 kobject_uevent: remove warning in init_uevent_argv()
    6ece86e9e88f usb: typec: tcpm: Fix error while calculating PPS out values
    5d2f09c44ff2 ARM: 9027/1: head.S: explicitly map DT even if it lives in the first physical section
    ac421c7f90c8 ARM: 9020/1: mm: use correct section size macro to describe the FDT virtual address
    1eb77569029d ARM: 9012/1: move device tree mapping out of linear region
    6cdbafc2addd ARM: 9011/1: centralize phys-to-virt conversion of DT/ATAGS address
    6d5fda434b1f clocksource/drivers/timer-ti-dm: Handle dra7 timer wrap errata i940
    06470de53e4f clocksource/drivers/timer-ti-dm: Prepare to handle dra7 timer wrap issue
    462049cfb342 MIPS: Avoid handcoded DIVU in `__div64_32' altogether
    d17af8b19d99 MIPS: Avoid DIVU in `__div64_32' is result would be zero
    d2abb95bb1a4 MIPS: Reinstate platform `__div64_32' handler
    cfddf6a685e3 mm: fix struct page layout on 32-bit systems
    89bd62079870 iommu/vt-d: Remove WO permissions on second-level paging entries
    0160f627929c iommu/vt-d: Preset Access/Dirty bits for IOVA over FL
    a282b76166b1 Revert "iommu/vt-d: Preset Access/Dirty bits for IOVA over FL"
    c1f2d0beab5c Revert "iommu/vt-d: Remove WO permissions on second-level paging entries"
    31f29749ee97 KVM: VMX: Disable preemption when probing user return MSRs
    79abde761e05 KVM: VMX: Do not advertise RDPID if ENABLE_RDTSCP control is unsupported
    c8bf64e3fb77 KVM: nVMX: Always make an attempt to map eVMCS after migration
    2f86dd3d2bcf KVM: x86: Move RDPID emulation intercept to its own enum
    abbf8c99a9e1 KVM: x86: Emulate RDPID only if RDTSCP is supported
    8a7027f011c5 xen/gntdev: fix gntdev_mmap() error exit path
    652c9689f589 cdc-wdm: untangle a circular dependency between callback and softint
    12d16c24f35f iio: tsl2583: Fix division by a zero lux_val
    e8c6852bdba2 iio: gyro: mpu3050: Fix reported temperature value
    70698dda4bca xhci: Add reset resume quirk for AMD xhci controller.
    9d9526cc3c01 xhci: Do not use GFP_KERNEL in (potentially) atomic context
    ca043cc02a88 xhci-pci: Allow host runtime PM as default for Intel Alder Lake xHCI
    fa4b1363256d usb: typec: ucsi: Put fwnode in any case during ->probe()
    e5366bea0277 usb: typec: ucsi: Retrieve all the PDOs instead of just the first 4
    9bd96a2e77fd usb: dwc3: gadget: Return success always for kick transfer in ep queue
    45f37f54e7c1 usb: dwc3: gadget: Enable suspend events
    9238492b9a84 usb: core: hub: fix race condition about TRSMRCY of resume
    45ad6b592e64 usb: dwc2: Fix gadget DMA unmap direction
    7ad9256b49a6 usb: xhci: Increase timeout for HC halt
    42bb80ae0165 usb: dwc3: pci: Enable usb2-gadget-lpm-disable for Intel Merrifield
    95e3da5b53ba usb: dwc3: omap: improve extcon initialization
    3a96437f6bf8 blk-mq: Swap two calls in blk_mq_exit_queue()
    c9c1ed08c174 blk-mq: plug request for shared sbitmap
    cde4b55cfb24 nbd: Fix NULL pointer in flush_workqueue
    a9fc163514d2 f2fs: compress: fix to assign cc.cluster_idx correctly
    5639b73fd3bc f2fs: compress: fix race condition of overwrite vs truncate
    72b0f3077ebd f2fs: compress: fix to free compress page correctly
    64f3410c7bfc nvmet-rdma: Fix NULL deref when SEND is completed with error
    c98ecfb18296 nvmet: fix inline bio check for bdev-ns
    f8ae879b776c nvmet: add lba to sect conversion helpers
    54dbe2d2c1fc kyber: fix out of bounds access when preempted
    e2381174daea ACPI: scan: Fix a memory leak in an error handling path
    a8dc16bbfe29 usb: musb: Fix an error message
    550473900f80 hwmon: (occ) Fix poll rate limiting
    0becd19b211a usb: fotg210-hcd: Fix an error message
    2c3b4375e118 iio: hid-sensors: select IIO_TRIGGERED_BUFFER under HID_SENSOR_IIO_TRIGGER
    020fe6f80f4f iio: proximity: pulsedlight: Fix rumtime PM imbalance on error
    9db8ba3cac05 iio: light: gp2ap002: Fix rumtime PM imbalance on error
    1ea775021282 usb: dwc3: gadget: Free gadget structure only after freeing endpoints
    26c777470d57 perf tools: Fix dynamic libbpf link
    1d8d7e02f6d0 xen/unpopulated-alloc: fix error return code in fill_list()
    058122572676 xen/unpopulated-alloc: consolidate pgmap manipulation
    9eaa10be0c08 dax: Wake up all waiters after invalidating dax entry
    e9e70b78e163 dax: Add a wakeup mode parameter to put_unlocked_entry()
    b93d3410e789 dax: Add an enum for specifying dax wakup mode
    b9c663dc9a83 KVM: x86: Prevent deadlock against tk_core.seq
    8aa7227a5d9b KVM: x86: Cancel pvclock_gtod_work on module removal
    1fe269372244 drm/msm/dp: initialize audio_comp when audio starts
    2e0ce36d0bf6 KVM: LAPIC: Accurately guarantee busy wait for timer to expire when using hv_timer
    ce7639252357 kvm: exit halt polling on need_resched() as well
    970c978d0591 drm/i915: Avoid div-by-zero on gen2
    86cd6072157c drm/amd/display: Initialize attribute for hdcp_srm sysfs file
    5a6fe45a3a7f drm/radeon/dpm: Disable sclk switching on Oland when two 4K 60Hz monitors are connected
    bccb7dd137ad btrfs: fix race leading to unpersisted data and metadata on fsync
    d6d66dbd5adc arm64: Fix race condition on PG_dcache_clean in __sync_icache_dcache()
    d3bab7cbadfb arm64: mte: initialize RGSR_EL1.SEED in __cpu_setup
    70748bba5565 blk-iocost: fix weight updates of inner active iocgs
    014868616d48 mm/hugetlb: fix F_SEAL_FUTURE_WRITE
    fe5c0a63ad22 kasan: fix unit tests with CONFIG_UBSAN_LOCAL_BOUNDS enabled
    140cfd998012 userfaultfd: release page in error path to avoid BUG_ON
    2ed1d90162a0 squashfs: fix divide error in calculate_skip()
    adbd8a2a8cc0 hfsplus: prevent corruption in shrinking truncate
    d2e3590ca39c powerpc/64s: Fix crashes when toggling entry flush barrier
    51570beeb448 powerpc/64s: Fix crashes when toggling stf barrier
    cb3e286f22ff ARC: mm: Use max_high_pfn as a HIGHMEM zone border
    969de0f6599e ARC: mm: PAE: use 40-bit physical page mask
    af9e5364c617 ARC: entry: fix off-by-one error in syscall number validation
    23ecfe7f2c1f f2fs: avoid unneeded data copy in f2fs_ioc_move_range()
    758fd227ed84 mptcp: fix splat when closing unaccepted socket
    b8cf51a36da2 i40e: Fix PHY type identifiers for 2.5G and 5G adapters
    06ef93b776f7 i40e: fix the restart auto-negotiation after FEC modified
    829a713450b8 i40e: Fix use-after-free in i40e_client_subtask()
    2692bf13e646 i40e: fix broken XDP support
    72b49dd116ca netfilter: nftables: avoid overflows in nft_hash_buckets()
    f665dedeedc9 kernel/resource: make walk_mem_res() find all busy IORESOURCE_MEM resources
    1ec193255271 kernel/resource: make walk_system_ram_res() find all busy IORESOURCE_SYSTEM_RAM resources
    0886bb143cbb kernel: kexec_file: fix error return code of kexec_calculate_store_digests()
    d43be02fc40b fs/proc/generic.c: fix incorrect pde_is_permanent check
    f89b408d506e sched/fair: Fix unfairness caused by missing load decay
    f7347c85490b sched: Fix out-of-bound access in uclamp
    26359d362c93 can: m_can: m_can_tx_work_queue(): fix tx_skb race condition
    eecb4df8ec9f can: mcp251x: fix resume from sleep before interface was brought up
    02140d9d2712 can: mcp251xfd: mcp251xfd_probe(): add missing can_rx_offload_del() in error path
    2c784a500f5e netfilter: nftables: Fix a memleak from userdata error path in new objects
    403ccad066ec netfilter: nfnetlink_osf: Fix a missing skb_header_pointer() NULL check
    cee6592d444a smc: disallow TCP_ULP in smc_setsockopt()
    d6c635a8cc6a net: fix nla_strcmp to handle more then one trailing null character
    26b7924707a4 ethtool: fix missing NLM_F_MULTI flag when dumping
    673422b97ef3 mm/gup: check for isolation errors
    096c9482cea2 mm/gup: return an error on migration failure
    7df511ef376d mm/gup: check every subpage of a compound page during isolation
    87c4e386b612 ksm: fix potential missing rmap_item for stable_node
    aa0d6d1d3e77 mm/migrate.c: fix potential indeterminate pte entry in migrate_vma_insert_page()
    9639a754cce5 mm/hugeltb: handle the error case in hugetlb_fix_reserve_counts()
    14d45fb5a3fc khugepaged: fix wrong result value for trace_mm_collapse_huge_page_isolate()
    51524fa8b5f7 arm64: entry: always set GIC_PRIO_PSR_I_SET during entry
    c9f43423c41e arm64: entry: factor irq triage logic into macros
    93dcaa8cba65 drm/radeon: Avoid power table parsing memory leaks
    79208af94738 drm/radeon: Fix off-by-one power_state index heap overwrite
    f551068f5f32 net: stmmac: Clear receive all(RA) bit when promiscuous mode is off
    340de910d65e xsk: Fix for xp_aligned_validate_desc() when len == chunk_size
    75ea98246903 netfilter: xt_SECMARK: add new revision to fix structure layout
    db5f1c6f776d sctp: fix a SCTP_MIB_CURRESTAB leak in sctp_sf_do_dupcook_b
    7afdd6aba95c ethernet:enic: Fix a use after free bug in enic_hard_start_xmit
    3d808916d256 block/rnbd-clt: Check the return value of the function rtrs_clt_query
    c1a90296a9b5 block/rnbd-clt: Change queue_depth type in rnbd_clt_session to size_t
    4aae6eb6af7d libbpf: Fix signed overflow in ringbuf_process_ring
    60bb2cecf47f sunrpc: Fix misplaced barrier in call_decode
    208af7ffc351 RISC-V: Fix error code returned by riscv_hartid_to_cpuid()
    f01988ecf365 sctp: do asoc update earlier in sctp_sf_do_dupcook_a
    65084886c6ee net: hns3: disable phy loopback setting in hclge_mac_start_phy
    5aa957e2b5fc net: hns3: use netif_tx_disable to stop the transmit queue
    90120c475dd7 net: hns3: fix for vxlan gpe tx checksum bug
    7a476a8a9cb6 net: hns3: add check for HNS3_NIC_STATE_INITED in hns3_reset_notify_up_enet()
    bd4d527ea5f7 net: hns3: initialize the message content in hclge_get_link_mode()
    5d326e253501 net: hns3: fix incorrect configuration for igu_egu_hw_err
    494ade7aba11 rtc: ds1307: Fix wday settings for rx8130
    5515b85e1a01 scsi: ufs: core: Narrow down fast path in system suspend path
    e8295def80b7 scsi: ufs: core: Cancel rpm_dev_flush_recheck_work during system suspend
    591602738e00 scsi: ufs: core: Do not put UFS power into LPM if link is broken
    429ac0fb8375 scsi: qla2xxx: Prevent PRLI in target mode
    bf45c9fe99aa ceph: fix inode leak on getattr error in __fh_to_dentry
    a01572e21f09 swiotlb: Fix the type of index
    04dad2ca1f5e xprtrdma: rpcrdma_mr_pop() already does list_del_init()
    eddae8be7944 xprtrdma: Fix cwnd update ordering
    89a31bf85c7b xprtrdma: Avoid Receive Queue wrapping
    b22e8f427c3d pwm: atmel: Fix duty cycle calculation in .get_state()
    0a9decf2dd4d SUNRPC: fix ternary sign expansion bug in tracing
    dd41a0e51532 dmaengine: idxd: fix cdev setup and free device lifetime issues
    975c4b2b9976 dmaengine: idxd: fix dma device lifetime
    5756f757c725 dmaengine: idxd: Fix potential null dereference on pointer status
    0f9d467ff139 rtc: fsl-ftm-alarm: add MODULE_TABLE()
    90e8fa8bdfb3 nfsd: ensure new clients break delegations
    b4bf335acacc NFSv4.x: Don't return NFS4ERR_NOMATCHING_LAYOUT if we're unmounting
    5d254e17ca86 thermal/drivers/tsens: Fix missing put_device error
    4f86a0a5eb61 SUNRPC: Handle major timeout in xprt_adjust_timeout()
    8efd19bf754b SUNRPC: Remove trace_xprt_transmit_queued
    7b906077fd99 SUNRPC: Move fault injection call sites
    bfeb4e607d00 NFSv4.2 fix handling of sr_eof in SEEK's reply
    1fbea60ea658 pNFS/flexfiles: fix incorrect size check in decode_nfs_fh()
    fd65cac30d45 PCI: endpoint: Fix missing destroy_workqueue()
    d21a5950cca6 NFS: Deal correctly with attribute generation counter overflow
    cbc868ea28a8 NFSv4.2: Always flush out writes in nfs42_proc_fallocate()
    a09afbb63620 NFS: Fix attribute bitmask in _nfs42_proc_fallocate()
    ce2b470added NFS: nfs4_bitmask_adjust() must not change the server global bitmasks
    0627cbc9b875 rpmsg: qcom_glink_native: fix error return code of qcom_glink_rx_data()
    b59194c7ca29 f2fs: fix to avoid accessing invalid fio in f2fs_allocate_data_block()
    1fd6a0641040 f2fs: Fix a hungtask problem in atomic write
    98ccee81fe96 f2fs: fix to cover __allocate_new_section() with curseg_lock
    105155a8146d f2fs: fix to avoid touching checkpointed data in get_victim()
    bbed83d7060e PCI: endpoint: Fix NULL pointer dereference for ->get_features()
    d5e85b92b457 PCI: endpoint: Make *_free_bar() to return error codes on failure
    d98bfd4cc258 PCI: endpoint: Add helper API to get the 'next' unreserved BAR
    5974766170d8 PCI: endpoint: Make *_get_first_free_bar() take into account 64 bit BAR
    8c8f7c49930d f2fs: fix to update last i_size if fallocate partially succeeds
    74d2b0e74c3f f2fs: fix to align to section for fallocate() on pinned file
    630146203108 ARM: 9064/1: hw_breakpoint: Do not directly check the event's overflow_handler hook
    ee93cdcbe0b5 PCI: Release OF node in pci_scan_device()'s error path
    c5c0ede221d7 PCI: iproc: Fix return value of iproc_msi_irq_domain_alloc()
    1ce0d1d3656b remoteproc: qcom_q6v5_mss: Validate p_filesz in ELF loader
    2ec65063e45a remoteproc: qcom_q6v5_mss: Replace ioremap with memremap
    2d6d5b4fc498 f2fs: fix a redundant call to f2fs_balance_fs if an error occurs
    1c20a4896409 f2fs: fix panic during f2fs_resize_fs()
    81ba1634d1b6 f2fs: fix to allow migrating fully valid segment
    de2041d92d2a f2fs: fix compat F2FS_IOC_{MOVE,GARBAGE_COLLECT}_RANGE
    b7ff0885de7e f2fs: move ioctl interface definitions to separated file
    997d24a932a9 thermal: thermal_of: Fix error return code of thermal_of_populate_bind_params()
    a1b5fecedfa9 ASoC: rt286: Make RT286_SET_GPIO_* readable and writable
    5b66867966bc watchdog: fix barriers when printing backtraces from all CPUs
    a68c246065b6 watchdog/softlockup: remove logic that tried to prevent repeated reports
    9413b1ee3858 watchdog: explicitly update timestamp when reporting softlockup
    018655f8758a watchdog: rename __touch_watchdog() to a better descriptive name
    1dc55c3a4862 ia64: module: fix symbolizer crash on fdescr
    602795e247d1 bnxt_en: Add PCI IDs for Hyper-V VF devices.
    d0736af81151 kbuild: generate Module.symvers only when vmlinux exists
    9401b7ff91f9 selftests: mlxsw: Fix mausezahn invocation in ERSPAN scale test
    dfa0e8461e99 selftests: mlxsw: Increase the tolerance of backlog buildup
    99d9989ee53b net: ethernet: mtk_eth_soc: fix RX VLAN offload
    320c50ff84a0 iavf: remove duplicate free resources calls
    6289b028b5e2 powerpc/iommu: Annotate nested lock for lockdep
    bece6aea3653 qtnfmac: Fix possible buffer overflow in qtnf_event_handle_external_auth
    ededc7325dc2 wl3501_cs: Fix out-of-bounds warnings in wl3501_mgmt_join
    83a7ed5b891c wl3501_cs: Fix out-of-bounds warnings in wl3501_send_pkt
    f3a5dee0f30c crypto: ccp: Free SEV device if SEV init fails
    22ab352fcab7 mt76: mt7615: fix entering driver-own state on mt7663
    5b02d6efdb1b drm/amdgpu: Add mem sync flag for IB allocated by SA
    8be5e713f725 drm/amd/display: add handling for hdcp2 rx id list validation
    fa9952e854c4 drm/amd/display: fixed divide by zero kernel crash during dsc enablement
    d98b03bfd0c7 powerpc/pseries: Stop calling printk in rtas_stop_self()
    799c3950680a samples/bpf: Fix broken tracex1 due to kprobe argument change
    d4b0dc31df99 net: sched: tapr: prevent cycle_time == 0 in parse_taprio_schedule
    05916c62f54a ethtool: ioctl: Fix out-of-bounds warning in store_link_ksettings_for_user()
    b506357ab8bb ASoC: rt286: Generalize support for ALC3263 codec
    33eee468f83a powerpc/smp: Set numa node before updating mask
    245f5ab5ce52 flow_dissector: Fix out-of-bounds warning in __skb_flow_bpf_to_target()
    d5716625f185 sctp: Fix out-of-bounds warning in sctp_process_asconf_param()
    136b0261f119 ALSA: hda/hdmi: fix race in handling acomp ELD notification at resume
    4ac5823083fa ASoC: Intel: sof_sdw: add quirk for new ADL-P Rvp
    e3a2982bf63f ALSA: hda/realtek: Add quirk for Lenovo Ideapad S740
    cc1956f8b278 kconfig: nconf: stop endless search loops
    06b0037e6f02 selftests: Set CC to clang in lib.mk if LLVM is set
    f9bc5e3f3f75 drm/amd/display: Force vsync flip when reconfiguring MPCC
    63e9abe35df9 iommu/amd: Remove performance counter pre-initialization test
    1097ecf826bc Revert "iommu/amd: Fix performance counter initialization"
    a027e6155bb4 ASoC: rsnd: call rsnd_ssi_master_clk_start() from rsnd_ssi_init()
    cc748965313b powerpc/mm: Add cond_resched() while removing hpte mappings
    26f98b2d97a8 iwlwifi: pcie: make cfg vs. trans_cfg more robust
    2bfc47dec5b8 cuse: prevent clone
    2c20c7d96e45 virtiofs: fix userns
    87fe0ca09b26 fuse: invalidate attrs when page writeback completes
    f1c230d75b47 mt76: mt7915: fix txpower init for TSSI off chips
    7eb1e84cfe28 mt76: mt76x0: disable GTK offloading
    bbd3d0014cc4 mt76: mt7615: support loading EEPROM for MT7613BE
    32b3e7e303bd rtw88: 8822c: add LC calibration for RTL8822C
    28c2a1d65088 pinctrl: samsung: use 'int' for register masks in Exynos
    2eac474900d3 mac80211: clear the beacon's CRC after channel switch
    437a4746e47e IB/hfi1: Correct oversized ring allocation
    d7592a5c376b coresight: Do not scan for graph if none is present
    8f7806174fdb MIPS: Loongson64: Use _CACHE_UNCACHED instead of _CACHE_UNCACHED_ACCELERATED
    2c098ad786d3 i2c: Add I2C_AQ_NO_REP_START adapter quirk
    c6d2f8ffb145 ASoC: rt5670: Add a quirk for the Dell Venue 10 Pro 5055
    6c9b2de44812 Bluetooth: btusb: Enable quirk boolean flag for Mediatek Chip.
    c87b052deaa8 ice: handle increasing Tx or Rx ring sizes
    eb28709c07a6 ASoC: Intel: bytcr_rt5640: Add quirk for the Chuwi Hi8 tablet
    7bd851a6d369 ip6_vti: proper dev_{hold|put} in ndo_[un]init methods
    b502a6a44066 net: hns3: add handling for xmit skb with recursive fraglist
    c56804f431db net: hns3: remediate a potential overflow risk of bd_num_list
    286b3ff9fd98 powerpc/32: Statically initialise first emergency context
    b9f9313c7501 selftests/powerpc: Fix L1D flushing tests for Power10
    2033dde6aa01 Bluetooth: check for zapped sk before connecting
    6421cdfbb6fb net: bridge: when suppression is enabled exclude RARP packets
    fccb35bbf75f net/sched: cls_flower: use ntohs for struct flow_dissector_key_ports
    a019b8d7dfd5 Bluetooth: initialize skb_queue_head at l2cap_chan_create()
    e0dc9e93f7fd Bluetooth: Set CONF_NOT_COMPLETE as l2cap_chan default
    b972f345a17a ALSA: bebob: enable to deliver MIDI messages for multiple ports
    d398f25007d5 ALSA: rme9652: don't disable if not enabled
    9df07b0661e7 ALSA: hdspm: don't disable if not enabled
    a950cd8cb05d ALSA: hdsp: don't disable if not enabled
    faed3150a436 i2c: bail out early when RDWR parameters are wrong
    18df2bc13b1f Bluetooth: Fix incorrect status handling in LE PHY UPDATE event
    879a96d817ed ASoC: rsnd: core: Check convert rate in rsnd_hw_params
    a2aeb5de26c1 net: stmmac: Set FIFO sizes for ipq806x
    c0a62a441bbd net/mlx5e: Use net_prefetchw instead of prefetchw in MPWQE TX datapath
    2d17c58a3a4f ASoC: Intel: bytcr_rt5640: Enable jack-detect support on Asus T100TAF
    3d1bede85632 tipc: convert dest node's address to network order
    a407b5881686 fs: dlm: flush swork on shutdown
    ff58d1c72edf fs: dlm: check on minimum msglen size
    ca973d2aeaf7 fs: dlm: add errno handling to check callback
    06d59d21cb05 fs: dlm: fix debugfs dump
    bd6017a942b9 ath11k: fix thermal temperature read
    21756f878e82 kvm: Cap halt polling at kvm->max_halt_poll_ns
    53d7eed0315a cpufreq: intel_pstate: Use HWP if enabled by platform firmware
    182f1f72af2e PM: runtime: Fix unpaired parent child_count for force_resume
    e97da47e9be0 ACPI: PM: Add ACPI ID of Alder Lake Fan
    bfccc4eade2b KVM/VMX: Invoke NMI non-IST entry instead of IST entry
    21f317826e17 KVM: x86/mmu: Remove the defunct update_pte() paging hook
    53171e68a509 tpm, tpm_tis: Reserve locality in tpm_tis_resume()
    923866165610 tpm, tpm_tis: Extend locality handling to TPM2 in tpm_tis_gen_interrupt()
    8fe5a459186a tpm: fix error return code in tpm2_get_cc_attrs_tbl()
    31c9a4b24d86 KEYS: trusted: Fix memory leak on object td

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoglibc: Enable memory tagging for aarch64
Khem Raj [Sun, 23 May 2021 14:45:32 +0000 (07:45 -0700)]
glibc: Enable memory tagging for aarch64

Glibc on aarch64 has a memory tagging option that can be enabled
via GLIBC_TUNABLES="glibc.mem.tagging=$SOMETHING" when glibc
is built with memory tagging support and the kernel/HW supports
MTE. There should be no side effects unless the user turns it
on with approprate HW support

Linux 5.4 headers and binutils 2.33.1 or newer is needed.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosystemtap: update 4.4 -> 4.5
Alexander Kanavin [Mon, 24 May 2021 09:13:47 +0000 (11:13 +0200)]
systemtap: update 4.4 -> 4.5

Drop 0001-transport-protect-include-and-callsite-with-same-con.patch
as upstream made the same change:
https://sourceware.org/git/?p=systemtap.git;a=commitdiff;h=0d80048e02ecf6876c9f9ebeea387af9fb2a8051

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agocurl: update 7.76.0 -> 7.76.1
Alexander Kanavin [Mon, 24 May 2021 09:13:46 +0000 (11:13 +0200)]
curl: update 7.76.0 -> 7.76.1

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoharfbuzz: update 2.8.0 -> 2.8.1
Alexander Kanavin [Mon, 24 May 2021 09:13:45 +0000 (11:13 +0200)]
harfbuzz: update 2.8.0 -> 2.8.1

fontconfig option has been removed upstream as fontconfig
hasn't been used for anything.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibdnf: update 0.62.0 -> 0.63.0
Alexander Kanavin [Mon, 24 May 2021 09:13:44 +0000 (11:13 +0200)]
libdnf: update 0.62.0 -> 0.63.0

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agocmake: update 3.20.1 -> 3.20.2
Alexander Kanavin [Mon, 24 May 2021 09:13:43 +0000 (11:13 +0200)]
cmake: update 3.20.1 -> 3.20.2

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoapt: upgrade 2.2.2 -> 2.2.3
Alexander Kanavin [Mon, 24 May 2021 09:13:42 +0000 (11:13 +0200)]
apt: upgrade 2.2.2 -> 2.2.3

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoglib-2.0: update 2.68.1 -> 2.68.2
Alexander Kanavin [Mon, 24 May 2021 09:13:41 +0000 (11:13 +0200)]
glib-2.0: update 2.68.1 -> 2.68.2

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agowebkitgtk: update 2.32.0 -> 2.32.1
Alexander Kanavin [Mon, 24 May 2021 09:13:40 +0000 (11:13 +0200)]
webkitgtk: update 2.32.0 -> 2.32.1

Drop 49a19c49c6de8af74e521f36cb43e6c1ec2e391c.patch
(backport)
0001-Fix-build-with-musl.patch
(problem fixed upstream).

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibgpg-error: update 1.41 -> 1.42
Alexander Kanavin [Mon, 24 May 2021 09:13:39 +0000 (11:13 +0200)]
libgpg-error: update 1.41 -> 1.42

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agovulkan-samples: update to latest revision
Alexander Kanavin [Mon, 24 May 2021 09:13:38 +0000 (11:13 +0200)]
vulkan-samples: update to latest revision

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agomesa: update 21.0.3 -> 21.1.1
Alexander Kanavin [Mon, 24 May 2021 09:13:37 +0000 (11:13 +0200)]
mesa: update 21.0.3 -> 21.1.1

License-Update: typo fix

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoigt-gpu-tools: upgrade 1.25 -> 1.26
Alexander Kanavin [Mon, 24 May 2021 09:13:36 +0000 (11:13 +0200)]
igt-gpu-tools: upgrade 1.25 -> 1.26

Drop patches merged upstream.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogsettings-desktop-schemas: upgrade 3.38.0 -> 40.0
Alexander Kanavin [Mon, 24 May 2021 09:13:35 +0000 (11:13 +0200)]
gsettings-desktop-schemas: upgrade 3.38.0 -> 40.0

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agognomebase: trim the SRC_URI directory from the back
Alexander Kanavin [Mon, 24 May 2021 09:13:34 +0000 (11:13 +0200)]
gnomebase: trim the SRC_URI directory from the back

Rather than take the first two components, drop the last one at the end.
This makes it compatible with both old and new gnome version schemes.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoat: upgrade 3.2.1 -> 3.2.2
Alexander Kanavin [Mon, 24 May 2021 09:13:33 +0000 (11:13 +0200)]
at: upgrade 3.2.1 -> 3.2.2

Drop a script in /usr/share as purpose is unclear
(nothing references it), and it pulls in bash without need.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-smartypants: fix upstream version check
Alexander Kanavin [Mon, 24 May 2021 09:13:32 +0000 (11:13 +0200)]
python3-smartypants: fix upstream version check

Upstream has never published the 2.0.1 tarball.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agommc-utils: update to latest revision
Alexander Kanavin [Mon, 24 May 2021 09:13:31 +0000 (11:13 +0200)]
mmc-utils: update to latest revision

Drop patch as upstream has fixed the issue.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agognu-config: update to latest revision
Alexander Kanavin [Mon, 24 May 2021 09:13:30 +0000 (11:13 +0200)]
gnu-config: update to latest revision

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosystemd-conf: do not version in lockstep with systemd
Alexander Kanavin [Mon, 24 May 2021 09:13:29 +0000 (11:13 +0200)]
systemd-conf: do not version in lockstep with systemd

This is not needed as systemd-conf only packages
standalone config files.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosystemd: Fix 248.3 on musl
Khem Raj [Tue, 25 May 2021 01:34:00 +0000 (18:34 -0700)]
systemd: Fix 248.3 on musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosystemd: update 247.6 -> 248.3
Alexander Kanavin [Mon, 24 May 2021 09:13:28 +0000 (11:13 +0200)]
systemd: update 247.6 -> 248.3

Drop backports:
48fff0a2af3f62acd446ebec8081b039b72caad8.patch
7c5fd25119a495009ea62f79e5daec34cc464628.patch
0001-analyze-resolve-executable-path-if-it-is-relative.patch
0001-analyze-resolve-executable-path-if-it-is-relative.patch

Drop 0027-proc-dont-trigger-mount-error-with-invalid-options-o.patch
as difficult to rebase; please resend if you feel strongly that
it is needed.

Rebase the big pile of musl patches.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoxxhash: backport patch to fix special char problem
Chen Qi [Mon, 24 May 2021 04:35:19 +0000 (12:35 +0800)]
xxhash: backport patch to fix special char problem

When building nativesdk-xxhash, we get error like below.

   Makefile:422: *** configured libdir (/opt/poky/3.3+snapshot/sysroots/x86_64-pokysdk-linux/usr/lib) is outside of
   exec_prefix (/opt/poky/3.3+snapshot/sysroots/x86_64-pokysdk-linux/usr), can't generate pkg-config file.  Stop.

This is because we have '+' in the path.

Backport a patch to fix this problem.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agounfs3: correct configure option
Changqing Li [Mon, 24 May 2021 03:43:41 +0000 (11:43 +0800)]
unfs3: correct configure option

On some new distro like ubuntu21.04, unfs3-native compile failed with
error: undefined reference to `xdr_uint32', since new distro has new
glibc.

>From glibc 2.27 rpc support is dropped, so unfs3 need to link to
libtirpc.

Here is defination of ac_link:
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'

Depended library should be added into LIBS, not LDFLAGS, otherwise,
gcc may not load the lib since it is before conftest.$ac_ext during
configure. Finally, it results in compile failed.

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoglibc: Update to latest 2.33 branch
Khem Raj [Sun, 23 May 2021 04:45:29 +0000 (21:45 -0700)]
glibc: Update to latest 2.33 branch

Drop backported patches
Add CVE-2021-27645 to CVE_CHECK_WHITELIST and drop the patch as its also
upstreamed

Changes in the version bump are

3f5080aedd nptl: Do not build nptl/tst-pthread-gdb-attach as PIE
36783141cf nptl: Check for compatible GDB in nptl/tst-pthread-gdb-attach
ea299b62e8 nptl_db: Support different libpthread/ld.so load orders (bug 27744)
162df872f0 x86: tst-cpu-features-supports.c: Update AMX check
12ff80b312 Remove PR_TAGGED_ADDR_ENABLE from sys/prctl.h
1bf38e7260 Fix SXID_ERASE behavior in setuid programs (BZ #27471)
a7b8e8ec9b Enhance setuid-tunables test
ee16c81063 tst-env-setuid: Use support_capture_subprogram_self_sgid
267e174f19 support: Add capability to fork an sgid child
249c486ce8 support: Pass environ to child process
45b2c57d34 support: Typo and formatting fixes
e07abf59b2 tunables: Fix comparison of tunable values
3e9ca60a58 linux: always update select timeout (BZ #27706)
8380ca5833 linux: Normalize and return timeout on select (BZ #27651)
85e4dc415a libsupport: Add support_select_normalizes_timeout
b5b4aa62c1 libsupport: Add support_select_modifies_timeout
3d525dd639 misc: Fix tst-select timeout handling (BZ#27648)
830674605f tst: Provide test for select
e78ea9bd26 Update Nios II libm-test-ulps.
98bb18f52a malloc: Fix a realloc crash with heap tagging [BZ 27468]
fc4ecce85b S390: Also check vector support in memmove ifunc-selector [BZ #27511]
db32fc27e7 test-container: Always copy test-specific support files [BZ #27537]
79c6be6a0a nptl: Remove private futex optimization [BZ #27304]
f90d6b0484 pthread_once hangs when init routine throws an exception [BZ #18435]
dd8023c2ac elf: ld.so --help calls _dl_init_paths without a main map [BZ #27577]
ea5a537e87 elf: Always set l in _dl_init_paths (bug 23462)
64f6c287ad x86: Handle _SC_LEVEL1_ICACHE_LINESIZE [BZ #27444]
32b9280f1d io: Return EBAFD for negative file descriptor on fstat (BZ #27559)
a151f2e05a nscd: Fix double free in netgroupcache [BZ #27462]
ee9f98d9ca x86: Set minimum x86-64 level marker [BZ #27318]
3e880d7337 nss: Re-enable NSS module loading after chroot [BZ #27389]
71b2463f61 x86: Add CPU-specific diagnostics to ld.so --list-diagnostics
a1eb3915e7 x86: Automate generation of PREFERRED_FEATURE_INDEX_1 bitfield
33dc1dd602 ld.so: Implement the --list-diagnostics option
8d4241b897 string: Work around GCC PR 98512 in rawmemchr
6efa2d44c8 S390: Add new hwcap values.
c5e3545897 tunables: Disallow negative values for some tunables
905fdc7071 x86: Use SIZE_MAX instead of (long int)-1 for tunable range value
15afd6b8d8 tunables: Simplify TUNABLE_SET interface
17f0ff0978 nsswitch: return result when nss database is locked [BZ #27343]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agort-tests: update SRCREV
Chen Qi [Mon, 24 May 2021 07:10:11 +0000 (15:10 +0800)]
rt-tests: update SRCREV

The commit '6af88067da16c6e69243b376c3b6454ec694460b' is not available
in the repo any more. I think it's due to some mis-operation of the upstream
repo in the past few hours.

Update the SRCREV to use the latest commit on unstable/devel/latest branch.

Also, set PV explicitly and remove the obsolete comment.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogdk-pixbuf: update a patch status
Alexander Kanavin [Mon, 24 May 2021 09:13:27 +0000 (11:13 +0200)]
gdk-pixbuf: update a patch status

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobison: Make libtextstyle and libreadline optional
Daniel McGregor [Thu, 20 May 2021 16:58:20 +0000 (10:58 -0600)]
bison: Make libtextstyle and libreadline optional

Bison opportunistically enables libtextstyle and libreadline support
if they're installed on the build host. Since textstyle and readline
aren't part of uninative avoid host contamination by making their
support configurable and disabled by default in the native case.

Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agouboot-sign/kernel-fitimage: split generate_rsa_keys task
Ming Liu [Sat, 22 May 2021 08:25:41 +0000 (10:25 +0200)]
uboot-sign/kernel-fitimage: split generate_rsa_keys task

Currently generate_rsa_keys tasks are being executed parallelly in
kernel and uboot's task list, and both of them are calling openssl to
generate rsa keys in same path, this can lead to race condition.

Let's split it to kernel_generate_rsa_keys and uboot_generate_rsa_keys.

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agokernel-fitimage.bbclass: drop unit addresses from bootscr sections
Ming Liu [Sat, 22 May 2021 08:14:10 +0000 (10:14 +0200)]
kernel-fitimage.bbclass: drop unit addresses from bootscr sections

In commit 6047be9f:
[ kernel-fitimage: Don't use unit addresses on FIT ]

It had dropped unit addresses from FIT image but missed on bootscr
part.

Drop unit addresses from bootscr sections in this patch.

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogcc-cross-canadian: add symlinks for ld.bfd and ld.gold
Samuli Piippo [Fri, 21 May 2021 14:33:42 +0000 (17:33 +0300)]
gcc-cross-canadian: add symlinks for ld.bfd and ld.gold

When -fuse-ld gcc option is used, missing ld.bfd or ld.gold symlinks
can lead to linker error:

collect2: fatal error: cannot find 'ld'

Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoinitramfs-framework:rootfs: fix wrong indentions
Ming Liu [Fri, 21 May 2021 12:14:41 +0000 (14:14 +0200)]
initramfs-framework:rootfs: fix wrong indentions

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agokernel-fitimage.bbclass: fix a wrong conditional check
Ming Liu [Fri, 21 May 2021 12:12:14 +0000 (14:12 +0200)]
kernel-fitimage.bbclass: fix a wrong conditional check

It should check if "${UBOOT_SIGN_ENABLE}" equals to "1" instead of
checking if "${UBOOT_SIGN_ENABLE}" is not empty since it could be "0".

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoltp: Disable problematic tests causing autobuilder hangs
Richard Purdie [Fri, 21 May 2021 15:45:13 +0000 (16:45 +0100)]
ltp: Disable problematic tests causing autobuilder hangs

We've seen three hangs in cgroup_xattr and two in proc01 so far. The new
plan is just to disable any tests seen to hang. I've had enough of these
causing problems on our testing infrastructure.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibxml2: Update to 2.9.12
Tony Tascioglu [Thu, 20 May 2021 21:13:04 +0000 (17:13 -0400)]
libxml2: Update to 2.9.12

Drop CVE patches which are fixed by the new upstream version.

Modify conflicting patches to apply to the new versions:
   libxml2/libxml-m4-use-pkgconfig.patch
   libxml2/0001-Make-ptest-run-the-python-tests-if-python-is-enabled.patch

Drop fix-python39, which is merged upstream.

Removed hunk for tstLastError.py from
   libxml2/0001-Make-ptest-run-the-python-tests-if-python-is-enabled.patch
since it has been fixed upstream by:

   8c3e52e: Updated python/tests/tstLastError.py

   libxml2.registerErrorHandler(None,None):
   None is not acceptable as first argument
   failUnlessEqual replaced by assertEqual

The checksums for the licence file changed because a typo was fixed
across the files. The licence remains the same.
The obsolete MD5 checksums for the tar files have been dropped in
favor of SHA256.

The new release also adds fuzz tests, which are removed from the
makefile to allow the ptests to run. Fuzz testing is done upstream
and there is no need to run them as part of ptests which are
intended for functionality testing.

Signed-off-by: Tony Tascioglu <tony.tascioglu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogdk-pixbuf: fix nativesdk do_configure failed
hongxu [Fri, 21 May 2021 06:14:54 +0000 (14:14 +0800)]
gdk-pixbuf: fix nativesdk do_configure failed

Since commit [92fc28498f gdk-pixbuf: rewrite the cross-build support
for tests] applied, it add meson option -Duse_prebuilt_tools=true to
taget.

Add the same option for nativesdk to fix do_configure failure
|../gdk-pixbuf-2.42.6/thumbnailer/meson.build:32:0: ERROR: Arrays do not
have a method called 'full_path'

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoxorgproto: Upgrade to 2021.4 release
Khem Raj [Thu, 20 May 2021 18:47:30 +0000 (11:47 -0700)]
xorgproto: Upgrade to 2021.4 release

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibxfixes: Update to 6.0.0 release
Khem Raj [Thu, 20 May 2021 18:47:29 +0000 (11:47 -0700)]
libxfixes: Update to 6.0.0 release

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agorxvt-unicode: upgrade 9.22 -> 9.26
zhengruoqin [Thu, 20 May 2021 01:38:45 +0000 (09:38 +0800)]
rxvt-unicode: upgrade 9.22 -> 9.26

0001-libev-remove-deprecated-throw-specification.patch
removed since it is included in 9.26

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-sortedcontainers: upgrade 2.3.0 -> 2.4.0
zhengruoqin [Thu, 20 May 2021 01:38:32 +0000 (09:38 +0800)]
python3-sortedcontainers: upgrade 2.3.0 -> 2.4.0

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-importlib-metadata: upgrade 3.10.1 -> 4.0.1
zhengruoqin [Thu, 20 May 2021 01:36:43 +0000 (09:36 +0800)]
python3-importlib-metadata: upgrade 3.10.1 -> 4.0.1

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibtasn1: upgrade 4.16.0 -> 4.17.0
wangmy [Wed, 19 May 2021 23:53:54 +0000 (07:53 +0800)]
libtasn1: upgrade 4.16.0 -> 4.17.0

file LICENSE renamed to COPYING.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibidn2: upgrade 2.3.0 -> 2.3.1
wangmy [Wed, 19 May 2021 23:53:53 +0000 (07:53 +0800)]
libidn2: upgrade 2.3.0 -> 2.3.1

-License-Update: Copyright year updated to 2021.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibdrm: upgrade 2.4.105 -> 2.4.106
wangmy [Wed, 19 May 2021 23:53:52 +0000 (07:53 +0800)]
libdrm: upgrade 2.4.105 -> 2.4.106

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agodistcc: upgrade 3.3.5 -> 3.4
wangmy [Wed, 19 May 2021 23:53:51 +0000 (07:53 +0800)]
distcc: upgrade 3.3.5 -> 3.4

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobaremetal-image: Fix post process command rootfs_update_timestamp
Alejandro Hernandez Samaniego [Wed, 19 May 2021 15:59:53 +0000 (09:59 -0600)]
baremetal-image: Fix post process command rootfs_update_timestamp

When running:

execute_pre_post_process(d, d.getVar(ROOTFS_POSTPROCESS_COMMAND))

rootfs_update_timestamp is run, which assumes that rootfs/${sysconfdir}
is already created (usually done through the do_rootfs task on linux).

This causes the build to fail if ${sysconfdir} does not exist.

This may be overlooked if debug-tweaks is enabled since some other
commands are added, one of which creates the required path
(see postinst_enable_logging).

See [1] for more info:

[1] https://github.com/aehs29/meta-freertos/issues/4

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosstatesig.py: make it fatal error when sstate manifest isn't found
Martin Jansa [Wed, 19 May 2021 10:23:02 +0000 (12:23 +0200)]
sstatesig.py: make it fatal error when sstate manifest isn't found

* all known issues in this area were fixed, make it fatal that it
  cannot be overlooked if someone triggers this issue again

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agomusl: Fix __NR_fstatat syscall name for riscv
Khem Raj [Wed, 19 May 2021 07:37:24 +0000 (00:37 -0700)]
musl: Fix __NR_fstatat syscall name for riscv

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosstate: Ignore sstate signing key
Daniel McGregor [Tue, 18 May 2021 22:09:30 +0000 (16:09 -0600)]
sstate: Ignore sstate signing key

What key is used to sign sstate artefacts should not affect the hash of
the object, otherwise everyone would need to use the same signing key.

Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolib/oe/gpg_sign.py: Fix gpg verification
Daniel McGregor [Tue, 18 May 2021 22:09:29 +0000 (16:09 -0600)]
lib/oe/gpg_sign.py: Fix gpg verification

A stray space made it into the command for verifying gpg signatures.
This caused verification to fail, at least on my host. Removing the
space makes it work as expected.

Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agou-boot: upgrade 2021.01 -> 2021.04
Alexander Kanavin [Wed, 5 May 2021 15:17:54 +0000 (17:17 +0200)]
u-boot: upgrade 2021.01 -> 2021.04

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agocve-extra-exclusions.inc: Clean up merged CPE updates
Richard Purdie [Thu, 20 May 2021 17:44:24 +0000 (18:44 +0100)]
cve-extra-exclusions.inc: Clean up merged CPE updates

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogrub: Exclude CVE-2019-14865 from cve-check
Richard Purdie [Thu, 20 May 2021 17:37:34 +0000 (18:37 +0100)]
grub: Exclude CVE-2019-14865 from cve-check

The CVE only applies to RHEL.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agocve-extra-exclusions: Fix typos
Richard Purdie [Thu, 20 May 2021 17:14:37 +0000 (18:14 +0100)]
cve-extra-exclusions: Fix typos

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agorpm: Drop CVE exclusion as database fixed to handle
Richard Purdie [Thu, 20 May 2021 11:31:52 +0000 (12:31 +0100)]
rpm: Drop CVE exclusion as database fixed to handle

Didn't think this might make it in but it has, we can drop the exclusion.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agocve-extra-exclusions.inc: add exclusion list for intractable CVE's
Richard Purdie [Thu, 6 May 2021 17:12:32 +0000 (07:12 -1000)]
cve-extra-exclusions.inc: add exclusion list for intractable CVE's

The preferred methods for CVE resolution are:

1. Version upgrades where possible
2. Patches where not possible
3. Database updates where version info is incorrect
4. Exclusion from checking where it is determined that the CVE
   does not apply to our environment

In some cases none of these methods are possible. For example the
CVE may be decades old with no apparent resolution, and with broken
links that make further research impractical. Some CVEs are vauge
with no specific action the project can take too.

This patch creates a mechanism for users to remove this type of
CVE from the cve-check results via an optional include file.

Based on an initial patch from Steve Sakoman <steve@sakoman.com>
but extended heavily by RP.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoglibc: Add 8GB VM usage cap for usermode test suite
Richard Purdie [Wed, 19 May 2021 11:43:22 +0000 (12:43 +0100)]
glibc: Add 8GB VM usage cap for usermode test suite

We've noticed that:

MACHINE=qemuarm oe-selftest -r glibc.GlibcSelfTest.test_glibc

ends up with one process growing to about the size of system memory
and triggering the OOM killer. This has been taking out other builds
running on the system on the autobuilders and is one cause of our
intermittent failures.

This was tracked down to:

WORKDIR=XXX/tmp/work/armv7vet2hf-neon-poky-linux-gnueabi/glibc-testsuite/2.33-r0
BUILDDIR=$WORKDIR/build-arm-poky-linux-gnueabi QEMU_SYSROOT=$WORKDIR/recipe-sysroot
QEMU_OPTIONS="$WORKDIR/recipe-sysroot-native/usr/bin/qemu-arm -r 3.2.0" \
$WORKDIR/check-test-wrapper user env GCONV_PATH=$BUILDDIR/iconvdata LOCPATH=$BUILDDIR/localedata LC_ALL=C $BUILDDIR/elf/ld-linux-armhf.so.3 \
    --library-path $BUILDDIR:$BUILDDIR/math:$BUILDDIR/elf:$BUILDDIR/dlfcn:$BUILDDIR/nss:$BUILDDIR/nis:$BUILDDIR/rt:$BUILDDIR/resolv:$BUILDDIR/mathvec:$BUILDDIR/support:$BUILDDIR/nptl \
    $BUILDDIR/nptl/tst-pthread-timedlock-lockloop

although other glibc tests appear to use 16GB of memory before failing
anyway. By capping the VM size to 8GB, we see the same number of failures
but no OOM situations. There may be some issue in qemu or the test which
could be improved to avoid this entirely but this provides a necessary
and useful safeguard to other builds and doensn't appear to make the
situation worse.

On a loaded system OOM may not occur as the test timeout may be triggered
first. An experiment with a 5GB limit showed an additional 7 failures.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agouninative: Upgrade to 3.2 (gcc11 support)
Michael Halstead [Wed, 19 May 2021 04:28:12 +0000 (21:28 -0700)]
uninative: Upgrade to 3.2 (gcc11 support)

This upgrade builds unnative with gcc11 allowing it to work with newer distros
using gcc 11.

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoRevert "cml1.bbclass: Return sorted list of cfg files" uninative-3.2
Richard Purdie [Tue, 18 May 2021 11:49:41 +0000 (12:49 +0100)]
Revert "cml1.bbclass: Return sorted list of cfg files"

This reverts commit dee41e92f0efac7e453597bed4b4c02f867e3aa9.

This patch breaks cases where some config files make changes to earlier ones,
ordering is important. The reproducibility issue in busybox was elsewhere.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3: update status on upstreamed patch
Ross Burton [Mon, 17 May 2021 12:44:07 +0000 (13:44 +0100)]
python3: update status on upstreamed patch

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibxml2: Add bash dependency for ptests.
Tony Tascioglu [Mon, 17 May 2021 18:16:40 +0000 (14:16 -0400)]
libxml2: Add bash dependency for ptests.

Before, running ptests on core-image-minimal would result in
an error due to missing /bin/bash:

   [ -d test   ] || ln -s ../libxml2-2.9.10/test   .
   make: /bin/bash: No such file or directory
   make: *** [Makefile:2105: runtests] Error 127

Changing the Makefile to use /bin/sh results in some of the
tests failing, so I have added the missing dependancy on bash.

Signed-off-by: Tony Tascioglu <tony.tascioglu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibxml2: Reformat runtest.patch
Tony Tascioglu [Mon, 17 May 2021 18:16:38 +0000 (14:16 -0400)]
libxml2: Reformat runtest.patch

Reformatted runtest.patch to allow it to be applied using git am.
This makes it easier to apply the series of patches to the original git repo.

There are no changes to the code of the patch other than the reformat.

Previously, the patch claimed to be a backport, but I have not found an
upstream commit so I've changed the Upstream-Status to pending.

Signed-off-by: Tony Tascioglu <tony.tascioglu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>