]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
3 years agosystemd-machine-units: add bbappend for meta-selftest
Vyacheslav Yurkov [Fri, 6 Aug 2021 12:06:08 +0000 (14:06 +0200)]
systemd-machine-units: add bbappend for meta-selftest

Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agorootfs-postcommands: add QA check for overlayfs
Vyacheslav Yurkov [Fri, 6 Aug 2021 12:06:07 +0000 (14:06 +0200)]
rootfs-postcommands: add QA check for overlayfs

The check is conditional and only enabled when overlayfs is set in
DISTRO_FEATURES

Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agooverlayfs.bbclass: generate overlayfs mount units
Vyacheslav Yurkov [Fri, 6 Aug 2021 12:06:06 +0000 (14:06 +0200)]
overlayfs.bbclass: generate overlayfs mount units

It's often desired in Embedded System design to have a read-only rootfs.
But a lot of different applications might want to have a read-write access
to some parts of a filesystem. It can be especially useful when your update
mechanism overwrites the whole rootfs, but you want your application data
to be preserved between updates. This class provides a way to achieve that
by means of overlayfs and at the same time keeping the base rootfs read-only.

Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolib/oe: add generic functions for overlayfs
Vyacheslav Yurkov [Fri, 6 Aug 2021 12:06:05 +0000 (14:06 +0200)]
lib/oe: add generic functions for overlayfs

Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agocve-check: remove deprecated CVE_CHECK_CVE_WHITELIST
Michael Opdenacker [Fri, 6 Aug 2021 10:53:27 +0000 (12:53 +0200)]
cve-check: remove deprecated CVE_CHECK_CVE_WHITELIST

This variable has been deprecated since Yocto Project version 3.0.

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agometa: use new override syntax in comments
Chen Qi [Fri, 6 Aug 2021 09:30:11 +0000 (02:30 -0700)]
meta: use new override syntax in comments

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoconvert-overrides.py: also convert comments without a leading whitespace
Chen Qi [Fri, 6 Aug 2021 09:03:31 +0000 (02:03 -0700)]
convert-overrides.py: also convert comments without a leading whitespace

Currently lines like below are converted.
  e.g.
  # IMAGE_INSTALL_append = " A"

But lines without a leading whitespace are not converted.
  e.g.
  #IMAGE_INSTALL_append = " A"

We should be converting both.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibtool: Fix lto option passing for reproducible builds
Richard Purdie [Thu, 5 Aug 2021 10:18:20 +0000 (11:18 +0100)]
libtool: Fix lto option passing for reproducible builds

If lto is enabled, we need the prefix-map variables to be passed to the linker.
Add these to the list of options libtool passes through.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoell: upgrade 0.41 -> 0.42
wangmy [Thu, 5 Aug 2021 03:17:03 +0000 (11:17 +0800)]
ell: upgrade 0.41 -> 0.42

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agocurl: Fix reproducibility issue with LDFLAGS
Richard Purdie [Fri, 6 Aug 2021 09:55:26 +0000 (10:55 +0100)]
curl: Fix reproducibility issue with LDFLAGS

If we add DEBUG_PREFIX_MAP into LDFLAGS, curl-dev is no longer reproducible.
Fix this.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoruby: Fix reproducibility issue with LDFLAGS
Tony Battersby [Fri, 6 Aug 2021 21:04:32 +0000 (17:04 -0400)]
ruby: Fix reproducibility issue with LDFLAGS

If we add DEBUG_PREFIX_MAP into LDFLAGS, ruby and ruby-dbg are no
longer reproducible.  Fix this.

Signed-off-by: Tony Battersby <tonyb@cybernetics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogettext: Fix reproducibility issue with LDFLAGS
Richard Purdie [Thu, 5 Aug 2021 16:57:21 +0000 (17:57 +0100)]
gettext: Fix reproducibility issue with LDFLAGS

If we add DEBUG_PREFIX_MAP into LDFLAGS, gettext-ptest is no longer reproducible.
Fix this.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoruby: Fix DEBUG_PREFIX_MAP in LDFLAGS issue
Richard Purdie [Thu, 5 Aug 2021 16:57:21 +0000 (17:57 +0100)]
ruby: Fix DEBUG_PREFIX_MAP in LDFLAGS issue

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobitbake.conf: add DEBUG_PREFIX_MAP to TARGET_LDFLAGS
Tony Battersby [Tue, 27 Jul 2021 13:36:53 +0000 (09:36 -0400)]
bitbake.conf: add DEBUG_PREFIX_MAP to TARGET_LDFLAGS

-f*-prefix-map flags are required when linking with LTO enabled to make
the output binary reproducible.

See discussion here:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101473

[YOCTO #14481]

Signed-off-by: Tony Battersby <tonyb@cybernetics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agovalgrind: skip broken ptests for glibc 2.34
Tony Tascioglu [Tue, 10 Aug 2021 22:48:29 +0000 (15:48 -0700)]
valgrind: skip broken ptests for glibc 2.34

Skip tests that are problematic for glibc-2.34.
The list of problematic ptests was found by Richard after
patching several to work with the new glibc version.

https://bugzilla.yoctoproject.org/show_bug.cgi?id=14500

Signed-off-by: Tony Tascioglu <tony.tascioglu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoglibc: Add missing symlinks for libpthread and librt dev files
Khem Raj [Tue, 29 Jun 2021 06:41:47 +0000 (23:41 -0700)]
glibc: Add missing symlinks for libpthread and librt dev files

Signed-off-by: Khem Raj <raj.khem@gmail.com>
3 years agoglibc: Drop DUMMY_LOCALE_T define patch
Khem Raj [Tue, 29 Jun 2021 06:24:47 +0000 (23:24 -0700)]
glibc: Drop DUMMY_LOCALE_T define patch

It was needed for very old centos distros which are no longer supported

Signed-off-by: Khem Raj <raj.khem@gmail.com>
3 years agoglibc: Remove obsolete --enable-stackguard-randomization
Khem Raj [Tue, 29 Jun 2021 06:12:20 +0000 (23:12 -0700)]
glibc: Remove obsolete --enable-stackguard-randomization

this has been removed in 2.34 onwards

Signed-off-by: Khem Raj <raj.khem@gmail.com>
3 years agoglibc: Upgrade to 2.34 release
Khem Raj [Fri, 30 Apr 2021 21:52:51 +0000 (14:52 -0700)]
glibc: Upgrade to 2.34 release

bump localedef to get __attr_access_none and __attr_access definitions
replace /bin/bash instead of @BASH@ in ldd as @BASH@ has been substituted with /bin/bash now

package libc_malloc_debug.so.0

Detailed changelog [1]

[1] https://sourceware.org/pipermail/libc-alpha/2021-August/129718.html

Signed-off-by: Khem Raj <raj.khem@gmail.com>
3 years agopackagedata: Fix after override syntax change
Richard Purdie [Fri, 6 Aug 2021 08:24:40 +0000 (09:24 +0100)]
packagedata: Fix after override syntax change

Fix a reference that should have been part of the override syntax change
causing packages to be written out incorrectly.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agocve-check: improve comment about CVE patch file names
Michael Opdenacker [Thu, 5 Aug 2021 16:50:46 +0000 (18:50 +0200)]
cve-check: improve comment about CVE patch file names

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agocve-check: update link to NVD website for CVE details
Michael Opdenacker [Thu, 5 Aug 2021 15:51:02 +0000 (17:51 +0200)]
cve-check: update link to NVD website for CVE details

The old URL schema
https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-ID
now redirects to
https://nvd.nist.gov/vuln/detail/CVE-ID

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agocve-check: fix comments
Michael Opdenacker [Thu, 5 Aug 2021 15:51:01 +0000 (17:51 +0200)]
cve-check: fix comments

This implements various fixes in comments in cve-check.bbclass
In particular, the "whitlisted" typo is important as the "whitelisted"
word is going to be replaced in a near future.

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agooeqa/runtime/cases/ptest: Increase test timeout from 300s to 450s
Richard Purdie [Wed, 2 Jun 2021 21:46:27 +0000 (22:46 +0100)]
oeqa/runtime/cases/ptest: Increase test timeout from 300s to 450s

Some tests such as lttng-tools are marginal and timing out on the autobuilder
with the current 300s default. Increase to avoid this noise in the ptest
failures list.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogcc: Backport patch to make LTO builds more reproducible
Tony Battersby [Tue, 27 Jul 2021 13:36:05 +0000 (09:36 -0400)]
gcc: Backport patch to make LTO builds more reproducible

Backport ustream gcc patch that enables -fdebug-prefix-map to cover
additional cases with LTO enabled to make LTO builds more reproducible.

[YOCTO #14481]

Signed-off-by: Tony Battersby <tonyb@cybernetics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolto.inc: disable LTO for grub
Tony Battersby [Tue, 27 Jul 2021 13:35:25 +0000 (09:35 -0400)]
lto.inc: disable LTO for grub

With gcc 11.1, compiling grub with LTO causes an internal compiler error
(ICE), and with gcc 10.2, files under /usr/lib/grub/i386-pc/*.mod are not
binary reproducible.

[YOCTO #14490] (gcc 11.1 ICE)
[YOCTO #14481] (LTO and binary reproducibility)

Signed-off-by: Tony Battersby <tonyb@cybernetics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoelfutils: Add patch from upstream for glibc 2.34 ptest fixes
Richard Purdie [Wed, 4 Aug 2021 21:47:18 +0000 (22:47 +0100)]
elfutils: Add patch from upstream for glibc 2.34 ptest fixes

Add a patch being discussed upstream to fix a ptest issue with glibc 2.34.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agovalgrind: Add patches for glibc 2.34 support
Richard Purdie [Wed, 4 Aug 2021 17:47:31 +0000 (18:47 +0100)]
valgrind: Add patches for glibc 2.34 support

This partially resolves ptest failures with glibc 2.34.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agostrace: Upgrade 5.12 -> 5.13
Richard Purdie [Wed, 4 Aug 2021 16:58:43 +0000 (17:58 +0100)]
strace: Upgrade 5.12 -> 5.13

This includes changes to work with glibc 2.34.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agodiffoscope: Upgrade 178 -> 179
Richard Purdie [Wed, 4 Aug 2021 16:08:37 +0000 (17:08 +0100)]
diffoscope: Upgrade 178 -> 179

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosystemd-boot: use ld.bfd as efi-ld even when gold or lld is used in ${LD}
Martin Jansa [Wed, 4 Aug 2021 21:44:11 +0000 (23:44 +0200)]
systemd-boot: use ld.bfd as efi-ld even when gold or lld is used in ${LD}

* since the upgrade to 249.1 in:
  https://git.openembedded.org/openembedded-core/commit/?id=323ec445dfe22860cd450c303db5ed8fcb4e791c
  the builds with ld-is-gold are failing with:

  [17/21] Generating linuxx64.elf.stub with a custom command
  FAILED: src/boot/efi/linuxx64.elf.stub
  /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/systemd-boot/249.1-r0/recipe-sysroot-native/usr/bin/x86_64-oe-linux/x86_64-oe-linux-ld -o src/boot/efi/linuxx64.elf.stub -T /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/systemd-boot/249.1-r0/recipe-sysroot/usr/lib/elf_x86_64_efi.lds -shared -Bsymbolic -nostdlib -znocombreloc --build-id=sha1 -L /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/systemd-boot/249.1-r0/recipe-sysroot/usr/lib /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/systemd-boot/249.1-r0/recipe-sysroot/usr/lib/crt0-efi-x86_64.o src/boot/efi/string-util-fundamental.c.o src/boot/efi/disk.c.o src/boot/efi/graphics.c.o src/boot/efi/measure.c.o src/boot/efi/pe.c.o src/boot/efi/secure-boot.c.o src/boot/efi/util.c.o src/boot/efi/linux.c.o src/boot/efi/splash.c.o src/boot/efi/stub.c.o -lefi -lgnuefi /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/systemd-boot/249.1-r0/recipe-sysroot/usr/lib/../lib/x86_64-oe-linux/11.2.0/libgcc.a
  /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/systemd-boot/249.1-r0/recipe-sysroot-native/usr/bin/x86_64-oe-linux/x86_64-oe-linux-ld: internal error in segment_precedes, at ../../gold/layout.cc:3721
  [18/21] Generating boot.c.o with a custom command
  ninja: build stopped: subcommand failed.
  WARNING: exit code 1 from a shell command.

  as reported in:
  https://lists.openembedded.org/g/openembedded-core/message/154246

* if someone is using lld or ld.lld in ${LD} then it would fail as well:
  https://github.com/systemd/systemd/commit/e39288193fcdf3a36dbc49b78e6c9bf86a764e31

* work around this by always using ld.bfd instead of whatever is set in ${LD}

* it needs to be prefixed with ${HOST_PREFIX} to match how LD is constructed:
  $ bitbake-getvar -r systemd-boot LD
  #
  # $LD [2 operations]
  #   exported /OE/build/oe-core/openembedded-core/meta/conf/bitbake.conf:523
  #     [export] "1"
  #   set /OE/build/oe-core/openembedded-core/meta/conf/bitbake.conf:523
  #     "${HOST_PREFIX}ld${TOOLCHAIN_OPTIONS} ${HOST_LD_ARCH}"
  # pre-expansion value:
  #   "${HOST_PREFIX}ld${TOOLCHAIN_OPTIONS} ${HOST_LD_ARCH}"
  export LD="x86_64-oe-linux-ld --sysroot=/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/systemd-boot/249.1-r0/recipe-sysroot  "

  $ bitbake-getvar -r systemd-boot EFI_LD
  #
  # $EFI_LD
  #   set /OE/build/oe-core/openembedded-core/meta/recipes-core/systemd/systemd-boot_249.1.bb:23
  #     "${HOST_PREFIX}ld.bfd"
  EFI_LD="x86_64-oe-linux-ld.bfd"

  otherwise first ld.bfd it will find will be from HOSTTOOLS_NONFATAL and
  fail when host's binutils isn't compatible as in:
  https://autobuilder.yoctoproject.org/typhoon/#/builders/104/builds/2673/steps/11/logs/stdio

  FAILED: src/boot/efi/linuxx64.elf.stub
  /home/pokybuild/yocto-worker/genericx86-64-alt/build/build/tmp/hosttools/ld.bfd -o src/boot/efi/linuxx64.elf.stub -T /home/pokybuild/yocto-worker/genericx86-64-alt/build/build/tmp/work/core2-64-poky-linux/systemd-boot/249.1-r0/recipe-sysroot/usr/lib/elf_x86_64_efi.lds -shared -Bsymbolic -nostdlib -znocombreloc --build-id=sha1 -L /home/pokybuild/yocto-worker/genericx86-64-alt/build/build/tmp/work/core2-64-poky-linux/systemd-boot/249.1-r0/recipe-sysroot/usr/lib /home/pokybuild/yocto-worker/genericx86-64-alt/build/build/tmp/work/core2-64-poky-linux/systemd-boot/249.1-r0/recipe-sysroot/usr/lib/crt0-efi-x86_64.o src/boot/efi/string-util-fundamental.c.o src/boot/efi/disk.c.o src/boot/efi/graphics.c.o src/boot/efi/measure.c.o src/boot/efi/pe.c.o src/boot/efi/secure-boot.c.o src/boot/efi/util.c.o src/boot/efi/linux.c.o src/boot/efi/splash.c.o src/boot/efi/stub.c.o -lefi -lgnuefi /home/pokybuild/yocto-worker/genericx86-64-alt/build/build/tmp/work/core2-64-poky-linux/systemd-boot/249.1-r0/recipe-sysroot/usr/lib/../lib/x86_64-poky-linux/11.2.0/libgcc.a
  /home/pokybuild/yocto-worker/genericx86-64-alt/build/build/tmp/hosttools/ld.bfd: warning: /home/pokybuild/yocto-worker/genericx86-64-alt/build/build/tmp/work/core2-64-poky-linux/systemd-boot/249.1-r0/recipe-sysroot/usr/lib/crt0-efi-x86_64.o: unsupported GNU_PROPERTY_TYPE (5) type: 0xc0010002
  /home/pokybuild/yocto-worker/genericx86-64-alt/build/build/tmp/hosttools/ld.bfd: warning: /home/pokybuild/yocto-worker/genericx86-64-alt/build/build/tmp/work/core2-64-poky-linux/systemd-boot/249.1-r0/recipe-sysroot/usr/lib/crt0-efi-x86_64.o: unsupported GNU_PROPERTY_TYPE (5) type: 0xc0010001
  /home/pokybuild/yocto-worker/genericx86-64-alt/build/build/tmp/hosttools/ld.bfd: /home/pokybuild/yocto-worker/genericx86-64-alt/build/build/tmp/work/core2-64-poky-linux/systemd-boot/249.1-r0/recipe-sysroot/usr/lib/crt0-efi-x86_64.o: unable to initialize decompress status for section .debug_line
  /home/pokybuild/yocto-worker/genericx86-64-alt/build/build/tmp/hosttools/ld.bfd: /home/pokybuild/yocto-worker/genericx86-64-alt/build/build/tmp/work/core2-64-poky-linux/systemd-boot/249.1-r0/recipe-sysroot/usr/lib/crt0-efi-x86_64.o: unable to initialize decompress status for section .debug_line
  /home/pokybuild/yocto-worker/genericx86-64-alt/build/build/tmp/work/core2-64-poky-linux/systemd-boot/249.1-r0/recipe-sysroot/usr/lib/crt0-efi-x86_64.o: file not recognized: File format not recognized

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-importlib-metadata: upgrade 4.6.1 -> 4.6.3
Tim Orling [Wed, 4 Aug 2021 20:57:22 +0000 (20:57 +0000)]
python3-importlib-metadata: upgrade 4.6.1 -> 4.6.3

v4.6.3
Moved workaround for #327 to _compat module.

v4.6.2
bpo-44784: Avoid errors in test suite when DeprecationWarnings are
treated as errors.

References:
https://github.com/python/importlib_metadata/issues/327
https://bugs.python.org/issue44784

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-hypothesis: upgrade 6.14.3 -> 6.14.5
Tim Orling [Wed, 4 Aug 2021 20:57:21 +0000 (20:57 +0000)]
python3-hypothesis: upgrade 6.14.3 -> 6.14.5

6.14.5 - 2021-07-27
This patch fixes hypothesis.strategies._internal.types.is_a_new_type. It
was failing on Python 3.10.0b4, where NewType is a function.

6.14.4 - 2021-07-26
This patch fixes from_type() and register_type_strategy() for
typing.NewType on Python 3.10, which changed the underlying
implementation (see bpo-44353 for details).

References:
https://bugs.python.org/issue44353

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agodevtool.py: Correct override syntax
Khem Raj [Wed, 4 Aug 2021 18:03:00 +0000 (11:03 -0700)]
devtool.py: Correct override syntax

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agodistrooverrides.bbclass: Correct override syntax
Khem Raj [Wed, 4 Aug 2021 18:00:51 +0000 (11:00 -0700)]
distrooverrides.bbclass: Correct override syntax

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agotoaster-managed-mode.json: Correctly specify term with new override syntax
Khem Raj [Wed, 4 Aug 2021 18:00:50 +0000 (11:00 -0700)]
toaster-managed-mode.json: Correctly specify term with new override syntax

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibssh2: Fix syntax for using ptest override
Khem Raj [Wed, 4 Aug 2021 18:00:49 +0000 (11:00 -0700)]
libssh2: Fix syntax for using ptest override

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolocal.conf.sample: disable prelink
Alexander Kanavin [Sat, 31 Jul 2021 14:01:53 +0000 (16:01 +0200)]
local.conf.sample: disable prelink

Recent tests have shown that prelinking works only when PIE is not
enabled [0], and as PIE is both a desirable security feature, and the only
configuration provided and tested by Yocto, there is simply no sense
in continuing to enable prelink.

There's also a concern that no one is maintaining the code, and there
are open bugs (including serious ones such as [1]). Given that prelink
does intricate address arithmetic and rewriting of binaries the best
option is to disable the feature.

[0]
https://rlbl.me/prelink-1
https://rlbl.me/prelink-2

[1] https://bugzilla.yoctoproject.org/show_bug.cgi?id=14429

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3: use monotonic clock for condvar if possible
Zqiang [Tue, 3 Aug 2021 05:11:38 +0000 (13:11 +0800)]
python3: use monotonic clock for condvar if possible

The timeout for threading.Lock, threading.Condition, etc, is not using
a monotonic clock, it is affected if the system time (realtime clock)
is set.

This patch will make condvar use monotonic clock.
Refence: https://bugs.python.org/issue41710

Signed-off-by: Zqiang <qiang.zhang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agocreaterepo-c: fix createrepo-c failed in nativesdk
hongxu [Wed, 4 Aug 2021 13:08:35 +0000 (21:08 +0800)]
createrepo-c: fix createrepo-c failed in nativesdk

In sdk, call createrepo-c failed with:
...
$ createrepo_c --update ./test_repo/rpm
Directory walk started Critical: Failed to detect compression for file
./test_repo/rpm/cortexa72/hello-2.10-r0.cortexa72.rpm: magic_load() failed: could not find any valid magic files!
...

Since commit [ea666fbc74 createrepo-c: set path to magic database for
native and nativesdk] applied, the MAGIC is incorrectly assigned.

The variable datadir will be expanded automatically for nativesdk,
do not need to add prefix ${SDKPATHNATIVE} to MAGIC

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoconvert-overrides.py: allow dots before override in vars_re and shortvars_re
Martin Jansa [Wed, 4 Aug 2021 14:24:18 +0000 (16:24 +0200)]
convert-overrides.py: allow dots before override in vars_re and shortvars_re

e.g. VIRTUAL-RUNTIME_com.webos.service.flowmanager_armv4 weren't replaced
with VIRTUAL-RUNTIME_com.webos.service.flowmanager:armv4 or when package
name contains a dot like in:
RDEPENDS:gstreamer1.0-meta-base:remove

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agodevupstream: Allow support of native class extensions
Richard Purdie [Wed, 4 Aug 2021 13:06:49 +0000 (14:06 +0100)]
devupstream: Allow support of native class extensions

It is useful to be able to use the class with recipes using BBCLASSEXTEND
for native extensions. This adds the magic required to do that.

[YOCTO #11449]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoimage: Drop COMPRESS_CMD
Richard Purdie [Wed, 4 Aug 2021 12:59:06 +0000 (13:59 +0100)]
image: Drop COMPRESS_CMD

This was replaced by CONVERSION_CMD a long time ago and is no longer referenced
in core. Remove the references to it.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoimage/image_types: Convert CONVERSION_CMD/COMPRESS_CMD to new override syntax
Richard Purdie [Wed, 4 Aug 2021 12:57:33 +0000 (13:57 +0100)]
image/image_types: Convert CONVERSION_CMD/COMPRESS_CMD to new override syntax

For consistency, use override syntax for these variables as well since
it is more consistent with the rest of the image code. We may be able to use
these as proper overrides in due course.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agouboot-extlinux-config: Fix missing override conversion
Richard Purdie [Wed, 4 Aug 2021 10:34:31 +0000 (11:34 +0100)]
uboot-extlinux-config: Fix missing override conversion

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agometa: Convert IMAGE_TYPEDEP to use override syntax
Richard Purdie [Wed, 4 Aug 2021 10:34:00 +0000 (11:34 +0100)]
meta: Convert IMAGE_TYPEDEP to use override syntax

The IMAGE_TYPEDEP variable would make more sense to match the form of the
other image override variables, convert it to use the overrides format.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoiputils: fix do_configure failure of missing ip command
Chen Qi [Tue, 3 Aug 2021 08:11:54 +0000 (01:11 -0700)]
iputils: fix do_configure failure of missing ip command

If 'testimage' and 'testsdk' are not inherited, the 'ip'
comamnd will not be in HOSTTOOLS. This results in do_configure
failure of iputils. Backport a patch and skipping building
tests to fix the problem.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibxft: Fix bad PKG value
Joshua Watt [Wed, 4 Aug 2021 02:48:50 +0000 (21:48 -0500)]
libxft: Fix bad PKG value

The PKG value should only be munged for DEBIAN_NAMES during
populate_packages. Otherwise, native packages can have the wrong value.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibwpe: remove rpi-specific custom code
Denys Dmytriyenko [Wed, 4 Aug 2021 01:34:16 +0000 (21:34 -0400)]
libwpe: remove rpi-specific custom code

This recipe was ported from another layer, which had special handling for rpi.

OE-Core doesn't have 'rpi' override, doesn't define 'vc4graphics' DISTRO_FEATURES
and overall, BSP-specifics should be handled in downstream layers, not in OE-Core.

Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoconvert-overrides.py: handle few more cases of overrides
Denys Dmytriyenko [Wed, 4 Aug 2021 01:28:05 +0000 (21:28 -0400)]
convert-overrides.py: handle few more cases of overrides

Add task-configure and few more supported values of TARGET_OS override.

Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agometa: convert nested overrides leftovers to new syntax
Denys Dmytriyenko [Wed, 4 Aug 2021 01:28:04 +0000 (21:28 -0400)]
meta: convert nested overrides leftovers to new syntax

Those were missed in previous rounds of automated and manual conversion.

Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoMAINTAINERS: Saul will cover devtool and eSDK
Saul Wold [Tue, 3 Aug 2021 22:44:03 +0000 (15:44 -0700)]
MAINTAINERS: Saul will cover devtool and eSDK

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoaspell: fix CVE-2019-25051
Lee Chee Yang [Wed, 4 Aug 2021 08:21:46 +0000 (16:21 +0800)]
aspell: fix CVE-2019-25051

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoinsane.bbclass: fix the file-rdeps QA message for the new override syntax
Chen Qi [Wed, 4 Aug 2021 08:10:13 +0000 (01:10 -0700)]
insane.bbclass: fix the file-rdeps QA message for the new override syntax

Instead of replacing '_<pkg>', we should be replacing ':<pkg>'.
Otherwise, when we meet a 'file-rdeps' QA error, the error message would be
like below.

  QA Issue: /usr/lib64/libatopology.so.2.0.0:libatopology contained in package libatopology ...

The ':libatopology' should not be in the error message.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agorunqemu: decouple bios and kernel options
Matthias Klein [Wed, 4 Aug 2021 08:53:55 +0000 (10:53 +0200)]
runqemu: decouple bios and kernel options

This will allow the use of a bios (e.g. U-Boot) in combination with
a WIC file (from which U-Boot loads the kernel).

Signed-off-by: Matthias Klein <matthias@extraklein.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agorunqemu: Fix typo in error message
Matthias Klein [Wed, 4 Aug 2021 08:53:39 +0000 (10:53 +0200)]
runqemu: Fix typo in error message

Signed-off-by: Matthias Klein <matthias@extraklein.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolicense: Exclude COPYING.MIT from pseudo
Richard Purdie [Tue, 3 Aug 2021 10:46:56 +0000 (11:46 +0100)]
license: Exclude COPYING.MIT from pseudo

Along with the other license exclusions, we need to exclude the
top level COPYING.MIT file else when:

COPY_LIC_DIRS     = "1"
COPY_LIC_MANIFEST = "1"

is set, we see eSDK failures from a pseudo abort.

[YOCTO #14366]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolocal.conf.sample.extended: Fix missed override conversion
Richard Purdie [Wed, 4 Aug 2021 18:28:51 +0000 (19:28 +0100)]
local.conf.sample.extended: Fix missed override conversion

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-pip: upgrade 21.1.3 -> 21.2.1
zangrc [Tue, 3 Aug 2021 05:39:41 +0000 (13:39 +0800)]
python3-pip: upgrade 21.1.3 -> 21.2.1

Process
The source distribution re-installation feature removal has been delayed to 21.3.

Signed-off-by: Zang Ruochen <zangrc.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agomesa: Define a fallback for DRIDRIVERS
Khem Raj [Tue, 3 Aug 2021 05:56:41 +0000 (22:56 -0700)]
mesa: Define a fallback for DRIDRIVERS

Some machines may not define this variable, in such cases bitbake fails
to parse

run.do_configure.3766843: line 164: -Ddri-drivers=${@strip_comma('${DRIDRIVERS}')}: bad substitution

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-dbus: upgrade 1.2.16 -> 1.2.18
zangrc [Tue, 3 Aug 2021 05:39:26 +0000 (13:39 +0800)]
python3-dbus: upgrade 1.2.16 -> 1.2.18

Signed-off-by: Zang Ruochen <zangrc.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agocurl: Upgrade to 7.78.0
Mingli Yu [Mon, 2 Aug 2021 08:06:56 +0000 (16:06 +0800)]
curl: Upgrade to 7.78.0

Remove libmetalink configure option as this rarely used option is
removed in the new version [1].

[1] https://github.com/curl/curl/commit/265b14d6b37c4298bd5556fabcbc37d36f911693

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agokernel-yocto: Simplify no git repo case in do_kernel_checkout
Paul Barker [Mon, 2 Aug 2021 10:44:30 +0000 (11:44 +0100)]
kernel-yocto: Simplify no git repo case in do_kernel_checkout

If the kernel sources are not fetched via git, a local git repository is
created in do_kernel_checkout. In this case we know that there will be
no remote branches and we will already be on the correct branch (since
only one branch will exist). So we can simplify things by skipping these
steps.

This also removes the assumption that the default git branch name will
be "master". Prior to this change, the final git checkout command in
do_kernel_checkout could fail if a local git repo was created and the
user had changed init.defaultBranch in their gitconfig.

Signed-off-by: Paul Barker <paul@pbarker.dev>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agovim: Clarify where RDEPENDS/RRECOMMENDS apply
Richard Purdie [Mon, 2 Aug 2021 15:37:03 +0000 (16:37 +0100)]
vim: Clarify where RDEPENDS/RRECOMMENDS apply

The tricky of using BPN in a common inc file is rather hard to understand.
Simplfy this by moving it to the base vim recipe and use the standard
variable form.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-pytest: display correct version info
Kai Kang [Sun, 1 Aug 2021 11:41:30 +0000 (19:41 +0800)]
python3-pytest: display correct version info

It does not show correct version info of python3-pytest:

$ pip3 list | grep pytest
pytest             0.0.0

pytest requires setuptools-scm in setup.cfg. It could be met by adding
python3-setuptools-scm-native to dependency and then it will not
download egg file of setuptools-scm during do_compile any more. So
remove 0001-setup.py-remove-the-setup_requires-for-setuptools-scm.patch
and depend on python3-setuptools-scm-native to make it show the correct
version info.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopopulate_sdk_ext: Fix handling of TOOLCHAIN_HOST_TASK in the eSDK case
Richard Purdie [Sun, 1 Aug 2021 13:04:15 +0000 (14:04 +0100)]
populate_sdk_ext: Fix handling of TOOLCHAIN_HOST_TASK in the eSDK case

The current way TOOLCHAIN_HOST_TASK is handled within eSDK builds is
causing much confusion, even to people who should understand the code.

For a normal SDK, some layers append to TOOLCHAIN_HOST_TASK unconditionally
which is fine, until the eSDK tries to override the variable to it's own
values. It does not support or use packages installed using this variable
and would use native recipes instead, it is a very different approach.

In the referenced bug, binaries are added but not relocated leading to
confusing errors.

To fix this, add a new variables for the eSDK TOOLCHAIN_HOST_TASK
to be explict and force the eSDK code to use this instead. The setVar
in non-parsing context will clear out any appends resolving the current
issues. The patch also gets rid of some dubious task override use.

[YCOTO #14047]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agostress-ng: Detemine minimal stack size via sysconf
Khem Raj [Sat, 31 Jul 2021 19:11:37 +0000 (12:11 -0700)]
stress-ng: Detemine minimal stack size via sysconf

This helps it compile with glibc 2.34+

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosstate: Fix rebuilds when changing layer config
Richard Purdie [Sun, 1 Aug 2021 12:47:21 +0000 (13:47 +0100)]
sstate: Fix rebuilds when changing layer config

When adding a layer which changed SSTATE_EXCLUDEDEPS_SYSROOT, the state
hashes were changing when they should not. This was caused by wider use
of setscene_depvalid which means the dependency on the variable was seen
when it was previously not.

Exclude the variable since this should be be included in the hashes.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosdk: Decouple default install path from built in path
Richard Purdie [Fri, 30 Jul 2021 15:44:56 +0000 (16:44 +0100)]
sdk: Decouple default install path from built in path

Add SDKPATHINSTALL which is used as the default install location of the SDK
instead of SDKPATH. This means the default install path isn't encoded into
every SDK binary, meaning if a date is used there the entire SDK doesn't
have to rebuild. Most distros can switch to only customise SDKPATHINSTALL
meaning more sstate reuse too.

[YOCTO #14100]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoconvert-overrides: Allow script to handle patch/diffs
Richard Purdie [Fri, 30 Jul 2021 14:07:45 +0000 (15:07 +0100)]
convert-overrides: Allow script to handle patch/diffs

It is handy to be able to have the script convert a single patch file
and it turns out to be straightforward to make it do this.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agodropbear: Fix incorrect package override for postrm
Richard Purdie [Thu, 29 Jul 2021 23:20:47 +0000 (00:20 +0100)]
dropbear: Fix incorrect package override for postrm

This bug has been around for a long time (2011) but fix it to do
what was intended originally. The postrm is changed by classes but
those should append to existing entries.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogcc: update 11.1 -> 11.2
Bernhard Rosenkränzer [Thu, 29 Jul 2021 23:52:42 +0000 (01:52 +0200)]
gcc: update 11.1 -> 11.2

Update gcc, drop patches that have been merged upstream

Signed-off-by: Bernhard Rosenkränzer <bero@lindev.ch>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolinux-yocto/5.10: enable TYPEC_TCPCI in usbc fragment
Bruce Ashfield [Thu, 29 Jul 2021 04:50:02 +0000 (00:50 -0400)]
linux-yocto/5.10: enable TYPEC_TCPCI in usbc fragment

To make the usbc fragment more generally usable, we enable
the Type-C Port Controller driver for TCPCI-compliant controller.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolinux-yocto/5.13: enable TYPEC_TCPCI in usbc fragment
Bruce Ashfield [Thu, 29 Jul 2021 04:50:03 +0000 (00:50 -0400)]
linux-yocto/5.13: enable TYPEC_TCPCI in usbc fragment

To make the usbc fragment more generally usable, we enable
the Type-C Port Controller driver for TCPCI-compliant controller.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolinux-yocto-rt/5.10: update to -rt47
Bruce Ashfield [Thu, 29 Jul 2021 04:50:01 +0000 (00:50 -0400)]
linux-yocto-rt/5.10: update to -rt47

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

    969fef49cbbc Linux 5.10.52-rt47
    bb5ff998ba62 Linux 5.10.47-rt46
    340f6b6cdd37 sched: Don't defer CPU pick to migration_cpu_stop()
    f3d0be7cdae8 sched: Simplify set_affinity_pending refcounts
    6b28888ca42a sched: Fix affine_move_task() self-concurrency
    ea66e426a3b7 sched: Optimize migration_cpu_stop()
    ac73ac41db62 sched: Collate affine_move_task() stoppers
    6963e6b6e008 sched: Simplify migration_cpu_stop()
    d3a5a12fd350 sched: Fix migration_cpu_stop() requeueing
    28dda3752954 Linux 5.10.47-rt45
    d5f6c5f008ee Linux 5.10.44-rt44
    ec9978fdc6aa Linux 5.10.42-rt43

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolinux-yocto/5.4: update to v5.4.135
Bruce Ashfield [Thu, 29 Jul 2021 04:50:00 +0000 (00:50 -0400)]
linux-yocto/5.4: update to v5.4.135

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

    0a0beb1f9120 Linux 5.4.135
    d2f7b384a74f udp: annotate data races around unix_sk(sk)->gso_size
    c72374978b3f perf test bpf: Free obj_buf
    17bc942c0b96 bpftool: Properly close va_list 'ap' by va_end() on error
    84ed8340941a ipv6: tcp: drop silly ICMPv6 packet too big messages
    315033cab379 tcp: annotate data races around tp->mtu_info
    41f45e91c92c dma-buf/sync_file: Don't leak fences on merge failure
    04b06716838b net: fddi: fix UAF in fza_probe
    8aa13a86964c net: validate lwtstate->data before returning from skb_tunnel_info()
    8cff7b28ab05 net: send SYNACK packet with accepted fwmark
    b7e5563f2a78 net: ti: fix UAF in tlan:remove_one
    2b70ca92847c net: qcom/emac: fix UAF in emac:remove
    463c0addb4eb net: moxa: fix UAF in moxart_mac_probe
    7ac4a6a74e75 net: ip_tunnel: fix mtu calculation for ETHER tunnel devices
    d5dc50ca1f7a net: bcmgenet: Ensure all TX/RX queues DMAs are disabled
    7ecd40801e5b net: bridge: sync fdb to new unicast-filtering ports
    813d45499f51 net/sched: act_ct: fix err check for nf_conntrack_confirm
    24973073562f netfilter: ctnetlink: suspicious RCU usage in ctnetlink_dump_helpinfo
    c6f4a71153f4 net: ipv6: fix return value of ip6_skb_dst_mtu
    9872273b670a net: dsa: mv88e6xxx: enable .rmu_disable() on Topaz
    6148ddff2dcb net: dsa: mv88e6xxx: enable .port_set_policy() on Topaz
    d73c180e6add dm writecache: return the exact table values that were set
    8a85afc6621a mm: slab: fix kmem_cache_create failed when sysfs node not destroyed
    f53729b828db usb: cdns3: Enable TDL_CHK only for OUT ep
    52b01a808696 f2fs: Show casefolding support only when supported
    91d846016729 arm64: dts: marvell: armada-37xx: move firmware node to generic dtsi file
    f696cc7f1bc8 firmware: turris-mox-rwtm: add marvell,armada-3700-rwtm-firmware compatible string
    e2b28026b861 arm64: dts: armada-3720-turris-mox: add firmware node
    f7d1fa65e742 cifs: prevent NULL deref in cifs_compose_mount_options()
    06d8a7eb5803 s390: introduce proper type handling call_on_stack() macro
    2a47e0719ae7 sched/fair: Fix CFS bandwidth hrtimer expiry type
    5b7d065868a6 scsi: qedf: Add check to synchronize abort and flush
    0fe70c15f943 scsi: libfc: Fix array index out of bound exception
    d7b647d05586 scsi: libsas: Add LUN number check in .slave_alloc callback
    863c4bc883d5 scsi: aic7xxx: Fix unintentional sign extension issue on left shift of u8
    712e9ed6134f rtc: max77686: Do not enforce (incorrect) interrupt trigger type
    199d8ea4c7b1 kbuild: mkcompile_h: consider timestamp if KBUILD_BUILD_TIMESTAMP is set
    484193b635a7 thermal/core: Correct function name thermal_zone_device_unregister()
    556cf0283035 arm64: dts: imx8mq: assign PCIe clocks
    9d3eb68a5385 arm64: dts: ls208xa: remove bus-num from dspi node
    e054b361caec firmware: tegra: bpmp: Fix Tegra234-only builds
    94d009577033 soc/tegra: fuse: Fix Tegra234-only builds
    270a2e9fafea ARM: dts: stm32: move stmmac axi config in ethernet node on stm32mp15
    4bc66215bc22 ARM: dts: stm32: fix i2c node name on stm32f746 to prevent warnings
    856c753237ae ARM: dts: rockchip: fix supply properties in io-domains nodes
    c5bb9cc2ce23 arm64: dts: juno: Update SCPI nodes as per the YAML schema
    f572a9139396 ARM: dts: stm32: fix timer nodes on STM32 MCU to prevent warnings
    95e795474c81 ARM: dts: stm32: fix RCC node name on stm32f429 MCU
    a898aa9f88cc ARM: dts: stm32: fix gpio-keys node on STM32 MCU boards
    5c17edaaead7 ARM: dts: am437x-gp-evm: fix ti,no-reset-on-init flag for gpios
    3446233096ff ARM: dts: am57xx-cl-som-am57x: fix ti,no-reset-on-init flag for gpios
    e79e29a4e162 kbuild: sink stdout from cmd for silent build
    f817d4677582 rtc: mxc_v2: add missing MODULE_DEVICE_TABLE
    0a22b5178276 ARM: imx: pm-imx5: Fix references to imx5_cpu_suspend_info
    e20e85639e25 ARM: dts: imx6: phyFLEX: Fix UART hardware flow control
    a5b19d33ae22 ARM: dts: Hurricane 2: Fix NAND nodes names
    f83535a47ff8 ARM: dts: BCM63xx: Fix NAND nodes names
    cb05b84ad7f1 ARM: NSP: dts: fix NAND nodes names
    14e3bad3b548 ARM: Cygnus: dts: fix NAND nodes names
    587a757afe73 ARM: brcmstb: dts: fix NAND nodes names
    a9c32c7aeee6 reset: ti-syscon: fix to_ti_syscon_reset_data macro
    b400afa42739 arm64: dts: rockchip: Fix power-controller node names for rk3328
    dfb4e8ed0792 arm64: dts: rockchip: Fix power-controller node names for px30
    789070f17886 ARM: dts: rockchip: Fix power-controller node names for rk3288
    6aaffe6ce8a9 ARM: dts: rockchip: Fix power-controller node names for rk3188
    439115ee56d8 ARM: dts: rockchip: Fix power-controller node names for rk3066a
    3b4c34728382 ARM: dts: rockchip: Fix IOMMU nodes properties on rk322x
    c9d29d62da59 ARM: dts: rockchip: Fix the timer clocks order
    d105e15de610 arm64: dts: rockchip: fix pinctrl sleep nodename for rk3399.dtsi
    cfe3d29e5cde ARM: dts: rockchip: fix pinctrl sleep nodename for rk3036-kylin and rk3288
    79573c64410b ARM: dts: gemini: add device_type on pci
    7037876393ce ARM: dts: gemini: rename mdio to the right name

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolinux-yocto/5.13: update to v5.13.5
Bruce Ashfield [Thu, 29 Jul 2021 04:49:59 +0000 (00:49 -0400)]
linux-yocto/5.13: update to v5.13.5

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

    25423f4bd9a9 Linux 5.13.5
    c50bcc85a057 mt76: mt7921: continue to probe driver when fw already downloaded
    c1b582a7e364 udp: properly flush normal packet at GRO time
    e3104dccdd79 udp: annotate data races around unix_sk(sk)->gso_size
    010f5d09fa32 firmware: arm_scmi: Avoid padding in sensor message structure
    90ed7e5771ea drm/panel: nt35510: Do not fail if DSI read fails
    fcd280d92bad perf test bpf: Free obj_buf
    599148d40366 bpf: Track subprog poke descriptors correctly and fix use-after-free
    4edc469e4a63 bpftool: Properly close va_list 'ap' by va_end() on error
    a3b4cb28a2e8 tools: bpf: Fix error in 'make -C tools/ bpf_install'
    e023c648a764 tcp: call sk_wmem_schedule before sk_mem_charge in zerocopy path
    c0fea93d9f77 ipv6: tcp: drop silly ICMPv6 packet too big messages
    fe77b85828ca tcp: fix tcp_init_transfer() to not reset icsk_ca_initialized
    341dd0904d4f tcp: annotate data races around tp->mtu_info
    108727841c25 tcp: consistently disable header prediction for mptcp
    ed8c953ef967 ARM: dts: everest: Add phase corrections for eMMC
    cc02a1bd5b7b ARM: dts: tacoma: Add phase corrections for eMMC
    5cc4abeab14f ARM: dts: aspeed: Fix AST2600 machines line names
    6f6f8f894a55 vboxsf: Add support for the atomic_open directory-inode op
    53c4f60ed9dd vboxsf: Add vboxsf_[create|release]_sf_handle() helpers
    6e64fd2f677f vboxsf: Make vboxsf_dir_create() return the handle for the created file
    1f7cdb5def52 vboxsf: Honor excl flag to the dir-inode create op
    753b33d387ec kbuild: do not suppress Kconfig prompts for silent build
    19edcd97727a dma-buf/sync_file: Don't leak fences on merge failure
    bdfbb51f7a43 net: fddi: fix UAF in fza_probe
    d7243e2ab1c6 net: dsa: properly check for the bridge_leave methods in dsa_switch_bridge_leave()
    a915379594f1 net: validate lwtstate->data before returning from skb_tunnel_info()
    12917871d234 net: do not reuse skbuff allocated from skbuff_fclone_cache in the skb cache
    d731dcbcefd2 net: send SYNACK packet with accepted fwmark
    93efab0ef2a6 net: ti: fix UAF in tlan:remove_one
    8a225a6e07a5 net: qcom/emac: fix UAF in emac:remove
    aa92c87dc2d8 net: moxa: fix UAF in moxart_mac_probe
    db3177b7ff0e net: ip_tunnel: fix mtu calculation for ETHER tunnel devices
    02906fda9e7f net: bcmgenet: Ensure all TX/RX queues DMAs are disabled
    fd51ccd9c971 net: netdevsim: use xso.real_dev instead of xso.dev in callback functions of struct xfrmdev_ops
    c5e07e8c8ec8 net: marvell: always set skb_shared_info in mvneta_swbm_add_rx_fragment
    3863428b04be net: bridge: sync fdb to new unicast-filtering ports
    fda8adcbbc70 net/sched: act_ct: remove and free nf_table callbacks
    c3eb534eae09 vmxnet3: fix cksum offload issues for tunnels with non-default udp ports
    70a5a1950cca netfilter: nf_tables: Fix dereference of null pointer flow
    c6eb7ce9f11c net/sched: act_ct: fix err check for nf_conntrack_confirm
    a598091fc909 netfilter: ctnetlink: suspicious RCU usage in ctnetlink_dump_helpinfo
    f6eaa0620312 net: ipv6: fix return value of ip6_skb_dst_mtu
    231ea2169024 net: dsa: mv88e6xxx: enable SerDes PCS register dump via ethtool -d on Topaz
    c57e63264dfb net: dsa: mv88e6xxx: enable SerDes RX stats for Topaz
    8eef55a59620 net: dsa: mv88e6xxx: enable devlink ATU hash param for Topaz
    0104c68efb3e net: dsa: mv88e6xxx: enable .rmu_disable() on Topaz
    8263e5c08f46 net: dsa: mv88e6xxx: use correct .stats_set_histogram() on Topaz
    36d57bbdf93f net: dsa: mv88e6xxx: enable .port_set_policy() on Topaz
    c74ded51a37f net: bcmgenet: ensure EXT_ENERGY_DET_MASK is clear
    8c4f51b15196 f2fs: Show casefolding support only when supported
    ac1714556003 mm/userfaultfd: fix uffd-wp special cases for fork()
    fd26ee0a1a82 mm/thp: simplify copying of huge zero page pmd when fork
    b33e80b18a0a Revert "mm/shmem: fix shmem_swapin() race with swapoff"
    58d7ce3934ae Revert "swap: fix do_swap_page() race with swapoff"
    03c03b893661 arm64: dts: marvell: armada-37xx: move firmware node to generic dtsi file
    cffb7390312e firmware: turris-mox-rwtm: add marvell,armada-3700-rwtm-firmware compatible string
    ae3d181f4e91 cifs: prevent NULL deref in cifs_compose_mount_options()
    c007614e78a1 s390: introduce proper type handling call_on_stack() macro
    6ef3f584b593 s390/traps: do not test MONITOR CALL without CONFIG_BUG
    09f1a8d85ec1 thermal/core/thermal_of: Stop zone device before unregistering it
    505c12a1bd71 perf/x86/intel/uncore: Clean up error handling path of iio mapping
    06d6142e1421 sched/fair: Fix CFS bandwidth hrtimer expiry type
    8997002a88aa scsi: qedf: Add check to synchronize abort and flush
    8511293e643a scsi: libfc: Fix array index out of bound exception
    f661723909ad scsi: libsas: Add LUN number check in .slave_alloc callback
    9015de5e72d0 scsi: aic7xxx: Fix unintentional sign extension issue on left shift of u8
    1c033966a916 rtc: max77686: Do not enforce (incorrect) interrupt trigger type
    2a04a3607548 arch/arm64/boot/dts/marvell: fix NAND partitioning scheme
    26125ddc6904 kbuild: mkcompile_h: consider timestamp if KBUILD_BUILD_TIMESTAMP is set
    4a7f9e9b24b9 arm64: dts: qcom: sm8150: Disable Adreno and modem by default
    81c2374228cf arm64: dts: qcom: sm8250: Fix pcie2_lane unit address
    9e159edfefb1 thermal/drivers/sprd: Add missing of_node_put for loop iteration
    9a70f266994e thermal/drivers/imx_sc: Add missing of_node_put for loop iteration
    82ad14246066 thermal/drivers/rcar_gen3_thermal: Do not shadow rcar_gen3_ths_tj_1
    c3e1034bf7a2 thermal/core: Correct function name thermal_zone_device_unregister()
    bbb41aa6ee41 arm64: dts: imx8: conn: fix enet clock setting
    6d14b0e1cea1 arm64: dts: imx8mq: assign PCIe clocks
    646b6021ff2e arm64: dts: imx8mn-beacon-som: Assign PMIC clock
    5345699a5297 arm64: dts: ls208xa: remove bus-num from dspi node
    cef210690a7a arm64: dts: rockchip: Update RK3399 PCI host bridge window to 32-bit address memory
    ee3acd45dc45 firmware: tegra: bpmp: Fix Tegra234-only builds
    ad36bf954334 soc/tegra: fuse: Fix Tegra234-only builds
    7d9beefb89d0 ARM: OMAP2+: Block suspend for am3 and am4 if PM is not configured
    72ea603ebc7f arm64: dts: qcom: sc7180: Add wakeup delay for adau codec
    a38e8678f0ad ARM: dts: stm32: fix stpmic node for stm32mp1 boards
    6ea5c31a9ff6 ARM: dts: stm32: Rename spi-flash/mx66l51235l@N to flash@N on DHCOM SoM
    208d0b5c4fe8 ARM: dts: stm32: Rename eth@N to ethernet@N on DHCOM SoM
    5ba5ec23b95d ARM: dts: stm32: Drop unused linux,wakeup from touchscreen node on DHCOM SoM
    1ff4043818da ARM: dts: stm32: fix the Odyssey SoM eMMC VQMMC supply
    d3ad6193b11b ARM: dts: stm32: fix ltdc pinctrl on microdev2.0-of7
    45134048d407 ARM: dts: stm32: move stmmac axi config in ethernet node on stm32mp15
    c68df704e91f ARM: dts: stm32: fix i2c node name on stm32f746 to prevent warnings
    4d74e43113bc ARM: dts: rockchip: fix supply properties in io-domains nodes
    b6824bc92923 arm64: dts: juno: Update SCPI nodes as per the YAML schema
    6ddae8441dc2 i3c: master: svc: drop free_irq of devm_request_irq allocated irq
    81cc76202847 ARM: dts: bcm283x: Fix up GPIO LED node names
    97b95aa1abfc ARM: dts: bcm283x: Fix up MMC node names
    668f66189026 ARM: dts: aspeed: Everest: Fix cable card PCA chips
    9a92a6efb8e6 firmware: arm_scmi: Fix the build when CONFIG_MAILBOX is not selected
    b9e7b8c0b9ef firmware: arm_scmi: Add SMCCC discovery dependency in Kconfig
    8ec19b8b9c33 memory: tegra: Fix compilation warnings on 64bit platforms
    bf6e424135e3 ARM: dts: stm32: fix timer nodes on STM32 MCU to prevent warnings
    9e4183ab28b0 ARM: dts: stm32: fix RCC node name on stm32f429 MCU
    5d36882a85f7 ARM: dts: stm32: fix gpio-keys node on STM32 MCU boards
    2a735d7a8167 ARM: dts: stm32: fix stm32mp157c-odyssey card detect pin
    ea9312e7804e ARM: dts: stm32: Fix touchscreen node on dhcom-pdk2
    39fb433494c2 ARM: dts: stm32: Remove extra size-cells on dhcom-pdk2
    1dfe852260bd arm64: dts: qcom: sc7180: Move rmtfs memory region
    58e1d4a68cb5 arm64: dts: qcom: sm8250: fix display nodes
    638c3fc9774e arm64: dts: qcom: sm8350: fix the node unit addresses
    3df317941718 ARM: tegra: nexus7: Correct 3v3 regulator GPIO of PM269 variant
    94c054179d17 ARM: tegra: wm8903: Fix polarity of headphones-detection GPIO in device-trees
    cf48dfa5aa26 arm64: dts: ti: k3-am654x/j721e/j7200-common-proc-board: Fix MCU_RGMII1_TXC direction
    105f6beddcb8 arm64: tegra: Add PMU node for Tegra194
    7ac85c09d5be ARM: dts: OMAP2+: Replace underscores in sub-mailbox node names
    7752857c652f ARM: dts: am335x: fix ti,no-reset-on-init flag for gpios
    7bfbec1bf56f ARM: dts: am437x-gp-evm: fix ti,no-reset-on-init flag for gpios
    24df090958a3 ARM: dts: am57xx-cl-som-am57x: fix ti,no-reset-on-init flag for gpios
    1b45d9048ff4 kbuild: sink stdout from cmd for silent build
    3e079812f469 arm64: dts: renesas: beacon: Fix USB ref clock references
    27469bcc5b05 arm64: dts: renesas: beacon: Fix USB extal reference
    b5f38dc8381c rtc: mxc_v2: add missing MODULE_DEVICE_TABLE
    0c5b081a4d0a ARM: dts: ux500: Fix orientation of Janice accelerometer
    15cd8eb0c2e6 ARM: dts: imx6dl-riotboard: configure PHY clock and set proper EEE value
    4f0520fad7d8 ARM: dts: ux500: Fix some compatible strings
    b28ddd20572a ARM: dts: ux500: Fix orientation of accelerometer
    7f1d0da1cc41 ARM: dts: ux500: Rename gpio-controller node
    049ec888cd62 ARM: dts: ux500: Fix interrupt cells
    ea98b9eb6862 arm64: dts: rockchip: fix regulator-gpio states array
    9680f1e8f8b5 ARM: imx: pm-imx5: Fix references to imx5_cpu_suspend_info
    9b3161825b24 ARM: dts: imx6: phyFLEX: Fix UART hardware flow control
    f686c2ca9145 soc: mediatek: add missing MODULE_DEVICE_TABLE
    556e5beac048 soc: bcm: brcmstb: remove unused variable 'brcmstb_machine_match'
    3e3a7d2bf0d5 ARM: dts: BCM5301X: Fix pinmux subnodes names
    d8428468f91a ARM: dts: Hurricane 2: Fix NAND nodes names
    051500990321 ARM: dts: BCM63xx: Fix NAND nodes names
    c477ee9b6402 ARM: NSP: dts: fix NAND nodes names
    14a49e42f74c ARM: Cygnus: dts: fix NAND nodes names
    12e303c937a2 ARM: brcmstb: dts: fix NAND nodes names
    ca57a034e846 ARM: dts: BCM5301X: Fix NAND nodes names
    ea49b15d27f0 reset: ti-syscon: fix to_ti_syscon_reset_data macro
    ac00948749f1 arm64: dts: rockchip: Fix power-controller node names for rk3399
    e2cc3578a628 arm64: dts: rockchip: Fix power-controller node names for rk3328
    0ff2235f030a arm64: dts: rockchip: Fix power-controller node names for px30
    5ada42440f49 ARM: dts: rockchip: Fix power-controller node names for rk3288
    0151a90fc279 ARM: dts: rockchip: Fix power-controller node names for rk3188
    af5ca9f83fad ARM: dts: rockchip: Fix power-controller node names for rk3066a
    9015d0c9b072 ARM: dts: rockchip: Fix IOMMU nodes properties on rk322x
    991661f15817 ARM: dts: rockchip: Fix the timer clocks order
    670079df8659 arm64: dts: rockchip: fix pinctrl sleep nodename for rk3399.dtsi
    5980cb81f165 arm64: dts: rockchip: Use only supported PCIe link speed on rk3399
    68d1369daf96 ARM: dts: rockchip: fix pinctrl sleep nodename for rk3036-kylin and rk3288
    deacb07e91be ARM: dts: rockchip: Fix thermal sensor cells o rk322x
    f6e1fd15b3ee ARM: dts: gemini: add device_type on pci
    6f9ba39547e2 ARM: dts: gemini: rename mdio to the right name

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolinux-yocto/5.10: update to v5.10.53
Bruce Ashfield [Thu, 29 Jul 2021 04:49:58 +0000 (00:49 -0400)]
linux-yocto/5.10: update to v5.10.53

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

    71046eac2db9 Linux 5.10.53
    6cd9bd2a2ddb udp: annotate data races around unix_sk(sk)->gso_size
    bfdb38a4268a drm/panel: nt35510: Do not fail if DSI read fails
    0d90d8492fb9 perf test bpf: Free obj_buf
    a9f36bf3613c bpf: Track subprog poke descriptors correctly and fix use-after-free
    782d71e29b29 bpftool: Properly close va_list 'ap' by va_end() on error
    2381b8e882d0 tools: bpf: Fix error in 'make -C tools/ bpf_install'
    638632997c31 tcp: call sk_wmem_schedule before sk_mem_charge in zerocopy path
    2fee3cf4c97b ipv6: tcp: drop silly ICMPv6 packet too big messages
    ad4ba3404931 tcp: fix tcp_init_transfer() to not reset icsk_ca_initialized
    d60f07bcb76f tcp: annotate data races around tp->mtu_info
    ea66fcb29605 tcp: consistently disable header prediction for mptcp
    c28c747e37db ARM: dts: tacoma: Add phase corrections for eMMC
    e55160537d76 ARM: dts: aspeed: Fix AST2600 machines line names
    ff4b8f35c96c kbuild: do not suppress Kconfig prompts for silent build
    0d514185ae79 dma-buf/sync_file: Don't leak fences on merge failure
    f33605908a9b net: fddi: fix UAF in fza_probe
    66c73f187d1e net: dsa: properly check for the bridge_leave methods in dsa_switch_bridge_leave()
    7d7d0e84ac0d Revert "mm/shmem: fix shmem_swapin() race with swapoff"
    2179d96ec702 net: validate lwtstate->data before returning from skb_tunnel_info()
    b61d8814c477 net: send SYNACK packet with accepted fwmark
    f2a062fcfe1d net: ti: fix UAF in tlan:remove_one
    b560521eca03 net: qcom/emac: fix UAF in emac:remove
    dbbf5b957bd9 net: moxa: fix UAF in moxart_mac_probe
    88ff9ec9c67a net: ip_tunnel: fix mtu calculation for ETHER tunnel devices
    846829e75db5 net: bcmgenet: Ensure all TX/RX queues DMAs are disabled
    b9fa66072fee net: netdevsim: use xso.real_dev instead of xso.dev in callback functions of struct xfrmdev_ops
    59070cc43d1d net: bridge: sync fdb to new unicast-filtering ports
    7b5a2910e782 net/sched: act_ct: remove and free nf_table callbacks
    6d4476236f79 vmxnet3: fix cksum offload issues for tunnels with non-default udp ports
    c3bc9ce7d400 net/sched: act_ct: fix err check for nf_conntrack_confirm
    fc40fdefd94a netfilter: ctnetlink: suspicious RCU usage in ctnetlink_dump_helpinfo
    34365de50806 net: ipv6: fix return value of ip6_skb_dst_mtu
    73146745ff28 net: dsa: mv88e6xxx: enable devlink ATU hash param for Topaz
    a8c7ba368748 net: dsa: mv88e6xxx: enable .rmu_disable() on Topaz
    14cd8ce80ad7 net: dsa: mv88e6xxx: use correct .stats_set_histogram() on Topaz
    c657413dcddf net: dsa: mv88e6xxx: enable .port_set_policy() on Topaz
    fcb970edc0be net: bcmgenet: ensure EXT_ENERGY_DET_MASK is clear
    4e275a4aca68 usb: cdns3: Enable TDL_CHK only for OUT ep
    ce6ee46e0f39 mm/page_alloc: fix memory map initialization for descending nodes
    9e1cf2d1ed37 mm/userfaultfd: fix uffd-wp special cases for fork()
    84ff5f66c3f6 mm/thp: simplify copying of huge zero page pmd when fork
    a62177b35730 f2fs: Show casefolding support only when supported
    277b311ae170 Revert "swap: fix do_swap_page() race with swapoff"
    d92aa22f2419 arm64: dts: marvell: armada-37xx: move firmware node to generic dtsi file
    0e67c76384e9 firmware: turris-mox-rwtm: add marvell,armada-3700-rwtm-firmware compatible string
    e58c162789be cifs: prevent NULL deref in cifs_compose_mount_options()
    faa3e7da487a s390: introduce proper type handling call_on_stack() macro
    be10fff3a461 s390/traps: do not test MONITOR CALL without CONFIG_BUG
    9beba1469996 thermal/core/thermal_of: Stop zone device before unregistering it
    7412c988fe12 perf/x86/intel/uncore: Clean up error handling path of iio mapping
    892387e7619e sched/fair: Fix CFS bandwidth hrtimer expiry type
    eb859b043c2e scsi: qedf: Add check to synchronize abort and flush
    a4a54c54af25 scsi: libfc: Fix array index out of bound exception
    0d7596a954f1 scsi: libsas: Add LUN number check in .slave_alloc callback
    2f8df6332eb2 scsi: aic7xxx: Fix unintentional sign extension issue on left shift of u8
    cdb995a6cbb5 rtc: max77686: Do not enforce (incorrect) interrupt trigger type
    d3ba15fb0401 arch/arm64/boot/dts/marvell: fix NAND partitioning scheme
    e378db118925 kbuild: mkcompile_h: consider timestamp if KBUILD_BUILD_TIMESTAMP is set
    8c12a3a68d4f thermal/drivers/sprd: Add missing of_node_put for loop iteration
    20babcd83092 thermal/drivers/imx_sc: Add missing of_node_put for loop iteration
    469951ce4bb0 thermal/drivers/rcar_gen3_thermal: Do not shadow rcar_gen3_ths_tj_1
    bd40e2da3ae5 thermal/core: Correct function name thermal_zone_device_unregister()
    6c099d595fd7 arm64: dts: imx8mq: assign PCIe clocks
    24c41aa9d01b arm64: dts: ls208xa: remove bus-num from dspi node
    7e3f5739cccb firmware: tegra: bpmp: Fix Tegra234-only builds
    7c03982fa134 soc/tegra: fuse: Fix Tegra234-only builds
    ffa6f08be14a ARM: OMAP2+: Block suspend for am3 and am4 if PM is not configured
    f40a7c9b8ee1 ARM: dts: stm32: fix stpmic node for stm32mp1 boards
    2670d3d1ef47 ARM: dts: stm32: Rename spi-flash/mx66l51235l@N to flash@N on DHCOM SoM
    26cd441c529d ARM: dts: stm32: Drop unused linux,wakeup from touchscreen node on DHCOM SoM
    a5bc2a2d838e ARM: dts: stm32: fix the Odyssey SoM eMMC VQMMC supply
    e27052f21a2f ARM: dts: stm32: move stmmac axi config in ethernet node on stm32mp15
    6a7af6347810 ARM: dts: stm32: fix i2c node name on stm32f746 to prevent warnings
    160c92d728f3 ARM: dts: rockchip: fix supply properties in io-domains nodes
    d671fae04648 arm64: dts: juno: Update SCPI nodes as per the YAML schema
    fc71d8df5807 ARM: dts: bcm283x: Fix up GPIO LED node names
    4bc03e321f2a ARM: dts: bcm283x: Fix up MMC node names
    15d727c044d5 firmware: arm_scmi: Fix the build when CONFIG_MAILBOX is not selected
    b4009ea92f29 firmware: arm_scmi: Add SMCCC discovery dependency in Kconfig
    41e2bcca23f1 memory: tegra: Fix compilation warnings on 64bit platforms
    7ad965c8a723 ARM: dts: stm32: fix timer nodes on STM32 MCU to prevent warnings
    ccec32f77144 ARM: dts: stm32: fix RCC node name on stm32f429 MCU
    bfbc4b482078 ARM: dts: stm32: fix gpio-keys node on STM32 MCU boards
    34ec6702a2a1 ARM: dts: stm32: fix stm32mp157c-odyssey card detect pin
    44f4e344f4f0 ARM: dts: stm32: Fix touchscreen node on dhcom-pdk2
    3534a4b2d059 ARM: dts: stm32: Remove extra size-cells on dhcom-pdk2
    8da771b5527c arm64: dts: qcom: sc7180: Move rmtfs memory region
    a74d3bbe0553 ARM: tegra: nexus7: Correct 3v3 regulator GPIO of PM269 variant
    e89f4098d528 ARM: tegra: wm8903: Fix polarity of headphones-detection GPIO in device-trees
    c8815d6fee79 arm64: dts: ti: k3-am654x/j721e/j7200-common-proc-board: Fix MCU_RGMII1_TXC direction
    28d2ae98154e ARM: dts: OMAP2+: Replace underscores in sub-mailbox node names
    a73a22a69f6a ARM: dts: am335x: fix ti,no-reset-on-init flag for gpios
    ddf2d14894d0 ARM: dts: am437x-gp-evm: fix ti,no-reset-on-init flag for gpios
    a09b4c444941 ARM: dts: am57xx-cl-som-am57x: fix ti,no-reset-on-init flag for gpios
    3f0948569997 kbuild: sink stdout from cmd for silent build
    27582c9fa294 rtc: mxc_v2: add missing MODULE_DEVICE_TABLE
    6f5891a560df ARM: dts: imx6dl-riotboard: configure PHY clock and set proper EEE value
    5190a6604a10 ARM: dts: ux500: Fix orientation of accelerometer
    61fda04276bb ARM: dts: ux500: Rename gpio-controller node
    985947c53555 ARM: dts: ux500: Fix interrupt cells
    ff9ef21bb6fb arm64: dts: rockchip: fix regulator-gpio states array
    31e1b8c07d35 ARM: imx: pm-imx5: Fix references to imx5_cpu_suspend_info
    d05ebeffca1d ARM: dts: imx6: phyFLEX: Fix UART hardware flow control
    249d8e4ea168 ARM: dts: Hurricane 2: Fix NAND nodes names
    f6541401dbd6 ARM: dts: BCM63xx: Fix NAND nodes names
    b5fc6b9ab427 ARM: NSP: dts: fix NAND nodes names
    5f844007eb91 ARM: Cygnus: dts: fix NAND nodes names
    9525d58c5af8 ARM: brcmstb: dts: fix NAND nodes names
    4e8eb51ae633 reset: ti-syscon: fix to_ti_syscon_reset_data macro
    cabcb576fc3e arm64: dts: rockchip: Fix power-controller node names for rk3399
    81ea23d988f9 arm64: dts: rockchip: Fix power-controller node names for rk3328
    e4f97b740d6a arm64: dts: rockchip: Fix power-controller node names for px30
    95b64be2e741 ARM: dts: rockchip: Fix power-controller node names for rk3288
    5881af8d692b ARM: dts: rockchip: Fix power-controller node names for rk3188
    70abb828312a ARM: dts: rockchip: Fix power-controller node names for rk3066a
    fc01549d7b87 ARM: dts: rockchip: Fix IOMMU nodes properties on rk322x
    55014c38e73d ARM: dts: rockchip: Fix the timer clocks order
    2e1f681b680c arm64: dts: rockchip: fix pinctrl sleep nodename for rk3399.dtsi
    7d3408c72336 ARM: dts: rockchip: fix pinctrl sleep nodename for rk3036-kylin and rk3288
    e2d1e4416174 ARM: dts: rockchip: Fix thermal sensor cells o rk322x
    c8f0cef75dd7 ARM: dts: gemini: add device_type on pci
    191523dcfa68 ARM: dts: gemini: rename mdio to the right name

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoffmpeg: add libatomic for armv5
Trevor Woerner [Wed, 28 Jul 2021 12:29:14 +0000 (08:29 -0400)]
ffmpeg: add libatomic for armv5

The GNU Atomic library is a GCC support runtime library for atomic
operations not supported by hardware.

Otherwise we get the following when building:

| arm-oe-linux-gnueabi-gcc -mcpu=arm926ej-s -mfpu=vfp -mfloat-abi=hard -marm --sysroot=.../build/tmp-glibc/work/armv5ehf-vfp-oe-linux-gnueabi/ffmpeg/4.4-r0/recipe-sysroot -Llibavcodec -Llibavdevice -Llibavfilter -Llibavformat -Llibavresample -Llibavutil -Llibpostproc -Llibswscale -Llibswresample -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed  --sysroot=.../build/tmp-glibc/work/armv5ehf-vfp-oe-linux-gnueabi/ffmpeg/4.4-r0/recipe-sysroot -mcpu=arm926ej-s -Wl,--as-needed -Wl,-z,noexecstack -Wl,--warn-common -Wl,-rpath-link=:libpostproc:libswresample:libswscale:libavfilter:libavdevice:libavformat:libavcodec:libavutil:libavresample   -o ffprobe_g fftools/cmdutils.o fftools/ffprobe.o  -lavdevice -lavfilter -lavformat -lavcodec -lavresample -lswresample -lswscale -lavutil  -lm -lxcb -lxcb-shm -lxcb-shape -lxcb-xfixes -lasound -lXv -lX11 -lXext -pthread -lm -lm -lbz2 -lz -pthread -lm -llzma -lz -ltheoraenc -ltheoradec -logg -lm -lm -lm -pthread -lm -lXv -lX11 -lXext
| .../build/tmp-glibc/work/armv5ehf-vfp-oe-linux-gnueabi/ffmpeg/4.4-r0/recipe-sysroot-native/usr/bin/arm-oe-linux-gnueabi/../../libexec/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/11.1.1/ld: libavformat/libavformat.so: undefined reference to `__atomic_fetch_sub_8'
| .../build/tmp-glibc/work/armv5ehf-vfp-oe-linux-gnueabi/ffmpeg/4.4-r0/recipe-sysroot-native/usr/bin/arm-oe-linux-gnueabi/../../libexec/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/11.1.1/ld: libavformat/libavformat.so: undefined reference to `__atomic_store_8'
| .../build/tmp-glibc/work/armv5ehf-vfp-oe-linux-gnueabi/ffmpeg/4.4-r0/recipe-sysroot-native/usr/bin/arm-oe-linux-gnueabi/../../libexec/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/11.1.1/ld: libavformat/libavformat.so: undefined reference to `__atomic_load_8'
| .../build/tmp-glibc/work/armv5ehf-vfp-oe-linux-gnueabi/ffmpeg/4.4-r0/recipe-sysroot-native/usr/bin/arm-oe-linux-gnueabi/../../libexec/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/11.1.1/ld: libavformat/libavformat.so: undefined reference to `__atomic_fetch_add_8'
| collect2: error: ld returned 1 exit status

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agometa-skeleton: add recipe examples from documentation sources
Michael Opdenacker [Thu, 29 Jul 2021 13:34:51 +0000 (15:34 +0200)]
meta-skeleton: add recipe examples from documentation sources

This adds three examples previously located in the yocto-docs
repository (under documentation/ref-manual/examples).

The examples were not used for building the documentation
so it's better to keep them here where they can automatically be
tested.

Fixed the "hello-single" to add a version number to the .bb file.
After this, all examples build fine with the "master" branch of Poky.

Note that the "mtd-utils" example, and example of a recipe
for an Autotools page, was not copied over. It doesn't build any
more, and anyway, we already have an official recipe for a recent version
of "mtd-utils" in OE-core.

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agozstd: fix CVE_PRODUCT
Chen Qi [Thu, 29 Jul 2021 08:25:48 +0000 (01:25 -0700)]
zstd: fix CVE_PRODUCT

zstd uses 'zstandard' in NVD database. e.g. CVE-2021-24031

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agodiffoscope: upgrade 177 -> 178
wangmy [Thu, 29 Jul 2021 07:06:27 +0000 (15:06 +0800)]
diffoscope: upgrade 177 -> 178

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoi2c-tools: upgrade 4.2 -> 4.3
wangmy [Thu, 29 Jul 2021 07:06:28 +0000 (15:06 +0800)]
i2c-tools: upgrade 4.2 -> 4.3

4.3 (2021-07-22)
   decode-dimms: Attempt to decode LPDDR3 modules
   eeprom, eepromer: Removed the tools in favor of eeprog
   i2cdetect: Sort the bus list by number

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobind: upgrade 9.16.18 -> 9.16.19
wangmy [Thu, 29 Jul 2021 07:06:26 +0000 (15:06 +0800)]
bind: upgrade 9.16.18 -> 9.16.19

--- 9.16.19 released ---

5671. [bug] A race condition could occur where two threads were
competing for the same set of key file locks, leading to
a deadlock. This has been fixed. [GL #2786]

5670. [bug] create_keydata() created an invalid placeholder keydata
record upon a refresh failure, which prevented the
database of managed keys from subsequently being read
back. This has been fixed. [GL #2686]

5669. [func] KASP support was extended with the "check DS" feature.
Zones with "dnssec-policy" and "parental-agents"
configured now check for DS presence and can perform
automatic KSK rollovers. [GL #1126]

5668. [bug] Rescheduling a setnsec3param() task when a zone failed
to load on startup caused a hang on shutdown. This has
been fixed. [GL #2791]

5667. [bug] The configuration-checking code failed to account for
the inheritance rules of the "dnssec-policy" option.
This has been fixed. [GL #2780]

5666. [doc] The safe "edns-udp-size" value was tweaked to match the
probing value from BIND 9.16 for better compatibility.
[GL #2183]

5665. [bug] If nsupdate sends an SOA request and receives a REFUSED
response, it now fails over to the next available
server. [GL #2758]

5664. [func] For UDP messages larger than the path MTU, named now
sends an empty response with the TC (TrunCated) bit set.
In addition, setting the DF (Don't Fragment) flag on
outgoing UDP sockets was re-enabled. [GL #2790]

5662. [bug] Views with recursion disabled are now configured with a
default cache size of 2 MB unless "max-cache-size" is
explicitly set. This prevents cache RBT hash tables from
being needlessly preallocated for such views. [GL #2777]

5661. [bug] Change 5644 inadvertently introduced a deadlock: when
locking the key file mutex for each zone structure in a
different view, the "in-view" logic was not considered.
This has been fixed. [GL #2783]

5658. [bug] Increasing "max-cache-size" for a running named instance
(using "rndc reconfig") did not cause the hash tables
used by cache databases to be grown accordingly. This
has been fixed. [GL #2770]

5655. [bug] Signed, insecure delegation responses prepared by named
either lacked the necessary NSEC records or contained
duplicate NSEC records when both wildcard expansion and
CNAME chaining were required to prepare the response.
This has been fixed. [GL #2759]

5653. [bug] A bug that caused the NSEC3 salt to be changed on every
restart for zones using KASP has been fixed. [GL #2725]

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoshadow: update 4.8.1 -> 4.9
Alexander Kanavin [Fri, 30 Jul 2021 11:45:04 +0000 (13:45 +0200)]
shadow: update 4.8.1 -> 4.9

Add a couple backports to fix builds.

Drop 0002-Allow-for-setting-password-in-clear-text.patch;
what it adds is horribly insecure and AB testing didn't reveal any
regressions or use cases for it.

Drop /etc/default/ tweaks as files are no longer installed there.

Drop manpage alternatives as manpages are no longer installed.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoselftest: add core-image-weston to no-gpl3-no-meta-gpl2 image test
Alexander Kanavin [Fri, 30 Jul 2021 11:45:07 +0000 (13:45 +0200)]
selftest: add core-image-weston to no-gpl3-no-meta-gpl2 image test

This demonstrates more of the tricks and techniques that can be used
to achieve gpl3-free images withough having to roll back to ancient
versions of various core items via meta-gpl2.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agorpm: do not RRECOMMEND rpm-build
Alexander Kanavin [Fri, 30 Jul 2021 11:45:06 +0000 (13:45 +0200)]
rpm: do not RRECOMMEND rpm-build

This avoids pulling in perl, python and (especially) bash;
rpm building functionality should be neither hard nor soft
dependency of rpm package management.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agodevtool: print a warning on upgrades if PREFERRED_VERSION is set
Alexander Kanavin [Fri, 30 Jul 2021 11:45:05 +0000 (13:45 +0200)]
devtool: print a warning on upgrades if PREFERRED_VERSION is set

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agofreetype: update 2.10.4 -> 2.11.0
Alexander Kanavin [Fri, 30 Jul 2021 11:45:03 +0000 (13:45 +0200)]
freetype: update 2.10.4 -> 2.11.0

License-Update: formatting, changed location in source tree.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoiputils: update 20210202 -> 20210722
Alexander Kanavin [Fri, 30 Jul 2021 11:45:02 +0000 (13:45 +0200)]
iputils: update 20210202 -> 20210722

Drop rdisc part from 0001-rarpd-rdisc-Drop-PrivateUsers.patch
as it's been fixed upstream; rarpd still isn't.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoutil-linux: update 2.37 -> 2.37.1
Alexander Kanavin [Fri, 30 Jul 2021 11:45:01 +0000 (13:45 +0200)]
util-linux: update 2.37 -> 2.37.1

Drop backports.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agomtools: update 4.0.32 -> 4.0.34
Alexander Kanavin [Fri, 30 Jul 2021 11:45:00 +0000 (13:45 +0200)]
mtools: update 4.0.32 -> 4.0.34

Drop no-x11.gplv3.patch (the libraries are now
dynamically enabled from configure.in).

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agocmake: update 3.21.0 -> 3.21.1
Alexander Kanavin [Fri, 30 Jul 2021 11:44:59 +0000 (13:44 +0200)]
cmake: update 3.21.0 -> 3.21.1

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosanity.conf: Require bitbake 1.51.1
Richard Purdie [Fri, 30 Jul 2021 13:29:12 +0000 (14:29 +0100)]
sanity.conf: Require bitbake 1.51.1

We require 1.51.1 which has the override syntax changes in it.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolocal.conf.sample: Bump version so users update their config
Richard Purdie [Thu, 29 Jul 2021 22:36:55 +0000 (23:36 +0100)]
local.conf.sample: Bump version so users update their config

It has been a while since we've done this but with the new syntax, users
need to update their local.conf if based off the template. Update the
versions to trigger this.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agometa: Manual override fixes
Richard Purdie [Wed, 28 Jul 2021 13:27:33 +0000 (14:27 +0100)]
meta: Manual override fixes

The automated conversion of OE-Core to use the new override sytax isn't
perfect. This patches some mis-converted lines and some lines which were missed
by the automation.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoConvert to new override syntax
Richard Purdie [Wed, 28 Jul 2021 22:28:15 +0000 (23:28 +0100)]
Convert to new override syntax

This is the result of automated script conversion:

scripts/contrib/convert-overrides.py <oe-core directory>

converting the metadata to use ":" as the override character instead of "_".

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolayer.conf: Override changes mean we're only compatible with honister
Richard Purdie [Thu, 29 Jul 2021 21:44:34 +0000 (22:44 +0100)]
layer.conf: Override changes mean we're only compatible with honister

Due to the override changes, we only allow compatibility with honister and
not hardknott.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoconvert-overrides.py: allow specifying multiple target dirs
Martin Jansa [Fri, 30 Jul 2021 10:23:08 +0000 (12:23 +0200)]
convert-overrides.py: allow specifying multiple target dirs

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoconvert-overrides.py: 0.9.1 include '(' as delimiter for shortvars
Martin Jansa [Fri, 30 Jul 2021 10:23:07 +0000 (12:23 +0200)]
convert-overrides.py: 0.9.1 include '(' as delimiter for shortvars

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>