Compare commits

..

547 Commits

Author SHA1 Message Date
Richard Purdie
ea455ca867 build-appliance-image: Update to master head revision
(From OE-Core rev: 7ae12e4278e98c5b916a1067ae0b48c2da6e82cd)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-23 22:56:44 +00:00
Michael Opdenacker
c6483187f9 documentation/README minor improvements
- Minor style and spelling fixes
- Add some extra details; add missing external link macros
  and explain where they are defined
- Correct where documentation can be found on the
  Yocto Project website: the "Documentation" tab
  has been replaced by "Docs" (and it's later
  shown as uppercase ("DOCS") by the current CSS, but this
  may change one day.

(From yocto-docs rev: ed7b4f318c9ba6cf501f1e551c7a8eb4aaee1396)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-23 22:54:55 +00:00
Dorinda
6c9829385e dev-manual/common-task.rst: Added documentation for debuginfod support
Added documentation on running debuginfod server and using it on the target.
Added the term DEBUGINFOD_URLS definition in ref-manual/variables.rst

(From yocto-docs rev: a16ae140e26482c81ce733f20f8c68c6eba55f35)

Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-23 22:54:55 +00:00
Michael Opdenacker
2d80d02edb Update documentation URL
(From yocto-docs rev: dcedeaeb50d094d278e114928bfb63164aa7afb2)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-23 22:54:55 +00:00
Michael Opdenacker
a306baf850 Do not assume working from $HOME
In the "Yocto Project Quick Build" instructions
(https://docs.yoctoproject.org/brief-yoctoprojectqs/index.html#)
there is an inconsistency that impacts several documents...

People are first instructed to clone the poky git repository, but not
mentioning from which directory. Then, it's consistent to instruct
people to run "cd poky/".

However, later in the instructions, readers are instructed to run "cd
~/poky", which assumes that cloning poky was done from the home
directory. Many other places in the documentation make such an assumption.

This change fixes this, and makes no assumption on where people
have chosen to store their data, in particular where they cloned
the "poky" repository.

This also fixes a few whitespace issues.

(From yocto-docs rev: fd4e365c85df212d7ed70fc1abb3657a4a88b294)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-23 22:54:55 +00:00
Kevin Hao
5de939f61c meta-yocto-bsp: beaglebone: Set a fixed size for boot partition in WIC image
After the dosfstools has been updated to v4.2 by commit b522f24723
("dosfstools: update 4.1 -> 4.2"), the commit b29eb5be67e9 ("mkfs.fat:
Align total number of sectors to be multiple of sectors per track") in
v4.2 has caused a regression in beagebone black board. The reason is
that the real total sectors of the fat filesystem created by the mkdosfs
may not be the same size as what we requested due to align with the
sectors per track, this change seem no side effect to linux kernel,
but it breaks the beaglebone black boot ROM and make it can't load the
MLO. In order to fix this issue, we choose to set a fixed size for the
boot partition to make sure that the total sectors always are aligned
with the sectors per track.

[Yocto #14306]

(From meta-yocto rev: 0c679ac53b52e631a7c961872ce58f5cf74b8629)

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-23 22:52:09 +00:00
Wang Mingyu
e42870e233 openssh: Improve LICENSE to show BSD license variants.
Update LICENSE to show that BSD-2-Clause, BSD-3-Clause and BSD-4-Clause
are all present.

(From OE-Core rev: d17938953fc2524bc5f04db4409a47aa400e756a)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-23 22:51:26 +00:00
Wang Mingyu
644954038d openssh: upgrade 8.4p1 -> 8.5p1
0f90440ca70abab947acbd77795e9f130967956c.patch
removed since it is included in 8.5p1

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

(From OE-Core rev: 60ab470f8759539547a96f1b47299b7b16d6a630)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-23 22:51:25 +00:00
Bruce Ashfield
a1f8ee382f linux-yocto/5.10: update qemuriscv32 v5.10.23
The kernel SRCREV updates were missing riscv32, so stayed back on
5.10.21, which causes build issues as PV is out of sync with the
actual kernel version.

(From OE-Core rev: 31e94296eab06eaca2039bdc9771e49893088b27)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-23 22:51:25 +00:00
Bruce Ashfield
273aef2b5a linux-yocto-dev: bump to v5.12-rc
The -dev kernel has moved to v5.12, as it will be the latest avialable
in the upcoming release. core-image-kernel-dev sanity has passed for
the supported arches.

So we bump the version to match the active branches.

(From OE-Core rev: 51401e0180f4f27ac9b6c8149332d4021d393d0d)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-23 22:51:25 +00:00
Richard Purdie
d340067a21 site/elfutils/libunistring: Drop patching for iconv and set in site file
The standard macros from gettext for iconv include problematic tests which
we've been patching out adhoc. Stop doing this and set results in the site
files instead which is simpler, more maintainable and peforms better too
as an added bonus.

(From OE-Core rev: 5a3bfdc4af18302cf0e3ea5802fdfefaa7235657)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-23 22:51:25 +00:00
Khem Raj
5fdfa9e3cd valgrind: Fix ptests on ppc64 LE
Backport a patch to avoid lsw/lmw instructions

(From OE-Core rev: 834923cbf36d028da56208ad1e2a1b8623a88bd7)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-23 22:51:25 +00:00
Sakib Sajal
4b5a93d190 scripts: add oe-time-dd-test.sh
oe-time-dd-test records how much time it takes to
write <count> number of kilobytes to the filesystem.
It also records the number of processes that are in
running (R), uninterruptible sleep (D) and interruptible
sleep (S) state from the output of "top" command.
The purporse of this script is to find which part of
the build system puts stress on the filesystem io and
log all the processes.

(From OE-Core rev: 26d82f92e5ed2ebdde158d66b86eaf248f56892a)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-23 22:51:25 +00:00
Changqing Li
ab6fb347a6 go-helloworld: disable module-aware mode
>From go 1.16, module-aware mode is enabled by default, regardless of
whether a go.mod file is present in the current working directory or a
parent directory.

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

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

(From OE-Core rev: a0dc36d60809a0a937bbb02ec27ba768ef177063)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-23 22:51:25 +00:00
Scott Murray
33132ec146 u-boot: Fix CVE-2021-27097, CVE-2021-27138
Backport fixes for CVE-2021-27097 and CVE-2021-27138 as well as
a precursor fdt validation fix that allows using the upstream
patches for the CVEs without significant rebasing.  Note that
the additional upstream changes to add new U-Boot fit image tests
have been left out to keep the patch count down.  Those tests are
currently not used for ptest or oe-selftest, so it is believed
their absence should not be problematic.

(From OE-Core rev: b6c2df341d7e6da5defca9a5567fdb7212489efa)

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-23 22:51:25 +00:00
Jose Quaresma
f0d268181e gstreamer1.0-plugins-good: fix rtpjitterbuffer regression
Due to an off-by-one when parsing the string, the most significant digit
or the clock offset was skipped when parsing the offset.

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

(From OE-Core rev: ce51f42b87b154a5a12fb77fc9dd965ba59f2403)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-23 22:51:25 +00:00
Jose Quaresma
902bf6550c gstreamer1.0: upgrade 1.18.3 -> 1.18.4
(From OE-Core rev: 633739bc912cf84c78f5ae0f7fbcb41663a05c7f)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-23 22:51:25 +00:00
Anton D. Kachalov
c3ec66dfb5 run-postinsts: do not remove postinsts directory.
When running on the systems having read-only rootfs backed by overlayfs,
removing the whole directory lead to create a special char device file
on the upperdir to reflect directory's removal. Once it is required to
upgrade the whole read-only image that might contain new postinsts scripts,
it will be impossible to run such scripts with a "deletion mark" file
on the overlayfs -- the whole directory will be marked as deleted regardless
new files in it.

(From OE-Core rev: 1a27b62b225ffeecec47c249a0b86cc54d775add)

Signed-off-by: Anton D. Kachalov <gmouse@google.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-23 22:51:25 +00:00
Martin Jansa
84e4c97835 python3: fix PACKAGECONFIG handling
* it was changed from sysconf_dis to mods_disabled in:
  https://git.openembedded.org/openembedded-core/diff/meta/recipes-devtools/python/python3/0017-setup.py-do-not-report-missing-dependencies-for-disa.patch?id=7347556b18b45c5f9afc2cade565a75c95876914

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

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

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

(From OE-Core rev: fa5243693e35e1e0dc3247e2178f181051f68e77)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-23 22:51:25 +00:00
Khem Raj
9d00a01831 apt: Do not disable NLS
Add a patch to disable cmake po targets

(From OE-Core rev: 28ba2ddcf73400263ae8409f64190d5f109c44b8)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-23 22:51:25 +00:00
Khem Raj
ad43cc66d2 apt: Support old resolver as fallback
Not all C libraries implement the new resolver APIs e.g. musl, therefore
keep the old interfaces around and choose using __RES version macro
which is meant for this kind of work.

(From OE-Core rev: 7450cae1d886abe0d6c7b738a9001579c2b530e0)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-23 22:51:25 +00:00
Alexander Kanavin
94fa96262a apt: update 1.8.2.2 -> 2.2.2
Drop 0001-test-libapt-do-not-use-gtest-from-the-host.patch
(replaced by WITH_TESTS option).

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

Adjust build dependencies.

(From OE-Core rev: f0ede019c828249688e2b287b7845f4ebd2d6203)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-23 22:51:25 +00:00
Bruce Ashfield
3c48fe13f3 linux-yocto/5.10: cfg: fix ppc64 configuration warnings
Recent tweaks to the kern tools triggered some warnings that were
previously hidden.

With these two commits, ppc64 has a clean audit:

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

(From OE-Core rev: 2a5f2f2c9dbbad1cf79e28be79e4a8a06cc29bea)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-23 22:51:25 +00:00
Richard Purdie
5fa2455fbb sstate: Add documentation for eventhandlers and tweak naming
It isn't immediately obvious what these do, add some better examples
to document them. Also improve the naming for one of the handlers.
This will help make it clear in any tracebacks which code is being
used.

(From OE-Core rev: 2b5c553744804f44a17b61c345e482027e45b71e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-23 22:51:25 +00:00
Richard Purdie
75c2c03416 sstate: Remove stale objects before the main build
The split of util-linux-uuid out from util-linux caused some interesting
sstate file overlap errors on existing build directories. This is a
challenge to handle since util-linux depends on util-linux-uuid and has
overlapping files in package data and deploy/packages directories.
The util-linux build happens later and is what would clean up those files
but it happens too late for uuid.

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

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

(From OE-Core rev: 60e77b1777c6c304aa1d629c4cfdabe0daa22eb1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-23 22:51:25 +00:00
zhengruoqin
5372c7b54e stress-ng: upgrade 0.12.04 -> 0.12.05
(From OE-Core rev: e5f457cb81698a517a11df48131169b3a40105ce)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-23 22:51:25 +00:00
zhengruoqin
9f228661de liburi-perl: upgrade 1.74 -> 5.08
(From OE-Core rev: f582d6de3d3eb77c9f5d1bf5b6a8fa0c6c98515b)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-23 22:51:25 +00:00
Michael Opdenacker
62880ffb17 bitbake: doc: Update links to documentation
(Bitbake rev: ed8e1fd4cf9d5ac8a8203638add99d686b4b3521)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-23 22:51:25 +00:00
Richard Purdie
86ec266d91 bitbake: runqueue/event: Add an event for notifying of stale setscene tasks
Use the new functionality in build.py to identify stale setscene tasks
and send an event to the metadata listing them. The metadata then
has the option of performing cleanup operations if it thinks that
appropriate.

(Bitbake rev: ef8c980a3ae92c168b7ca16a4d19cd38a9574761)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-23 22:51:25 +00:00
Richard Purdie
ab55f8bfec bitbake: build: Add find_stale_stamps function
Add a new function which compares the stamp filename we want (including
taskhash) with what is in the stamp directory (using the clean mask).
This tells us which stamp files are stale and are due to be rerun.

(Bitbake rev: b126a53882d202e4df0f9661303355c9fe9ec80e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-23 22:51:25 +00:00
Robert P. J. Day
22931aec26 bitbake: doc: fix syntax error in layer.conf example
While this example really needs to be rewritten to not define multiple
patterns in the same layer.conf, as long as it's there, it might as
well be syntactically correct.

(Bitbake rev: 1c2d2875099a3ff9149710d42c679ab31b00f68b)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-22 18:10:06 +00:00
Robert P. J. Day
d4603d56c7 bitbake: doc: fix glossary link for BB_INVALIDCONF variable
(Bitbake rev: 4a4d55c41806815c32add32863a05351a6df30f7)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-22 18:10:06 +00:00
Robert P. J. Day
a29a37f0b0 bitbake: doc: mention that addtask handles multiple dependencies
Add a note explaining that "addtask" can accept multiple dependencies,
just in case someone runs across such an example and is confused.

(Bitbake rev: 5e4e9acd323b5ebc3a14c07384f6cf8f8a272066)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-22 18:10:06 +00:00
Robert P. J. Day
ecacf2e941 ref-manual: remove erroneous '\*' from variables list
Not sure what those leading '\*' are doing, but they're rendered
verbatim and mess up creating a linkable item.

(From yocto-docs rev: dd2e5ef733f056900cc4c9746a1e8c688cc61920)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-22 18:05:31 +00:00
Martin Jansa
64bd40886d packagegroup-core-weston.bb: add pam to REQUIRED_DISTRO_FEATURES
* weston, weston-init, weston-examples require pam
* fixes:
  ERROR: Nothing RPROVIDES 'weston-init' (but meta/recipes-graphics/packagegroups/packagegroup-core-weston.bb RDEPENDS on or otherwise requires it)
  weston-init was skipped: missing required distro feature 'pam' (not in DISTRO_FEATURES)
  NOTE: Runtime target 'weston-init' is unbuildable, removing...
  Missing or unbuildable dependency chain was: ['weston-init']
  ERROR: Nothing RPROVIDES 'packagegroup-core-weston' (but meta/recipes-graphics/packagegroups/packagegroup-core-weston.bb RDEPENDS on or otherwise requires it)
  No eligible RPROVIDERs exist for 'packagegroup-core-weston'
  NOTE: Runtime target 'packagegroup-core-weston' is unbuildable, removing...
  Missing or unbuildable dependency chain was: ['packagegroup-core-weston']
  ERROR: Nothing RPROVIDES 'weston-examples' (but meta/recipes-graphics/packagegroups/packagegroup-core-weston.bb RDEPENDS on or otherwise requires it)
  weston RPROVIDES weston-examples but was skipped: missing required distro feature 'pam' (not in DISTRO_FEATURES)
  NOTE: Runtime target 'weston-examples' is unbuildable, removing...
  Missing or unbuildable dependency chain was: ['weston-examples']
  ERROR: Nothing RPROVIDES 'weston' (but meta/recipes-graphics/packagegroups/packagegroup-core-weston.bb RDEPENDS on or otherwise requires it)
  weston was skipped: missing required distro feature 'pam' (not in DISTRO_FEATURES)
  NOTE: Runtime target 'weston' is unbuildable, removing...
  Missing or unbuildable dependency chain was: ['weston']

(From OE-Core rev: 27cb44e83b4bc63484bbea9988701e9d9b3f7142)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:57 +00:00
Bruce Ashfield
ea8f03e279 kernel-devsrc: fix on-target scripts/prepare for v5.12+
AR is now captured are part of the build environment. If we don't
subtitute our on-target variant for the cross version, we'll end
up getting a prompted configure when preparing to build modules.

(From OE-Core rev: 09bf40bf890a9d56c8365eb93a4baf467dc3308c)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:57 +00:00
Bruce Ashfield
0ffb5a8a49 lttng-modules: backport patches to fix build against 5.12+ kernel
There are four changes in addition to the 2.12.5 release that we
need to build against the 5.12 kernel. Rather than only rely on
people knowing to use devupstream support to build against newer
kernels, we backport the 4 patches while waiting for release.

(From OE-Core rev: 2d45c09bfbad969549c719654f72714324299f00)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:57 +00:00
Bruce Ashfield
b020c230c9 lttng-modules: update devupstream to 2.12.5+
When building against kernel v5.12-rc+, we need extra changes
on top of the 2.12.5 release. We can bump devupstream separately
from the main release to grab those changes.

(From OE-Core rev: a53ddaa3dc5c072f9fbc5df5075e6067c0d6cc11)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:57 +00:00
Bruce Ashfield
0064a7523d linux-yocto/5.10: cfg: features/numa: Remove NODES_SPAN_OTHER_NODES option
Integrating the following commit(s) to:

    f5babefa399 features/numa: Remove NODES_SPAN_OTHER_NODES option

(From OE-Core rev: d412ed47a6a04acb1c3325345c77de145bd9b00c)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:57 +00:00
Bruce Ashfield
da1b9fdda1 linux-yocto/5.10: update to v5.10.23
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

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

(From OE-Core rev: 6b61ff4f293ebfabafb80dff35cfc7c0513983b6)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:57 +00:00
Bruce Ashfield
b999c99de3 linux-yocto/5.4: update to v5.4.105
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

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

(From OE-Core rev: 589673d5cef12c98a95c83d47d30d6fc35463747)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:57 +00:00
Bruce Ashfield
6df0aad846 linux-yocto/5.10: fix SERIAL_OF_PLATFORM warning
Integrating the following commit(s) to linux-yocto.:

    a0249ac3bae cfg: classify CONFIG_SERIAL_OF_PLATFORM as non-hardware

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

(From OE-Core rev: c6f0962e5ea2403b95ecc2bc0bc3faa9d979ee57)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:57 +00:00
Richard Purdie
922332f58d layer.conf: Drop gatesgarth from the layer series names
The time has come to encourage people to update actively maintained
layers to use the new series name.

(From OE-Core rev: 737e3e608e64fc9ba67facc3dd2dd30497266f1e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:56 +00:00
Khem Raj
0163e6b8d0 gcc-sanitizers: Package up hwasan files
This is introduced in GCC-11

(From OE-Core rev: 3df4a25465e488ba7c17d0b358435fc1088c6dac)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:56 +00:00
Alexander Kanavin
9c30eb87e3 xxhash: import from meta-oe
This is needed for newer versions of apt.

(From OE-Core rev: fc0c7b68eda2d47ff7ec61f9f49137fb547d9d6b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:56 +00:00
Alexander Kanavin
56f0368524 automake: update 1.16.2 - > 1.16.3
Drop automake-replace-w-option-in-shebangs-with-modern-use-warnings.patch;
upstream has fixed the issue.

(From OE-Core rev: 88778afc693d824cc637011e91d4727f8e8c2de4)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:56 +00:00
Alexander Kanavin
d497d046f0 strace: update 5.10 -> 5.11
Drop disable-git-version-gen.patch as problem fixed upstream.

Add parallel builds to ptest compile.

strace-graph has been removed upstream.

Adjust ptest patch to match upstream changes.

License-Update: copyright years.

(From OE-Core rev: 09af1c98499c9919dc2ebf7eb11796d3d912a8a5)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:56 +00:00
Alexander Kanavin
b1deccbd49 libhandy: update 1.0.3 -> 1.2.0
(From OE-Core rev: 48fb4f03fec2085ca2e4745e0e40eaab6787e0f2)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:56 +00:00
Alexander Kanavin
64ddf97b34 asciidoc: update 9.0.4 -> 9.1.0
Dropped patch supserseded by https://github.com/asciidoc-py/asciidoc-py/pull/172

(From OE-Core rev: 4051cb4ac24c75494b26e1422e281196ae5c9e3b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:56 +00:00
Alexander Kanavin
e0f94da010 attr: update 2.4.48 -> 2.5.1
(From OE-Core rev: b3c4efe648805fc903be8a51a149c8a5a787e7e0)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:56 +00:00
Alexander Kanavin
99438a57a9 mesa: update 20.3.4 -> 21.0.0
0001-anv-fix-a-build-race-between-generating-a-header-and.patch
merged upstream.

osmesa is now a simple boolean option.

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

(From OE-Core rev: e4e4cc57a0a949400c557073af0cf78f977bd02d)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:56 +00:00
Alexander Kanavin
12aae17e43 spirv-tools: upgrade 2020.6 -> 2020.7
(From OE-Core rev: 6a9c8ec527b9a0d0e8d4cc071603a5748ffd7db4)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:56 +00:00
Alexander Kanavin
ea08b83d94 spirv-headers: update to latest revision
This is required by latest release of spirv-tools.

(From OE-Core rev: 0afd46a3d864a1e86f211636a318e9a749756071)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:56 +00:00
Alexander Kanavin
b771abc57a bind: upgrade 9.16.11 -> 9.16.12
Adjust library packaging (see link to commit in the recipe).

(From OE-Core rev: 4711c1f4fc003da594b2a230997012ad5dcc202f)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:56 +00:00
Naveen Saini
da9b0583de grub: upgrade 2.04 -> 2.06~rc1
2.06 RC1 release have a number of CVEs fixed:
CVE-2020-15705
CVE-2021-3418
CVE-2020-27749
CVE-2021-20233
CVE-2021-20225
CVE-2020-25647
CVE-2020-25632
CVE-2020-27779
CVE-2020-14372
CVE-2020-15707
CVE-2020-15706
CVE-2020-14309
CVE-2020-14310
CVE-2020-14311
CVE-2020-14308
CVE-2020-10713
CVE-2014-4607

Dropped backported patches.

(From OE-Core rev: 36a59d63619c2225fe48aa1d8fb1cdabedfffc03)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:56 +00:00
Richard Purdie
9825a860ee selftest/wic: Fix dependency issue in rawcopy test
The current test code contains a subtle race. It is building an ext4,
then trying to reuse that image in a wic build for the same recipe.
Whilst this happened to work, the code is within its rights to clean
up the output before the wic code runs.

Avoid this by using separate image targets instead.

(From OE-Core rev: 590398080e81fb5e2f81e12b8900858837dfe25f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:56 +00:00
Wang Mingyu
2cb12498f9 gcc: Update patch to only patch files once
This fixes an error in do_patch when using "PATCHTOOL = "patch""

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

(From OE-Core rev: f75a1eddc7c01d9a83d0a1114fc0d6aaa79d8806)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:56 +00:00
Li Wang
4b382a05dd linux-dummy: add empty dependent packages
some kernel includes kernel-image-image and kernel-devicetree packages.
these patckages are defined in kernel.bbclass
but, when use linux-dummy, these packages are not defined.
so, define them as empty packages for avoiding compile error:

ERROR: Nothing RPROVIDES 'kernel-devicetree'

(From OE-Core rev: 8dbae2dd5ac3de629957ca699f823f5438e80163)

Signed-off-by: Li Wang <li.wang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:56 +00:00
Jose Quaresma
8a59808e19 spirv-tools: cleanup an old patch that is not used anymore
(From OE-Core rev: 013df011f61830adcd9e89993ec19d6526c6fd83)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:56 +00:00
Jose Quaresma
e1b3e5d4f1 spirv-tools: python3 is need not only for the tests
commit acf109c1a1 remove the python3native
when disabling the tests but python is needed not only for the tests,
so re add it.

(From OE-Core rev: a8ab739e054375c0343a3449be335cdc92d0836c)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:56 +00:00
Dorinda Bassey
0bda83333e devshell.bbclass: Exceptions displayed within devpyshell
If you type something into devpyshell, an exception should be triggered,
but that exception isn't printed out because it is not being flushed out
of the buffer. This patch fixes that issue.

[YOCTO #12156]

(From OE-Core rev: 9f95e82a3b27bfd5177a855326dcad8a5bdf5b2d)

Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:56 +00:00
Wang Mingyu
fc21b6b885 vulkan-tools: upgrade 1.2.162.1 -> 1.2.170.0
(From OE-Core rev: 665841955f2b51f34d6493c8db3296333dc53fc4)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:56 +00:00
Wang Mingyu
255c92a4cf vulkan-loader: upgrade 1.2.162.0 -> 1.2.170.0
0001-Rename-LIB_SUFFIX-to-VULKAN_LIB_SUFFIX.patch
removed since it is included in 1.2.170.0

(From OE-Core rev: aff97c5263d7261150ecbda3bb0b5ff7a586146c)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:56 +00:00
Wang Mingyu
28fdf9c6c3 vulkan-headers: upgrade 1.2.162.0 -> 1.2.170.0
(From OE-Core rev: 1c365f7ed9e03d41d1339a1355439cd7a98627d2)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:56 +00:00
Ming Liu
959291c849 kernel-fitimage.bbclass: support both KERNEL_DEVICETREE/EXTERNAL_KERNEL_DEVICETREE
There are user cases that a developer wants to add both in-tree and
out-of-tree devicetrees to fitimage, and this is quite normal, for
instance, a developer might need the devicetrees from kernel source
meanwhile maintaining his/her own devicetree overlays to be applied
on top of them.

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

(From OE-Core rev: c461b245076be066512ac7b074020f6032056b8d)

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:56 +00:00
Alexander Kanavin
b24332906d libxcrypt: fix sporadic failures in nativesdk-libxcrypt-compat
(From OE-Core rev: ee1dca4ad342455c800b4ff38f375f5c40cfbdf6)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:56 +00:00
wangmy@fujitsu.com
43600886d7 systemd: upgrade 247.3 -> 247.4
refresh the following patches:
systemd/0001-systemd.pc.in-use-ROOTPREFIX-without-suffixed-slash.patch
systemd/0006-Include-netinet-if_ether.h.patch

(From OE-Core rev: 5db15aec00517e5b6f6585b534a2314c226841bf)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:56 +00:00
Petr Vorel
596ccd7cb8 scripts/verify-bashisms: Update checkbashisms.pl URL
anonscm.debian.org is not used any more, update the URL.

(From OE-Core rev: 3c89071a2c19a522c1df5919f500b88339ec6294)

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:56 +00:00
Adrian
991a49fb99 weston-init: Set $HOME variable for SysVinit manager
SysVinit sets by default the $HOME directory to "/" for the init scripts.
It's picked then by the weston-launcher and make weston-terminal to have
wrongly set $HOME environment variable for the root user.

(From OE-Core rev: f5ddf5533b19a41be9e9cd403c2e7ded6da6f272)

Signed-off-by: Adrian Fiergolski <adrian.fiergolski@fastree3d.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:56 +00:00
Wang Mingyu
7b9601d49c gptfdisk: upgrade 1.0.6 -> 1.0.7
(From OE-Core rev: 0333457e9c8bb89e4de81baeb1d706202bf4a236)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:56 +00:00
Douglas Royds
42c86799ce externalsrc: Detect code changes in submodules
Further to 50ff9afb39, only detect code changes in submodules that are
subdirectories of the EXTERNALSRC directory.

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

(From OE-Core rev: 4525310d49d115a37705f04ac5c03d639e5e8f8c)

Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:56 +00:00
Douglas Royds
887e56c1b2 cmake: Fully-qualified path to ar
We (correctly enough) pass in our AR to cmake via the toolchain file,
but unlike the other cross-compilation tools (CC, CXX, ranlib, etc),
cmake does not then do its own search in the PATH for our AR.

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

(From OE-Core rev: e9180c9575f0723b51915a0da58452511b6b03bf)

Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:56 +00:00
Lee Chee Yang
78f58a4769 cve-check: CVE_VERSION_SUFFIX to work with patched release
CVE_VERSION_SUFFIX in "patch" to treat version string with suffix "pX"
or "patchX" as patched release.

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

(From OE-Core rev: 8076815fc2ffc8f632e73527ce2b7d158a29e9ea)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:56 +00:00
Lee Chee Yang
f0347de268 cve-update-db-native: consider version suffix when update CVE db
some record from NVD can merge or split suffix from version, for
example:
  CVE-2017-15906
  "cpe23Uri" : "cpe:2.3🅰️openbsd:openssh:5.0:p1:*:*:*:*:*:*"
  "cpe23Uri" : "cpe:2.3🅰️openbsd:openssh:4.7p1:*:*:*:*:*:*:*"

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

(From OE-Core rev: 13cc68197f81bb7c76fa1abecc5dd720b8bdb8d5)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:56 +00:00
Wang Mingyu
299d456f05 msmtp: upgrade 1.8.14 -> 1.8.15
(From OE-Core rev: 93f0bf11ce2b950215a2de79a4ce928cd0b1b7b9)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:55 +00:00
Khem Raj
a0ee9118fc webkitgtk: enable strlen and stpcpy on musl/linux too
(From OE-Core rev: d8f210688c56c26012f44a0a8c3bc6c1fbb9b596)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:55 +00:00
Khem Raj
736086e7c0 webkitgtk: Add packageconfig to chose between size and speed
This packageconfig when selected will use -Os -DNDEBUG instead of -O2
-DNDEBUG, which should generate smaller binaries and libs but perhaps at
the expense of some runtime performance, defaults are kept as it is

size reduction when enabled

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

(From OE-Core rev: 086c7ef9f90bc4946b53a1373cca539701501384)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:55 +00:00
Khem Raj
c9dd83cd20 webkitgtk: Reduce stack and heap sizes for jsc on musl
Fixes

[YOCTO #14281]

(From OE-Core rev: 5be97052ecfd5cc510651dddeb1291183240d1f3)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Andrei Gherzan <andrei@gherzan.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:55 +00:00
zhengruoqin
3407f8566d sudo: upgrade 1.9.6 -> 1.9.6p1
(From OE-Core rev: 237411b48d639bd325a54d5a1c9168b776f485e1)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:55 +00:00
Awais Belal
bd72322c2a libsdl2: disable shared memory for native builds
libsdl2 currently does not handle the failures that
occur due to shared memory in case of remote hosts
where it should ideally switch to socket based writing
when a failure is seen with shared memory.
Consider a scenario where a qemu build is done with
graphics support on a build machine and then accessed
remotely using ssh. If the remote host's X presents
MIT-SHM as an extension, launching qemu fails with

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

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

(From OE-Core rev: d12306a6331238a25db52816ad74a775c026d7da)

Signed-off-by: Awais Belal <awais_belal@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:55 +00:00
Ross Burton
99c49bae5a base: respect downloadfilename when sniffing the SRC_URI for dependencies
(From OE-Core rev: 2881875da12ac8db3db67e4a45e511169e0e2820)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:55 +00:00
Richard Purdie
80a5009f2d selftest/reproducible: Drop ovmf exclusion
The hardcoded path issue was fixed, drop the exclusion.

(From OE-Core rev: 58e02c83dcf4d6c40c206a0371ef5d7f8db2b272)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:55 +00:00
Ross Burton
56c043a58d ovmf: make output binaries reproducible
OVMF is mostly reproducible, but the final .efi binaries have a 'NM10'
segment in that references the original input file, and this input file
has the build path in.

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

[ YOCTO #14264 ]

(From OE-Core rev: 8b4e5a3b8c3eabfbb94ab577529240b2e270efa7)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:55 +00:00
Michael Trensch
8693591a35 linux-firmware: Fix packaging
Upstream directory layout has changed after update in commit 3c2f8b750a, resulting in some package to pull in linux-firmware base package.
This may cause an image size increase of approximately 700MB.

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

(From OE-Core rev: cd273c611b03bd5972da8bf4accaba247f7c9c62)

Signed-off-by: Michael Trensch <mtrensch@hilscher.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:55 +00:00
Bartosz Golaszewski
9dd8f9aa67 python3: make pydoc rdepend on python3-io
pydoc needs tempfile (provided by python3-io) to work. Add python3-io
to its RDEPENDS.

(From OE-Core rev: dfd1264ed6a2d7ff48a5286134bb80b1898fc0ba)

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:55 +00:00
Luca Boccassi
a31f87a1ff util-linux: backport patch to skip build of unused objects
util-linux-uuid does not need libtcolors.a and libcommon.a but
they get build regardless. Backport a patch from upstream to
skip them and save some compilation time.

c65953d72b

(From OE-Core rev: 9353c4338acd51e1bc4172554fca018c4044829f)

Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:55 +00:00
Richard Purdie
3cda6c0bd1 sudo: upgrade 1.9.5p2 -> 1.9.6
(From OE-Core rev: ecb038f14c0b91280ba1532ad94a6ebc64c70644)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-16 17:52:21 +00:00
Richard Purdie
40cade73ad sqlite3: upgrade 3.34.1 -> 3.35.0
(From OE-Core rev: fd2263bb82fb8a3d0bf74d41777ff55ac14b9447)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-16 17:52:21 +00:00
Richard Purdie
6ba9e91663 lttng-modules: upgrade 2.12.4 -> 2.12.5
(From OE-Core rev: b6baf26d038300a6dc9a4d6f3b8a3e52e9ccf5d4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-16 17:52:21 +00:00
Richard Purdie
fb95176df9 lttng-tools: upgrade 2.12.2 -> 2.12.3
(From OE-Core rev: 8170e82ac528c57a891e92677e3a7a24aad5ba69)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-16 17:52:21 +00:00
Khem Raj
5e9a43a6ba libedit: upgrade 20191231-3.1 -> 20210216-3.1
(From OE-Core rev: 988d65657adba43098e57c39ea165c27ed0f7dfa)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-16 17:52:21 +00:00
Richard Purdie
906fd2800b meson: Work around determinism issue
The meson determinism issue is the same frozenset issue we encountered with
python itself. Remove the problematic pyc file until upstream work out the
best way to address the issue (as with core python).

(From OE-Core rev: ad00107dc02b3211f5d1a7fe889f538ee2bc064d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-16 17:52:21 +00:00
Dorinda Bassey
e1f2f51698 meta-selftest: Add HOMEPAGE / DESCRIPTION
Added HOMEPAGE and DESCRIPTION for recipes with missing
descriptions or homepage.

(From OE-Core rev: f36f176dc0316a79ae288c3b4f6c2eab366810dd)

Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-16 17:52:21 +00:00
Robert P. J. Day
7a348cdc3a bitbake: doc: move BBFILES_DYNAMIC for alphabetical order
Since BBFILES_DYNAMIC does not have a "BB_" prefix, it belongs further
down in the variable glossary.

(Bitbake rev: 493f291601c7680f8b8146f358c545fcb5f53cc9)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-15 21:47:42 +00:00
Tomasz Dziendzielski
a9098e6423 bitbake: codeparser: Fix TypeError in bitbake debug mode
Commit 75f87db413 fixed the confusion between bitbake and python logger
but in codeparser still old method of setting debug level was used
causing TypeError, because debug level value was incorrectly returned
and assigned to event.msg.
| File "./bitbake/lib/bb/ui/knotty.py", line 660, in main
|   event.msg = event.fn + ': ' + event.msg
| TypeError: can only concatenate str (not "int") to str

[YOCTO #14298]

(Bitbake rev: bec9ea7ab28a8dfad1a6010ca5c6ec691754748d)

Signed-off-by: Tomasz Dziendzielski <tomasz.dziendzielski@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-15 21:47:42 +00:00
Richard Purdie
9fbbf40317 build-appliance-image: Update to master head revision
(From OE-Core rev: fa1e1fbc082e82e41ccfeae58af97fe048c9aac7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-15 15:17:44 +00:00
Richard Purdie
44a74138b6 layer.conf: Add gatesgarth back for now to allow for transition
(From OE-Core rev: 60bb29725473497f57396ef32c6dc13b89b8a45d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-15 15:17:34 +00:00
Richard Purdie
bba241900c build-appliance-image: Update to master head revision
(From OE-Core rev: aeacc675fcf0cf02ad0bc8e247285638fd72023d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-15 14:59:59 +00:00
Richard Purdie
4ae1fce626 layer.conf: Update for hardknott release series
(From meta-yocto rev: f07f28224c9d3d1af5e7a63151da8ad4731fd1c5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-15 14:57:03 +00:00
Richard Purdie
15cb12188e layer.conf: Update for hardknott release series
(From OE-Core rev: d430bf39f2f2ecdf989b33f7405751844d783fc5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-15 14:57:03 +00:00
Alexander Kanavin
142fa3c5a0 procps: update 3.3.16 -> 3.3.17
(From OE-Core rev: a3f0ee1cff8c4fef82e82effcc9944a39caec7c6)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-15 14:49:51 +00:00
Robert Yang
b608cf6120 image.bbclass: deltask do_packagedata
This can fix a do_package error when compile with meta-secure-core layer:
http://layers.openembedded.org/layerindex/branch/master/layer/meta-secure-core/

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

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

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

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

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

(From OE-Core rev: 0eb95212a7e6b6bdc1243094072dea432cb48f0f)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-15 14:49:09 +00:00
Richard Purdie
e9aac299c7 scripts/contrib/list-packageconfig-flags: Upate for tinfoil API changes
Update after tinfoil API changes in bitake for REQUIRED_VERSION.

(From OE-Core rev: 1645c9b093bebf7ced67cbee0009d81d1a215966)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-15 14:49:09 +00:00
Charlie Davies
5ec16c88fc multilib_global: handle REQUIRED_VERSION
Add logic to multilib_global.bbclass to handle new REQUIRED_VERSION
variable.

Fixes [YOCTO #10096]

(From OE-Core rev: 05ba2df8e565589cf7b0b7cedcb96c7fdf97298b)

Signed-off-by: Charlie Davies <charles.davies@whitetree.xyz>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-15 14:49:09 +00:00
Randy MacLeod
27a7f3a35c zstd: upgrade 1.4.8 -> 1.4.9
Shave fuzz off the Makefile-sort-all-wildcard-file-list-expansions patch

CHANGELOG:

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

(From OE-Core rev: 305c954a1d8aaeda3240523e4705c1b06e2c8590)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-15 14:37:40 +00:00
Dorinda Bassey
a6932c2203 distrodata.py: Test to track recipes without HOMEPAGE or DESCRIPTION
This test is to keep track of recipes that do not have a HOMEPAGE or DESCRIPTION,
with exceptions to recipes whose SRC_URI are not linked to external sources.

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

[YOCTO #13471]

(From OE-Core rev: 5e0cfce7a126c194bfb7855952355c62eae3831a)

Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-15 14:37:40 +00:00
Khem Raj
028fcc2348 libunwind: Link with libucontext on musl
Functions like unw_getcontext in libunwind call getcontext() which are
not part of musl C library like glibc, however there is a supplimental
library providing these functions called libucontext, therefore link
libunwind with a static version of this library to resolve such symbols,
this inturn helps packages needing libunwind, who look for certain
APIs in libunwind during configure e.g. heaptrack

(From OE-Core rev: 824c07d1cf2d1574dfe8f395af37479064782426)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-15 14:37:40 +00:00
Khem Raj
603e14dc68 go-dep: Remove
go-dep was an effort for dependency management before go modules, which
since 2020 has been deprecated in favor of go modules. Since its not
developed any longer and go mdules is officially supported, this should
be retired from OE-core as well.

(From OE-Core rev: 1e7ed44d87034446f1d07692c9378c3b0a8a9dd3)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Otavio Salvador <otavio.salvador@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-15 14:37:40 +00:00
Khem Raj
8945d44952 go: Update to 1.16.2
This is bugfix release in 1.16 series [1]

[1] https://golang.org/doc/devel/release.html#go1.16.minor

(From OE-Core rev: 25627fb304bbd26d994f68e29fb18802144149b2)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-15 14:37:40 +00:00
Richard Purdie
ddacd8c66f bitbake: bblayers/query: Update to handle REQUIRED_VERSION
Ii is unclear whether any changes are needed to bblayers are
needed to handle the extra data from REQUIRED_VERSION. Update
to at match the new API, at present it doesn't look necessary
to handle the required version data.

(Bitbake rev: 53c30efec4099035d19e6717059dfceff8ff88fd)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-15 14:36:52 +00:00
Charlie Davies
cb3cbd8bb2 bitbake: bitbake: cooker: Add REQUIRED_VERSION checks
Add logic to check that if REQUIRED_VERSION has been set that the cooker
class method findBestProviders properly handles the case where the
REQUIRED_VERSION has not been found.

Fixes [YOCTO #10096]

(Bitbake rev: 5df201d746f26154213e6d15d2721cd35b38b59e)

Signed-off-by: Charlie Davies <charles.davies@whitetree.xyz>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-15 14:36:52 +00:00
Charlie Davies
889a7ce8de bitbake: bitbake: lib: add Required Version to Bitbake --show-versions command
This commit adds a new column to the Bitbake --show-versions command
called Required Version. This column will display any packages which
have a REQUIRED_VERSION successfully set.

Fixes [YOCTO #10096]

(Bitbake rev: 90c7d1815e41243323d32b9dbb865757a922578a)

Signed-off-by: Charlie Davies <charles.davies@whitetree.xyz>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-15 14:36:52 +00:00
Charlie Davies
78fcf6831a bitbake: bitbake: providers: check for REQUIRED_VERSION in _filterProviders
Before the REQUIRED_VERSION variable was introduced the
PREFERRED_VERSION variable allowed for a fallback to the next most
suitable version.

Since REQUIRED_VERSION does not allow a fallback to a different version
implement a check in the _filterProviders function to make sure that
if a requested REQUIRED_VERSION is not found then the function returns
no eligible providers have been found.

Fixes [YOCTO #10096]

(Bitbake rev: c41386b78aa53e0bf081cd973c950b88126670a7)

Signed-off-by: Charlie Davies <charles.davies@whitetree.xyz>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-15 14:36:51 +00:00
Charlie Davies
3752782cb7 bitbake: bitbake: providers: introduce logic for REQUIRED_VERSION variable
This commit adds checks during the findPreferredProvider function for a
new variable REQUIRED_VERSION. This can be set, in exactly the same
manner as PREFERRED_VERSION, on a per package basis to enforce the use
of a particular version of a package.

REQUIRED_VERSION is similar in behaviour to PREFERRED_VERSION except if
the version specified by REQUIRED_VERSION is not found an error occurs
and the execution of Bitbake stops.

Fixes [YOCTO #10096]

(Bitbake rev: 5cbf6d95fc1009e78e7d0745a49e0bf418b37abb)

Signed-off-by: Charlie Davies <charles.davies@whitetree.xyz>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-15 14:36:51 +00:00
Charlie Davies
70f90dcfd7 bitbake: bitbake: providers: consistent single line formatting between functions
(Bitbake rev: e8c74ac8e589ee44d862b71fd63dd75ab303d3b5)

Signed-off-by: Charlie Davies <charles.davies@whitetree.xyz>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-15 14:36:51 +00:00
Charlie Davies
04bb096170 bitbake: bitbake: providers: remove unneeded logging call
The logging line for when no eligible providers are found only adds
unnecessary noise and is not required. As the stack unwinds better
logging occurs which satisfactorily describes the no eligible providers
error condition.

(Bitbake rev: 933c9df919f7947f515d843199cce2621cf8195f)

Signed-off-by: Charlie Davies <charles.davies@whitetree.xyz>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-15 14:36:51 +00:00
Khem Raj
eec6406607 glib-2.0: Drop volatile qualifier
Fixes
glib/gatomic.h:112:5: error: argument 2 of '__atomic_load' discards 'volatile' qualifier [-Werror=incompatible-pointer-types]

(From OE-Core rev: 06ac55a06f2300fa5442ec73a28c3f52022cc640)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-14 16:33:59 +00:00
Khem Raj
8a74a7deca gcc: Package new module mapper tool
This is new tool in GCC 11 [1]

[1] https://gcc.gnu.org/onlinedocs/gcc/C_002b_002b-Module-Mapper.html

(From OE-Core rev: 91e1b8f84471fda3d5173a5ab2fe9458f9233007)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-14 16:33:59 +00:00
Robert P. J. Day
97edca5997 bitbake-whatchanged: change ending quote to proper period
Pretty sure that trailing quote should be a period; it
appears to work properly.

(From OE-Core rev: 579f9ada19bd174bff0002cd6a731d12a1868252)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-14 16:33:59 +00:00
Chen Qi
f00dfafbaf populate_sdk_ext: record METADATA_REVISION
As we delete the .git/ directory, it's impossible to get METADATA_REVISION
inside eSDK. Because of this, we meet the following warning when installing eSDK.

  WARNING: The base-files:do_install sig is computed to be 16b9d96148d45de183cc94667aae016ec7d102d48255456381e718cd4bbd0aa0, \
  but the sig is locked to 6eb0dcaed504282becee94662481d79264db920dee1f7deda18230133fff8f36 in SIGGEN_LOCKEDSIGS_t-qemux86-64

So we record METADATA_REVISION in eSDK generation time to fix this problem.

(From OE-Core rev: ff2ad51b801fd62e2abbc573ba2c9ee8fdc7e012)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-14 16:33:59 +00:00
Wang Mingyu
d34234c6e1 ovmf: upgrade 202011 -> 202102
0003-ovmf-enable-long-path-file.patch
removed since it is not available in 202102.

(From OE-Core rev: c364d64adcb8c7fdfe196186efa868381f8630e7)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-14 16:33:59 +00:00
Peter Kjellerstedt
28648ee17f license.bbclass: Improve parsing time when INCOMPATIBLE_LICENSES is big
The commit 08cbf1748 (licenses: Update INCOMPATIBLE_LICENSE for
'or-later' handling) increased the parsing time considerably if there
are many licenses in INCOMPATIBLE_LICENSE. Reorganize the code to get
almost all the time back.

(From OE-Core rev: dd2532279fb239e7f61396898a8aa44ee5104d1d)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-14 16:33:59 +00:00
Khem Raj
9952e546e1 libunwind: Do not assume libdir for ppc64
This ensures that build respects OE's choice for libdir

(From OE-Core rev: 715a3860f728d08b0a9575690049553c7b8dd65a)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-14 16:33:59 +00:00
Khem Raj
7beff2f942 libucontext: Recognize ppc64le architecture
(From OE-Core rev: 03dec80604ae363c31a5f2b68eb3efdba7c35f1a)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-14 16:33:59 +00:00
Alejandro Hernandez Samaniego
6f3b5a8e24 devtool: Fix do_kernel_configme task
The do_kernel_configme task is no longer part of SRCTREECOVEREDTASKS,
its been removed from the kernel-yocto.bbclass since b72dbb2e4, but
there wasnt a matching patch for devtool for those changes.

This patch enables us to invoke the do_kernel_configme task when
using a devtool workspace, it also prepends a check for an existing
.config file in the source directory and moves it if thats the case,
since when using devtool modify a .config is created and
do_kernel_configme complains about it, this is not the case when
using bitbake since the .config file would be on B instead.

Alowing do_kernel_configme to run also fixes the flow where testing a
new config fragment from devtool workspace isnt added properly
(config queue shows it as ///frg.cfg) and as a side effect it never
gets merged into the final config.

(From OE-Core rev: 08dcc0e68095dcf2a159546a48b29d40c9aabc0b)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alhe@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-14 16:33:59 +00:00
Khem Raj
9d3f6fe2d2 cmake.bbclass: Create cmake arch mapping for ppc64le
(From OE-Core rev: 698ece14e22d0efd9074493ef443b2cce5625d51)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-14 16:33:59 +00:00
Khem Raj
cfd71413e5 Enable qemu usermode on ppc64
d044743cdc4 disabled it, perhaps it did not work back in 2016

(From OE-Core rev: fb5408a2fe1c0519c74d378023b6b77aa8f3068a)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-14 16:33:59 +00:00
Alistair Francis
7aaa97c904 u-boot: Add support for building for qemuriscv32
(From OE-Core rev: a9666fbfe2dcb43fe9e8fd78e357eaacd99ca75e)

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-14 16:33:59 +00:00
Khem Raj
b19c8f0af0 perf: Remove libunwind for rv32
libunwind is not yet ported to RISCV32

(From OE-Core rev: 2cce2a296b4659a6c7e7f069e11f6f35957608d2)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-14 16:33:59 +00:00
Yanfei Xu
3f8d6c0637 glibc: fix pthread_cond_destroy hangs with process-shared mutex
This bug can cause pthread_cond_destroy hang with process-shared
mutex. And it is since glibc-2.32, will be fixed in glibc-2.34.

(From OE-Core rev: 7d9c50a12d1b47474536c214f44dc4ff72c54402)

Signed-off-by: Yanfei Xu <yanfei.xu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-14 16:33:59 +00:00
Khairul Rohaizzat Jamaluddin
a9d032345f glibc: Fix CVE-2021-27645
CVE:
CVE-2021-27645

(From OE-Core rev: 0d6b266c469a35628a3602590611d05ebbf4d562)

Signed-off-by: Khairul Rohaizzat Jamaluddin <khairul.rohaizzat.jamaluddin@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-14 16:33:59 +00:00
Martin Jansa
6a33b20b6a iso-codes: fix protocol in SRC_URI
* it doesn't listen on http and the redirect sometimes doesn't work

WARNING: iso-codes-4.6.0-r0 do_fetch: Failed to fetch URL git://salsa.debian.org/iso-codes-team/iso-codes.git;protocol=http;branch=main;, attempting MIRRORS if available

The protocol should be changed to https, like all other salsa.debian.org pulls are, so that it doesn't depend on mirrors.bbclass to resolve this.
meta/classes/mirrors.bbclass:git://salsa.debian.org/.*     git://salsa.debian.org/PATH;protocol=https \n \

from log.do_fetch:
DEBUG: Fetcher accessed the network with the command LANG=C git -c core.fsyncobjectfiles=0 fetch -f --progress http://salsa.debian.org/iso-codes-team/iso-codes.git refs/*:refs/*
fatal: unable to access 'http://salsa.debian.org/iso-codes-team/iso-codes.git/': Couldn't connect to server
WARNING: Failed to fetch URL git://salsa.debian.org/iso-codes-team/iso-codes.git;protocol=http;branch=main;, attempting MIRRORS if available
...
warning: redirecting to https://salsa.debian.org/iso-codes-team/iso-codes.git/

(From OE-Core rev: 749eeb8cfaa8ffcfda29f3f06a77debaf6304288)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-14 16:33:59 +00:00
Peter Kjellerstedt
cfd897e213 metadata_scm.bbclass: Use immediate expansion for the METADATA_* variables
Define METADATA_BRANCH and METADATA_REVISION using immediate expansion.
This avoids running `git rev-parse HEAD` multiple times during recipe
parsing.

(From OE-Core rev: 34e1841ec14c545c73fbe03a9f946d43d65ab326)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-14 16:33:59 +00:00
Peter Kjellerstedt
eff09fadaf uninative-tarball: Add a dependency on nativesdk-glibc-dbg
This adds the debug symbols for the binaries included in the uninative
tar ball. These are needed if one wants to run valgrind on a native
binary when uninative is used. Or get complete backtraces using gdb.

(From OE-Core rev: 13775feac21f0df50d4b3db19f6c79f10cf397f5)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-14 16:33:59 +00:00
Bruce Ashfield
6b624af071 reproducibile: remove perf from exclusions
We have fixes for perf reproducibility, so we can drop it from the
exclusion list.

(From OE-Core rev: 2989779fa244ec2c2c714c27f67753eefeeaf4af)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-14 16:33:59 +00:00
Paul Gortmaker
ffc36f351f bitbake: gitignore: ignore runqueue-tests/bitbake-cookerdaemon.log
(Bitbake rev: 2787c3dadbc94925aa1cba6c2e765ffa9f7a7c4a)

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-12 16:47:12 +00:00
Khem Raj
8157486c30 python3-setuptools: Upgrade 54.1.0 -> 54.1.1
Changes [1]
[1] d2ae3cd2cf

(From OE-Core rev: 8e515c643f0197b78f6c7d597dfabcda71f4e898)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-12 15:35:09 +00:00
Wang Mingyu
88c82eac7e jquery: upgrade 3.5.1 -> 3.6.0
License file updated:
Copyright changed from "JS Foundation" to "OpenJS Foundation"
Source code changed

(From OE-Core rev: 67289ad7c93628d7576670121909ccc0aee157ed)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-12 15:35:09 +00:00
Martin Jansa
473ba58c82 busybox-inittab: rename for PV to match with busybox's PV
(From OE-Core rev: 0c22fbc91655873f29cbedad6d55a7981482d257)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-12 15:35:09 +00:00
Martin Jansa
571c27ccb8 busybox: refresh the defconfig from 1.33.0
(From OE-Core rev: 4335cd240c30db677fdd1849eefe9ed3277681a8)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-12 15:35:09 +00:00
Luca Boccassi
d42487bf52 util-linux: split uuid in separate recipe to allow bootstrapping
Recently util-linux gained an (optional) build dependency on libcryptsetup.
But libcryptsetup build-depends on util-linux for blkid (optional, can be disabled)
and uuid (mandatory).
Split out util-linux-uuid in a different recipe to break the cycle.

https://github.com/karelzak/util-linux/pull/898

(From OE-Core rev: 5f204796e73f37ee67d0a86512ce3ab6f19f9ed0)

Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-12 15:35:08 +00:00
Bruce Ashfield
6bb1621815 perf: reproducibility fixes for pmu-events.c
perf generates pmu-events.c as part of the build process. The
code that generates the events is doing tree walks and potentially
other non-determinstic things.

We'd rather not mess with that implementation, so we add a script
that knows how to read the pmu-events.c, sort the entries and then
copy it over the generated one.

With this, we should always have events in the same order, improving
reproducibility.

(From OE-Core rev: 5281b2a6e16b6d24b66172b8269478356c0ce6c9)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-12 15:35:08 +00:00
Richard Purdie
cca5433baf bitbake: tests/color: Fix event register to pass the datastore
Adding the "if d is None" to the event handling code meant some of
these tests stopped working. The reason is that len(d) was zero but
not equal to None.

Passing the data object to the register() function in the test
correctly registers the event handler and avoids the problem, it
just happened to work previously, incorrectly.

(Bitbake rev: 426eb83c6668d82a2ebaca6c672db131e37c11da)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-12 15:28:57 +00:00
Richard Purdie
22d7989e8f bitbake: event: Fix another 'if d' test to test for None explictly
This should have been fixed in the previous patch, well spotted Chris!

(Bitbake rev: c3f6fee42bfa23f23f167cb29f0cfa05ac2fa197)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 21:38:32 +00:00
Alexander Kanavin
9dd5a3b671 bmap-tools: upgrade 3.5 -> 3.6
(From OE-Core rev: 69f8f3e21324223c8e68a34db156e4472acfba6d)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 15:25:57 +00:00
Khem Raj
87cf634ac3 spirv-tools: Replace strncpy with memcpy
Fixes warnings produced with gcc 11

(From OE-Core rev: 09cfa5ce1eca27c810d86680f89ab881533fb0a5)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 15:25:57 +00:00
Kai Kang
79ae401957 local.conf.sample.extended: sample value for SDK_PS1
Provides a sample default value for SDK_PS1 in
local.conf.sample.extended. It will look like:

poky-glibc-x86_64--cortexa57-qemuarm64-pokysdk:$

(From meta-yocto rev: ce0405745dc302efdb336870b591ed86d73eb304)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 15:24:13 +00:00
Kai Kang
80b522be12 toolchain-scripts.bbclass: customize prompt string for SDKs
Introduce a new variable SDK_PS1 to customize prompt string for SDKs
when source script environment-setup-script. If variable SDK_PS1 is not
set or empty, nothing changed. Otherwise new PS1 with the value of
SDK_PS1 is used after source the sdk environment file.

(From OE-Core rev: 81ed52f245c18c50e8df51fce1f62906cd4ddd05)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 15:24:13 +00:00
Bruce Ashfield
7e9ea9d807 yocto-bsp: update reference platforms to latest 5.10
Bumping our reference boards to match the latest in OE-core.  Not only
do we get the latest, we fix a configuration warning with genericx86.

(From meta-yocto rev: 8d04d39396cd209395f8aa2f530bd4cd53eac821)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 14:06:46 +00:00
Vivien Didelot
842f67608e beaglebone-yocto: allow other virtual/bootloader
The beaglebone-yocto machine currently hardcodes "u-boot" as a
dependency for the image and the wic format, and this prevents one
from choosing a different bootloader via:

    PREFERRED_PROVIDER_virtual/bootloader = "non-u-boot-bootloader"

Depending on "virtual/bootloader" instead of "u-boot" fixes this.

Cc: Denys Dmytriyenko <denis@denix.org>
(From meta-yocto rev: 4c4c8327645457a5d68762ff64b64d4b5845cd20)

Signed-off-by: Vivien Didelot <vdidelot@pbsc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 14:06:46 +00:00
Vivien Didelot
d9dba95943 poky: don't use space with +=
Bitbake variables are usually appended with one of:

    FOO_append = " bar"
    FOO += "bar"

While the space is mandatory in the "_append" variant, it doesn't
hurt in the "+=" variant, but it can be misleading.

Remove the space to avoid confusion.

(From meta-yocto rev: 66525f278143b7fe6082c8f5956cdff64b16ff58)

Signed-off-by: Vivien Didelot <vdidelot@pbsc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 14:06:46 +00:00
Vivien Didelot
2d3bbfcfba poky: fix typos
Fix fromw -> from typo in poky-world-exclude.inc,
and confiruration -> configuration in poky-tiny.conf.

(From meta-yocto rev: 70f767e9440452bf65dc5c295ae5e336d5622597)

Signed-off-by: Vivien Didelot <vdidelot@pbsc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 14:06:46 +00:00
Ulrich Ölmann
89661b6a22 local.conf.sample: fix typo
(From meta-yocto rev: 63323bc90e1fff9e2c94188db5d9fc4bb92e2649)

Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 14:06:46 +00:00
Alejandro Hernandez Samaniego
cab7cdc16e sanity.bbclass: Add az fetcher to accepted URI protocols for mirrors sanity
(From OE-Core rev: 1d19b16846a70b1180647e85f124e314002a4b83)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alhe@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 14:05:58 +00:00
Ulrich Ölmann
bbfe61892c common-tasks.rst: fix typo
(From yocto-docs rev: a66062216cccbe7350fdc3ee39544eeb515509ed)

Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 14:05:22 +00:00
Ulrich Ölmann
5ef20853ac common-tasks.rst: fix 'wic cp' command
(From yocto-docs rev: 4d5a184b2bf5e73c036b82984be1a2dc4c8688b5)

Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 14:05:22 +00:00
Alejandro Hernandez Samaniego
43a3ea41eb ref-manual: Add Az fetcher documentation
(From yocto-docs rev: c4ad59cdc2c7fde6ef4698e5f47282540d8f0d8a)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alhe@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 14:05:22 +00:00
Richard Purdie
b1a5b43735 bitbake: event: Fix multiconfig event handler change performance regressions
There were two issues in this code, firstly the code could stack duplicates
in the variable, secondly, calling "if data" caused the datastore to compute
len(data) which is comparitively expensive. Checking "if data is not None"
is much much faster/cheaper.

The issue was clear from "bitbake -p -P" output where the time in register()
showed large amounts of time in the __len__ function of the datastore.

(Bitbake rev: 9298d08b7dcf9d79f54536f87686d65c4ad7deb9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 14:04:45 +00:00
Manuel Leonhardt
e6ec2b4dcc bitbake: tinfoil: Honor quiet when parsing recipes
When using parse_recipes, honor quiet so that scripts and custom plugins
for recipetool are able to mute progress bars from bitbake that would
otherwise print to STDOUT.

(Bitbake rev: ab9d26c4847a062cadaae5fb8caac0ead5f958db)

Signed-off-by: Manuel Leonhardt <mleonhardt@arri.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 14:04:45 +00:00
Tomasz Dziendzielski
5386b3db50 bitbake: runqueue: Print pseudo.log if fakeroot task failed
Currently if pseudo fails we can only see the path to pseudo.log. If we
have no access to server and can only rely on bitbake log then debugging
becomes impossible. This printing needs to be added in runqueue level,
not inside task execution, because in some cases task fails with pseudo
abort really early and we don't even see any log.

In this change I'm adding pseudo log printing in every fakeroot task
failure that logged `mismatch`, `error` or `fatal` to logfile, because
we have no other way to communicate with pseudo if it failed or not.
Only lines from last pseudo server execution will be printed.

(Bitbake rev: e7c664a947903ed7b868abef62af2ff5f8ef0dc6)

Signed-off-by: Tomasz Dziendzielski <tomasz.dziendzielski@gmail.com>
Signed-off-by: Jan Brzezanski <jan.brzezanski@gmail.com>
Signed-off-by: Adrian Walag
Signed-off-by: Paulo Neves <ptsneves@gmail.com>
Signed-off-by: Mikolaj Lasota <mikolaj.lasota@protonmail.com>
Signed-off-by: Wiktor Baura <wbaura@gmail.com>
Signed-off-by: Kamil Kwiek <kamil.kwiek@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 14:04:45 +00:00
Chen Qi
d3a0f074bc bitbake: event.py: fix regression about INVALIDCONF
A previous commit uses __BBHANDLERS_MC to record all handlers, but
it does not take into consideration of INVALIDCONF, thus causing regression.

We need to record the name before returned AlreadyRegistered, otherwise, when
reparsing due to INVALIDCONF, bascially all handlers are not called.

(Bitbake rev: f6fb6f22fa6ba1ffe121948d7f53ac724358491e)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 14:04:45 +00:00
Alejandro Hernandez Samaniego
1d2fc389f9 bitbake: docs: Add AZ_SAS definition to glossary
(Bitbake rev: 134df841b273d94e767426876459da348d96dd23)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alhe@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 14:04:45 +00:00
Alejandro Hernandez Samaniego
3a60575cba bitbake: docs: Add Az fetcher documentation
(Bitbake rev: e3b480636a3c2716effd619b59cf55e11f9a6db0)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alhe@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 14:04:45 +00:00
Alejandro Hernandez Samaniego
0f84d24df8 bitbake: bitbake: Add Azure Storage fetcher implementation
Allows bitbake to fetch from an Azure Storage account.

        The fetcher submodule is compatible with the az:// URI protocol, its
        functionality is based on bitbakes wget fetcher, superior in performance
        to using a propietary tool like azcopy which can handle cloud storage
        account operations with more functionality (that we dont need in a fetcher)
	but less compatibility.

        A sample URI uses can be defined in the following way:
	SRC_URI = "az://<azure-storage-account>.blob.core.windows.net/<container>/foo.tar.xz"

        This fetcher can easily be used with PREMIRRORS and SSTATE_MIRRORS, e.g.:

        SSTATE_MIRRORS = "file://.* az://<azure-storage-account>.blob.core.windows.net/sstate-cache/PATH;downloadfilename=PATH \n"

        PREMIRRORS_prepend = "\
            git://.*/.* az://<azure-storage-account>.blob.core.windows.net/downloads/ \n \
            ftp://.*/.* az://<azure-storage-account>.blob.core.windows.net/downloads/ \n \
            http://.*/.* az://<azure-storage-account>.blob.core.windows.net/downloads/ \n \
            https://.*/.* az://<azure-storage-account>.blob.core.windows.net/downloads/ \n \
        "

        Can also be used with non-public access Azure Storage accounts/containers via a
        Shared Access Signature by declaring the AZ_SAS variable which will be
        automatically used by the fetcher:

        AZ_SAS="?sv=2000-01-01&ss=...&sig=somesignature"

(Bitbake rev: b103b02f2ce2f8f5079f17ec1a854f904c2110a4)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alhe@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 14:04:45 +00:00
Wang Mingyu
271caebdc0 iso-codes: upgrade 4.5.0 -> 4.6.0
(From OE-Core rev: 7639ffed1ab275ce6039ee90ea6c34019b451171)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 14:00:36 +00:00
Wang Mingyu
9c82d992dd help2man: upgrade 1.48.1 -> 1.48.2
(From OE-Core rev: ad4e023bb3b8863a6e04ba6fa33d396f977a5634)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 14:00:36 +00:00
Wang Mingyu
6f413e3f05 sysklogd: upgrade 2.2.1 -> 2.2.2
(From OE-Core rev: a7d7c1412bdeffd8cb179f12b47ac0fb60dc0b26)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 14:00:36 +00:00
Wang Mingyu
4720316219 python3-zipp: upgrade 3.4.0 -> 3.4.1
(From OE-Core rev: d34cc88cb72e8701b71a2a272daca2d755f66873)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 14:00:36 +00:00
Wang Mingyu
b5b730e35e python3-pygments: upgrade 2.8.0 -> 2.8.1
(From OE-Core rev: 27da7a57b087536cd6cc8b9529f739fa7875a162)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 14:00:36 +00:00
Jon Mason
fae414bb70 runqemu: modify novga to conform to documentation
Passing 'novga' only adds '-vga none' to the qemu commandline and does
not prevent other vga devices from being added, contrary to the
documentation/help.  Clean-up the vga logic and add the ability to
prevent other vga devices from being added.

(From OE-Core rev: 9f8d049dbbe0b1760979d9f3b745124abfc54c90)

Signed-off-by: Jon Mason <jon.mason@arm.com>
Change-Id: I7ff8f9f3e419ce8bae3f3847d75f9275ca30406a
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 14:00:36 +00:00
Jon Mason
16d1669ff9 runqemu: correct forcing of ttyS0
Some platforms do not use ttyS* for their serial consoles (e.g., qemuarm
and qemuarm64).  The hardcoding of this can cause issues.  Modify
runqemu to use the serial consoles defined in SERIAL_CONSOLES instead of
hardcoding.

(From OE-Core rev: 9dea4cd2f9f46ab3a75562639a22d8f56b4d26af)

Signed-off-by: Jon Mason <jon.mason@arm.com>
Change-Id: I746d56de5669c955c5e29d3ded70c0a4d3171f17
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 14:00:36 +00:00
Jon Mason
bd0ada8994 runqemu: add QB_GRAPHICS
Add a new runqemu field for VGA devices.  Currently, these are being set
in QB_OPT_APPEND, which can make them difficult to override if importing
the config file into another one.

(From OE-Core rev: 695c98b6522be4373806c154a2999eaeef205556)

Signed-off-by: Jon Mason <jon.mason@arm.com>
Change-Id: I8cb9527954c5b06c083c42fe2466cb3338584b7d
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 14:00:36 +00:00
Dorinda Bassey
f4adaac783 meta/recipes-devtools: Add HOMEPAGE / DESCRIPTION
Added missing HOMEPAGE and DESCRIPTION found using the test command
`oe-selftest -r distrodata.Distrodata.test_missing_homepg`

[YOCTO #13471]

(From OE-Core rev: 7290b773486da3888f848abf0dba747f2d9f42e1)

Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 14:00:36 +00:00
Dorinda
0a65c58c97 meta/recipes-graphics: Add HOMEPAGE / DESCRIPTION
Added missing HOMEPAGE and DESCRIPTION found using the test command
`oe-selftest -r distrodata.Distrodata.test_missing_homepg`

[YOCTO #13471]

(From OE-Core rev: 5ab087950ceaa960c29b0cad12aa716a50b50c34)

Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 14:00:36 +00:00
Dorinda
8995bbf0bb meta/recipes-multimedia: Add HOMEPAGE / DESCRIPTION
Added missing HOMEPAGE and DESCRIPTION found using the test command
`oe-selftest -r distrodata.Distrodata.test_missing_homepg`

[YOCTO #13471]

(From OE-Core rev: ab7a945f6e88db5cc2457823e2a6f942f30ab4e5)

Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 14:00:36 +00:00
Dorinda
45d10529b2 meta/recipes-kernel: Add HOMEPAGE / DESCRIPTION
Added missing HOMEPAGE and DESCRIPTION found using the test command
`oe-selftest -r distrodata.Distrodata.test_missing_homepg`

[YOCTO #13471]

(From OE-Core rev: 693988ec423341b930e93d604638826cccba9e37)

Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 14:00:36 +00:00
Dorinda
79e0b33248 meta/recipes-support: Add HOMEPAGE / DESCRIPTION
Added missing HOMEPAGE and DESCRIPTION found using the test command
`oe-selftest -r distrodata.Distrodata.test_missing_homepg`

[YOCTO #13471]

(From OE-Core rev: 325db7fea11315e8dd53274853f33b716247d1bf)

Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 14:00:36 +00:00
Randy MacLeod
7bf522c752 ffmpeg: upgrade 4.3.1 -> 4.3.2
Remove 2 patches that are included in the n4.3.2 tag.
The commits were cherry-picked back to the 4.3 branch so they
have different commit ids than in the patches:

6d886b6586 lavf/srt: fix build fail when used the libsrt 1.4.1
a53ffb15d8 avcodec/exr: Check ymin vs. h
4f0bdff292 avformat/vividas: improve extradata packing checks in track_header()

(From OE-Core rev: ffdce193f3ab5b8cb16979ee9ae29322b7294c38)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 14:00:36 +00:00
Bruce Ashfield
c6f7c7989b linux-yocto/qemuarmv5: fix configuration warning
Integrating the following commit(s) to linux-yocto:

    8c8f6a791be qemuarm: inhibit optimize for size

To fix the following warning:

    [NOTE]: 'CONFIG_CC_OPTIMIZE_FOR_SIZE' last val (y) and .config val (n) do not match
    [INFO]: CONFIG_CC_OPTIMIZE_FOR_SIZE : n ## .config: 159 :configs/v5.10/standard/ktypes/standard/standard.cfg (n) configs/v5.10/standard/arch/arm/arm.cfg (y)
    [INFO]: raw config text:
            config CC_OPTIMIZE_FOR_SIZE
        	    bool "Optimize for size (-Os)"
        	    depends on <choice>
        	    help
        	      Choosing this option will pass "-Os" to your compiler resulting
        	      in a smaller kernel.
            Config 'CC_OPTIMIZE_FOR_SIZE' has the following Direct dependencies (CC_OPTIMIZE_FOR_SIZE=y):
                    <choice>
            Parent dependencies are:
                 choice [y]

We explicitly enable optimize_for_performance in this BSP, but the
arch default is optimize_for_size. These are choice options in the
kernel, so they both can't be enabled.

Unless we tell the audit that we don't want optimize_for_size, it
will notice that fact, and warn that it is not set in the final .config.

[YOCTO #14285]

(From OE-Core rev: 07c09631d8ccb7701a3cf2d2b51c90d7ea8cfa37)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 14:00:36 +00:00
Bruce Ashfield
b7735e8090 linux-yocto/5.10: update to v5.10.21
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    012f78dadb71 Linux 5.10.21
    2064bba25ac5 net: sfp: add workaround for Realtek RTL8672 and RTL9601C chips
    113bcb8f65d4 net: sfp: VSOL V2801F / CarlitoxxPro CPGOS03-0490 v2.0 workaround
    d0fcadd6b9a3 ALSA: hda/realtek: Apply dual codec quirks for MSI Godlike X570 board
    6bba54d9baca ALSA: hda/realtek: Add quirk for Intel NUC 10
    cfb468241658 ALSA: hda/realtek: Add quirk for Clevo NH55RZQ
    5400770e31e8 media: v4l: ioctl: Fix memory leak in video_usercopy
    c7ff2d25bce3 tty: teach the n_tty ICANON case about the new "cookie continuations" too
    0c78bf9c55f1 tty: teach n_tty line discipline about the new "cookie continuations"
    e761cd8a7853 tty: clean up legacy leftovers from n_tty line discipline
    98480f5c7981 tty: fix up hung_up_tty_read() conversion
    ef67e445e962 tty: fix up iterate_tty_read() EOVERFLOW handling
    686fa5a0c647 powerpc/sstep: Fix incorrect return from analyze_instr()
    20d323c8cf57 powerpc/sstep: Check instruction validity against ISA version before emulation
    04b049ac9cb4 swap: fix swapfile read/write offset
    ba1230b49acb remoteproc/mediatek: Fix kernel test robot warning
    02f768edb9d3 zsmalloc: account the number of compacted pages correctly
    9c62adb6e2fd xen: fix p2m size in dom0 for disabled memory hotplug case
    fa00c0c826dd xen-netback: respect gnttab_map_refs()'s return value
    545c837d6789 Xen/gnttab: handle p2m update errors on a per-slot basis
    f40bbcb68131 scsi: iscsi: Verify lengths on passthrough PDUs
    76d92bf293c3 scsi: iscsi: Ensure sysfs attributes are limited to PAGE_SIZE
    c71edc5d2480 scsi: iscsi: Restrict sessions and handles to admin capabilities
    d8a380105699 ASoC: Intel: bytcr_rt5640: Add quirk for the Acer One S1002 tablet
    15c84277be64 ASoC: Intel: bytcr_rt5651: Add quirk for the Jumper EZpad 7 tablet
    078526cbf027 ASoC: Intel: bytcr_rt5640: Add quirk for the Voyo Winpad A15 tablet
    530d0426a9bc ASoC: Intel: bytcr_rt5640: Add quirk for the Estar Beauty HD MID 7316R tablet
    9a68fa0ebb28 sched/features: Fix hrtick reprogramming
    25ceaadccbce parisc: Bump 64-bit IRQ stack size to 64 KB
    5883a3bb309c ASoC: Intel: sof_sdw: detect DMIC number based on mach params
    18de10ef4805 ASoC: Intel: sof-sdw: indent and add quirks consistently
    7e7596ea1a46 perf/x86/kvm: Add Cascade Lake Xeon steppings to isolation_ucodes[]
    5aa2717b6b8d btrfs: fix error handling in commit_fs_roots
    e8ad7fac6938 ASoC: Intel: Add DMI quirk table to soc_intel_is_byt_cr()
    1fdde02e5f34 nvme-tcp: add clean action for failed reconnection
    7da81eaf8710 nvme-rdma: add clean action for failed reconnection
    74c4f7aed603 nvme-core: add cancel tagset helpers
    0d2d6857dbb9 f2fs: fix to set/clear I_LINKABLE under i_lock
    c86df2b84bea f2fs: handle unallocated section and zone on pinned/atgc
    cc52ed14f5ca media: uvcvideo: Allow entities with no pads
    4b73f01d5ebd drm/amd/amdgpu: add error handling to amdgpu_virt_read_pf2vf_data
    a986f9345467 drm/amd/display: Guard against NULL pointer deref when get_i2c_info fails
    3418abd7c66f ASoC: Intel: bytcr_rt5640: Add new BYT_RT5640_NO_SPEAKERS quirk-flag
    0b6383a9a80a PCI: Add a REBAR size quirk for Sapphire RX 5600 XT Pulse
    b9b1648ac947 drm/amdgpu: Add check to prevent IH overflow
    01fd84a436b5 fs: make unlazy_walk() error handling consistent
    ed51ffe96abc crypto: tcrypt - avoid signed overflow in byte count
    bb5e204b6b98 drm/hisilicon: Fix use-after-free
    2eb7eacf4e00 brcmfmac: Add DMI nvram filename quirk for Voyo winpad A15 tablet
    4649950f32e8 brcmfmac: Add DMI nvram filename quirk for Predia Basic tablet
    a1eda21a2cb1 staging: bcm2835-audio: Replace unsafe strcpy() with strscpy()
    0cac694c2c05 staging: most: sound: add sanity check for function argument
    15c56b8f2ce1 Bluetooth: Fix null pointer dereference in amp_read_loc_assoc_final_data
    05a524b97dd1 Bluetooth: Add new HCI_QUIRK_NO_SUSPEND_NOTIFIER quirk
    6c15e41dc4ac net: sfp: add mode quirk for GPON module Ubiquiti U-Fiber Instant
    0b5d22c770bf ath10k: fix wmi mgmt tx queue full due to race condition
    aee0cc0d7a34 pktgen: fix misuse of BUG_ON() in pktgen_thread_worker()
    aec571968140 mt76: mt7615: reset token when mac_reset happens
    b9afcdcddff6 Bluetooth: btusb: fix memory leak on suspend and resume
    baae70ce0bb7 Bluetooth: hci_h5: Set HCI_QUIRK_SIMULTANEOUS_DISCOVERY for btrtl
    2ce5e0a5480c wlcore: Fix command execute failure 19 for wl12xx
    136f009b2a1b vt/consolemap: do font sum unsigned
    e0c29b368ded x86/reboot: Add Zotac ZBOX CI327 nano PCI reboot quirk
    b3854d1550f0 staging: fwserial: Fix error handling in fwserial_create
    a03583775a5f EDAC/amd64: Do not load on family 0x15, model 0x13
    ef690e3f622b rsi: Move card interrupt handling to RX thread
    ec52458902b8 rsi: Fix TX EAPOL packet handling against iwlwifi AP
    b3186a3a0d89 ASoC: qcom: Remove useless debug print
    5c671e4a4c39 dt-bindings: net: btusb: DT fix s/interrupt-name/interrupt-names/
    33dbc6759de3 dt-bindings: ethernet-controller: fix fixed-link specification
    1fc205d9e400 net: fix dev_ifsioc_locked() race condition
    57b8c5bf2dd0 net: psample: Fix netlink skb length with tunnel info
    daea77234623 net: hsr: add support for EntryForgetTime
    a31cb3072d11 net: ag71xx: remove unnecessary MTU reservation
    10b55a0a7f4b net: dsa: tag_rtl4_a: Support also egress tags
    7b23cad0308a net/sched: cls_flower: Reject invalid ct_state flags rules
    b74206091e29 net: bridge: use switchdev for port flags set through sysfs too
    5ab779a68e37 mptcp: do not wakeup listener for MPJ subflows
    9adbc25b0e30 tcp: fix tcp_rmem documentation
    73a4bde5e580 RDMA/rtrs-srv: Do not signal REG_MR
    70123d9989df RDMA/rtrs-clt: Use bitmask to check sess->flags
    482157ed2060 RDMA/rtrs: Do not signal for heatbeat
    e335952d8645 mm/hugetlb.c: fix unnecessary address expansion of pmd sharing
    dc2b77642e5d nbd: handle device refs for DESTROY_ON_DISCONNECT properly
    bd9f7dc079f1 riscv: Get rid of MAX_EARLY_MAPPING_SIZE
    97ff09a7ed48 net: fix up truesize of cloned skb in skb_prepare_for_shift()
    e00420943aef tomoyo: ignore data race while checking quota
    fa5b65609256 smackfs: restrict bytes count in smackfs write functions
    23a523ef400d net/af_iucv: remove WARN_ONCE on malformed RX packets
    c57ba68e730c xfs: Fix assert failure in xfs_setattr_size()
    c55db99fd8c0 media: v4l2-ctrls.c: fix shift-out-of-bounds in std_validate
    5e0068a4fb10 erofs: fix shift-out-of-bounds of blkszbits
    1aeaa0ea7df5 media: mceusb: sanity check for prescaler value
    17a6e850e5fa udlfb: Fix memory leak in dlfb_usb_probe
    6816509065b9 sched/core: Allow try_invoke_on_locked_down_task() with irqs disabled
    40f6090d6ea0 JFS: more checks for invalid superblock
    b3d0f1c3a671 x86/build: Treat R_386_PLT32 relocation as R_386_PC32
    63d0afae74c4 drm/virtio: use kvmalloc for large allocations
    a4b0bfbe4b99 Input: elan_i2c - add new trackpoint report type 0x5F
    dde807b4a442 Input: elantech - fix protocol errors for some trackpoints in SMBus mode
    d00a97dddce6 net: usb: qmi_wwan: support ZTE P685M modem
    83be32b6c9e5 Linux 5.10.20
    b4f255432d0d ARM: dts: aspeed: Add LCLK to lpc-snoop
    a3b6f3a3758e net_sched: fix RTNL deadlock again caused by request_module()
    ea625e3415af net: qrtr: Fix memory leak in qrtr_tun_open
    bba8ef2e97b7 net: sched: fix police ext initialization
    2a3b38992f40 wireguard: queueing: get rid of per-peer ring buffers
    c7b1307fee19 wireguard: selftests: test multiple parallel streams
    ce4feb0111ac net: icmp: pass zeroed opts from icmp{,v6}_ndo_send before sending
    b60108e72f00 ipv6: silence compilation warning for non-IPV6 builds
    13e83186c91a kgdb: fix to kill breakpoints on initmem after boot
    c51f98210ac6 drm/i915: Reject 446-480MHz HDMI clock on GLK
    9bfb6d528467 dm era: only resize metadata in preresume
    a46ab7c3a411 dm era: Reinitialize bitset cache before digesting a new writeset
    f6dbf022f4fc dm era: Use correct value size in equality function of writeset tree
    fbb85ef8cd0c dm era: Fix bitset memory leaks
    ede89488369d dm era: Verify the data block size hasn't changed
    e6039db4f1f1 dm era: Update in-core bitset after committing the metadata
    d7131cc3f800 dm era: Recover committed writeset after crash
    0b2dbaa5db0a dm writecache: fix writing beyond end of underlying device when shrinking
    f88a70bfd5d0 dm writecache: return the exact table values that were set
    70faef983ab2 dm writecache: fix performance degradation in ssd mode
    72d17fa4ed11 dm table: fix zoned iterate_devices based device capability checks
    bc3f609db369 dm table: fix DAX iterate_devices based device capability checks
    bf95976f66db dm table: fix iterate_devices based device capability checks
    1f145073b196 dm: fix deadlock when swapping to encrypted device
    eb8128c5bb7f gfs2: Recursive gfs2_quota_hold in gfs2_iomap_end
    a646a3164b42 gfs2: Lock imbalance on error path in gfs2_recover_one
    42fd50035351 gfs2: Don't skip dlm unlock if glock has an lvb
    fc82ab4bb5d7 gfs2: fix glock confusion in function signal_our_withdraw
    2e3fb5234230 spi: spi-synquacer: fix set_cs handling
    1f8a8875936c spi: fsl: invert spisel_boot signal on MPC8309
    fdd97c456873 sparc32: fix a user-triggerable oops in clear_user()
    f98be1689889 f2fs: flush data when enabling checkpoint back
    04a495780f85 f2fs: enforce the immutable flag on open files
    e391239dcd17 f2fs: fix out-of-repair __setattr_copy()
    c41de6eae248 irqchip/loongson-pch-msi: Use bitmap_zalloc() to allocate bitmap
    833f5208b142 um: defer killing userspace on page table update failures
    63a069b81d40 um: mm: check more comprehensively for stub changes
    68a6199cf334 virtio/s390: implement virtio-ccw revision 2 correctly
    93c5029fb87b s390/vtime: fix inline assembly clobber list
    13fb0e1ecf7b proc: don't allow async path resolution of /proc/thread-self components
    b7cd9711a1e8 cpufreq: intel_pstate: Get per-CPU max freq via MSR_HWP_CAPABILITIES if available
    ace950888233 cpufreq: intel_pstate: Change intel_pstate_get_hwp_max() argument
    b49bee3fb5dc cpufreq: qcom-hw: drop devm_xxx() calls from init/exit hooks
    b3df1eac5a7a thermal: cpufreq_cooling: freq_qos_update_request() returns < 0 on error
    1ea36020950d kcmp: Support selection of SYS_kcmp without CHECKPOINT_RESTORE
    834c7ec6af44 zonefs: Fix file size of zones in full condition
    4e6e00704f9d exfat: fix shift-out-of-bounds in exfat_fill_super()
    eb9036b4cf4c printk: fix deadlock when kernel panic
    09cf8b46b58d mfd: gateworks-gsc: Fix interrupt type
    67e7c64b47c0 gpio: pcf857x: Fix missing first interrupt
    548d83e8b6dd mei: me: add adler lake point LP DID
    fd7fafa048a7 mei: me: add adler lake point S DID
    df000e9dc62a mei: me: emmitsburg workstation DID
    30e24dcab1a7 mei: fix transfer over dma with extended header
    4fb3523ba3e4 spmi: spmi-pmic-arb: Fix hw_irq overflow
    01b487b67c1c powerpc/32s: Add missing call to kuep_lock on syscall entry
    402d31bdcd56 powerpc/kexec_file: fix FDT size estimation for kdump kernel
    c0ec2029518d powerpc/32: Preserve cr1 in exception prolog stack check to fix build error
    e793c06f0c0d mmc: sdhci-pci-o2micro: Bug fix for SDR104 HW tuning failure
    a8997b99e8bc mmc: sdhci-esdhc-imx: fix kernel panic when remove module
    a51c34f2a5d8 module: Ignore _GLOBAL_OFFSET_TABLE_ when warning for undefined symbols
    11d14267de25 nvmem: qcom-spmi-sdam: Fix uninitialized pdev pointer
    da5b48ac720d KVM: nSVM: fix running nested guests when npt=0
    25b0eb2e33c9 mm, compaction: make fast_isolate_freepages() stay within zone
    54683f81c8b3 mm/vmscan: restore zone_reclaim_mode ABI
    32e970488f49 hugetlb: fix copy_huge_page_from_user contig page struct assumption
    65f6dc3616d6 hugetlb: fix update_and_free_page contig page struct assumption
    1b1a949b40dd mm: memcontrol: fix get_active_memcg return value
    90de36e7b109 mm: memcontrol: fix swap undercounting in cgroup2
    d2ac7ec47ffd x86: fix seq_file iteration for pat/memtype.c
    cf20d349ae8d seq_file: document how per-entry resources are managed.
    885a2d24c219 fs/affs: release old buffer head on error path
    df2d431a1ef3 mtd: spi-nor: hisi-sfc: Put child node np on error path
    68ef24e86cf7 mtd: spi-nor: core: Add erase size check for erase command initialization
    6d6c7e7e9258 mtd: spi-nor: core: Fix erase type discovery for overlaid region
    c27cf85cd931 mtd: spi-nor: sfdp: Fix wrong erase type bitmask for overlaid region
    c123b069bbb2 mtd: spi-nor: sfdp: Fix last erase region marking
    19009472156e coresight: etm4x: Handle accesses to TRCSTALLCTLR
    306b9513d3fd watchdog: mei_wdt: request stop on unregister
    053c4f838757 watchdog: qcom: Remove incorrect usage of QCOM_WDT_ENABLE_IRQ
    b74bf690dcf4 riscv: Disable KSAN_SANITIZE for vDSO
    0ead6914dce2 arm64: spectre: Prevent lockdep splat on v4 mitigation enable path
    18b9041e434f arm64 module: set plt* section addresses to 0x0
    d623d5cb3831 arm64: uprobe: Return EOPNOTSUPP for AARCH32 instruction probing
    fa1fbfb64458 arm64: kexec_file: fix memory leakage in create_dtb() when fdt_open_into() fails
    e9e98723c5e3 iommu/arm-smmu-qcom: Fix mask extraction for bootloader programmed SMRs
    32009c5d178e arm64: Extend workaround for erratum 1024718 to all versions of Cortex-A55
    c9b33f7cbe45 kprobes: Fix to delay the kprobes jump optimization
    e713bdd791ba rcu/nocb: Perform deferred wake up before last idle's need_resched() check
    20b7669fa3f0 rcu: Pull deferred rcuog wake up to rcu_eqs_enter() callers
    6f7e5b49f6c9 powerpc/prom: Fix "ibm,arch-vec-5-platform-support" scan
    be896eef0e32 x86/entry: Fix instrumentation annotation
    9488984c7d13 x86/fault: Fix AMD erratum #91 errata fixup for user code
    db44025963d9 x86/reboot: Force all cpus to exit VMX root if VMX is supported
    df52c4f4b40a x86/virt: Eat faults on VMXOFF in reboot flows
    2184f87e4944 media: smipcie: fix interrupt handling and IR timeout
    d5b1a7ef9c6e media: marvell-ccic: power up the device on mclk enable
    d0f6efac3c82 media: ipu3-cio2: Fix mbus_code processing in cio2_subdev_set_fmt()
    3a4c5d7261e1 media: ir_toy: add another IR Droid device
    0ba52e99d5ee media: i2c: max9286: fix access to unallocated memory
    ce5697ef57da floppy: reintroduce O_NDELAY fix
    9c9f49c06ea1 staging: rtl8188eu: Add Edimax EW-7811UN V2 to device table
    4934db348d5a staging: gdm724x: Fix DMA from stack
    848c87e8d826 staging/mt7621-dma: mtk-hsdma.c->hsdma-mt7621.c
    7e00b4c86a84 arm64: dts: agilex: fix phy interface bit shift for gmac1 and gmac2
    bcec1eea4121 dts64: mt7622: fix slow sd card access
    edadcf211ac0 pstore: Fix typo in compression option name
    53f6c858c496 drivers/misc/vmw_vmci: restrict too big queue size in qp_host_alloc_queue
    449488765c17 misc: rtsx: init of rts522a add OCP power off when no card is present
    428c4a4d0dc7 arm64: ptrace: Fix seccomp of traced syscall -1 (NO_SYSCALL)
    b506450ce3d9 seccomp: Add missing return in non-void function
    56a7c53c494c soc: samsung: exynos-asv: handle reading revision register error
    3a5daa8a5e9c soc: samsung: exynos-asv: don't defer early on not-supported SoCs
    70c4b76be44b crypto: sun4i-ss - initialize need_fallback
    985b609668d8 crypto: sun4i-ss - handle BigEndian for cipher
    19be286216dc crypto: sun4i-ss - IV register does not work on A10 and A13
    ca4460daf0c5 crypto: sun4i-ss - checking sg length is not sufficient
    84c93e8897bb crypto: michael_mic - fix broken misalignment handling
    6e3b6710ea2e crypto: aesni - prevent misaligned buffers on the stack
    e2c540e18140 crypto: arm64/sha - add missing module aliases
    1f8586fb4ef1 drm/i915/gt: Correct surface base address for renderclear
    6bb73b704de4 drm/i915/gt: Flush before changing register state
    de3ea5be511a btrfs: fix extent buffer leak on failure to copy root
    9a739917ef2d btrfs: account for new extents being deleted in total_bytes_pinned
    7ec1536e800b btrfs: handle space_info::total_bytes_pinned inside the delayed ref itself
    acaeedb193a5 btrfs: splice remaining dirty_bg's onto the transaction dirty bg list
    c717ca57a405 btrfs: fix reloc root leak with 0 ref reloc roots on recovery
    4d3edf72d6b5 btrfs: abort the transaction if we fail to inc ref in btrfs_copy_root
    a1a5cc25489a btrfs: add asserts for deleting backref cache nodes
    52f93e5ee700 btrfs: do not warn if we can't find the reloc root when looking up backref
    02785bae77ca btrfs: do not cleanup upper nodes in btrfs_backref_cleanup_node
    67118bb78d72 KEYS: trusted: Reserve TPM for seal and unseal operations
    54c527c18e7f KEYS: trusted: Fix migratable=1 failing
    9d83cc1a1e7f KEYS: trusted: Fix incorrect handling of tpm_get_random()
    d65aef25464f tpm_tis: Clean up locality release
    a1710b067ec9 tpm_tis: Fix check_locality for correct locality acquisition
    03c9bf033c7b erofs: initialized fields can only be observed after bit is set
    2fe92153013c selinux: fix inconsistency between inode_getxattr and inode_listsecurity
    cae75116662f ASoC: siu: Fix build error by a wrong const prefix
    dab6fbf2b30b drm/rockchip: Require the YTR modifier for AFBC
    7397365737fd drm/panel: kd35t133: allow using non-continuous dsi clock
    a7cf5e49229b drm/sched: Cancel and flush all outstanding jobs before finish.
    bdbee7d7fd95 drm/modes: Switch to 64bit maths to avoid integer overflow
    565eca5a9aa9 drm/nouveau/kms: handle mDP connectors
    926532686863 drm/amdgpu: Set reference clock to 100Mhz on Renoir (v2)
    a81bb9031a75 drm/amdkfd: Fix recursive lock warnings
    c4fe9c525ec5 drm/amd/display: Add vupdate_no_lock interrupts for DCN2.1
    22f2bf0892f7 drm/amd/display: Remove Assert from dcn10_get_dig_frontend
    9d0da9afeb28 drm/amd/display: Add FPU wrappers to dcn21_validate_bandwidth()
    49b1b5b10009 Revert "drm/amd/display: Update NV1x SR latency values"
    695185fce229 bcache: Move journal work to new flush wq
    f5ee9638a6db bcache: Give btree_io_wq correct semantics again
    25ca325743a5 Revert "bcache: Kill btree_io_wq"
    50af0b3848b7 Revert "MIPS: Octeon: Remove special handling of CONFIG_MIPS_ELF_APPENDED_DTB=y"
    3f3614b4dd27 MIPS: VDSO: Use CLANG_FLAGS instead of filtering out '--target='
    3896c324bb25 MIPS: Support binutils configured with --enable-mips-fix-loongson3-llsc=yes
    a799741acdb6 MIPS: Ingenic: Disable HPTLB for D0 XBurst CPUs too
    1365914e020f ALSA: hda/realtek: Quirk for HP Spectre x360 14 amp setup
    5c8561ae3ef3 ALSA: hda/realtek: modify EAPD in the ALC886
    0a7efa3fd7a1 ALSA: hda/hdmi: Drop bogus check at closing a stream
    a9fe4ab42cbd ALSA: hda: Add another CometLake-H PCI ID
    1312a7b68689 ALSA: fireface: fix to parse sync status register of latter protocol
    caefa1473847 phy: lantiq: rcu-usb2: wait after clock enable
    b927c4f2a1b3 USB: serial: mos7720: fix error code in mos7720_write()
    bcac85cabaf7 USB: serial: mos7840: fix error code in mos7840_write()
    11fd58946e03 USB: serial: pl2303: fix line-speed handling on newer chips
    b006da9e3efd USB: serial: ftdi_sio: fix FTX sub-integer prescaler
    5b4cd9678762 usb: dwc3: gadget: Fix dep->interval for fullspeed interrupt
    6b78b380db60 usb: dwc3: gadget: Fix setting of DEPCFG.bInterval_m1
    1cf76e4ca610 usb: musb: Fix runtime PM race in musb_queue_resume_work
    a82ba907a83d USB: serial: option: update interface mapping for ZTE P685M
    0fe6ea18f2bb media: mceusb: Fix potential out-of-bounds shift
    960652adc54a Input: i8042 - add ASUS Zenbook Flip to noselftest list
    deced3e2aea9 Input: joydev - prevent potential read overflow in ioctl
    18fca2909171 Input: xpad - add support for PowerA Enhanced Wired Controller for Xbox Series X|S
    0af89539c9e5 Input: raydium_ts_i2c - do not send zero length
    923a82a6bc93 HID: wacom: Ignore attempts to overwrite the touch_max value from HID
    eb6a537479b4 HID: logitech-dj: add support for keyboard events in eQUAD step 4 Gaming
    0a5fcc0a21fb cpufreq: ACPI: Set cpuinfo.max_freq directly if max boost is known
    ff9dd5223b62 ACPI: configfs: add missing check after configfs_register_default_group()
    6470cc6519ff ACPI: property: Fix fwnode string properties matching
    d7b804b9404e soundwire: intel: fix possible crash when no device is detected
    556c513e6bac blk-settings: align max_sectors on "logical_block_size" boundary
    3c88c1b76280 scsi: sd: Fix Opal support
    a4907c75b568 ide/falconide: Fix module unload
    cc88a819a14c block: reopen the device in blkdev_reread_part
    f1cf46115afa scsi: sd: sd_zbc: Don't pass GFP_NOIO to kvcalloc
    5fa5d9e34b7f scsi: bnx2fc: Fix Kconfig warning & CNIC build errors
    02309dd33737 csky: Fix a size determination in gpr_get()
    b7925acd8292 proc: use kvzalloc for our kernel buffer
    d45f943ef84b mm/rmap: fix potential pte_unmap on an not mapped pte
    dc495b59ff4c mm: fix memory_failure() handling of dax-namespace metadata
    a7fbcb3b560a mm,thp,shmem: make khugepaged obey tmpfs mount flags
    b0501bee4b65 i2c: exynos5: Preserve high speed master code
    d49d76395903 i2c: brcmstb: Fix brcmstd_send_i2c_cmd condition
    b138d65ccec4 arm64: Add missing ISB after invalidating TLB in __primary_switch
    db08c3636d91 KVM: x86/mmu: Expand collapsible SPTE zap for TDP MMU to ZONE_DEVICE and HugeTLB pages
    f1ea1bee3573 KVM: SVM: Intercept INVPCID when it's disabled to inject #UD
    9468ab8a2718 NFSv4: Fixes for nfs4_bitmask_adjust()
    8d1d23a84726 r8169: fix jumbo packet handling on RTL8168e
    2d95ad18df6f mm/compaction: fix misbehaviors of fast_find_migrateblock()
    c9ea7719a4af mm/hugetlb: suppress wrong warning info when alloc gigantic page
    89b2dbd807b1 mm/hugetlb: fix potential double free in hugetlb_register_node() error path
    6c074ae0a482 mm/memory.c: fix potential pte_unmap_unlock pte error
    cbb86d6a5db9 mm: memcontrol: fix slub memory accounting
    026e07bc0abc mm: memcontrol: fix NR_ANON_THPS accounting in charge moving
    b761fd28218e ocfs2: fix a use after free on error
    d0b3159fca6e wireguard: kconfig: use arm chacha even with no neon
    2a33f6fb9206 wireguard: device: do not generate ICMP for non-IP packets
    3bbb8573ceb1 vxlan: move debug check after netdev unregister
    9cf2b21aa937 PCI: rockchip: Make 'ep-gpios' DT property optional
    1c0058472166 net/mlx4_core: Add missed mlx4_free_cmd_mailbox()
    ba817c176608 net: stmmac: fix CBS idleslope and sendslope calculation
    dd2d203f02ff ice: update the number of available RSS queues
    70bcfea70f12 ice: Fix state bits on LLDP mode switch
    09a2fee49546 ice: Account for port VLAN in VF max packet size calculation
    4bee367264f1 ice: report correct max number of TCs
    c2ff99488390 vfio/type1: Use follow_pte()
    e47685ec4cb8 pwm: iqs620a: Fix overflow and optimize calculations
    dae49384d0d7 octeontx2-af: Fix an off by one in rvu_dbg_qsize_write()
    a8afe8bce434 i40e: Fix add TC filter for IPv6
    1fe02a86fa92 nios2: fixed broken sys_clone syscall
    9dfb367a2382 Take mmap lock in cacheflush syscall
    5917fdcc554d i40e: Fix VFs not created
    0497d52bbfc3 i40e: Fix addition of RX filters after enabling FW LLDP agent
    0c6a8e35f47d i40e: Fix overwriting flow control settings during driver loading
    b57d0f5489f8 i40e: Add zero-initialization of AQ command structures
    42dc67dee995 i40e: Fix flow for IPv6 next header (extension header)
    1ecbf4f3e993 PCI: cadence: Fix DMA range mapping early return error
    c2f17201d0e2 PCI: pci-bridge-emul: Fix array overruns, improve safety
    fc22917f48ee device-dax: Fix default return code of range_parse()
    37aba9cfece7 mailbox: sprd: correct definition of SPRD_OUTBOX_FIFO_FULL
    d167a7367d4a ext: EXT4_KUNIT_TESTS should depend on EXT4_FS instead of selecting it
    bf672140d60b regmap: sdw: use _no_pm functions in regmap_read/write
    291803ee7319 remoteproc/mediatek: acknowledge watchdog IRQ after handled
    dc798d57ca78 misc: fastrpc: fix incorrect usage of dma_map_sgtable
    787d7067c36b soundwire: bus: fix confusion on device used by pm_runtime
    336657c98112 soundwire: export sdw_write/read_no_pm functions
    dfdec5eda330 soundwire: bus: use sdw_write_no_pm when setting the bus scale registers
    519a514807c7 soundwire: bus: use sdw_update_no_pm when initializing a device
    663a18271e53 nvmem: core: skip child nodes not matching binding
    0422b93c4bfb nvmem: core: Fix a resource leak on error in nvmem_add_cells_from_of()
    5678109857cd coresight: etm4x: Skip accessing TRCPDCR in save/restore
    3e40d7bd87c9 phy: USB_LGM_PHY should depend on X86
    858d343c7873 ext4: fix potential htree index checksum corruption
    9eb145398e6f vfio-pci/zdev: fix possible segmentation fault issue
    c0e73c1d6d91 vfio/iommu_type1: Fix some sanity checks in detach group
    a8fe0b750a94 vfio/iommu_type1: Populate full dirty when detach non-pinned group
    c1fe9383139a drm/msm/dp: trigger unplug event in msm_dp_display_disable
    2d130a893ef3 drm/msm: Fix races managing the OOB state for timestamp vs timestamps.
    b605b8d568db drm/msm: Fix race of GPU init vs timestamp power management.
    5c49fc7b5d9b drm/msm/mdp5: Fix wait-for-commit for cmd panels
    92a1514e0a5d drm/msm/dsi: Correct io_start for MSM8994 (20nm PHY)
    b016a9f0c546 drm/msm: Fix MSM_INFO_GET_IOVA with carveout
    bede9ad9196c mei: hbm: call mei_set_devstate() on hbm stop response
    4ce87382d87c PCI: Align checking of syscall user config accessors
    6b34aa520429 VMCI: Use set_page_dirty_lock() when unregistering guest memory
    6a96a4413dcc PCI: xilinx-cpm: Fix reference count leak on error path
    58516ac4aac8 pwm: rockchip: Eliminate potential race condition when probing
    6f503e4e3752 pwm: rockchip: rockchip_pwm_probe(): Remove superfluous clk_unprepare()
    39ab0927e7b2 pwm: rockchip: Enable APB clock during register access while probing
    7c0c9081f816 soundwire: cadence: fix ACK/NAK handling
    9944f02f2e15 PCI: rcar: Always allocate MSI addresses in 32bit space
    d2742ed447bc misc: eeprom_93xx46: Add module alias to avoid breaking support for non device tree users
    5a602158b885 phy: cadence-torrent: Fix error code in cdns_torrent_phy_probe()
    95fdc1ea3bfc phy: rockchip-emmc: emmc_phy_init() always return 0
    03112ff9eabf misc: eeprom_93xx46: Fix module alias to enable module autoprobe
    6ac46ecd98c9 ARM: 9065/1: OABI compat: fix build when EPOLL is not enabled
    6fb1564f74fb Input: zinitix - fix return type of zinitix_init_touch()
    0fda33ea8947 sparc: fix led.c driver when PROC_FS is not enabled
    103ca2da81c2 sparc64: only select COMPAT_BINFMT_ELF if BINFMT_ELF is set
    79796706ac4a Input: elo - fix an error code in elo_connect()
    538b990451fe perf test: Fix unaligned access in sample parsing test
    2f7d4603a00c perf intel-pt: Fix IPC with CYC threshold
    4616d95a25b5 perf intel-pt: Fix premature IPC
    9702d580daa3 perf intel-pt: Fix missing CYC processing in PSB
    47d32f8becec perf record: Fix continue profiling after draining the buffer
    47c9d32e7170 Input: sur40 - fix an error code in sur40_probe()
    248014ab2ea9 RDMA/rtrs-srv: Do not pass a valid pointer to PTR_ERR()
    d94d6498ba2d RDMA/rtrs-srv-sysfs: fix missing put_device
    fad3372fdfba RDMA/rtrs-srv: fix memory leak by missing kobject free
    c6f81f3a9c40 RDMA/rtrs: Only allow addition of path to an already established session
    51ea7da47b7c RDMA/rtrs-srv: Fix stack-out-of-bounds
    60d613b39e8d RDMA/ucma: Fix use-after-free bug in ucma_create_uevent
    55bfe125b44a RDMA/hns: Fixes missing error code of CMDQ
    95f432c0a396 ceph: fix flush_snap logic after putting caps
    426b8fb3d672 svcrdma: Hold private mutex while invoking rdma_accept()
    7c7cb07d4aff nfsd: register pernet ops last, unregister first
    b0363faf9886 perf symbols: Fix return value when loading PE DSO
    2de70d744e09 printk: avoid prb_first_valid_seq() where possible
    86f5b0936975 spi: Skip zero-length transfers in spi_transfer_one_message()
    231d8c46b16d spi: dw: Avoid stack content exposure
    3604dfd1c60a regulator: bd718x7, bd71828, Fix dvs voltage levels
    c7a1a092d364 perf symbols: Use (long) for iterator for bfd symbols
    31c2e369b533 selftests/ftrace: Update synthetic event syntax errors
    e5d5829c7ac9 clk: aspeed: Fix APLL calculate formula from ast2600-A2
    e8d491783554 regulator: qcom-rpmh: fix pm8009 ldo7
    f5f08edae12a powerpc/kuap: Restore AMR after replaying soft interrupts
    97ab82462a3a powerpc/uaccess: Avoid might_fault() when user access is enabled
    3aa4af48f4f1 spi: pxa2xx: Fix the controller numbering for Wildcat Point
    5273b9ba3e99 clk: divider: fix initialization with parent_hw
    c10782b20829 RDMA/hns: Disable RQ inline by default
    7e2cf295cee2 RDMA/hns: Fix type of sq_signal_bits
    4b31e9ffc4cd RDMA/siw: Fix calculation of tx_valid_cpus size
    f2ab2ac9c550 RDMA/hns: Fixed wrong judgments in the goto branch
    b11abc70b2d2 kselftests: dmabuf-heaps: Fix Makefile's inclusion of the kernel's usr/include dir
    ecb23b97a70b kunit: tool: fix unit test cleanup handling
    1989b09d7645 clk: qcom: gcc-msm8998: Fix Alpha PLL type for all GPLLs
    e87684f92706 powerpc/8xx: Fix software emulation interrupt
    c035dcae0bcc powerpc/pseries/dlpar: handle ibm, configure-connector delay status
    b1b904813755 mfd: wm831x-auxadc: Prevent use after free in wm831x_auxadc_read_irq()
    5d82c92db904 mfd: altera-sysmgr: Fix physical address storing more
    03a422ecf30d spi: stm32: properly handle 0 byte transfer
    a46f34ba2563 RDMA/rxe: Correct skb on loopback path
    54bdcd7b8f0a RDMA/rxe: Fix coding error in rxe_rcv_mcast_pkt
    d464194f6e47 RDMA/rxe: Fix coding error in rxe_recv.c
    5132b4f24874 perf vendor events arm64: Fix Ampere eMag event typo
    100ba402178c perf tools: Fix DSO filtering when not finding a map for a sampled address
    378f670e08fc rtc: zynqmp: depend on HAS_IOMEM
    8a40ca0c8b9f tracepoint: Do not fail unregistering a probe due to memory failure
    edcaf7a3b8bc IB/cm: Avoid a loop when device has 255 ports
    0d19c3e61668 IB/mlx5: Return appropriate error code instead of ENOMEM
    377a9c919163 iommu: Properly pass gfp_t in _iommu_map() to avoid atomic sleeping
    452fc2c9bbf2 iommu: Move iotlb_sync_map out from __iommu_map
    910990a6075a amba: Fix resource leak for drivers without .remove
    426c56022623 i2c: qcom-geni: Store DMA mapping data in geni_i2c_dev struct
    e699cd138063 ARM: 9046/1: decompressor: Do not clear SCTLR.nTLSMD for ARMv7+ cores
    252425cb8755 mmc: renesas_sdhi_internal_dmac: Fix DMA buffer alignment from 8 to 128-bytes
    d892fe653ee4 mmc: usdhi6rol0: Fix a resource leak in the error handling path of the probe
    25975632869b mmc: sdhci-sprd: Fix some resource leaks in the remove function
    34251b827471 mmc: owl-mmc: Fix a resource leak in an error handling path and in the remove function
    99e7c8d15770 powerpc/time: Enable sched clock for irqtime
    f6ba4a84b9e0 powerpc/47x: Disable 256k page size
    6b83da9b1e58 KVM: PPC: Make the VMX instruction emulation routines static
    69ca7a12b77d IB/umad: Return EPOLLERR in case of when device disassociated
    1598e9e00a99 IB/umad: Return EIO in case of when device disassociated
    48e671371357 iommu: Switch gather->end to the inclusive end
    2dbc0ea1d141 scsi: lpfc: Fix ancient double free
    c41fc75addf1 objtool: Fix ".cold" section suffix check for newer versions of GCC
    7631376b2d8e objtool: Fix retpoline detection in asm code
    9e06f36658df objtool: Fix error handling for STD/CLD warnings
    994334fa2a13 auxdisplay: ht16k33: Fix refresh rate handling
    56cc83dfd35f watchdog: intel-mid_wdt: Postpone IRQ handler registration till SCU is ready
    ffc6e686f43d isofs: release buffer head before return
    aa69ea2595ff regulator: core: Avoid debugfs: Directory ... already present! error
    87f6600119a1 power: supply: smb347-charger: Fix interrupt usage if interrupt is unavailable
    564c05da080f power: supply: axp20x_usb_power: Init work before enabling IRQs
    b1ff96e9191d regulator: s5m8767: Drop regulators OF node reference
    ac5ab9c02951 spi: atmel: Put allocated master before return
    1303992207e8 regulator: s5m8767: Fix reference count leak
    d7b0efadc3eb certs: Fix blacklist flag type confusion
    6e223a3d906a watch_queue: Drop references to /dev/watch_queue
    a6b732fb6a83 regulator: axp20x: Fix reference cout leak
    863691f865b7 platform/chrome: cros_ec_proto: Add LID and BATTERY to default mask
    65e880808202 platform/chrome: cros_ec_proto: Use EC_HOST_EVENT_MASK not BIT
    d99d58b8df08 clk: sunxi-ng: h6: Fix clock divider range on some clocks
    57ae53cc5a79 IB/mlx5: Add mutex destroy call to cap_mask_mutex mutex
    a62529e888fa RDMA/mlx5: Use the correct obj_id upon DEVX TIR creation
    3577f6920179 spi: imx: Don't print error on -EPROBEDEFER
    f8b64afe9166 clocksource/drivers/mxs_timer: Add missing semicolon when DEBUG is defined
    9f5c5595cf13 clocksource/drivers/ixp4xx: Select TIMER_OF when needed
    884d1b0d51e0 power: supply: fix sbs-charger build, needs REGMAP_I2C
    4f24543828fa dmaengine: idxd: set DMA channel to be private
    31c9ba0c38bc rtc: s5m: select REGMAP_I2C
    28c05164b72f power: reset: at91-sama5d2_shdwc: fix wkupdbc mask
    e724c819ed9f RDMA/rtrs-srv: Init wr_cnt as 1
    cb6d98b30655 RDMA/rtrs-clt: Refactor the failure cases in alloc_clt
    30b7b6b8dac0 RDMA/rtrs-srv: Fix missing wr_cqe
    e393184841ba RDMA/rtrs: Call kobject_put in the failure path
    1a8e1385b22b RDMA/rtrs-clt: Set mininum limit when create QP
    f8f1833d2a10 RDMA/rtrs-srv: Use sysfs_remove_file_self for disconnect
    e3d74840c73e RDMA/rtrs-srv: Release lock before call into close_sess
    0a131e09e4e2 RDMA/rtrs: Extend ibtrs_cq_qp_create
    54d3a5761951 of/fdt: Make sure no-map does not remove already reserved regions
    0674fa99a7d8 fdt: Properly handle "no-map" field in the memory region
    3f93f17ae946 power: supply: cpcap-charger: Fix power_supply_put on null battery pointer
    1f6133749213 power: supply: cpcap-battery: Fix missing power_supply_put()
    748f7b65d2e0 power: supply: cpcap-charger: Fix missing power_supply_put()
    57e43b696dee mfd: bd9571mwv: Use devm_mfd_add_devices()
    4ddac9d8acba dmaengine: hsu: disable spurious interrupt
    d8c7170c2097 dmaengine: owl-dma: Fix a resource leak in the remove function
    ecf1d532a055 dmaengine: fsldma: Fix a resource leak in an error handling path of the probe function
    1cc37e5a0555 dmaengine: fsldma: Fix a resource leak in the remove function
    9703b65b2dab RDMA/siw: Fix handling of zero-sized Read and Receive Queues.
    95d5e8fbc2ff HID: core: detect and skip invalid inputs to snto32()
    35c739b4d4fa clk: renesas: r8a779a0: Fix parent of CBFUSA clock
    91210528b38c clk: renesas: r8a779a0: Remove non-existent S2 clock
    6d3fca943eec clk: sunxi-ng: h6: Fix CEC clock
    d8d37cdde2a5 spi: cadence-quadspi: Abort read if dummy cycles required are too many
    a8594ec0bb37 i2c: iproc: handle master read request
    77f44e82e898 i2c: iproc: update slave isr mask (ISR_MASK_SLAVE)
    686ed8d7bf90 i2c: iproc: handle only slave interrupts which are enabled
    8584d4f31a3a quota: Fix memory leak when handling corrupted quota file
    3c5304eb1805 arm64: dts: qcom: qrb5165-rb5: fix pm8009 regulators
    b7c77df94684 regulator: qcom-rpmh-regulator: add pm8009-1 chip revision
    e00a29e24575 selftests/powerpc: Make the test check in eeh-basic.sh posix compliant
    460538d02a18 clk: meson: clk-pll: propagate the error from meson_clk_pll_set_rate()
    02df54191f7f clk: meson: clk-pll: make "ret" a signed integer
    55e47652d625 clk: meson: clk-pll: fix initializing the old rate (fallback) for a PLL
    49d8c198fab5 power: supply: cpcap: Add missing IRQF_ONESHOT to fix regression
    7c650a997df3 HSI: Fix PM usage counter unbalance in ssi_hw_init
    54b4e5df958c capabilities: Don't allow writing ambiguous v3 file capabilities
    bf24c51d62d1 drm/amdgpu/display: remove hdcp_srm sysfs on device removal
    7a9b76bb9bf3 smp: Process pending softirqs in flush_smp_call_function_from_idle()
    3e7387af5a50 irqchip/imx: IMX_INTMUX should not default to y, unconditionally
    24386143cb94 ubifs: Fix error return code in alloc_wbufs()
    3818158df15e ubifs: replay: Fix high stack usage, again
    bdb176a0c876 ubifs: Fix memleak in ubifs_init_authentication
    bdf943745924 jffs2: fix use after free in jffs2_sum_write_data()
    a6b56338a910 fs/jfs: fix potential integer overflow on shift of a int
    d5f8088cfc98 ASoC: simple-card-utils: Fix device module clock
    c365d333e97a ima: Free IMA measurement buffer after kexec syscall
    1facf2415b98 ima: Free IMA measurement buffer on error
    f40d1ec3a3db ASoC: SOF: sof-pci-dev: add missing Up-Extreme quirk
    0bbbd44ba122 nvmet: set status to 0 in case for invalid nsid
    6c32db01dd41 nvmet: remove extra variable in identify ns
    48629fed4fc4 nvme-multipath: set nr_zones for zoned namespaces
    5f8ab7f8fedd nvmet-tcp: fix potential race of tcp socket closing accept_work
    91edfca6f8b3 nvmet-tcp: fix receive data digest calculation for multiple h2cdata PDUs
    81dfee4731c0 io_uring: fix possible deadlock in io_uring_poll
    ea914be6de9d crypto: ecdh_helper - Ensure 'len >= secret.len' in decode_key()
    bebfe70c4df8 hwrng: timeriomem - Fix cooldown period calculation
    ca0d82585d07 drm/dp_mst: Don't cache EDIDs for physical ports
    141c9392246c drm/lima: fix reference leak in lima_pm_busy
    c37792594393 drm/vc4: hdmi: Update the CEC clock divider on HSM rate change
    ecd8c7420ee2 drm/vc4: hdmi: Compute the CEC clock divider from the clock rate
    b2c22c74462e drm/vc4: hdmi: Restore cec physical address on reconnect
    5ef6d3b78abc drm/vc4: hdmi: Fix up CEC registers
    22a555e031aa drm/vc4: hdmi: Fix register offset with longer CEC messages
    e7506205db3a drm/vc4: hdmi: Move hdmi reset to bind
    f06ce8ddbdfc s390/zcrypt: return EIO when msg retry limit reached
    689ceaad9423 KVM: x86: Restore all 64 bits of DR6 and DR7 during RSM on x86-64
    6a402b937eb1 btrfs: fix double accounting of ordered extent for subpage case in btrfs_invalidapge
    006ef266c275 btrfs: clarify error returns values in __load_free_space_cache
    79717a3381dd ASoC: SOF: debug: Fix a potential issue on string buffer termination
    47d35964886f ASoC: rt5682: Fix panic in rt5682_jack_detect_handler happening during system shutdown
    67353635006a ASoC: qcom: lpass: Fix i2s ctl register bit map
    d48f03f6b25c locking/lockdep: Avoid unmatched unlock
    2e0e7c91ddb3 ASoC: Intel: sof_sdw: add missing TGL_HDMI quirk for Dell SKU 0A3E
    6bbbb1dea7e8 ASoC: Intel: sof_sdw: add missing TGL_HDMI quirk for Dell SKU 0A5E
    71a6979d540d Drivers: hv: vmbus: Avoid use-after-free in vmbus_onoffer_rescind()
    bed8bed04179 drm/mediatek: Check if fb is null
    d87df78aabf2 KVM: nSVM: Don't strip host's C-bit from guest's CR3 when reading PDPTRs
    9ac313799515 ASoC: qcom: Fix typo error in HDMI regmap config callbacks
    5dc2ee02fdd9 f2fs: fix a wrong condition in __submit_bio
    c1b18119d82b drm/amdgpu: Prevent shift wrapping in amdgpu_read_mask()
    a9553ae64da0 f2fs: fix to avoid inconsistent quota data
    0edd035143dd mtd: parsers: afs: Fix freeing the part name memory in failure
    e350b5bea8e8 ASoC: codecs: add missing max_register in regmap config
    79f85d7b5ce0 ASoC: cpcap: fix microphone timeslot mask
    9e61730083eb ata: ahci_brcm: Add back regulators management
    61a1f0ad45de mm: proc: Invalidate TLB after clearing soft-dirty page state
    e3fcff9f45aa drm/nouveau: bail out of nouveau_channel_new if channel init fails
    c64eb55b4ec2 crypto: talitos - Fix ctr(aes) on SEC1
    62aa24d2b7be crypto: talitos - Work around SEC6 ERRATA (AES-CTR mode data size error)
    da7a5e73cdd1 mtd: parser: imagetag: fix error codes in bcm963xx_parse_imagetag_partitions()
    86399c1911eb perf/arm-cmn: Move IRQs when migrating context
    1ea83d489102 perf/arm-cmn: Fix PMU instance naming
    cb8e225c16c8 ASoC: SOF: Intel: hda: cancel D0i3 work during runtime suspend
    2a387bbeada0 ASoC: qcom: lpass-cpu: Remove bit clock state check
    2bebc6dcd345 f2fs: compress: fix potential deadlock
    91e10f2ad150 sched/eas: Don't update misfit status if the task is pinned
    8b1c386d9266 media: uvcvideo: Accept invalid bFormatIndex and bFrameIndex values
    130722b55dde media: pxa_camera: declare variable when DEBUG is defined
    2c0a480ac595 media: mtk-vcodec: fix argument used when DEBUG is defined
    f1e2ca0c11e4 media: cx25821: Fix a bug when reallocating some dma memory
    d196f0682366 media: qm1d1c0042: fix error return code in qm1d1c0042_init()
    28fa29bd59f2 media: atomisp: Fix a buffer overflow in debug code
    abfdb63b6e5f media: vidtv: psi: fix missing crc for PMT
    32f864a4432d media: lmedm04: Fix misuse of comma
    f7765a1143c3 media: software_node: Fix refcounts in software_node_get_next_child()
    e3d5fe8fb6f3 drm/amd/display: Fix HDMI deep color output for DCE 6-11.
    3592f930f742 drm/amd/display: Fix 10/12 bpc setup in DCE output bit depth reduction.
    18f10ae0d477 macintosh/adb-iop: Use big-endian autopoll mask
    1c7b7d476e6a bsg: free the request before return error code
    a9d9fd5bd24b drm/amdgpu: toggle on DF Cstate after finishing xgmi injection
    0cdfdd1f03c2 drm/tegra: Fix reference leak when pm_runtime_get_sync() fails
    cc1c1fe79551 MIPS: Compare __SYNC_loongson3_war against 0
    f89de444df59 MIPS: properly stop .eh_frame generation
    b1f4731f33ba media: ti-vpe: cal: fix write to unallocated memory
    640da89f3eee media: imx7: csi: Fix pad link validation
    a274661d5842 media: imx7: csi: Fix regression for parallel cameras on i.MX6UL
    1c95f266a692 drm/sun4i: tcon: fix inverted DCLK polarity
    e830af503cae sched/fair: Avoid stale CPU util_est value for schedutil in task dequeue
    3b22a67c7f6b crypto: bcm - Rename struct device_private to bcm_device_private
    494e9ec12c1b evm: Fix memleak in init_desc
    f465abaef3d1 ASoC: qcom: qdsp6: Move frontend AIFs to q6asm-dai
    43deab1aff79 ASoC: cs42l56: fix up error handling in probe
    967ddb4ac910 media: aspeed: fix error return code in aspeed_video_setup_video()
    9883df7c0195 media: tm6000: Fix memleak in tm6000_start_stream
    172e30ea3861 media: media/pci: Fix memleak in empress_init
    451c7cb236ef media: em28xx: Fix use-after-free in em28xx_alloc_urbs
    27dfb2c856f5 media: vsp1: Fix an error handling path in the probe function
    df6f92f1bde1 media: camss: missing error code in msm_video_register()
    27a82f52a55d media: mtk-vcodec: fix error return code in vdec_vp9_decode()
    40d53d436a59 media: imx: Fix csc/scaler unregister
    fe2e6f9342e8 media: imx: Unregister csc/scaler only if registered
    9056dd5417b1 media: i2c: ov5670: Fix PIXEL_RATE minimum value
    c271cb89897c media: ipu3-cio2: Build only for x86
    26297e1710d2 drm/fourcc: fix Amlogic format modifier masks
    dfc846691a66 drm/virtio: make sure context is created in gem open
    74cfb7883a04 MIPS: lantiq: Explicitly compare LTQ_EBU_PCC_ISTAT against 0
    8dbfa4e99c5f MIPS: c-r4k: Fix section mismatch for loongson2_sc_init
    a0e0d3d8245e drm/amdgpu: Fix macro name _AMDGPU_TRACE_H_ in preprocessor if condition
    61de9181c86c drm: rcar-du: Fix the return check of of_parse_phandle and of_find_device_by_node
    4f6cd7e77b07 drm: rcar-du: Fix crash when using LVDS1 clock for CRTC
    cfed53d82219 drm: rcar-du: Fix PM reference leak in rcar_cmm_enable()
    7e8cad8788a9 kcsan: Rewrite kcsan_prandom_u32_max() without prandom_u32_state()
    e559765186ac media: allegro: Fix use after free on error
    5ea0601513a7 hwrng: ingenic - Fix a resource leak in an error handling path
    39e0bddeff36 crypto: arm64/aes-ce - really hide slower algos when faster ones are enabled
    2f7287fbcb9f crypto: sun4i-ss - fix kmap usage
    99e9cb7bc13b crypto: sun4i-ss - linearize buffers content must be kept
    5d93dad67df8 drm/vc4: hdmi: Take into account the clock doubling flag in atomic_check
    5eb0784f4dd0 drm/panel: mantix: Tweak init sequence
    35bf6702052c drm/fb-helper: Add missed unlocks in setcmap_legacy()
    c4c8db5eb19f gma500: clean up error handling in init
    9a83b8b33128 drm/gma500: Fix error return code in psb_driver_load()
    e9c01c8fd64a fbdev: aty: SPARC64 requires FB_ATY_CT
    41c6f6b926d0 tty: implement read_iter
    279e54536ddb tty: convert tty_ldisc_ops 'read()' function to take a kernel pointer
    65a10cb163cd net: enetc: fix destroyed phylink dereference during unbind
    79234cb9aab9 net: mvneta: Remove per-cpu queue mapping for Armada 3700
    8845446496a7 net: amd-xgbe: Fix network fluctuations when using 1G BELFUSE SFP
    286fca3f30b9 net: amd-xgbe: Reset link when the link never comes back
    a961fcfb2465 net: amd-xgbe: Fix NETDEV WATCHDOG transmit queue timeout warning
    87f1df93d49f net: amd-xgbe: Reset the PHY rx data path when mailbox command timeout
    7592f07e6d2c net: phy: mscc: adding LCPLL reset to VSC8514
    100676d5c4d5 net: dsa: felix: don't deinitialize unused ports
    51b1868b715a net: dsa: felix: perform teardown in reverse order of setup
    ad843121588f ibmvnic: skip send_request_unmap for timeout reset
    be613736fddd ibmvnic: add memory barrier to protect long term buffer
    f4a5c7ff2ab6 bpf: Clear subreg_def for global function return values
    14a296eab662 b43: N-PHY: Fix the update of coef for the PHY revision >= 3case
    e6d02456012a cxgb4/chtls/cxgbit: Keeping the max ofld immediate data size same in cxgb4 and ulds
    21248186f953 net: axienet: Handle deferred probe on clock properly
    8e81baeb83a3 tcp: fix SO_RCVLOWAT related hangs under mem pressure
    c805f99ffe27 selftests: mptcp: fix ACKRX debug message
    1d6e51e231c4 bpf: Fix bpf_fib_lookup helper MTU check for SKB ctx
    e3c29af06581 bpf, devmap: Use GFP_KERNEL for xdp bulk queue allocation
    94c0e3551594 bpf: Fix an unitialized value in bpf_iter
    c8de71a7ae39 libbpf: Ignore non function pointer member in struct_ops
    b5f71c9ff128 mac80211: fix potential overflow when multiplying to u32 integers
    5ccc0ecda9e8 net/mlx5e: Check tunnel offload is required before setting SWP
    c80b5da86011 net/mlx5e: CT: manage the lifetime of the ct entry object
    046e29284b07 net/mlx5: Disable devlink reload for lag devices
    5decdc86ca9d net/mlx5: Disallow RoCE on lag device
    8dafb484fe3f net/mlx5: Disallow RoCE on multi port slave device
    efb1aa6f1175 net/mlx5: Disable devlink reload for multi port slave device
    64ea9e958fba net/mlx5e: kTLS, Use refcounts to free kTLS RX priv context
    08b42b6f891c net/mlx5e: Replace synchronize_rcu with synchronize_net
    27c79b3a9212 net/mlx5: Fix health error state handling
    ae624d4bd9b6 net/mlx5e: Change interrupt moderation channel params also when channels are closed
    34394a179ed2 net/mlx5e: Don't change interrupt moderation params when DIM is enabled
    96fb2077a517 net: phy: consider that suspend2ram may cut off PHY power
    a5ff8b798a36 dpaa2-eth: fix memory leak in XDP_REDIRECT
    3cf0490625c8 xen/netback: fix spurious event detection for common event case
    fc94be935868 bnxt_en: Fix devlink info's stored fw.psid version format.
    f22cdfcc9df1 bnxt_en: reverse order of TX disable and carrier off
    991d286e194f ibmvnic: Set to CLOSED state even on error
    c318d4198149 selftests/bpf: Convert test_xdp_redirect.sh to bash
    61f0bbac1f0d ath9k: fix data bus crash when setting nf_override via debugfs
    45c720ca5d8e iwlwifi: pnvm: increment the pointer before checking the TLV
    47708895c917 iwlwifi: pnvm: set the PNVM again if it was already loaded
    c8b23e12a74e bpf_lru_list: Read double-checked variable once without lock
    6f304a8d61fb iwlwifi: mvm: don't check if CSA event is running before removing
    caa32dc6ab77 iwlwifi: mvm: assign SAR table revision to the command later
    207bb27562b4 iwlwifi: mvm: send stored PPAG command instead of local
    600c03b4e99d iwlwifi: mvm: store PPAG enabled/disabled flag properly
    39d8f5db9c88 iwlwifi: mvm: fix the type we use in the PPAG table validity checks
    d195e314e849 soc: aspeed: snoop: Add clock control logic
    1a6c71880fad ath11k: fix a locking bug in ath11k_mac_op_start()
    c2fd1a9715a1 ath10k: Fix lockdep assertion warning in ath10k_sta_statistics
    fc0024dfd921 ath10k: Fix suspicious RCU usage warning in ath10k_wmi_tlv_parse_peer_stats_info()
    4641cecc3dbf ARM: at91: use proper asm syntax in pm_suspend
    6709f280e75d staging: wfx: fix possible panic with re-queued frames
    702143d1de99 optee: simplify i2c access
    d25640c5e61d ARM: s3c: fix fiq for clang IAS
    480f1e5d5ca8 iwlwifi: mvm: set enabled in the PPAG command properly
    90aadc8ce0fd arm64: dts: meson: fix broken wifi node for Khadas VIM3L
    0aa65ba9352d arm64: dts: msm8916: Fix reserved and rfsa nodes unit address
    84f9aaa7312b soc: qcom: ocmem: don't return NULL in of_get_ocmem
    9bb8acd6aa96 Bluetooth: btusb: Fix memory leak in btusb_mtk_wmt_recv
    276d6b35f3bc opp: Correct debug message in _opp_add_static_v2()
    bf7d341506d6 arm64: dts: armada-3720-turris-mox: rename u-boot mtd partition to a53-firmware
    1a210339f056 ARM: dts: armada388-helios4: assign pinctrl to each fan
    0d6d8024c1f7 ARM: dts: armada388-helios4: assign pinctrl to LEDs
    b9aa9108b63a can: mcp251xfd: mcp251xfd_probe(): fix errata reference
    104463e0faae arm64: dts: renesas: beacon: Fix EEPROM compatible value
    ad71e4decf49 x86/MSR: Filter MSR writes through X86_IOC_WRMSR_REGS ioctl too
    56ef08902f0d staging: rtl8723bs: wifi_regd.c: Fix incorrect number of regulatory rules
    e5d153b3da39 usb: dwc2: Make "trimming xfer length" a debug message
    fdc77e02db8c usb: dwc2: Abort transaction after errors with unknown reason
    8eb3e6899a27 usb: dwc2: Do not update data length if it is 0 on inbound transfers
    cdbe8c0c5274 ARM: dts: Configure missing thermal interrupt for 4430
    509fe94c196f memory: ti-aemif: Drop child node when jumping out loop
    63cb4aa9e4ee Bluetooth: Put HCI device if inquiry procedure interrupts
    78bbee8f2542 Bluetooth: drop HCI device reference before return
    ba8832d23c97 staging: media: atomisp: Fix size_t format specifier in hmm_alloc() debug statemenet
    3681476ad60e soc: ti: pm33xx: Fix some resource leak in the error handling paths of the probe function
    6e46b23a9f4c soc: qcom: socinfo: Fix an off by one in qcom_show_pmic_model()
    4cbd11f9c37e arm64: dts: qcom: sdm845-db845c: Fix reset-pin of ov8856 node
    c9ccb0efaab2 usb: gadget: u_audio: Free requests only after callback
    66a55fafe3d8 ACPICA: Fix exception code class checks
    3a3f15b4d2f3 arm64: dts: rockchip: rk3328: Add clock_in_out property to gmac2phy node
    88cd0e882f1e cpufreq: brcmstb-avs-cpufreq: Fix resource leaks in ->remove()
    de17aa73c9d9 cpufreq: brcmstb-avs-cpufreq: Free resources in error path
    b87a4fcf4536 arm64: dts: qcom: msm8916-samsung-a2015: Fix sensors
    7ae2c607e8e8 arm64: dts: allwinner: A64: Limit MMC2 bus frequency to 150 MHz
    b20768733427 arm64: dts: allwinner: H6: Allow up to 150 MHz MMC bus frequency
    aa60fe811181 arm64: dts: allwinner: Drop non-removable from SoPine/LTS SD card
    299dfaed458f arm64: dts: allwinner: H6: properly connect USB PHY to port 0
    da0131818f90 arm64: dts: allwinner: A64: properly connect USB PHY to port 0
    1173e48b162a firmware: arm_scmi: Fix call site of scmi_notification_exit
    0e290a7b4ac4 bpf: Avoid warning when re-casting __bpf_call_base into __bpf_call_base_args
    faf4b1fba2dd bpf: Add bpf_patch_call_args prototype to include/linux/bpf.h
    ef1efead3f2a net: stmmac: dwmac-meson8b: fix enabling the timing-adjustment clock
    106c902da8a6 arm64: dts: qcom: msm8916-samsung-a5u: Fix iris compatible
    9b6d62eea4c5 staging: vchiq: Fix bulk transfers on 64-bit builds
    6929e3b01179 staging: vchiq: Fix bulk userdata handling
    601899cec0a3 Bluetooth: hci_qca: Fix memleak in qca_controller_memdump
    ec621e844289 memory: mtk-smi: Fix PM usage counter unbalance in mtk_smi ops
    587b9cc3c02d arm64: dts: exynos: correct PMIC interrupt trigger level on Espresso
    347b3e5557da arm64: dts: exynos: correct PMIC interrupt trigger level on TM2
    ff11ece44c2d ARM: dts: exynos: correct PMIC interrupt trigger level on Odroid XU3 family
    42596469a889 ARM: dts: exynos: correct PMIC interrupt trigger level on Arndale Octa
    41461029703e ARM: dts: exynos: correct PMIC interrupt trigger level on Spring
    9f87ff784143 ARM: dts: exynos: correct PMIC interrupt trigger level on Rinato
    f716c60cb017 ARM: dts: exynos: correct PMIC interrupt trigger level on Monk
    83830e692f28 ARM: dts: exynos: correct PMIC interrupt trigger level on Artik 5
    fcb451381725 arm64: dts: renesas: beacon: Fix audio-1.8V pin enable
    072552f973ad arm64: dts: renesas: beacon kit: Fix choppy Bluetooth Audio
    65933b074ae0 Bluetooth: Fix initializing response id after clearing struct
    bbe6d14a98b0 Bluetooth: hci_uart: Fix a race for write_work scheduling
    fdbed2d74011 Bluetooth: btqcomsmd: Fix a resource leak in error handling paths in the probe function
    fa336bddbe83 ath10k: Fix error handling in case of CE pipe init failure
    b4139fd0ab00 drm/i915/gt: One more flush for Baytrail clear residuals
    de7e30da243f ALSA: pcm: Don't call sync_stop if it hasn't been stopped
    7011cd4599ef ALSA: pcm: Assure sync with the pending stop operation at suspend
    6bcf443bce96 ALSA: pcm: Call sync_stop at disconnection
    85c1062920d1 random: fix the RNDRESEEDCRNG ioctl
    f24e9121eace vmlinux.lds.h: Define SANTIZER_DISCARDS with CONFIG_GCOV_KERNEL=y
    b57d559a92e8 MIPS: vmlinux.lds.S: add missing PAGE_ALIGNED_DATA() section
    e18368d0515d ALSA: usb-audio: Fix PCM buffer allocation in non-vmalloc mode
    89e3d1a85df8 bfq: Avoid false bfq queue merging
    a9f834514580 virt: vbox: Do not use wait_event_interruptible when called from kernel context
    9ecedb5793a6 PCI: Decline to resize resources if boot config must be preserved
    9101e328625f PCI: qcom: Use PHY_REFCLK_USE_PAD only for ipq8064
    1ad8f7fc4aa7 w1: w1_therm: Fix conversion result for negative temperatures
    ed5d02f0a778 kdb: Make memory allocations more robust
    77c711013ddc scsi: qla2xxx: Fix mailbox Ch erroneous error
    a24bb59cabab scsi: libsas: docs: Remove notify_ha_event()
    7bc68c67d21e debugfs: do not attempt to create a new file before the filesystem is initalized
    0bd665240a56 debugfs: be more robust at handling improper input in debugfs_lookup()
    2a7e48dc3834 vdpa/mlx5: fix param validation in mlx5_vdpa_get_config()
    070d0094b3f4 vmlinux.lds.h: add DWARF v5 sections

(From OE-Core rev: 7a48aad3d35318ddaf0f969ae0b6b568ef617397)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 14:00:36 +00:00
Bruce Ashfield
190d2af65e kern-tools: symbol-why fix and README update
There was a bad indent in symbol_why, which we fix with a submitted
patch. As part of getting that patch, it was pointed out that there's
no README telling people where to send changes. So we add a basic
README to avoid that in the future:

   8f6aaab docs: add README for patch submission
   9f1a6cb symbol_why: fix incorrect indentation of sys.exit(1)

(From OE-Core rev: eea536b4368abed2248d3d0c5727a680b7368ce7)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 14:00:36 +00:00
Bruce Ashfield
439e6d47fa linux-yocto/5.4: update to v5.4.103
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    c4ca4659678e Linux 5.4.103
    47478db9ad21 ALSA: hda/realtek: Apply dual codec quirks for MSI Godlike X570 board
    4cf243476463 ALSA: hda/realtek: Add quirk for Intel NUC 10
    2254dfa68428 ALSA: hda/realtek: Add quirk for Clevo NH55RZQ
    027ddd67f685 media: v4l: ioctl: Fix memory leak in video_usercopy
    60fdceaa91ad swap: fix swapfile read/write offset
    bebf5e832779 zsmalloc: account the number of compacted pages correctly
    f038a22632a4 xen-netback: respect gnttab_map_refs()'s return value
    474773c42ffd Xen/gnttab: handle p2m update errors on a per-slot basis
    def70c33c478 scsi: iscsi: Verify lengths on passthrough PDUs
    567a234a231d scsi: iscsi: Ensure sysfs attributes are limited to PAGE_SIZE
    5f4243642873 sysfs: Add sysfs_emit and sysfs_emit_at to format sysfs output
    ca3afdd03773 scsi: iscsi: Restrict sessions and handles to admin capabilities
    fdaec40526b4 ASoC: Intel: bytcr_rt5640: Add quirk for the Acer One S1002 tablet
    68b15ca91add ASoC: Intel: bytcr_rt5651: Add quirk for the Jumper EZpad 7 tablet
    db0e94615263 ASoC: Intel: bytcr_rt5640: Add quirk for the Voyo Winpad A15 tablet
    925ae8148535 ASoC: Intel: bytcr_rt5640: Add quirk for the Estar Beauty HD MID 7316R tablet
    99d2926531ac sched/features: Fix hrtick reprogramming
    4a3f4feeb622 parisc: Bump 64-bit IRQ stack size to 64 KB
    f41ed2164364 perf/x86/kvm: Add Cascade Lake Xeon steppings to isolation_ucodes[]
    2b130871e20a btrfs: fix error handling in commit_fs_roots
    9bf519ca55c4 ASoC: Intel: Add DMI quirk table to soc_intel_is_byt_cr()
    7702b331861b nvme-tcp: add clean action for failed reconnection
    a9ea34d2717a nvme-rdma: add clean action for failed reconnection
    4bf6c84c9ad3 nvme-core: add cancel tagset helpers
    8253cc11abb2 f2fs: fix to set/clear I_LINKABLE under i_lock
    77dc257b4feb f2fs: handle unallocated section and zone on pinned/atgc
    aa1362606059 media: uvcvideo: Allow entities with no pads
    0e9d7902764a drm/amd/display: Guard against NULL pointer deref when get_i2c_info fails
    f1fef55a3f1a PCI: Add a REBAR size quirk for Sapphire RX 5600 XT Pulse
    b252cdd9c650 drm/amdgpu: Add check to prevent IH overflow
    a8d46a3feb02 crypto: tcrypt - avoid signed overflow in byte count
    9f8d3e4b8ad8 drm/hisilicon: Fix use-after-free
    e1b9c1c9dbb0 brcmfmac: Add DMI nvram filename quirk for Voyo winpad A15 tablet
    3c099c272eb5 brcmfmac: Add DMI nvram filename quirk for Predia Basic tablet
    d1f262561993 staging: bcm2835-audio: Replace unsafe strcpy() with strscpy()
    e3ec4af50642 staging: most: sound: add sanity check for function argument
    7d16e7c1615d Bluetooth: Fix null pointer dereference in amp_read_loc_assoc_final_data
    bba1995325b5 x86/build: Treat R_386_PLT32 relocation as R_386_PC32
    e37674e1a48d ath10k: fix wmi mgmt tx queue full due to race condition
    46813e4a7caa pktgen: fix misuse of BUG_ON() in pktgen_thread_worker()
    b074e7e20cc9 Bluetooth: hci_h5: Set HCI_QUIRK_SIMULTANEOUS_DISCOVERY for btrtl
    5a8bbefd0074 wlcore: Fix command execute failure 19 for wl12xx
    48549db10dbe vt/consolemap: do font sum unsigned
    de00b8f037ca x86/reboot: Add Zotac ZBOX CI327 nano PCI reboot quirk
    48f6c1a89487 staging: fwserial: Fix error handling in fwserial_create
    ce2b4b9c86b7 rsi: Move card interrupt handling to RX thread
    133b0b1aa5c4 rsi: Fix TX EAPOL packet handling against iwlwifi AP
    c8c3088a90c3 drm/virtio: use kvmalloc for large allocations
    584149c771ec MIPS: Drop 32-bit asm string functions
    648c5b1b24d0 dt-bindings: net: btusb: DT fix s/interrupt-name/interrupt-names/
    823e6524e1f3 dt-bindings: ethernet-controller: fix fixed-link specification
    176188cff67e net: fix dev_ifsioc_locked() race condition
    e4fc812e3577 net: ag71xx: remove unnecessary MTU reservation
    ad112654e21d net: bridge: use switchdev for port flags set through sysfs too
    2e235c3a9518 mm/hugetlb.c: fix unnecessary address expansion of pmd sharing
    4ed3162e92bf nbd: handle device refs for DESTROY_ON_DISCONNECT properly
    e6af7cb64b7b net: fix up truesize of cloned skb in skb_prepare_for_shift()
    4ceb5ca9e626 smackfs: restrict bytes count in smackfs write functions
    5fe244620e74 net/af_iucv: remove WARN_ONCE on malformed RX packets
    09e47dc27ed5 xfs: Fix assert failure in xfs_setattr_size()
    a72c45f4ee33 media: v4l2-ctrls.c: fix shift-out-of-bounds in std_validate
    edaa0a0aab6e erofs: fix shift-out-of-bounds of blkszbits
    706068d0811a media: mceusb: sanity check for prescaler value
    64677f10e560 udlfb: Fix memory leak in dlfb_usb_probe
    4e3b08cfe619 JFS: more checks for invalid superblock
    86d7c693670e MIPS: VDSO: Use CLANG_FLAGS instead of filtering out '--target='
    9757d5c4fc3f arm64 module: set plt* section addresses to 0x0
    69861dcc78c2 nvme-pci: fix error unwind in nvme_map_data
    744073c5c79c nvme-pci: refactor nvme_unmap_data
    9e4815cf1785 Input: elantech - fix protocol errors for some trackpoints in SMBus mode
    a1d010346e48 net: usb: qmi_wwan: support ZTE P685M modem
    7f324ea75baa Linux 5.4.102
    07c4c2e2bcd3 ARM: dts: aspeed: Add LCLK to lpc-snoop
    39be7b978fde net: qrtr: Fix memory leak in qrtr_tun_open
    7b518508c685 dm era: Update in-core bitset after committing the metadata
    976ee31ea300 net: sched: fix police ext initialization
    9875cb3c0968 net: icmp: pass zeroed opts from icmp{,v6}_ndo_send before sending
    354fb7244fd0 ipv6: silence compilation warning for non-IPV6 builds
    e528edf1e579 ipv6: icmp6: avoid indirect call for icmpv6_send()
    c30e93eee3bf xfrm: interface: use icmp_ndo_send helper
    e1ec06b833aa sunvnet: use icmp_ndo_send helper
    d8d268ce1a5e gtp: use icmp_ndo_send helper
    dd28e735df5c icmp: allow icmpv6_ndo_send to work with CONFIG_IPV6=n
    2019554f9656 icmp: introduce helper for nat'd source address in network device context
    0a35ff986617 drm/i915: Reject 446-480MHz HDMI clock on GLK
    467214ddfa7e dm era: only resize metadata in preresume
    fb8986363019 dm era: Reinitialize bitset cache before digesting a new writeset
    e59b9a8464be dm era: Use correct value size in equality function of writeset tree
    fead0c8e5c56 dm era: Fix bitset memory leaks
    8ca89085fe72 dm era: Verify the data block size hasn't changed
    e8a146ef82a4 dm era: Recover committed writeset after crash
    d873884783ed dm writecache: fix writing beyond end of underlying device when shrinking
    5233c47c8d46 dm: fix deadlock when swapping to encrypted device
    fd3b7e07d3c1 gfs2: Recursive gfs2_quota_hold in gfs2_iomap_end
    fa0201d3902e gfs2: Don't skip dlm unlock if glock has an lvb
    c5abc17d2740 spi: spi-synquacer: fix set_cs handling
    3dbe8f1d24de sparc32: fix a user-triggerable oops in clear_user()
    7e17044631aa f2fs: fix out-of-repair __setattr_copy()
    5b5d76028056 um: mm: check more comprehensively for stub changes
    b95baf4efb68 virtio/s390: implement virtio-ccw revision 2 correctly
    8e6c8cfa9aee s390/vtime: fix inline assembly clobber list
    07332771663b cpufreq: intel_pstate: Get per-CPU max freq via MSR_HWP_CAPABILITIES if available
    dfbbed769f1b printk: fix deadlock when kernel panic
    81c2472bcf33 gpio: pcf857x: Fix missing first interrupt
    70dcfb66ef68 spmi: spmi-pmic-arb: Fix hw_irq overflow
    d5194f7264e2 powerpc/32s: Add missing call to kuep_lock on syscall entry
    6b22c402dff9 mmc: sdhci-esdhc-imx: fix kernel panic when remove module
    b6bc5417385d module: Ignore _GLOBAL_OFFSET_TABLE_ when warning for undefined symbols
    8a3e6c6fe9c6 media: smipcie: fix interrupt handling and IR timeout
    2e1df9bfe6fa arm64: Extend workaround for erratum 1024718 to all versions of Cortex-A55
    566209806176 hugetlb: fix copy_huge_page_from_user contig page struct assumption
    5dd34ee9abdc hugetlb: fix update_and_free_page contig page struct assumption
    b74e3493264f x86: fix seq_file iteration for pat/memtype.c
    ebd5a480db0e seq_file: document how per-entry resources are managed.
    3e9b85cabea0 fs/affs: release old buffer head on error path
    b2b5c3aec866 mtd: spi-nor: hisi-sfc: Put child node np on error path
    61dfd4fbbd1e mtd: spi-nor: core: Add erase size check for erase command initialization
    3ab134965691 mtd: spi-nor: core: Fix erase type discovery for overlaid region
    cc27d5f40680 mtd: spi-nor: sfdp: Fix wrong erase type bitmask for overlaid region
    7852feb3accb mtd: spi-nor: sfdp: Fix last erase region marking
    97d079fd2ac1 watchdog: mei_wdt: request stop on unregister
    4262c46bfbcf watchdog: qcom: Remove incorrect usage of QCOM_WDT_ENABLE_IRQ
    a82ebd5dde7d arm64: uprobe: Return EOPNOTSUPP for AARCH32 instruction probing
    efca4c991ecf arm64: kexec_file: fix memory leakage in create_dtb() when fdt_open_into() fails
    d4a7d6c02261 floppy: reintroduce O_NDELAY fix
    337bba09d850 rcu/nocb: Perform deferred wake up before last idle's need_resched() check
    3cd9a74bead1 rcu: Pull deferred rcuog wake up to rcu_eqs_enter() callers
    14122331b1c3 powerpc/prom: Fix "ibm,arch-vec-5-platform-support" scan
    84ec5883b4f9 x86/reboot: Force all cpus to exit VMX root if VMX is supported
    4fa154124164 x86/virt: Eat faults on VMXOFF in reboot flows
    3f5dc4a102a9 media: ipu3-cio2: Fix mbus_code processing in cio2_subdev_set_fmt()
    de9b5d51b627 staging: rtl8188eu: Add Edimax EW-7811UN V2 to device table
    bb5bfd51f603 staging: gdm724x: Fix DMA from stack
    d69583a2c1b3 staging/mt7621-dma: mtk-hsdma.c->hsdma-mt7621.c
    eb6f42b101ec dts64: mt7622: fix slow sd card access
    f73e98efaa10 pstore: Fix typo in compression option name
    c9e529e635b9 drivers/misc/vmw_vmci: restrict too big queue size in qp_host_alloc_queue
    d82d5a77f0a0 misc: rtsx: init of rts522a add OCP power off when no card is present
    aa00c2d60ae1 seccomp: Add missing return in non-void function
    0d95bdee02ad crypto: sun4i-ss - initialize need_fallback
    903f576f4e66 crypto: sun4i-ss - handle BigEndian for cipher
    4fc52e091a2c crypto: sun4i-ss - checking sg length is not sufficient
    3b40af844c26 crypto: aesni - prevent misaligned buffers on the stack
    46e6d781f87e crypto: arm64/sha - add missing module aliases
    dca4f29507e4 btrfs: fix extent buffer leak on failure to copy root
    df369c3afb0d btrfs: splice remaining dirty_bg's onto the transaction dirty bg list
    dc0780e456ac btrfs: fix reloc root leak with 0 ref reloc roots on recovery
    c0baf3aaf4b9 btrfs: abort the transaction if we fail to inc ref in btrfs_copy_root
    2910038c09f4 KEYS: trusted: Fix migratable=1 failing
    2c21eac499f8 tpm_tis: Clean up locality release
    f19b98394c0a tpm_tis: Fix check_locality for correct locality acquisition
    52f3bdb1078a erofs: initialized fields can only be observed after bit is set
    4d09487509ad drm/sched: Cancel and flush all outstanding jobs before finish.
    c38fd6afe146 drm/nouveau/kms: handle mDP connectors
    7c1a2f91908f drm/amdgpu: Set reference clock to 100Mhz on Renoir (v2)
    ca5a8ad84ba0 drm/amd/display: Add vupdate_no_lock interrupts for DCN2.1
    5431cb67306d bcache: Move journal work to new flush wq
    a339f0998eb1 bcache: Give btree_io_wq correct semantics again
    de5510b9825c Revert "bcache: Kill btree_io_wq"
    f6992915031e ALSA: hda/realtek: modify EAPD in the ALC886
    48d1950dafe9 ALSA: hda: Add another CometLake-H PCI ID
    3ed9bd25fd88 USB: serial: mos7720: fix error code in mos7720_write()
    e73874b41286 USB: serial: mos7840: fix error code in mos7840_write()
    a678d130424a USB: serial: ftdi_sio: fix FTX sub-integer prescaler
    d1f773b70ae6 usb: dwc3: gadget: Fix dep->interval for fullspeed interrupt
    1c073b56e765 usb: dwc3: gadget: Fix setting of DEPCFG.bInterval_m1
    a5ae281779a5 usb: musb: Fix runtime PM race in musb_queue_resume_work
    e3ddfaf3e617 USB: serial: option: update interface mapping for ZTE P685M
    32a82e001ead media: mceusb: Fix potential out-of-bounds shift
    8812bed7ec74 Input: i8042 - add ASUS Zenbook Flip to noselftest list
    80168ba86034 Input: joydev - prevent potential read overflow in ioctl
    9fe66416b02e Input: xpad - add support for PowerA Enhanced Wired Controller for Xbox Series X|S
    d84f9c28abbe Input: raydium_ts_i2c - do not send zero length
    2d954832ba48 HID: wacom: Ignore attempts to overwrite the touch_max value from HID
    394f2b794310 HID: logitech-dj: add support for keyboard events in eQUAD step 4 Gaming
    e690b3f48635 ACPI: configfs: add missing check after configfs_register_default_group()
    40b70c98be98 ACPI: property: Fix fwnode string properties matching
    371a2218ed33 blk-settings: align max_sectors on "logical_block_size" boundary
    4ad2a372e1cd scsi: bnx2fc: Fix Kconfig warning & CNIC build errors
    d2aa80c36727 mm/rmap: fix potential pte_unmap on an not mapped pte
    8450b1cd7cb3 i2c: brcmstb: Fix brcmstd_send_i2c_cmd condition
    1a47856548fb arm64: Add missing ISB after invalidating TLB in __primary_switch
    94a432151c35 r8169: fix jumbo packet handling on RTL8168e
    c70c3b6e62e4 mm/compaction: fix misbehaviors of fast_find_migrateblock()
    c200f4959586 mm/hugetlb: fix potential double free in hugetlb_register_node() error path
    67a982ee20d2 mm/memory.c: fix potential pte_unmap_unlock pte error
    5bf318965485 ocfs2: fix a use after free on error
    55b6be947efa vxlan: move debug check after netdev unregister
    e9ae8928ddd6 net/mlx4_core: Add missed mlx4_free_cmd_mailbox()
    e41bb745fd0f vfio/type1: Use follow_pte()
    005ed88685aa i40e: Fix add TC filter for IPv6
    1b66e64ce349 i40e: Fix VFs not created
    a60ef5efff55 i40e: Fix addition of RX filters after enabling FW LLDP agent
    57a7b145d8a1 i40e: Fix overwriting flow control settings during driver loading
    55af95c8ce4d i40e: Add zero-initialization of AQ command structures
    d7c25783b8c8 i40e: Fix flow for IPv6 next header (extension header)
    2efbd63b6e74 regmap: sdw: use _no_pm functions in regmap_read/write
    62c4532ebb1d nvmem: core: skip child nodes not matching binding
    e40a8924eb3b nvmem: core: Fix a resource leak on error in nvmem_add_cells_from_of()
    d8b7689a6240 ext4: fix potential htree index checksum corruption
    2df4434766aa vfio/iommu_type1: Fix some sanity checks in detach group
    179b83e72c89 drm/msm/mdp5: Fix wait-for-commit for cmd panels
    32cf1b5c153d drm/msm/dsi: Correct io_start for MSM8994 (20nm PHY)
    e2d44809c4f4 mei: hbm: call mei_set_devstate() on hbm stop response
    c7cac840c2b3 PCI: Align checking of syscall user config accessors
    8c23e9f4c7b0 VMCI: Use set_page_dirty_lock() when unregistering guest memory
    e8ba75011695 pwm: rockchip: rockchip_pwm_probe(): Remove superfluous clk_unprepare()
    3a9044ea78ea soundwire: cadence: fix ACK/NAK handling
    fcfec32c9a01 misc: eeprom_93xx46: Add module alias to avoid breaking support for non device tree users
    52fe389c0a99 phy: rockchip-emmc: emmc_phy_init() always return 0
    047e029392a5 misc: eeprom_93xx46: Fix module alias to enable module autoprobe
    f7fb313affee sparc64: only select COMPAT_BINFMT_ELF if BINFMT_ELF is set
    0a072f01e585 Input: elo - fix an error code in elo_connect()
    2062856c441c perf test: Fix unaligned access in sample parsing test
    eb191a88be52 perf intel-pt: Fix premature IPC
    119f96bb14bc perf intel-pt: Fix missing CYC processing in PSB
    ce40b82cfa09 Input: sur40 - fix an error code in sur40_probe()
    d5ca5d1190a4 RDMA/hns: Fixes missing error code of CMDQ
    8677e99150b0 nfsd: register pernet ops last, unregister first
    046615ffd431 clk: aspeed: Fix APLL calculate formula from ast2600-A2
    923027302666 regulator: qcom-rpmh: fix pm8009 ldo7
    2ebadcea0ef3 spi: pxa2xx: Fix the controller numbering for Wildcat Point
    e0c516e72fd5 RDMA/hns: Fix type of sq_signal_bits
    d21f6d9a3e49 RDMA/siw: Fix calculation of tx_valid_cpus size
    d0005c4ab5e1 RDMA/hns: Fixed wrong judgments in the goto branch
    c42d1e8caad5 clk: qcom: gcc-msm8998: Fix Alpha PLL type for all GPLLs
    ecfae933df3a powerpc/8xx: Fix software emulation interrupt
    ba5c8a0ee624 powerpc/pseries/dlpar: handle ibm, configure-connector delay status
    0c79abee609d mfd: wm831x-auxadc: Prevent use after free in wm831x_auxadc_read_irq()
    046a8158982b spi: stm32: properly handle 0 byte transfer
    3cb8510625d5 RDMA/rxe: Correct skb on loopback path
    c88fc726d9c0 RDMA/rxe: Fix coding error in rxe_rcv_mcast_pkt
    2e556ba37f13 RDMA/rxe: Fix coding error in rxe_recv.c
    d2ee0b2070cd perf vendor events arm64: Fix Ampere eMag event typo
    a0ea1f58aeea perf tools: Fix DSO filtering when not finding a map for a sampled address
    e59e0ced0763 tracepoint: Do not fail unregistering a probe due to memory failure
    4cb8bdaebbd8 IB/cm: Avoid a loop when device has 255 ports
    180cd50dd9a8 IB/mlx5: Return appropriate error code instead of ENOMEM
    379b5ee283dd amba: Fix resource leak for drivers without .remove
    65159b4401fd i2c: qcom-geni: Store DMA mapping data in geni_i2c_dev struct
    870ab7ef9799 ARM: 9046/1: decompressor: Do not clear SCTLR.nTLSMD for ARMv7+ cores
    f201f050a52a mmc: renesas_sdhi_internal_dmac: Fix DMA buffer alignment from 8 to 128-bytes
    2096ca11967c mmc: usdhi6rol0: Fix a resource leak in the error handling path of the probe
    de1e8961db05 mmc: sdhci-sprd: Fix some resource leaks in the remove function
    c4c70ac4659e powerpc/47x: Disable 256k page size
    8121f35cc657 KVM: PPC: Make the VMX instruction emulation routines static
    144422afaa10 IB/umad: Return EPOLLERR in case of when device disassociated
    40d9bcab50d0 IB/umad: Return EIO in case of when device disassociated
    f337e5947a19 objtool: Fix ".cold" section suffix check for newer versions of GCC
    9d20f53167e6 objtool: Fix error handling for STD/CLD warnings
    68b6d02b3774 auxdisplay: ht16k33: Fix refresh rate handling
    88b6e7267f9e isofs: release buffer head before return
    8eaf7e3480ec regulator: core: Avoid debugfs: Directory ... already present! error
    486a018932fe regulator: s5m8767: Drop regulators OF node reference
    ab669048f97d spi: atmel: Put allocated master before return
    bdad2e9c992e regulator: s5m8767: Fix reference count leak
    0fec3272abf1 certs: Fix blacklist flag type confusion
    8d0c3acd0370 regulator: axp20x: Fix reference cout leak
    edf1d9025195 clk: sunxi-ng: h6: Fix clock divider range on some clocks
    e68366695807 RDMA/mlx5: Use the correct obj_id upon DEVX TIR creation
    6a52a17fd0a3 clocksource/drivers/mxs_timer: Add missing semicolon when DEBUG is defined
    898c96f75616 clocksource/drivers/ixp4xx: Select TIMER_OF when needed
    d8a9db6dfa23 rtc: s5m: select REGMAP_I2C
    239670e85cbb power: reset: at91-sama5d2_shdwc: fix wkupdbc mask
    3cbd3038c915 of/fdt: Make sure no-map does not remove already reserved regions
    fb326c6ce0dc fdt: Properly handle "no-map" field in the memory region
    5fba43deff93 mfd: bd9571mwv: Use devm_mfd_add_devices()
    3b0053360e84 dmaengine: hsu: disable spurious interrupt
    fe0a870739ba dmaengine: owl-dma: Fix a resource leak in the remove function
    6f4fdb448b4c dmaengine: fsldma: Fix a resource leak in an error handling path of the probe function
    67be754e0771 dmaengine: fsldma: Fix a resource leak in the remove function
    da0f70eadabf RDMA/siw: Fix handling of zero-sized Read and Receive Queues.
    1f5fea7616e8 HID: core: detect and skip invalid inputs to snto32()
    34d0d61a864d clk: sunxi-ng: h6: Fix CEC clock
    2dd73db1b508 spi: cadence-quadspi: Abort read if dummy cycles required are too many
    0473358e075c i2c: iproc: handle master read request
    128c8431e8b9 i2c: iproc: update slave isr mask (ISR_MASK_SLAVE)
    d8a5e1780a2b i2c: iproc: handle only slave interrupts which are enabled
    8b63c0cbc724 quota: Fix memory leak when handling corrupted quota file
    623c86840e8a selftests/powerpc: Make the test check in eeh-basic.sh posix compliant
    b070f3b6ee5a clk: meson: clk-pll: propagate the error from meson_clk_pll_set_rate()
    f8c601cb3ab4 clk: meson: clk-pll: make "ret" a signed integer
    fcba0f6ab1e2 clk: meson: clk-pll: fix initializing the old rate (fallback) for a PLL
    6413d0318ca4 HSI: Fix PM usage counter unbalance in ssi_hw_init
    33a2e62473e8 capabilities: Don't allow writing ambiguous v3 file capabilities
    b42b04e517cb ubifs: Fix error return code in alloc_wbufs()
    5501892826bb ubifs: Fix memleak in ubifs_init_authentication
    c4ede7571b4f jffs2: fix use after free in jffs2_sum_write_data()
    746ef39b0bd6 fs/jfs: fix potential integer overflow on shift of a int
    ff138fd20f17 ASoC: simple-card-utils: Fix device module clock
    091b409383ad ima: Free IMA measurement buffer after kexec syscall
    e436d3f7bdac ima: Free IMA measurement buffer on error
    f04787555f4c crypto: ecdh_helper - Ensure 'len >= secret.len' in decode_key()
    cba03a29611c hwrng: timeriomem - Fix cooldown period calculation
    6f651ec266ba btrfs: clarify error returns values in __load_free_space_cache
    790c0dcbb519 ASoC: SOF: debug: Fix a potential issue on string buffer termination
    624d18332e13 Drivers: hv: vmbus: Avoid use-after-free in vmbus_onoffer_rescind()
    76faeef2f45e f2fs: fix a wrong condition in __submit_bio
    721c986986d2 drm/amdgpu: Prevent shift wrapping in amdgpu_read_mask()
    c1a421b198bc f2fs: fix to avoid inconsistent quota data
    7cb52169ada4 mtd: parsers: afs: Fix freeing the part name memory in failure
    35a5d96a4c22 ASoC: cpcap: fix microphone timeslot mask
    4168bf93ccc4 ata: ahci_brcm: Add back regulators management
    0faef25462f8 drm/nouveau: bail out of nouveau_channel_new if channel init fails
    adc2e1dba977 crypto: talitos - Work around SEC6 ERRATA (AES-CTR mode data size error)
    7284c2692aff mtd: parser: imagetag: fix error codes in bcm963xx_parse_imagetag_partitions()
    aae14aed37d5 sched/eas: Don't update misfit status if the task is pinned
    ba95955ee1e2 media: uvcvideo: Accept invalid bFormatIndex and bFrameIndex values
    27019b873863 media: pxa_camera: declare variable when DEBUG is defined
    0f16925a9e70 media: cx25821: Fix a bug when reallocating some dma memory
    c3a2f73a7925 media: qm1d1c0042: fix error return code in qm1d1c0042_init()
    96a3bc313aa3 media: lmedm04: Fix misuse of comma
    69e859a9d0a4 media: software_node: Fix refcounts in software_node_get_next_child()
    1e0f565138db drm/amd/display: Fix HDMI deep color output for DCE 6-11.
    7d1fc1e88b36 drm/amd/display: Fix 10/12 bpc setup in DCE output bit depth reduction.
    ed0b50cd4407 bsg: free the request before return error code
    de9b26b5133f MIPS: properly stop .eh_frame generation
    1169602150d5 drm/sun4i: tcon: fix inverted DCLK polarity
    48f2fcd7b928 crypto: bcm - Rename struct device_private to bcm_device_private
    3d5afcae9af2 evm: Fix memleak in init_desc
    76b7e3a636b4 ASoC: cs42l56: fix up error handling in probe
    c7ebd8b358b0 media: aspeed: fix error return code in aspeed_video_setup_video()
    438d2cc7b8cc media: tm6000: Fix memleak in tm6000_start_stream
    31730cb2461b media: media/pci: Fix memleak in empress_init
    57cc424326df media: em28xx: Fix use-after-free in em28xx_alloc_urbs
    3e0c29a407da media: vsp1: Fix an error handling path in the probe function
    e01fcc71a994 media: camss: missing error code in msm_video_register()
    1b26ba73b18f media: imx: Fix csc/scaler unregister
    0634c66e6660 media: imx: Unregister csc/scaler only if registered
    61f638b3afe9 media: i2c: ov5670: Fix PIXEL_RATE minimum value
    7dfe4fed118d MIPS: lantiq: Explicitly compare LTQ_EBU_PCC_ISTAT against 0
    ea27c3f0bc1a MIPS: c-r4k: Fix section mismatch for loongson2_sc_init
    d9f6d2a54487 drm/amdgpu: Fix macro name _AMDGPU_TRACE_H_ in preprocessor if condition
    0d528f6151c7 crypto: arm64/aes-ce - really hide slower algos when faster ones are enabled
    e056f69dea5a crypto: sun4i-ss - fix kmap usage
    a3eeb7fd063f crypto: sun4i-ss - linearize buffers content must be kept
    914d61930b89 drm/fb-helper: Add missed unlocks in setcmap_legacy()
    200e603d5517 gma500: clean up error handling in init
    2e5c94708d3e drm/gma500: Fix error return code in psb_driver_load()
    0da21f552344 fbdev: aty: SPARC64 requires FB_ATY_CT
    e7b6ac5c46fe net: mvneta: Remove per-cpu queue mapping for Armada 3700
    825c82d55197 net: amd-xgbe: Fix network fluctuations when using 1G BELFUSE SFP
    46121a6f3be5 net: amd-xgbe: Reset link when the link never comes back
    70bf58171f19 net: amd-xgbe: Fix NETDEV WATCHDOG transmit queue timeout warning
    0496eb6f48cc net: amd-xgbe: Reset the PHY rx data path when mailbox command timeout
    95672dd57547 ibmvnic: skip send_request_unmap for timeout reset
    64a87b0b650c ibmvnic: add memory barrier to protect long term buffer
    8022d52a102b b43: N-PHY: Fix the update of coef for the PHY revision >= 3case
    9db1f14e7043 cxgb4/chtls/cxgbit: Keeping the max ofld immediate data size same in cxgb4 and ulds
    399fb9d51ba9 net: axienet: Handle deferred probe on clock properly
    774bacf121c3 tcp: fix SO_RCVLOWAT related hangs under mem pressure
    88f8f40c901c bpf: Fix bpf_fib_lookup helper MTU check for SKB ctx
    5af224ab9486 mac80211: fix potential overflow when multiplying to u32 integers
    fef6f594ea43 xen/netback: fix spurious event detection for common event case
    5c54aaed078d bnxt_en: reverse order of TX disable and carrier off
    a1b692506569 ibmvnic: Set to CLOSED state even on error
    9de820ae6cc1 ath9k: fix data bus crash when setting nf_override via debugfs
    4dcfd936030b bpf_lru_list: Read double-checked variable once without lock
    bcda70ed686f soc: aspeed: snoop: Add clock control logic
    5350b91a73d7 ARM: s3c: fix fiq for clang IAS
    b9634e38ac61 arm64: dts: msm8916: Fix reserved and rfsa nodes unit address
    65f9fdb425bc Bluetooth: btusb: Fix memory leak in btusb_mtk_wmt_recv
    80ace3402885 arm64: dts: armada-3720-turris-mox: rename u-boot mtd partition to a53-firmware
    18ab54cfda05 ARM: dts: armada388-helios4: assign pinctrl to each fan
    3d3098c2ddad ARM: dts: armada388-helios4: assign pinctrl to LEDs
    6b86cbc97589 staging: rtl8723bs: wifi_regd.c: Fix incorrect number of regulatory rules
    c75f541e12f8 usb: dwc2: Make "trimming xfer length" a debug message
    6e89da2174f7 usb: dwc2: Abort transaction after errors with unknown reason
    c192b2cc4d39 usb: dwc2: Do not update data length if it is 0 on inbound transfers
    c7722f664788 ARM: dts: Configure missing thermal interrupt for 4430
    75921ff8bdc4 memory: ti-aemif: Drop child node when jumping out loop
    725cb22009f7 Bluetooth: Put HCI device if inquiry procedure interrupts
    9f2816a99ace Bluetooth: drop HCI device reference before return
    a5542b45c729 usb: gadget: u_audio: Free requests only after callback
    a17fa9039218 ACPICA: Fix exception code class checks
    fb6aa67ab1da cpufreq: brcmstb-avs-cpufreq: Fix resource leaks in ->remove()
    279bc604e2e9 cpufreq: brcmstb-avs-cpufreq: Free resources in error path
    24932862d9ee arm64: dts: allwinner: A64: Limit MMC2 bus frequency to 150 MHz
    f85f6c5572ff arm64: dts: allwinner: H6: Allow up to 150 MHz MMC bus frequency
    06010cf028ce arm64: dts: allwinner: Drop non-removable from SoPine/LTS SD card
    288764e9ac2f arm64: dts: allwinner: H6: properly connect USB PHY to port 0
    c4be5762aab9 arm64: dts: allwinner: A64: properly connect USB PHY to port 0
    c616257c9db4 bpf: Avoid warning when re-casting __bpf_call_base into __bpf_call_base_args
    fa3fc79c7834 bpf: Add bpf_patch_call_args prototype to include/linux/bpf.h
    ab9de93d12c9 memory: mtk-smi: Fix PM usage counter unbalance in mtk_smi ops
    9ab4364ecd99 arm64: dts: exynos: correct PMIC interrupt trigger level on Espresso
    0fb966b5d10b arm64: dts: exynos: correct PMIC interrupt trigger level on TM2
    f0f9e9152375 ARM: dts: exynos: correct PMIC interrupt trigger level on Odroid XU3 family
    d32a94371fc1 ARM: dts: exynos: correct PMIC interrupt trigger level on Arndale Octa
    da40c06e41b5 ARM: dts: exynos: correct PMIC interrupt trigger level on Spring
    e23124590415 ARM: dts: exynos: correct PMIC interrupt trigger level on Rinato
    4a0e0208bbb5 ARM: dts: exynos: correct PMIC interrupt trigger level on Monk
    6d4c9e525833 ARM: dts: exynos: correct PMIC interrupt trigger level on Artik 5
    36c39c445265 Bluetooth: Fix initializing response id after clearing struct
    04792d477215 Bluetooth: hci_uart: Fix a race for write_work scheduling
    b624bc27cf82 Bluetooth: btqcomsmd: Fix a resource leak in error handling paths in the probe function
    a48bb93f6fbe ath10k: Fix error handling in case of CE pipe init failure
    3a954b0d909c random: fix the RNDRESEEDCRNG ioctl
    1be2b1d23529 MIPS: vmlinux.lds.S: add missing PAGE_ALIGNED_DATA() section
    d3b8fa2e1d03 ALSA: usb-audio: Fix PCM buffer allocation in non-vmalloc mode
    166f9bc8ca0d bfq: Avoid false bfq queue merging
    608ba1f447bc virt: vbox: Do not use wait_event_interruptible when called from kernel context
    468bf1861a9c PCI: Decline to resize resources if boot config must be preserved
    213c6f635bab PCI: qcom: Use PHY_REFCLK_USE_PAD only for ipq8064
    c37821e061f0 kdb: Make memory allocations more robust
    6f15d498bfe8 debugfs: do not attempt to create a new file before the filesystem is initalized
    de5ae4087035 debugfs: be more robust at handling improper input in debugfs_lookup()
    d239c08f091a kvm: x86: replace kvm_spec_ctrl_test_value with runtime test on the host
    0a6565762f27 vmlinux.lds.h: add DWARF v5 sections

(From OE-Core rev: 820b55234191890ece87e858a98089326985e868)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 14:00:36 +00:00
Khem Raj
7dd1c5a1ee parselogs: Allow expected kernel messages for qemuppc64
pseries machine emulation ends up with these three messages in kernel
logs which are harmless, so ignore them for now

https://www.mail-archive.com/ubuntu-bugs@lists.ubuntu.com/msg5600561.html
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1827162

(From OE-Core rev: f9a5dc7eeb99d211d728f8f7395aa22d4749e6a7)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 14:00:36 +00:00
Khem Raj
ed69ef2016 inittab: Add getty launch on hvc0 for qemuppc64
(From OE-Core rev: be3a6b97913cd9e17cd434a2abec1aa3445a3c05)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 14:00:36 +00:00
Khem Raj
f9507e3adb formfactor: Add machine config for qemuppc64
(From OE-Core rev: 13bc8fa9d7ba8c2bf8c7167d0cf959273997f78f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 14:00:36 +00:00
Khem Raj
51b28ccb7c linux-yocto: Enable powerpc64le QEMU
(From OE-Core rev: 3a741b0f39486874b69cc3ed9c4cb95fef01876b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 14:00:36 +00:00
Khem Raj
ef910d7a51 qemuppc64: Add a QEMU machine definition for ppc64
(From OE-Core rev: 68275b25f0a1941cd9b3d2ddca60e9149ba18d37)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 14:00:36 +00:00
Minjae Kim
c59fa5d062 qemu: fix CVE-2021-20203
net: vmxnet3: validate configuration values during activate

Upstream-Status: Acepted [https://lists.gnu.org/archive/html/qemu-devel/2021-01/msg07935.html]
CVE: CVE-2021-20203
(From OE-Core rev: 20d9e13372c4878a87488ea4e470b6ccea3e9dbc)

Signed-off-by: Minjae Kim <flowergom@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 14:00:36 +00:00
Alistair Francis
4b02e98f87 machine: Initial commit of qemuriscv32
(From OE-Core rev: 5610a5b4ef7e95bf208821309ada70eeae47c4f8)

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 14:00:36 +00:00
Alistair Francis
5ba6661a78 linux-yocto: Add qemuriscv32 as a compatible machine
(From OE-Core rev: 8a40989f036652aa91873b148f23988f2a996a8a)

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 14:00:36 +00:00
Alistair Francis
4aafbcc370 openssl: Enable building for RISC-V 32-bit
(From OE-Core rev: 22691df60abe22bafb83f391549ee9e5026cabef)

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 14:00:36 +00:00
Sakib Sajal
1d7da7a6fa buildstats.bbclass: improve timeout handling
The subprocess that runs the commands periodically
times out prematurely even when there is sufficient
time available within the given interval for the
commands to run.

This change improves timeout handling and give all the
commands equal time to run.

(From OE-Core rev: 74e5c438025ed42cfacb993261dc664c3b7959a8)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 14:00:36 +00:00
Diego Santa Cruz
aafa7a3f3a sstate-diff-machines.sh: support rpm, deb and tar package types in analysis
The sstate-diff-machines.sh script's --analyze option was only supporting
ipk packages, this adds rpm, deb and tar packages, checking all the used
package types simultaneously.

Without this changing sstate between machines would not report an error
if the difference occured in packages and ipk packaging was not enabled.

(From OE-Core rev: b27bff26a9640dfdfba4fc711a9b28acb4501d2b)

Signed-off-by: Diego Santa Cruz <Diego.SantaCruz@spinetix.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-10 10:30:39 +00:00
Khem Raj
90a39ca9f4 webkitgtk: Enhance check for atomics to include 1 byte CAS
This fixes linking failures
Source/WTF/wtf/text/StringImpl.h:1115: undefined reference to `__atomic_compare_exchange_1'

(From OE-Core rev: 22cb3fff5a161f03511056c749bfb11e83de1628)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-10 10:30:39 +00:00
Bruce Ashfield
a42b2bf96e perf: fix reproducibility issues
perf has been failing our reproducible testing due to multiple symbols
containg build paths.

With this commit, we fix the issues:

 1) The following line in the Makefle:

     override PYTHON := $(call get-executable-or-default,PYTHON,$(PYTHON_AUTO))

 "PYTHON" / "PYTHON_AUTO" have the full path as part of the variable. We've
 ensure that the environment is setup and we do not need the full path to be
 captured, since the symbol gets built into the executable, making it not
 reproducible.

 2) The following line:

    srcdir_SQ = $(patsubst %tools/perf,tools/perf,$(subst ','\'',$(srcdir))),

 Captures the full src path of perf, which of course makes it not
 reproducible. We really only need the relative location 'tools/perf', so we
 change the Makefile line to remove everything before 'tools/perf'

 3) OUTPUT is the full path, we have python on the path so we remove it from the
 definition. This is captured in the perf binary, so breaks reproducibility

     PYTHONPATH="BUILD_STR(python)

 4) To avoid bison generating #ifdefs that have captured paths, we make sure
 all the calls have YFLAGS, which contains prefix mapping information.

Upstream-status: OE specific to our cross/build environments. Variants
                 will be developed for upstream

(From OE-Core rev: dea57aa1cd879df4feae1b9595b38c5b6ff74574)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-10 10:30:39 +00:00
Andrei Gherzan
1d7e44d443 glibc: Backport patch to fix _SC_LEVEL1_ICACHE_LINESIZE
(From OE-Core rev: 89b38e4e7be9e136c71d5860ddca5369f9628393)

Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-10 10:30:39 +00:00
Khem Raj
c61948e9b8 webkitgtk: Use linker options to reduce memory overhead during linking
Helps builds on machines with less RAM ( 8G )

(From OE-Core rev: 6ff409d0d70b2ee0580d948c9fe50a1c9f224ac6)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-10 10:30:39 +00:00
Richard Purdie
618b2ce5ca ltp: Fix libswapon issue properly
Replace the libswapon reproducibility workaround with the solution
preferred by upstream.

(From OE-Core rev: 5fc7d4a4c428d5be7103d8e9345d23038dae4247)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-10 10:30:39 +00:00
Richard Purdie
7c8a944c47 ltp: Fix determinism issue
There was still a remaining issue with reporoducibility based upon the
make version from the host system. Some versions added whitespace for
XXX+=<tab> (e.g. 4.1) and some versions do not (e.g. 4.3).

Replace the determinism patches with those submitted upstream both
for this issue and the previous one.

The LC_ALL setting for sort is dropped as it didn't fix an issue as hoped.

(From OE-Core rev: fda178ace0f4acad931c69300f6af54556472a06)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-10 10:30:39 +00:00
Yi Fan Yu
744566b658 valgrind: Fix nlcontrolc.vgtest
Backport a recent upstream patch
that redesigned the test.

It's now enabled for both x86-64 and arm.

[YOCTO #14223]

(From OE-Core rev: 64f98a731adaf86c9185c90436db1a6eb8e16b42)

Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-10 10:30:39 +00:00
Ross Burton
b0df39edd7 oeqa/selftest: add test to verify that poisoned sysroots are detected
Add a recipe that explicitly searches /usr/include, and use that in
oe-selftest to verify that host include paths are correctly causing
build failures.

(From OE-Core rev: b3e3eba796b843021b264f0e98dc30f983775d58)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-10 10:30:39 +00:00
Ross Burton
fdb9e868f7 gcc-cross: make use of the system include directories fatal
When building the cross GCC, configure it so that including the host
system include directories is fatal, not just a warning.

(From OE-Core rev: d039d6fbfc9076f081173f6e5cc63c56fe3a5adb)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-10 10:30:39 +00:00
Ross Burton
036dd67bf6 gcc: add an option for --enable-poison-system-directories to be fatal
Extend --enable-poison-system-directories so that it can be an error
instead of a warning by default.

(From OE-Core rev: 1fcaa5f452b2c6b93a6f3dfd57f894cbef5e3379)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-10 10:30:39 +00:00
Ross Burton
81adf49416 insane: don't check for a warning string that is never output
insane has checks that the compiler isn't printing "CROSS COMPILE
Badness" during configure/compile/install, but this message hasn't been
output by GCC since 2010 (23f522e7).

The current warning is "include location [...] is unsafe for cross-
compilation" and as that is a proper GCC warning, we can make it fatal
in follow-up patches.

(From OE-Core rev: a67e9ebfd5b8002fd4a7d8d27ff0d997817f76e1)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-10 10:30:39 +00:00
Alexander Kanavin
ef39fa61d5 libical: drop the ad hoc native generator build
With a bit of help from upstream I figured out how to do
cross-builds the way upstream intends to.

(From OE-Core rev: f13c2cd727b01a3a11211a42c682ebb5eef9aa11)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-10 10:30:39 +00:00
Alexander Kanavin
be8062b071 libical: update 3.0.8 -> 3.0.9
Upstream attempted to fix cross-compilation, but seems to have broken it,
so a new ticket was filed, and patch to un-break it was rewritten.

(From OE-Core rev: 062b1d1092b451f36af064b30f73326c0b5e5e4d)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-10 10:30:39 +00:00
Alexander Kanavin
bc177f47c5 librepo: update 1.12.1 -> 1.13.0
(From OE-Core rev: 3ce40697d0b5942f7c69f73b7b7f7cdf72b897fa)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-10 10:30:39 +00:00
Alexander Kanavin
43c40ea7e0 libdnf: replace a musl fix with a better one
(From OE-Core rev: 45a350bf9df8aeeaff1f9ded75307ee60f9897a1)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-10 10:30:39 +00:00
Alexander Kanavin
d3ffc00752 libdnf: update 0.55.2 -> 0.58.0
Sdd a patch to fix musl builds.

(From OE-Core rev: 559410af0496465f9fbe5e87849b42859328959e)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-10 10:30:39 +00:00
Alexander Kanavin
d7522c859d dnf: upgrade 4.5.2 -> 4.6.0
(From OE-Core rev: 6e96939b65ad9d1435ae0dfd8303f0ed8c429cee)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-10 10:30:39 +00:00
Richard Purdie
281eba70c2 bitbake: __init__.py: Fix bitbake debug log handling
For a while I've been puzzled as to why debug logging from runqueue wouldn't
appear on the console with -DD. The logic in the bbdebug handling is inverted
so fix it and now we see the expected messages from runqueue with -D and -DD.

This should then let us debug other issues using those log messages.

(Bitbake rev: 34145b950be03aff8f9b88207cf843abf002ab13)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-09 00:02:41 +00:00
Richard Purdie
31c4eec40a bitbake: runqueue: Add setscene task overlap sanity check
We've seen hard to debug issues where a task ends up in both the
covered and notcovered list. Add a sanity check to ensure if this
happens in future, we see it in the logs.

(Bitbake rev: 6e001410854792f9bb66a0409a2ac176171b0507)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-09 00:02:05 +00:00
Richard Purdie
341208aa87 bitbake: runqueue: Fix task execution corruption issue
We've seen occasional issues where linux-yocto:do_compile_kernelmodules would
run without do_shared_workdir running before it. do_shared_workdir is an
setscene task but never has an sstate object generated so it will always
rerun. This should not happen since compile_kernemodules should only
execute if a setscene that depends on it didn't run and that should trigger
do_shared_workdir not to be marked as covered.

The issue is that build-appliance-image:do_package is one of the tasks which
covers linux-yocto:do_compile_kernelmodules but it is also a noexec task
and has a dependecy on pseudo-native:do_populate_sysroot.

In the problem case, pseudo-native:do_populate_sysroot is unavailable but
marked as covered since it is noexec. The "harddeps" code then also marks it
as notcovered. No task should ever be both covered and notcovered and this
is where the problems come from.

The solution is for the harddeps code only to to fail tasks if they've not
already been handled in some way. The code is assuming code couldn't have
handled revdeps at this point but we now have clear evidence they can.

(Bitbake rev: f66556bbb38449789ceea2fd105e9f68df7fb660)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-09 00:02:05 +00:00
Richard Purdie
1b958cd47d ltp: Further extend reproducibility patch
Further issues were highlighted by autobuilder testing, extend the second patch
to cover them.

(From OE-Core rev: 3cf69fba8542e6ebbdb754c7616cf2ad44eec6ff)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-09 00:01:24 +00:00
Bruce Ashfield
a65b6e543b linux-yocto/5.4: update to v5.4.101
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    ef1fcccf6e5f Linux 5.4.101
    fe257f47e2c3 scripts/recordmcount.pl: support big endian for ARCH sh
    a2c5e4a083a7 cifs: Set CIFS_MOUNT_USE_PREFIX_PATH flag on setting cifs_sb->prepath.
    e6f7bf29e32d cxgb4: Add new T6 PCI device id 0x6092
    aaf830ad624a NET: usb: qmi_wwan: Adding support for Cinterion MV31
    5f2093be3627 KVM: Use kvm_pfn_t for local PFN variable in hva_to_pfn_remapped()
    3f9fbe703164 mm: provide a saner PTE walking API for modules
    32f070ad274d KVM: do not assume PTE is writable after follow_pfn
    78c7b242573a mm: simplify follow_pte{,pmd}
    8aeef9c9ac7e mm: unexport follow_pte_pmd
    8f869895cf9d scripts: set proper OpenSSL include dir also for sign-file
    c7ed0a50f20a scripts: use pkg-config to locate libcrypto
    c8e3bcc6db7c arm64: tegra: Add power-domain for Tegra210 HDA
    74c8a6af692a ntfs: check for valid standard information attribute
    54a3c25368d9 usb: quirks: add quirk to start video capture on ELMO L-12F document camera reliable
    96ef50ec7266 USB: quirks: sort quirk entries
    fce3654c648d HID: make arrays usage and value to be the same
    185c2266c1df bpf: Fix truncation handling for mod32 dst reg wrt zero
    fc944ddc0b4a Linux 5.4.100
    38d777aaf2c3 btrfs: fix backport of 2175bf57dc952 in 5.4.95
    c6dd8545fe38 media: pwc: Use correct device for DMA
    524a77aa5d69 xen-blkback: fix error handling in xen_blkbk_map()
    be05138a9cdd xen-scsiback: don't "handle" error by BUG()
    52e8f43af540 xen-netback: don't "handle" error by BUG()
    7109f61d25ff xen-blkback: don't "handle" error by BUG()
    55ccf71c0985 xen/arm: don't ignore return errors from set_phys_to_machine
    feda880969a5 Xen/gntdev: correct error checking in gntdev_map_grant_pages()
    0e382682dda4 Xen/gntdev: correct dev_bus_addr handling in gntdev_map_grant_pages()
    da92e41f010e Xen/x86: also check kernel mapping in set_foreign_p2m_mapping()
    104eef952314 Xen/x86: don't bail early from clear_foreign_p2m_mapping()
    49de0a17e68f net: bridge: Fix a warning when del bridge sysfs
    c35ce3d38caa net: qrtr: Fix port ID for control messages
    f49731dfdb20 KVM: SEV: fix double locking due to incorrect backport

(From OE-Core rev: e813c8d776679fc602b06959dd7e280959ffd1ee)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-09 00:01:24 +00:00
Bruce Ashfield
83e8e824fa linux-yocto/5.10: update to v5.10.19
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    7b43ec8a0cc6 Linux 5.10.19
    983f361bde5e scripts/recordmcount.pl: support big endian for ARCH sh
    6ca89ac39e48 kbuild: fix CONFIG_TRIM_UNUSED_KSYMS build for ppc64
    b8b65310e4b9 cifs: Set CIFS_MOUNT_USE_PREFIX_PATH flag on setting cifs_sb->prepath.
    ec6504c8a1fc cxgb4: Add new T6 PCI device id 0x6092
    b7e51e5ecf39 NET: usb: qmi_wwan: Adding support for Cinterion MV31
    1f683fd2c21f drm/xlnx: fix kmemleak by sending vblank_event in atomic_disable
    3320aa64c322 KVM: Use kvm_pfn_t for local PFN variable in hva_to_pfn_remapped()
    a42150f1c965 mm: provide a saner PTE walking API for modules
    83d42c25868d KVM: do not assume PTE is writable after follow_pfn
    6d9c9ec0d859 mm: simplify follow_pte{,pmd}
    f8d8fb7ae86c mm: unexport follow_pte_pmd
    d2cbae37c3d8 KVM: x86: Zap the oldest MMU pages, not the newest
    729fbb8cb276 hwmon: (dell-smm) Add XPS 15 L502X to fan control blacklist
    956690f5c607 arm64: tegra: Add power-domain for Tegra210 HDA
    d63699364fa3 Bluetooth: btusb: Some Qualcomm Bluetooth adapters stop working
    9f04a05fa1ed ntfs: check for valid standard information attribute
    3e81e1db8b50 ceph: downgrade warning from mdsmap decode to debug
    92c8c930caa0 usb: quirks: add quirk to start video capture on ELMO L-12F document camera reliable
    f8921ed4d330 USB: quirks: sort quirk entries
    95c0528c11b2 nvme-rdma: Use ibdev_to_node instead of dereferencing ->dma_device
    225d207da2e1 RDMA: Lift ibdev_to_node from rds to common code
    77344e18cf84 HID: make arrays usage and value to be the same
    3320bae8c115 bpf: Fix truncation handling for mod32 dst reg wrt zero
    63b9d2e001fd Linux 5.10.18
    c6152fd3ac2b media: pwc: Use correct device for DMA
    a6703c711534 btrfs: fix crash after non-aligned direct IO write with O_DSYNC
    aa0fd921d207 btrfs: fix backport of 2175bf57dc952 in 5.10.13
    df443aad518d Bluetooth: btusb: Always fallback to alt 1 for WBS
    ffec7ee21809 tty: protect tty_write from odd low-level tty disciplines
    00805af45a21 xen-blkback: fix error handling in xen_blkbk_map()
    9bea436fc3fc xen-scsiback: don't "handle" error by BUG()
    2814b3aa38a6 xen-netback: don't "handle" error by BUG()
    8f8ebd6b1cb5 xen-blkback: don't "handle" error by BUG()
    0462dbbe2cab xen/arm: don't ignore return errors from set_phys_to_machine
    be89a0300a58 Xen/gntdev: correct error checking in gntdev_map_grant_pages()
    1a5c2274349f Xen/gntdev: correct dev_bus_addr handling in gntdev_map_grant_pages()
    0c08037b56a7 Xen/x86: also check kernel mapping in set_foreign_p2m_mapping()
    740f4d9d0c34 Xen/x86: don't bail early from clear_foreign_p2m_mapping()
    06ab1e63ec5c net: fix proc_fs init handling in af_packet and tls
    ba2582cd7f20 net: bridge: Fix a warning when del bridge sysfs
    2bce178c254c net: openvswitch: fix TTL decrement exception action execution
    78b12034d4c3 net: sched: incorrect Kconfig dependencies on Netfilter modules
    f9d6533d18fd mt76: mt7615: fix rdd mcu cmd endianness
    977060d4ec5b mt76: mt7915: fix endian issues
    496ef46dbf6d net/sched: fix miss init the mru in qdisc_skb_cb
    40bf5450ba6f mptcp: skip to next candidate if subflow has unacked data
    36e4b9383890 net: qrtr: Fix port ID for control messages
    c313e91b97eb IB/isert: add module param to set sg_tablesize for IO cmd
    5840f8687fdf vdpa_sim: add get_config callback in vdpasim_dev_attr
    8faf3ea12225 vdpa_sim: make 'config' generic and usable for any device type
    0fb67eda6a9c vdpa_sim: store parsed MAC address in a buffer
    0ed8181561be vdpa_sim: add struct vdpasim_dev_attr for device attributes
    c721898723bc vdpa_sim: remove hard-coded virtq count

(From OE-Core rev: ec4133a10343800d68c82fc342059f4026a6479c)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-09 00:01:24 +00:00
Bruce Ashfield
2878a45bdd linux-yocto/5.4: update to v5.4.99
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    850e6a95deb5 Linux 5.4.99
    e8ffaca0fe27 ovl: expand warning in ovl_d_real()
    b55528a18e40 net/qrtr: restrict user-controlled length in qrtr_tun_write_iter()
    99996cd558ba net/rds: restrict iovecs length for RDS_CMSG_RDMA_ARGS
    ac79b1d94a88 vsock: fix locking in vsock_shutdown()
    c025081b57df vsock/virtio: update credit only if socket is not closed
    2545c5bd8316 net: watchdog: hold device global xmit lock during tx disable
    a5f0b6f7b1c0 net/vmw_vsock: improve locking in vsock_connect_timeout()
    611d93fbea54 net: fix iteration for sctp transport seq_files
    2085d886630a net: gro: do not keep too many GRO packets in napi->rx_list
    5c53956a8da0 net: dsa: call teardown method on probe failure
    0b42ab078369 udp: fix skb_copy_and_csum_datagram with odd segment sizes
    73bc75fda669 rxrpc: Fix clearance of Tx/Rx ring when releasing a call
    b90e8d5d28d1 usb: dwc3: ulpi: Replace CPU-based busyloop with Protocol-based one
    35834bf0b210 usb: dwc3: ulpi: fix checkpatch warning
    0b49b82eeea2 h8300: fix PREEMPTION build, TI_PRE_COUNT undefined
    1019015a5dca i2c: stm32f7: fix configuration of the digital filter
    546d92a43c94 clk: sunxi-ng: mp: fix parent rate change flag check
    b02db23d2647 drm/sun4i: dw-hdmi: Fix max. frequency for H6
    40db7dba50fe drm/sun4i: Fix H6 HDMI PHY configuration
    3063b80b4bdf drm/sun4i: tcon: set sync polarity for tcon1 channel
    107cf5eede74 firmware_loader: align .builtin_fw to 8
    beb85f4927e8 net: hns3: add a check for queue_id in hclge_reset_vf_queue()
    a045956a3b41 x86/build: Disable CET instrumentation in the kernel for 32-bit too
    da1a5442ad2c netfilter: conntrack: skip identical origin tuple in same zone only
    0142b957866f ibmvnic: Clear failover_pending if unable to schedule
    3f8954cc624c net: stmmac: set TxQ mode back to DCB after disabling CBS
    c0daa74b8ed7 selftests: txtimestamp: fix compilation issue
    6107338c2fa2 net: enetc: initialize the RFS and RSS memories
    71d2bd7921db xen/netback: avoid race in xenvif_rx_ring_slots_available()
    ff758e8a77f3 netfilter: flowtable: fix tcp and udp header checksum update
    b110391d1e80 netfilter: nftables: fix possible UAF over chains from packet path in netns
    35c279e02b7e netfilter: xt_recent: Fix attempt to update deleted entry
    7e3a6b820535 bpf: Check for integer overflow when using roundup_pow_of_two()
    e29126678f65 drm/vc4: hvs: Fix buffer overflow with the dlist handling
    69beec4a8b36 mt76: dma: fix a possible memory leak in mt76_add_fragment()
    8a5991c8214b lkdtm: don't move ctors to .rodata
    4f5416710e13 vmlinux.lds.h: Create section for protection against instrumentation
    b7f41a7ad444 ARM: kexec: fix oops after TLB are invalidated
    f49bff85b6db ARM: ensure the signal page contains defined contents
    06350c7f7923 ARM: dts: lpc32xx: Revert set default clock rate of HCLK PLL
    e60577e29deb bfq-iosched: Revert "bfq: Fix computation of shallow depth"
    91d604ab2a99 riscv: virt_addr_valid must check the address belongs to linear mapping
    0db8d192ee57 drm/amd/display: Decrement refcount of dc_sink before reassignment
    5c8f63266255 drm/amd/display: Free atomic state after drm_atomic_commit
    f35da70b516f drm/amd/display: Fix dc_sink kref count in emulated_link_detect
    76979956a8af drm/amd/display: Add more Clock Sources to DCN2.1
    4516a0a2c087 nvme-pci: ignore the subsysem NQN on Phison E16
    335a285aa0f0 ovl: skip getxattr of security labels
    43e3cf46afb1 cap: fix conversions on getxattr
    df094aa0aab0 ovl: perform vfs_getxattr() with mounter creds
    cc512646b2e7 platform/x86: hp-wmi: Disable tablet-mode reporting by default
    2bb22cd4dae4 ARM: OMAP2+: Fix suspcious RCU usage splats for omap_enter_idle_coupled
    2cb208ba0fd1 arm64: dts: qcom: sdm845: Reserve LPASS clocks in gcc
    92c40ed0abcb arm64: dts: rockchip: Fix PCIe DT properties on rk3399
    2407794f2298 cgroup: fix psi monitor for root cgroup
    18d691d837b3 arm/xen: Don't probe xenbus as part of an early initcall
    a0997a86f5c0 tracing: Check length before giving out the filter buffer
    74c7bafdd303 tracing: Do not count ftrace events in top level enable output
    4851d7b340e9 gpio: ep93xx: Fix single irqchip with multi gpiochips
    2c5abe0f8e9c gpio: ep93xx: fix BUG_ON port F usage

(From OE-Core rev: c300a9e9d414355af783f2adae53cde0c6319d08)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-09 00:01:24 +00:00
Bruce Ashfield
68ecd60a40 linux-yocto/5.10: update to v5.10.17 and -rt31
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    13b6016e96f6 Linux 5.10.17
    90ac1981acfa kcov, usb: only collect coverage from __usb_hcd_giveback_urb in softirq
    e5c376c41a57 ovl: expand warning in ovl_d_real()
    57068800258f net/qrtr: restrict user-controlled length in qrtr_tun_write_iter()
    862d1c0edd21 net/rds: restrict iovecs length for RDS_CMSG_RDMA_ARGS
    69e9fd9de17e vsock: fix locking in vsock_shutdown()
    afe31701609b vsock/virtio: update credit only if socket is not closed
    ba3bcb35d783 switchdev: mrp: Remove SWITCHDEV_ATTR_ID_MRP_PORT_STAT
    55ad30cb7f73 bridge: mrp: Fix the usage of br_mrp_port_switchdev_set_state
    e22b963d3ec9 net: watchdog: hold device global xmit lock during tx disable
    bc21a88465c2 net/vmw_vsock: improve locking in vsock_connect_timeout()
    fcee53dc03c5 net/vmw_vsock: fix NULL pointer dereference
    c9013813413e net: fix iteration for sctp transport seq_files
    9e6ce473e96b net: gro: do not keep too many GRO packets in napi->rx_list
    18193e09834c cpufreq: ACPI: Update arch scale-invariance max perf ratio if CPPC is not there
    8a3fc32b322c cpufreq: ACPI: Extend frequency tables to cover boost frequencies
    c930943a3683 net: dsa: call teardown method on probe failure
    46a831d1cc25 udp: fix skb_copy_and_csum_datagram with odd segment sizes
    24f5544f76d3 rxrpc: Fix clearance of Tx/Rx ring when releasing a call
    975a2396e37c arm64: mte: Allow PTRACE_PEEKMTETAGS access to the zero page
    3ed6cc9c2dd0 x86/pci: Create PCI/MSI irqdomain after x86_init.pci.arch_init()
    902c6dcbb146 scripts: set proper OpenSSL include dir also for sign-file
    4761b1aabcfd h8300: fix PREEMPTION build, TI_PRE_COUNT undefined
    f6b5e671c6a7 i2c: stm32f7: fix configuration of the digital filter
    0c0ddf0dd692 clk: sunxi-ng: mp: fix parent rate change flag check
    664b66e3552c drm/sun4i: dw-hdmi: Fix max. frequency for H6
    962168c2bc15 drm/sun4i: Fix H6 HDMI PHY configuration
    e639cb199b8e drm/sun4i: dw-hdmi: always set clock rate
    7596c85a8962 drm/sun4i: tcon: set sync polarity for tcon1 channel
    39e855fa959e firmware_loader: align .builtin_fw to 8
    5ff69431b763 net: hns3: add a check for index in hclge_get_rss_key()
    2c0e46258eab net: hns3: add a check for tqp_index in hclge_get_ring_chain_from_mbx()
    40389ba14d0e net: hns3: add a check for queue_id in hclge_reset_vf_queue()
    6bbc1d5ee0eb net: dsa: felix: implement port flushing on .phylink_mac_link_down
    03bf0f163df2 x86/build: Disable CET instrumentation in the kernel for 32-bit too
    880b1c2164d1 scsi: scsi_debug: Fix a memory leak
    d519197b48c1 netfilter: conntrack: skip identical origin tuple in same zone only
    4067ace5f119 ibmvnic: Clear failover_pending if unable to schedule
    284abe15c17e net: stmmac: set TxQ mode back to DCB after disabling CBS
    25c312214d9f selftests: txtimestamp: fix compilation issue
    5ed60a17d466 net: enetc: initialize the RFS and RSS memories
    8eb3e56fd180 hv_netvsc: Reset the RSC count if NVSP_STAT_FAIL in netvsc_receive()
    23b2eac8b76a net: ipa: set error code in gsi_channel_setup()
    a4595395a915 net: hdlc_x25: Return meaningful error code in x25_open
    50ad6fc36aed xen/netback: avoid race in xenvif_rx_ring_slots_available()
    bbb8c391486b netfilter: flowtable: fix tcp and udp header checksum update
    0a0e5d47670b netfilter: nftables: fix possible UAF over chains from packet path in netns
    ef8f281a6530 selftests: netfilter: fix current year
    f035e97f331e netfilter: xt_recent: Fix attempt to update deleted entry
    8032bf2af9ce bpf: Check for integer overflow when using roundup_pow_of_two()
    52d29b478326 bpf: Unbreak BPF_PROG_TYPE_KPROBE when kprobe is called via do_int3
    40e3b5c12864 dmaengine: idxd: check device state before issue command
    143b87907788 drm/vc4: hvs: Fix buffer overflow with the dlist handling
    1d7c14566924 mt76: dma: fix a possible memory leak in mt76_add_fragment()
    3ade81db49bd ath9k: fix build error with LEDS_CLASS=m
    c39cdf559d26 dmaengine: idxd: fix misc interrupt completion
    3e53d64e9a4d cgroup-v1: add disabled controller check in cgroup1_parse_param()
    2aba53830f5d KVM: x86: cleanup CR3 reserved bits checks
    e624efe36eb6 lkdtm: don't move ctors to .rodata
    d070ccc7ad17 x86/efi: Remove EFI PGD build time checks
    486c1525eba3 Revert "lib: Restrict cpumask_local_spread to houskeeping CPUs"
    cf1cab6edb06 ubsan: implement __ubsan_handle_alignment_assumption
    249735b01123 ARM: kexec: fix oops after TLB are invalidated
    7913ec05fc02 ARM: ensure the signal page contains defined contents
    3dc2ba465001 kallsyms: fix nonconverging kallsyms table with lld
    11648f26b074 ARM: dts: lpc32xx: Revert set default clock rate of HCLK PLL
    d93178df8f75 bfq-iosched: Revert "bfq: Fix computation of shallow depth"
    4fccb50ec95b riscv: virt_addr_valid must check the address belongs to linear mapping
    cd0604db18d2 drm/amd/display: Decrement refcount of dc_sink before reassignment
    8466a0c6bc13 drm/amd/display: Free atomic state after drm_atomic_commit
    1898affc717e drm/amd/display: Fix dc_sink kref count in emulated_link_detect
    b8dc6255bb2d drm/amd/display: Release DSC before acquiring
    4d9a5224d507 drm/amd/display: Add more Clock Sources to DCN2.1
    7963f3ff8edd drm/amd/display: Fix DPCD translation for LTTPR AUX_RD_INTERVAL
    07c8c581d2be nvme-pci: ignore the subsysem NQN on Phison E16
    3895bcd96a9e x86/split_lock: Enable the split lock feature on another Alder Lake CPU
    020680e36d97 scsi: lpfc: Fix EEH encountering oops with NVMe traffic
    116826d615c1 ovl: skip getxattr of security labels
    02dee03d4831 cap: fix conversions on getxattr
    cbb9404a5052 ovl: perform vfs_getxattr() with mounter creds
    f66fa5ec47e0 arm64: dts: rockchip: Disable display for NanoPi R2S
    2a2e911469b5 platform/x86: hp-wmi: Disable tablet-mode reporting by default
    d33b28e01e5c arm64: dts: rockchip: remove interrupt-names property from rk3399 vdec node
    697091f92727 ARM: OMAP2+: Fix suspcious RCU usage splats for omap_enter_idle_coupled
    6c152ac1b687 arm64: dts: qcom: sdm845: Reserve LPASS clocks in gcc
    413a2353be6b arm64: dts: rockchip: Fix PCIe DT properties on rk3399
    8e25e1eef8b9 soc: ti: omap-prm: Fix boot time errors for rst_map_012 bits 0 and 1
    8c5864d21e01 tmpfs: disallow CONFIG_TMPFS_INODE64 on alpha
    b03a0d5cc26d tmpfs: disallow CONFIG_TMPFS_INODE64 on s390
    285b57595d40 dmaengine: move channel device_node deletion to driver
    deae1e6365cd drm/dp_mst: Don't report ports connected if nothing is attached to them
    5a36371f8bb5 drm/i915/tgl+: Make sure TypeC FIA is powered up when initializing it
    e11345ed78b9 Revert "drm/amd/display: Update NV1x SR latency values"
    e72a65802a3e cgroup: fix psi monitor for root cgroup
    89b0c20d80a1 arm/xen: Don't probe xenbus as part of an early initcall
    bef1f148812d drm/i915: Fix overlay frontbuffer tracking
    7c93d8cff582 tracing: Check length before giving out the filter buffer
    a38c1ee16623 tracing: Do not count ftrace events in top level enable output
    d9b7ea4c818c gpio: ep93xx: Fix single irqchip with multi gpiochips
    10538b869a64 gpio: ep93xx: fix BUG_ON port F usage
    e072d454faa4 gpio: mxs: GPIO_MXS should not default to y unconditionally
    039e0f627397 Revert "dts: phy: add GPIO number and active state used for phy reset"
    2b02985bf83e objtool: Fix seg fault with Clang non-section symbols

(From OE-Core rev: aa76ff856e0ceb61bb479c2fa833144be3ddb33d)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-09 00:01:24 +00:00
Bruce Ashfield
76586fd877 linux-yocto/5.10: fix qemumips testimage failures
Integrating the following commit(s) to linux-yocto/5.10:

    513e9332a00 qemumips32: disable CONFIG_COMPACTION

As mentioned in yocto bug: https://bugzilla.yoctoproject.org/show_bug.cgi?id=13992
testimages are failing due to issues with kernel page migration/compaction
function that does not work very well with MIPS kernel HIGHMEM that
is needed for 512Mb.

A valid workaround is to disable CONFIG_COMPACTION and the problematic
migration functionality is also disabled.

[YOCTO: #13992]

(From OE-Core rev: 6f7ac59c4202ea8c44065db946341c9db415b267)

Signed-off-by: Victor Kamensky <victor.kamensky7@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-09 00:01:24 +00:00
Bruce Ashfield
6f147b07f7 linux-yocto/5.10: fix x86 32bit boot warnings
Integrating the following commit(s) to linux-yocto/5.10:

    34523d7c8476 qemux86: add configuration symbol to select values

In recent 5.10 kernels, the following traces have started appearing
on boot;

    [    1.010513] EIP: free_msi_irqs+0x49/0x180
    [    1.012036] Code: 74 11 8b 47 08 85 c0 0f 85 f4 00 00 00 8b 3f 39 df
    75 ef 8b 45 ec 8b 80 c8 01 00 00 85 c0 74 0a f6 40 14 01 0f 85 1c 01 00
    00 <0f> 0b 8b 45 ec 8b b8 d0 01 00 00 8b 17 39 fb 75 08 eb 40 8d 74 26
    [    1.016723] EAX: 00000000 EBX: c12199d0 ECX: c12199d0 EDX: 00000000
    [    1.021648] ESI: ffffffed EDI: c12199d0 EBP: c112bc78 ESP: c112bc64
    [    1.023517] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068 EFLAGS: 00010246
    [    1.025449] CR0: 80050033 CR2: 00000000 CR3: 06cea000 CR4: 000006d0
    [    1.027293] DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000
    [    1.029115] DR6: fffe0ff0 DR7: 00000400
    [    1.030718] Call Trace:
    [    1.031986]  msix_capability_init+0x228/0x400
    [    1.033542]  pci_alloc_irq_vectors_affinity+0x18c/0x210
    [    1.035216]  vp_find_vqs_msix+0xca/0x460
    [    1.036693]  vp_find_vqs+0x29/0x190
    [    1.038097]  ? setup_vq+0x240/0x240
    [    1.039519]  vp_modern_find_vqs+0x21/0x80
    [    1.041014]  ? setup_vq+0x240/0x240
    [    1.042444]  init_vq+0x164/0x280
    [    1.043813]  ? ncpus_cmp_func+0x10/0x10
    [    1.045264]  virtblk_probe+0x104/0x770
    [    1.046860]  virtio_dev_probe+0x1c0/0x2a0
    [    1.048357]  really_probe+0xd5/0x3b0
    [    1.053029]  driver_probe_device+0x49/0xa0
    [    1.054539]  device_driver_attach+0x99/0xa0
    [    1.056077]  __driver_attach+0x60/0xe0
    [    1.057533]  ? device_driver_attach+0xa0/0xa0
    [    1.059136]  bus_for_each_dev+0x5b/0xa0
    [    1.060600]  driver_attach+0x19/0x20
    [    1.062033]  ? device_driver_attach+0xa0/0xa0
    [    1.063903]  bus_add_driver+0xed/0x1b0
    [    1.065358]  driver_register+0x79/0xd0
    [    1.066791]  ? loop_init+0x135/0x135
    [    1.068209]  register_virtio_driver+0x1b/0x30
    [    1.069742]  init+0x49/0x6f
    [    1.071040]  do_one_initcall+0x49/0x1e0
    [    1.072514]  kernel_init_freeable+0x16b/0x1b5
    [    1.074060]  ? rest_init+0xad/0xad
    [    1.075477]  kernel_init+0xd/0xf3
    [    1.076844]  ret_from_fork+0x1c/0x28
    [    1.078267] ---[ end trace 4deef4a5c447cb13 ]---

These are due to several changes in the way that MSI interrupts are
assigned and their fallbacks if they fail. Our 32bit qemu boot for
x86 does not have the right support by default, hence we get the
warnings (but boot continues).

If we define PCI_MSI_ARCH_FALLBACKS only for the qemux86 platform we
can supress the warnings and run without issues.

[YOCTO: #14219]

(From OE-Core rev: d9fd035d086e8980683ced8cda4722850b2db24f)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-09 00:01:24 +00:00
Richard Purdie
a67183311a build-appliance-image: Drop kernel module handling
kernel-devsrc is a dependency of the image so we no longer need the symlink
creation code or the module-base inherit/dependency as it is included in
that recipe. The KERNEL_VERSION usage was broken anyway as the module
usage would have needed a:

do_image[depends] += "build-appliance-image:do_configure"

which wasn't present so it was indeterminate if KERNEL_VERSION was set
correctly.

(From OE-Core rev: a46b43bb67b2f87ec370480e50a2e2d111555b75)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-09 00:01:24 +00:00
Oleksandr Kravchuk
a73c8d4cfc python3-setuptools: update to 54.1.0
(From OE-Core rev: d0200689ba8373db188fa8d626efa84010eda457)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-09 00:01:24 +00:00
Khem Raj
19ab90c30d python3-cython: Check for files before editing
If using debug-without-src policy then usr/src/debug won't exist,
therefore the function will fail due to missing files, adding a check
for files to exist before editing them fixes it.

(From OE-Core rev: 0eb85a2670c9250350b66647f4cbdae446be830f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-09 00:01:24 +00:00
Peter Kjellerstedt
a7e117c8ed meson: Correctly set uid/gid of installed files
In 0.57.0, the uid and gid arguments passed to os.chown() when using
install_mode were accidentally swapped, causing files to end up with
incorrect owner/group if the owner and group are not the same.

(From OE-Core rev: 8f19fb08b66cd75616345e96fa5718048daae7fe)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-06 22:39:04 +00:00
Chen Qi
fac55b36a4 python3-jinja2: set CVE_PRODUCT
Set CVE_PRODUCT for more accurate CVE scanning.

(From OE-Core rev: aefcc7a7dd012530ed846292caaed70d20589a3a)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-06 22:39:04 +00:00
Dorinda
76e7ccfc30 meta/recipes-extended: Add HOMEPAGE / DESCRIPTION
Added HOMEPAGE and DESCRIPTION for recipes with missing decriptions or homepage

[YOCTO #13471]

(From OE-Core rev: cc6c7af900ae0196a62b7fa1375c55bbcd8e68b4)

Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-06 22:39:04 +00:00
Dorinda
85289a3107 meta-skeleton: Add HOMEPAGE / DESCRIPTION
Added HOMEPAGE and DESCRIPTION for recipes with missing decriptions or homepage

[YOCTO #13471]

(From OE-Core rev: 89d8f20353bacb089bc18833d3ff032b525613ee)

Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-06 22:39:04 +00:00
Dorinda
e711fe63dc meta/recipes-rt: Add HOMEPAGE / DESCRIPTION
Added HOMEPAGE and DESCRIPTION for recipes with missing decriptions or homepage

[YOCTO #13471]

(From OE-Core rev: 95a86ac1c12414c1b4983880145aec55bd9a38a4)

Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-06 22:39:04 +00:00
Purushottam Choudhary
cc300fb849 shadow: whitelist CVE-2013-4235
This CVE is about TOCTOU (time-of-check time-of-use)
race condition when copying and removing directory trees
which had very low severity problem and marked as closed
and won't fix. Therefore whitelisted CVE-2013-4235.
Master, gatesgarth and dunfell all have shadow version 4.81.
Hence, this is applicable for master, gatesgarth and dunfell.
Link: https://bugzilla.redhat.com/show_bug.cgi?id=884658

(From OE-Core rev: b1c6cd87bee6b019619dc5728fd6c36bc87ed696)

Signed-off-by: Sana Kazi <Sana.Kazi@kpit.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-06 22:39:04 +00:00
Wang Mingyu
a595ac00c9 vala: upgrade 0.50.3 -> 0.50.4
(From OE-Core rev: 1b344399b907b04b561bb25950db28b82a13856c)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-06 22:39:04 +00:00
Wang Mingyu
25197551fd taglib: upgrade 1.11.1 -> 1.12
CVE-2017-12678.patch
CVE-2018-11439.patch
removed since they are included in 1.12

(From OE-Core rev: dc999d351ec599e4c534281585152087ff16d345)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-06 22:39:04 +00:00
Wang Mingyu
93b1881f5d stress-ng: upgrade 0.12.03 -> 0.12.04
(From OE-Core rev: f2e1ea8df71d9ac312bc9f7c341477c8fc7c3923)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-06 22:39:04 +00:00
Wang Mingyu
c256971550 shaderc: upgrade 2020.4 -> 2020.5
0003-cmake-add-option-to-skip-build-the-examples.patch removed since it
is included in 2020.5

(From OE-Core rev: bdcf0bf7b482f145ac61d35c0d74450c54bb8d11)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-06 22:39:04 +00:00
Ross Burton
680da24f4b ptest-packagelists: remove libinput-ptest
The libinput ptests are very sensitive to system load, and will fail
if events from the kernel don't arrive sufficiently fast (from 20ms to
200ms depending on the test).

This is by design as input processing is inherently time-sensitive and
to avoid code bugs the test suite considers timing problems fatal.

As this is causing a large proportion of ptest runs to fail in libinput,
disable the execution of these tests for now.

[ YOCTO #14164 ]

(From OE-Core rev: 54e2eb809bdfedb64219f37b82589372bbc96905)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-06 22:39:04 +00:00
Charlie Davies
27d0fcddd1 bitbake-bblayers/create: Add optional layerid argument
This commit adds an optional layerid argument which can
be passed to the bitbake-layers create-layer command.
This allows for creation of a layer with a layer id
different to that of the layer's name. The default
behaviour of the command where the layer's id is set
to the layer's name is still retained.

(From OE-Core rev: 8f896bd9b34f19535838757c8f3049bae438e4fe)

Signed-off-by: Charlie Davies <charles.davies@whitetree.xyz>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-06 22:39:04 +00:00
Charlie Davies
b7d1f361ff bitbake-bblayers/create: Fix incorrect priority help message
The help message for the optional argument of setting
the priority of the new layer was incorrect.

(From OE-Core rev: d10d928c6030951994bc2404cde78137c86917a4)

Signed-off-by: Charlie Davies <charles.davies@whitetree.xyz>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-06 22:39:04 +00:00
Stefan Schmidt
78df4ab73e systemd-conf: do not ask for DHCP if configured on kernel command line
In cases where we configure the IP address and more on the kernel
command line with ip= we should not ask for DHCP with systemd-networkd
later on. We have such a setup with our runqemu script.

With this match in place we can also deploy this unit on qemu systems.

(From OE-Core rev: 8c4981e740c0e630200dbc77c9e3dfd3e43b790b)

Signed-off-by: Stefan Schmidt <stefan.schmidt@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-06 22:39:04 +00:00
Andrei Gherzan
0904a74e33 epiphany: Add package configuration for building in developer mode
(From OE-Core rev: 51ca329ea9cd51b699545bae2cf2a6a02f70a887)

Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-06 22:39:04 +00:00
Andrei Gherzan
585bf35ebe gcr: Add support for building without x11
(From OE-Core rev: d04d813189f388bc8505e29edc3166673a60c746)

Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-06 22:39:04 +00:00
Alexander Kanavin
750293518d oeqa/weston: correctly run wayland-info when systemd is in use
Under systemd weston's socket is in /run, not in /run/user/0.

(From OE-Core rev: ea7dfd857ce3779745dccda0cbfd93b5e5de1a36)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-06 22:39:04 +00:00
Alexander Kanavin
d8b2c8cee9 rootfs-postcommands: correctly set systemd target for weston images
Otherwise, weston wouldn't actually start when systemd is in use.

(From OE-Core rev: 6b6287b7e5190d1af2e3aefddb2f72a8d0d79968)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-06 22:39:04 +00:00
Alexander Kanavin
eab334ade5 core-image.bbclass: add a weston IMAGE_FEATURE, similar to x11-base
(From OE-Core rev: 5dd4bf88f59d3dddb5368163baba02f053eec502)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-06 22:39:04 +00:00
Ross Burton
a05bd5630d libinput: less parallism to increase chances the test suite works
Discussion with the libinput maintainer has confirmed that many of the
libinput test cases need to run on a relatively unloaded system,
because input handling is by definition time-sensitive and any
event mismatches are considered a failure to avoid broken code hiding.

We can't expect libinput to run on an otherside unloaded machine
because the autobuilder ptests execute in a qemu at the same time
as builds can be happening.  We can however reduce the amount of
parallellism happening in the libinput test suite to give it a better
chance of succeeding.

This may not be enough, but it's worth a go.

[ YOCTO #14164 ]

(From OE-Core rev: 5702f7c489ed45b7f4a69c78aa8215e2c98e21c4)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-06 22:39:04 +00:00
Diego Santa Cruz
ed253541ee rpm: split build and extra functionality into separate packages
Having all the rpm build related tools in the main package requires
adding runtime dependencies on perl and python3-core, so adding
rpm to a target image can pull quite many unneeded packages to satisfy
the dependencies.

This splits all the build related tools into rpm-build and moves the
bash, perl and python3-core runtime dependencies to that package.

Also, the rpmsign tool is split into rpm-sign and rpm2archive (only
built if archive is in PACKAGECONFIG) into rpm-archive. These are
separate packages since they are not really related to building, so
do not belong in rpm-build, but are not necessarily wanted in
target images when rpm is included.

(From OE-Core rev: 0dea6cccc1c638078846e6eb8e48e8ef69c87618)

Signed-off-by: Diego Santa Cruz <Diego.SantaCruz@spinetix.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-06 22:39:04 +00:00
Stefan Ghinea
5623cf33c1 wpa-supplicant: fix CVE-2021-27803
A vulnerability was discovered in how p2p/p2p_pd.c in wpa_supplicant
before 2.10 processes P2P (Wi-Fi Direct) provision discovery requests.
It could result in denial of service or other impact (potentially
execution of arbitrary code), for an attacker within radio range.

References:
https://nvd.nist.gov/vuln/detail/CVE-2021-27803

Upstream patches:
https://w1.fi/cgit/hostap/commit/?id=8460e3230988ef2ec13ce6b69b687e941f6cdb32

(From OE-Core rev: 81e4260b83c52558c320fd7d1c1eafcb312ad6be)

Signed-off-by: Stefan Ghinea <stefan.ghinea@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-06 22:39:03 +00:00
Jon Mason
ca1382756c runqemu: use "raw" instead of "bin" for ovmf
bin is not an acceptable format for qemu and will throw an error is set.
The correct format in this case is raw.

(From OE-Core rev: cd279aeb986b4676ea8ecb1e7b12c7e29e83460a)

Signed-off-by: Jon Mason <jon.mason@arm.com>
Change-Id: I9d78e356d39ecb15bef886c19870b029d9badd65
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-06 22:39:03 +00:00
Martin Jansa
9852a5caf5 glib-2.0: show an error about --cross-file only when such file exists
(From OE-Core rev: 6bd44129a76bdae1320f76035b23568a9c2b4e57)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-06 22:39:03 +00:00
Martin Jansa
57077fa931 glib-2.0: call os.path.normpath on THISDIR
* some build environments have relative paths in THISDIR, e.g. from OEROOT set in:
  1e3345c26c/conf/bblayers.conf (L4)
  and then the paths in filename normalized in:
  filename = os.path.normpath(os.path.join(path, meson.cross.d, element))
  don't match.

* COREBASE used here before didn't have this issue because the value is already
  normalized when set in:
  meta/conf/layer.conf:COREBASE = '${@os.path.normpath("${LAYERDIR}/../")}'

(From OE-Core rev: 7977ff07d181d269bd52f98852d1076b268db614)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-06 22:39:03 +00:00
Ulrich ?lmann
80e46c7fb8 gstreamer1.0: add support for coretracers
As can be seen in [1] a requirement for enabling 'coretracers' is to have
'tracer-hooks' enabled, as well.

[1] https://gitlab.freedesktop.org/gstreamer/gstreamer/-/blob/1.18.3/plugins/tracers/meson.build#L1

(From OE-Core rev: 60dab210a9a2cc101f41ca5e46eed7e5e83ff89f)

Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-06 22:39:03 +00:00
Vivien Didelot
85cc3aa328 systemd-container: recommends StartExecPre modules
The systemd-nspawn@.service file uses the following line to try
loading the tun, loop and dm-mod kernel modules, in a non fatal way:

    ExecStartPre=-/sbin/modprobe -abq tun loop dm-mod

A non-zero return code from modprobe will not stop the service from
starting, but it would be convenient to inform the user about this
optional support, so add these modules to RRECOMMENDS.

(From OE-Core rev: 9644285dc8a7e7c52b5f7554ef06d9ff53167832)

Signed-off-by: Vivien Didelot <vdidelot@pbsc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-06 22:39:03 +00:00
Vivien Didelot
67763ccd1c systemd-container: recommend tar
If systemd is configured with importd, "machinectl import-*" can be
used to add container trees under /var/lib/machines.

But "machinectl import-tar" makes use of "tar --numeric-owner" which
is not supported by the busybox binary, as shown below:

    # machinectl import-tar /tmp/container.tar.xz
    Enqueued transfer job 1. Press C-c to continue download in background.
    Importing '/tmp/container.tar.xz', saving as 'container'.
    Imported 0%.
    tar: unrecognized option '--numeric-owner'
    BusyBox v1.31.1 () multi-call binary.
    Usage: tar c|x|t [-ZzJjahmvokO] [-f TARFILE] [-C DIR] [-T FILE] [-X FILE] [FILE]...
    Failed to decode and write: Broken pipe
    Exiting.

To fix this, recommend the standard tar package.

Cc: Chen Qi <Qi.Chen@windriver.com>
(From OE-Core rev: 801658f0161270c76829a123a4f531ca5a1f73db)

Signed-off-by: Vivien Didelot <vdidelot@pbsc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-06 22:39:03 +00:00
Vivien Didelot
530babd3f8 systemd-container: sort RRECOMMENDS alphabetically
Sort packages in RRECOMMENDS_${PN}-container alphabetically to avoid
subjective sorting and ease future additions.

(From OE-Core rev: 636c048b9d49b0f0bf083add688b4de80f3e37cd)

Signed-off-by: Vivien Didelot <vdidelot@pbsc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-06 22:39:03 +00:00
Richard Purdie
001003eaad ltp: Fix another determinism issue
After the other fixes there remained occasional problems. Fix another makefile
sorting problem affecting the disktest binary.

(From OE-Core rev: 636f4d1f6ed8a95e3a583abc5904ab8dbc6184af)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-06 22:34:20 +00:00
Meh Mbeh Ida Delphine
c8075ed8f1 recipes-support: Add missing HOMEPAGE and DESCRIPTION for recipes
Fixes: [YOCTO #13471]

(From OE-Core rev: 6db24928d62aeb093a0e6da6619713eaca57a96f)

Signed-off-by: Ida Delphine <idadelm@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-02 20:39:36 +00:00
Meh Mbeh Ida Delphine
e03ad3ff5a recipes-sato: Add missing HOMEPAGE and DESCRIPTION for recipes
Fixes: [YOCTO #13471]

(From OE-Core rev: dad63dcd37948388a7a1ffe7f9af187306295d5a)

Signed-off-by: Ida Delphine <idadelm@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-02 20:39:36 +00:00
Meh Mbeh Ida Delphine
0020bef146 recipes-multimedia: Add missing HOMEPAGE and DESCRIPTION for recipes.
Fixes: [YOCTO #13471]

(From OE-Core rev: 312994268bb68a012a61c99e1c3697e8de60a2ce)

Signed-off-by: Ida Delphine <idadelm@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-02 20:39:36 +00:00
zhengruoqin
aafc18758d python3-magic: upgrade 0.4.20 -> 0.4.22
(From OE-Core rev: fabe66090d9046c66282b8e6152ae8fa0cfcad23)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-02 20:39:35 +00:00
zhengruoqin
239556c7c1 sysvinit: upgrade 2.98 -> 2.99
(From OE-Core rev: d096fa4c412e6e562846282a9160dd5c38731aed)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-02 20:39:35 +00:00
zhengruoqin
457299872e python3-git: upgrade 3.1.13 -> 3.1.14
(From OE-Core rev: efd9d653b76a8887643aa2361a25682039286579)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-02 20:39:35 +00:00
zhengruoqin
eea3b37f8d python3-cython: upgrade 0.29.21 -> 0.29.22
(From OE-Core rev: 850624d39ff5a2fe35efa6719b4139c8f934d924)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-02 20:39:35 +00:00
zhengruoqin
a5974098fa log4cplus: upgrade 2.0.5 -> 2.0.6
(From OE-Core rev: 386ea5ad5a78fce87fad4677575ad26f9cc09e30)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-02 20:39:35 +00:00
zhengruoqin
cef6db96d9 libxcrypt-compat: upgrade 4.4.17 -> 4.4.18
When the libxcrypt version is updated, libxcrypt-compat is omitted.

(From OE-Core rev: a353882899da414b109acbb3b7882239265fe248)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-02 20:39:35 +00:00
Martin Jansa
7d55321118 coreutils: use u-a for base32
* busybox 1.33.0 added base32 applet and now do_rootfs for read-only images is failing with:
  do_rootfs: busybox.postinst returned 1, marking as unpacked only, configuration required on target.
  ERROR: image-devel-1.0-r2 do_rootfs: Postinstall scriptlets of ['busybox'] have failed. If the intention is to defer them to first boot,
         then please place them into pkg_postinst_ontarget_${PN} ().
         Deferring to first boot via 'exit 1' is no longer supported.
         Details of the failure are in image-devel/1.0-r2/temp/log.do_rootfs.

  and log.do_rootfs shows:
  update-alternatives: Error: not linking image-devel/1.0-r2/rootfs/usr/bin/base32 to /usr/bin/busybox.nosuid since image-devel/1.0-r2/rootfs/usr/bin/base32 exists and is not a link

(From OE-Core rev: d2365442568c206a13165f8c71a7b7a5d0c6ff4e)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-02 20:39:35 +00:00
Colin Finck
aaef86ad03 dosfstools: Build --without-iconv
The new version has an internal CP850 conversion table, hence it doesn't
need iconv anymore (and currently errors when trying).

(From OE-Core rev: 647cd1134a543406f0f741d3f83d5f5ce78bcd0f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-02 20:39:35 +00:00
Richard Purdie
a91010ba3e python3-cython: Remove build paths from debug sources
There are build paths which are in generated sources injected
into ${PN}-src. These are in generated files and don't influence the
binary output. As such we can correct them at do_package time by
tweaking in an appropriately injected function. This fixes
the reproducbility of the recipe.

(From OE-Core rev: cc1de818247c9ae329fdc0536658b3968a4caea2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-02 20:39:35 +00:00
Richard Purdie
e2bf02e7bd ltp: Fixing determinism issues
Add a patch adding sorting to a couple of points in the Makefiles
which removes most of the determinism issues in ltp.

Build swapon before the main build to ensure libswapon.o is built
deterministically as it races with swapoff.

All issues reported on the upstream mailing list.

(From OE-Core rev: 0f51f9a37e5d058bce28cfe7b9a32a895f83c091)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-02 20:39:35 +00:00
Jan-Simon Moeller
8784e75a71 Add core-image-weston to reproducible build tests
This change adds core-image-weston to the reproducible build test.
For this we also need to update the static-group and static-passwd.

Besides the world package build which includes the wayland package,
this adds a wayland/weston-based image to the reproducible build test.

(From OE-Core rev: ffc4de47988ccf7568eecc8a27e8964beeaaacfb)

Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-02 20:39:35 +00:00
Dorinda
5643598a63 binutils: add PACKAGECONFIG for debuginfod
Added PACKAGECONFIG for debuginfod

(From OE-Core rev: 418c3a5c90d5d0bef67e5fba04a19952dbb308b4)

Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-02 20:39:35 +00:00
Dorinda
5fc2c2ea51 scripts/oe-debuginfod: script that fetches package manager directory
Added a script that fetches the package manager directory and runs the elfutils-native debuginfod on DEPLOY_DIR
Added a check to ensure that PACKAGECONFIG options is set in local.conf

(From OE-Core rev: 410083f93e2c986247cf3a2ff5050847e10cf359)

Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-02 20:39:35 +00:00
Meh Mbeh Ida Delphine
3ca5157080 recipes-kernel: Add missing HOMEPAGE and DESCRIPTION for recipes.
Fixes: [YOCTO #13471]

(From OE-Core rev: 16409694f19e4d3b7bdc10a7f71c67938ce5f3ff)

Signed-off-by: Ida Delphine <idadelm@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-02 20:39:35 +00:00
Meh Mbeh Ida Delphine
1f0b83c5eb recipes-graphics: Add missing HOMEPAGE and DESCRIPTION for recipes.
Fixes: [YOCTO #13471]

(From OE-Core rev: 24eac1fef8892484cc3dede1853d180e0c235120)

Signed-off-by: Ida Delphine <idadelm@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-02 20:39:35 +00:00
Meh Mbeh Ida Delphine
30f694fec7 recipes-gnome: Add missing HOMEPAGE and DESCRIPTION for recipes
Fixes: [YOCTO #13471]

(From OE-Core rev: e501e87b847d915e97b11d966b5781059daaf362)

Signed-off-by: Ida Delphine <idadelm@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-02 20:39:35 +00:00
Alexander Kanavin
d53dddd7ca scripts/lib/wic/partition.py: do not set FAT size
Modern dosfstools automatically determines the appropriate size
and will error out if something that doesn't make sense is
supplied on the command line.

(From OE-Core rev: b85a09ea450a5e8f49418f4a930805fbb88dc83b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-02 20:39:35 +00:00
Richard Purdie
4215e728a7 lttng: Fix reproducibility issues
Add a hack to hardcode in specific rpaths which we then remove,
allowing the build to be reproducible.

Strip build patches out of one of the test scripts too.

(From OE-Core rev: 18299a114c66280ba2d00becc3fae235d3a6cbd7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-02 14:15:34 +00:00
Richard Purdie
0dee498104 qemu: Determinism fixes
Add a patch to address two determinism issues and allow reproducible
builds.

Also strip full paths we don't need out of some ptest files,
we can use the installed binaries.

(From OE-Core rev: 14e7cc6c6040b983024bec56fbd32d9101507ff0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-02 14:15:34 +00:00
Jate Sujjavanich
e3ef99a911 iputils: Fix cap_net_raw for installed binaries
Add libcap-native to libcap PACKAGECONFIG  making native setcap available
during the build. This assures its availability during install and prevents
meson from searching absolute paths and the resulting possible host
contamination.

Move -DNO_SETCAP_OR_SUID=true to the libcap PACKAGECONFIG negative case
This will prevent possible non-determinism for the setuid case.

(From OE-Core rev: 6b31f6b9a6a12a12d1d10b8634012e50ef778ec4)

Signed-off-by: Jate Sujjavanich <jatedev@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-02 14:15:34 +00:00
He Zhe
3f7a2ca81b glibc: Disable CPU ISA level requirement check
We experience the following error and fail to boot on qemu64 machine

/lib64/libc.so.6: CPU ISA level is lower than required
Kernel panic - not syncing: Attempted to kill init! exitcode=0x00007f00

As stated in [1],

Passing -march= causes glibc to add annotations not compatible to run
result on -march= as too high ISA level is inferred.

ISA level is a new feature of 2.33 release.

Until it's fixed let's disable ISA level inference with
    libc_cv_include_x86_isa_level=no
(no better configure option yet).

[1] https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5dbd6a821ff753e3b41324c4fb7c58cf65eeea33

(From OE-Core rev: 91264e14a088013b138e82520744f79fa7c8d585)

Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-02 14:15:34 +00:00
Mike Crowe
b81b46ea48 gcc-sanitizers: Move content from gcclibdir into libdir
In e9e5744ba8b0d43c8b874d365f83071ce20bf0a1, Khem Raj wrote:
> OE does not use the traditional /usr/lib/gcc prefix to store
> gcc-runtime it basically is moved into libdir, however some newer
> files were installed by newer versions of gcc especially libgomp (
> omp.h openacc.h ) into gcclibdir, so we have content in both
> directories, this confuses other tools which are trying to guess the
> gcc installation and its runtime location, since now we have two
> directories, the tools either choose one or other and we get
> inconsistent behavior, e.g. clang for aarch64 uses /usr/lib but same
> clang for riscv64 chose /usr/lib/gcc

> This change ensures that OE ends up with single valid location for gcc
> runtime files

I think that the same thing needs to happen in gcc-sanitizers.inc,
otherwise I get errors like:

| .../recipe-sysroot/usr/include/gpg-error-64.h:884:11: fatal error: sanitizer/lsan_interface.h: No such file or directory

when attempting to compile with sanitizers enabled.

FILES_${PN} needs updating to match too.

(From OE-Core rev: 862b4fac3ee7d951758c8c93462331ad52bf0190)

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Cc: Khem Raj <raj.khem@gmail.com>
Cc: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-02 14:15:34 +00:00
Alexander Kanavin
132d7f5541 libbsd: udpate 0.10.0 -> 0.11.3
License-Update: copyright years, file lists

(From OE-Core rev: e4604b40075c56a610068179c401537551c93569)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-02 14:15:34 +00:00
Alexander Kanavin
7eec30de9f libmd: add a recipe
This is required by new versions of libbsd.

(From OE-Core rev: 4d727d36c50da0c07e3f2991eda7bbac6c042180)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-02 14:15:34 +00:00
Alexander Kanavin
1ad1e4f159 pinentry: update 1.1.0 -> 1.1.1
Refresh xxx-config->pkg-config patches.

(From OE-Core rev: 0995cd6083a42469aa2913c4d696b0b46e336854)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-02 14:15:33 +00:00
Alexander Kanavin
31421cc447 libgcrypt: update 1.8.7 -> 1.9.2
Drop backports.

Add a patch that inserts missing spaces in Makefiles.

Drop determinism.patch: upstream has moved the git
stuff to an external script, which has a guard that
checkes for presence of .git/ in source tree.

License-Update: additional source file listed

(From OE-Core rev: ad2eae801c7809db3f4830f19efdad78d1a62d59)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-02 14:15:33 +00:00
Alexander Kanavin
de8475d206 webkitgtk: update 2.30.4 -> 2.30.5
(From OE-Core rev: 192a3308cc0bd7f200e2f9aef759c90f54dd090b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-02 14:15:33 +00:00
Alexander Kanavin
a0c3cf90f4 vulkan-samples: update to latest revision
(From OE-Core rev: a2a0c60b0c41e4f9b72d402447d90d98fc2456bc)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-02 14:15:33 +00:00
Alexander Kanavin
c9dcdd0b7a pango: update 1.48.0 -> 1.48.2
Drop a patch; issue fixed upstream:
fcda7d6f9b

(From OE-Core rev: 02dd8059d47a5fd5d3c0724073aa42cd9bcba0e2)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-02 14:15:33 +00:00
Alexander Kanavin
6d0c0d7442 ptest-perl/run-ptest: address failures caused by perl 5.32.1
Particulary, . needs to be explicitly specified so that perl
looks there when loading items in 'require'.

(From OE-Core rev: 324d74c7e541b44b9c4240056b006f4c59ef34af)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-02 14:15:33 +00:00
Alexander Kanavin
4d1f48f6d9 openssl: address ptest failures caused by perl 5.32.1
For some reason the new perl no longer has . in list of
directories searched in 'require', and so the file
needs to be copied where perl can find it.

(From OE-Core rev: 2ae879ddb72bd316e49a8200e99887dadb02b3dc)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-02 14:15:33 +00:00
Alexander Kanavin
c621b08c82 perl: update 5.32.0 -> 5.32.1
Drop perl-cross-makefile.patch as it is merged upstream.

(From OE-Core rev: 7459853328d3e8a43d04a75181a46bd42b8fb076)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-02 14:15:33 +00:00
Alexander Kanavin
02f2ecabc3 meson: update 0.56.2 -> 0.57.1
Replace hacky 0001-gnome.py-prefix-g-i-paths-with-PKG_CONFIG_SYSROOT_DI.patch
with entries in meson.cross.

Rest of the patches are refreshed.

(From OE-Core rev: 85b4aea551ac4a0f47f916957dd9707c81813a2b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-02 14:15:33 +00:00
Alexander Kanavin
ecabf7386f elfutils: update 0.182 -> 0.183
Drop 0001-ppc_initreg.c-Incliude-asm-ptrace.h-for-pt_regs-defi.patch
Drop 0001-musl-obstack-fts.patch
(upstream has fixed the issues).

Drop a few other chunks where upstream has fixed the issues
or removed the code being patched.

Adjust ptests to pass again.

(From OE-Core rev: d358212bb557c99b266a0022ce973782c8c4d260)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-02 14:15:33 +00:00
Alexander Kanavin
f33d697fa6 e2fsprogs: update 1.45.7 -> 1.46.1
Drop gettext patches; upstream has fixed the issues.

(From OE-Core rev: 36fabe2bec023afec9fc704c7f242e6f1ca554c5)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-02 14:15:33 +00:00
Alexander Kanavin
b522f24723 dosfstools: update 4.1 -> 4.2
udev support had been dropped upstream.

The tools now have internal locale support so the glibc locale
dependencies can be dropped.

(From OE-Core rev: 01bb6e133e9b06c848d864b0581efc50020625bf)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-02 14:15:33 +00:00
Richard Purdie
2f6d6b9eca selftest/reproducible: Add ability to pull some objects from sstate
When debugging why a single recipe doesn't reproduce, its a pain
to wait for the world to rebuild from scratch. Update the selftest
to allow this to be configured, for example you could set
targets as ['perf'] and sstate_targets as ['virtual/kernel']
and then it should only be rebuilding perf in the test rather than
things like the toolchain (parts of the kernel may be unavoiable
as they're not in sstate).

Can be run as:

OEQA_DEBUGGING_SAVED_OUTPUT=/tmp/perf-diffoscope oe-selftest -r reproducible.ReproducibleTests.test_reproducible_builds

to save diffoscope output.

(From OE-Core rev: 132a17d02f29711572e14a2f38a841323fbb6df6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-02 14:15:33 +00:00
Richard Purdie
ed7151f985 systemd-bootchart: Disable LTO to fix reproducibility
LTO likely doesn't buy us much here, disable it to allow the binaries
to be reproducible.

(From OE-Core rev: b4b5e52b5bd98deb0855700e4aae6228d52e5a83)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-01 11:12:16 +00:00
Richard Purdie
9b7971fcc5 efivar: Fix reproducibility issue
Add sorting to the globbing within the Makefile to make the output
reproducible.

(From OE-Core rev: c43ae151f572786818fe048233b4bbfd6b0ba2cf)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-01 11:12:16 +00:00
Richard Purdie
abfe88ca97 swig: Fix reproducibility issue
Remove hardcoding the build configuration into the help/version output
from swig to make the binaries reproducible.

(From OE-Core rev: 7ed28ae9717ea9dad4e131012186d5f08e8f0bec)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-01 11:12:16 +00:00
Richard Purdie
ab9e43134b syslinux: Fix reproducibility issues
Add sorting to wildcard expansion in the makefile to make builds
reproducible.

(From OE-Core rev: 5541ba76ccc0c416f315bc0dc14a20a33059bd5f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-01 11:12:16 +00:00
Alexander Kanavin
00dcf14b36 syslinux: use NO_INLINE_FUNCS in CFLAGS
This is required with latest versions of e2fsprogs.

(From OE-Core rev: d35fd000a85b220cd1a7ea195d8c9111ddf7749b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-01 11:12:16 +00:00
Alexander Kanavin
f9c33cf551 webkit/wpe: only check even versions
(From OE-Core rev: 3c23b97d52e054ce20f94b2a5716c425a4f9fa2c)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-01 11:12:16 +00:00
Khem Raj
605dcc2ad8 kea: Fix configure test error with gcc11
Since the test program fails to compile, configure thinks compiler is
not having thread support and bails out

(From OE-Core rev: 232f97405a3e69cf9e54d4de0a8f1593da747603)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-01 11:12:16 +00:00
Khem Raj
b7fdc5b4d9 igt-gpu-tools: Fix warnings with gcc 11
(From OE-Core rev: 5537ad961e5d0663c2d293abe8312bd2b614d9ff)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-01 11:12:16 +00:00
Khem Raj
671beb4de7 puzzles: Fix stringop-overflow warning
gcc11 is pedantic about it and finds a case where this
maybe used uninitialized

(From OE-Core rev: 06f298e6d1777093b61baef3873813a809b010bd)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-01 11:12:16 +00:00
Khem Raj
e7dc30cefd dtc: Fix array-bounds error
Fixes
| libfdt/libfdt.h:251:28: error: array subscript 'struct fdt_header[0]' is partly outside array bounds of 'unsigned char[4]' [-Werror=array-bounds]
|   251 |                 fdth->name = cpu_to_fdt32(val); \
|       |                 ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~

(From OE-Core rev: cd4fe4ec658ce4861fc970149f78b0ca7fda8fe0)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-01 11:12:16 +00:00
Khem Raj
42c9988492 llvm: Fix build with c++17
Fixes
/benchmark_register.h:17:30: error: 'numeric_limits' is not a member of 'std'
|   static const T kmax = std::numeric_limits<T>::max();
|                              ^~~~~~~~~~~~~~

(From OE-Core rev: e093eff9d94c02939ca398d59d66d1b1dbc8a12e)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-01 11:12:16 +00:00
Khem Raj
c5992b47e8 rxvt-unicode: Do not use throw specifications
Fixes build with -std=c++17

| ../../rxvt-unicode-9.22/src/../libev/ev++.h:379:46: error: ISO C++17 does not allow dynamic exception specifications
|   379 |     default_loop (unsigned int flags = AUTO) throw (bad_loop)
|       |                                              ^~~~~

(From OE-Core rev: f437b226aac498240bc1e3a02eb0257a7deeedea)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-01 11:12:16 +00:00
Wang Mingyu
d3ad65ca4f iproute2: upgrade 5.10.0 -> 5.11.0
(From OE-Core rev: a3ce10f29c5c76da82d09e7bfe3d1a25d5230adf)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-01 11:12:16 +00:00
Wang Mingyu
e9c8a6ec9a glslang: upgrade 11.1.0 -> 11.2.0
(From OE-Core rev: 21e853a6c6d6629567f88d4ad9f12b76a876d3cb)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-01 11:12:16 +00:00
Wang Mingyu
5fc23a1df8 eudev: upgrade 3.2.9 -> 3.2.10
(From OE-Core rev: 9c36b944502c146e4160fb9363ec8dfeac608cc2)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-01 11:12:16 +00:00
Wang Mingyu
954a89df70 ccache: upgrade 4.1 -> 4.2
0001-Improve-SIMD-detection-735.patch
0001-blake3-Remove-asm-checks-for-sse-avx.patch
0002-Always-use-64bit-to-print-time_t.patch
removed since they'are included in 4.2

-License-Update: Copyright year updated to 2021.

(From OE-Core rev: 45a0b1f7dc48955d9e9a476bd26239ef360fd0fc)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-01 11:12:16 +00:00
Richard Purdie
fc222345f0 diffoscope: Upgrade 167 -> 168
This includes a fix for the 'hang' on larger diffs with html output
as seen on the autobuilder.

(From OE-Core rev: cac4ed44b302a3effd0ed6729cbf65817824604e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-01 00:17:46 +00:00
Richard Purdie
09301e3051 gstreamer1.0-python: Set internal python library path correcty
The library hardcodes paths to the python library internally and currently
these are build paths. Fix this to use the correct target path and
fix reproducibility in the process.

(From OE-Core rev: 4c190e8c9a2b53de3def1065fb6e479b72d040dc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-01 00:17:46 +00:00
Richard Purdie
a73f94d9bf apr-util: Fix CFLAGS used in build
We need to use CFLAGS with the correct WORKDIR in them, replace those
in the sysroot file with the ones appropriate to the current recipe.

(From OE-Core rev: 45edf189961aff1858be9bb7b63116073c0a0c10)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-01 00:17:46 +00:00
Richard Purdie
8ab7d766a1 libid3tag: Fix reproducibility issue
Configure was swallowing our cflags meaning the resulting binaries were
not reproducible. Tweak configure not to do that and fix reproducibility.

(From OE-Core rev: 1395269a6fae5cec01d721e2ad52bd7cb8fc38ce)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-27 22:40:42 +00:00
Richard Purdie
12e6dac3bf igt-gpu-tools: Fix reproducibility issue
Add a configuration option to pass in srcdir, removing hard coded
build paths from the binaries.

(From OE-Core rev: d7e92e3a22f0c87aff4f452b51f50ec417d2949b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-27 22:40:42 +00:00
Richard Purdie
8b145a898a bootchart2: Fix manpage reproducibility issue
The compressed docs contained a timestamp of the original file which
meant the SDE clamping during package creation didn't work. The
benefits of compression are minor, decompress the files to avoid
the reproducibility issues.

(From OE-Core rev: a3b59a67bea16899b57a0d187120c988495da4d5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-27 22:40:42 +00:00
Khem Raj
43ca8ad614 glibc: Fix rawmemchr
This is to help gcc bug upstream
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98512

(From OE-Core rev: ae9cad4e0554c8fe91d64030ad5c7e6d67b713d6)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-27 22:40:41 +00:00
Martin Jansa
45c2a8fcee glib-2.0: replace THISDIR instead of COREBASE in find_meson_cross_files --cross-file paths
* COREBASE works correctly only as long as this recipe is inside of
  COREBASE directory and leaves the full absolute paths if you copy
  this recipe into your own layer (e.g. to backport newer version)

* use THISDIR as all FILESPATH should be relative to that, unless
  there is a .bbappend not only extending FILESPATH, but also adding
  meson.cross.d files there (at which point it also didn't work with
  COREBASE replacements as well already) - show an ERROR in such case,
  I don't think it's common scenario to spend more time to support that.

(From OE-Core rev: 314cfc7d6a8f9b00db7da5424890ff955a5ce971)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-27 22:40:41 +00:00
Diego Santa Cruz
a6a8ab7595 createrepo-c: set path to magic database for native and nativesdk
The modifyrepo_c tool can use the magic database for input files
(e.g., if the file has no recognized extension) and fails if none
can be found.

This adds a wrapper that sets MAGIC to point to the proper place,
it also sets up MAGIC in the createrepo_c wrapper since that tool
also takes input files.

(From OE-Core rev: ea666fbc74163e7ef27a52a072b75fd1f5ac5c25)

Signed-off-by: Diego Santa Cruz <Diego.SantaCruz@spinetix.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-27 22:40:41 +00:00
Yi Fan Yu
40d9466b8c valgrind: Increase timeout duration 30 -> 90 s
Attempt to fix intermittent failure of `drd/tests/std_list`
Locally tested to take around 45 s on qemuarm64

[YOCTO #14228]

(From OE-Core rev: aac00b1c8042e41cd6bb1aea8e3033a1c6dd2b05)

Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-27 22:40:41 +00:00
Khem Raj
b8f706224f oeqa/pam: Need shadow installed for the tests
Distros may not use shadow for login manager
secondly login --help returns 1 only with shadow provided login
utility, with busybox it returns normal 0, the testcase clearly
assumes shadow being part of image, therefore add needed
checks to ensure the pre-requisites are met

(From OE-Core rev: 0820aeba74869bf6e85b200f39bc610a43ab9a7a)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-27 22:40:41 +00:00
Richard Purdie
3cd3e95aee bitbake.conf: Split PSEUDO_IGNORE_PATHS to be more readable
We've had a lot of concern about the readability of diffs of this
path setting, refactor to avoid long line length.

(From OE-Core rev: f3930cba16ccbc4b76ed14187d5586d6479bc59e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-27 22:40:41 +00:00
Richard Purdie
83b7f9f959 bitbake.conf/image: Move image specific PSEUDO_IGNORE_PATHS to image class
This path is image specific so we can move to the image class
definition of PSEUDO_IGNORE_PATHS.

(From OE-Core rev: 66a8ca0f206434e0b301a8fdc90f062750d6d118)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-27 22:40:41 +00:00
Richard Purdie
9ba9f879e1 populate_sdk: Add directories to PSEUDO_IGNORE_PATHS
Some paths used in sdk construction shouldn't be tracked under pseudo
so list these.

(From OE-Core rev: 21621e09162ff9e8014a1cfba78d0f2c3746202a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-27 22:40:41 +00:00
Richard Purdie
6066d67c21 image: Add directories to PSEUDO_IGNORE_PATHS
Some paths used in image construction shouldn't be tracked under pseudo
so list these.

(From OE-Core rev: 9463be2292b942a1072eea88881b9644e55aadb9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-27 22:40:41 +00:00
Michael Halstead
41ee3602ed releases: update to include 3.1.6
(From yocto-docs rev: 05580e574e78039f577d58648b4ee3817c0f09cc)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 22:36:56 +00:00
Richard Purdie
df9382e380 selftest/reproducible: Don't call sync between each file compare
Calling sync between each file compare is horrible performance wise
as we compare thousands of files. We don't care about IO latency here
so disable.

(From OE-Core rev: 25f78abd8bbeb201fd9452e7983e015027954948)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 17:47:56 +00:00
Alejandro Hernandez Samaniego
255fdb9f74 bitbake: fetch2/wget: Avoid crashing when connection drops mid checkstatus
If an exception is raised when running host python code, the fetcher
    immediately crashes, this might be temporary depending on the servers
    reliability.

    Catch the exception when the connection was reset and try once again
    to fetch the data.

    File: '/usr/lib/python3.8/socket.py', lineno: 669, function: readinto
         0665:        if self._timeout_occurred:
         0666:            raise OSError("cannot read from timed out object")
         0667:        while True:
         0668:            try:
     *** 0669:                return self._sock.recv_into(b)
         0670:            except timeout:
         0671:                self._timeout_occurred = True
         0672:                raise
         0673:            except error as e:
    Exception: ConnectionResetError: [Errno 104] Connection reset by peer

(Bitbake rev: d0f5c5905bc664e415a05e3130dfe0ae541d8b3e)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alhe@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 17:47:56 +00:00
Michael Halstead
5f69bf12e5 releases: update to include 3.2.2
(From yocto-docs rev: 1770c9c1e1ce9d28f6d211061010c4a802522c16)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 15:21:21 +00:00
Richard Purdie
7f1db8ead8 libhandy: Fix reproducibility issue
(From OE-Core rev: ba559d5e07cbe92ee22308a1b5b8afc558c662dd)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 15:21:21 +00:00
Richard Purdie
574f981fd8 libsecret: Improve determimism
(From OE-Core rev: 28175c44e7402397a24a00a4b056eef39b0a03fa)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 15:21:21 +00:00
Richard Purdie
dd371100bd parted: Fix reproducibility issue
We don't use tbe BUILDINFO line of host information in the Makefile
so remove it for reproducibility.

(From OE-Core rev: a9742595fa90d4977fdd8129a4fe4932ddb96a18)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 15:21:21 +00:00
Richard Purdie
c0b95cdc91 gst-devtools: Fix reproducibility issue
(From OE-Core rev: d221abc411b49b219b89cb38a56b2901d0bd5529)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 15:21:21 +00:00
Richard Purdie
38f513bfc7 epiphany: Fix distributor contamination from /etc/os-release
Set our own distro string rather than using the value from
/etc/os-release.

(From OE-Core rev: 77f23ece471e8855bfd8be06951f21cabce25545)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 15:21:21 +00:00
Richard Purdie
b351f54b9f epiphany: Fix reproducibility issue
We don't want to encide BUILD_ROOT into target packages. This is used
for build time tests but in our case those would be on target anyway
do use the target paths.

(From OE-Core rev: 2818dc90bd62487879e7da2c68357b39282415b0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 15:21:21 +00:00
Richard Purdie
22960625af gtk-doc: Fix reproducibility issue
config_data was including a build system path to pkg-config, fix
this.

(From OE-Core rev: 7b8f56224c12a40f4f0aca3f612198deb933af4d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 15:21:21 +00:00
Richard Purdie
6d3b755183 rsync: Update patch status
Mark the path as submitted and effectively a backport as a different fix
was added upstream addressing the issue.

(From OE-Core rev: 6e82c6e1543f1e863b22d94652c90ee46b40f68a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 15:21:21 +00:00
Diego Santa Cruz
910b09c4bc sysklogd: do not open any network sockets by default
The default in sysklogd 2.x is to open listening network sockets,
unlike sysklogd 1.5 where the default was the opposite.

This is contrary to a "secure by default" design, so set up the
init script to pass the -ss option to prevent syslogd from opening
any network sockets. It can be overridden in /etc/default/syslogd.

(From OE-Core rev: 103688fd349338520c147d5bde07429951925141)

Signed-off-by: Diego Santa Cruz <Diego.SantaCruz@spinetix.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 15:21:21 +00:00
Diego Santa Cruz
53f118af39 packagegroup-base: do not force hdparm and e2fsprogs
The hdparm and (base) e2fsprogs are not always useful in all machines
having ext2 in MACHINE_FEATURES, so do not force them to b installed,
make them recommendations instead.

(From OE-Core rev: 17ec69be55a6b7572947704c07d8693d47d7f1d1)

Signed-off-by: Diego Santa Cruz <Diego.SantaCruz@spinetix.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 15:21:21 +00:00
Diego Santa Cruz
360d367136 packagegroup-base: use amixer instead of alsamixer
Including alsamixer, which is an ncurses based interactive program,
does not seem to make sense as a base package in embedded systems,
replace it by the command line mixer utility amixer instead; it is
scriptable and has no ncurses dependencies.

(From OE-Core rev: 5e80b093a893600ed402701251fe0bdc9c10bb45)

Signed-off-by: Diego Santa Cruz <Diego.SantaCruz@spinetix.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 15:21:21 +00:00
Florian Bezdeka
a334cbb12d wic: Warn if an ext filesystem affected by the Y2038 problem is used
We are getting closer and closer to the year 2038 where the 32 bit
time_t overflow will happen. While products (= embedded systems) with an
expected life time of 15 years are still save the situation may change
if your system has to survive the next 20 years.

ext2 and ext3 filesystems are always affected by the time overflow, so
let's warn the user if these filesystems are still being used.

If ext4 is affected depends on the inode size chosen during filesystem
creation. At least 256 bytes are necessary to be safe. As ext4 is
used very often (and partitions may be created small first and extended
later) this might be an issue for many users.

Some filesystems created during CI runs were already affected by the Y2038
problem. By using `--mkfs-extraopts "-T default"` we tell mke2fs not to
auto-detect the usage type based on the filesystem size. mke2fs will use
the default values for tuning parameters instead. The inode size is one
of these parameters.

(From OE-Core rev: eecbe625558406680121d2a7e84917fea45ea9dc)

Signed-off-by: Florian Bezdeka <florian.bezdeka@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 15:21:21 +00:00
Dorinda
a7854ce174 meta/recipes-core: Add HOMEPAGE / DESCRIPTION
Added HOMEPAGE and DESCRIPTION for recipes with missing decriptions or homepage

[YOCTO #13471]

(From OE-Core rev: be8d3d0fa6bbc2924ffbdbaa66e9ffaef2b96de6)

Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 15:21:21 +00:00
Dorinda
8e4567bd5f meta/recipes-devtools: Add HOMEPAGE / DESCRIPTION
Added HOMEPAGE and DESCRIPTION for recipes with missing decriptions or homepage

[YOCTO #13471]

(From OE-Core rev: bb05814335e7101bfd8df0a11dc18a044e867bed)

Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 15:21:21 +00:00
Dorinda
6e5b6535f7 meta/recipes-connectivity: Add HOMEPAGE / DESCRIPTION
Added HOMEPAGE and DESCRIPTION for recipes with missing decriptions or homepage

[YOCTO #13471]

(From OE-Core rev: ecf8922e6bb12a2facc59bbe794b575101fce1dc)

Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 15:21:21 +00:00
Dorinda
e63aad9015 meta/recipes-bsp: Add HOMEPAGE / DESCRIPTION
Added HOMEPAGE and DESCRIPTION for recipes with missing decriptions or homepage

[YOCTO #13471]

(From OE-Core rev: 1ce7e76551b3b2f4477f780e67cf894f760529e5)

Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 15:21:21 +00:00
Mike Crowe
0098ef07d9 externalsrc: Pass through npmsw URIs in SRC_URI
NPM shrinkwrap files need to stay in SRC_URI even when using
externalsrc so that npm_do_fetch can run to fetch the required
dependencies.

(From OE-Core rev: e889cbecf9a1731b199e57d79a14e574398586bb)

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 15:21:21 +00:00
Dorinda
7c9c24330c gdb-common.inc: add PACKAGECONFIG for debuginfod
Added PACKAGECONFIG for debuginfod

(From OE-Core rev: 0bebcfcebccf6d746c1d77c15cf7b5b263a9b606)

Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 15:21:21 +00:00
Yi Fan Yu
319edf8ca1 gdb: Remove "ALLOW_EMPTY_gdbserver" on riscv
Revert 21e748d620022a75c0c2d0ab4a763a5992e8f154 "riscv32"
Revert 111f65528e3c0b147c1713cfc684958f94c41cd6 "riscv64"

Reason:

The following commit present in binutils-2_35

commit bf84f7066626c78884436e1c39fb60f04c665f21
Author: Maciej W. Rozycki <macro@wdc.com>
Date:   Wed Feb 19 01:24:37 2020 +0000

    gdbserver: Add RISC-V/Linux support

(From OE-Core rev: 8f018212d16d43bd9c716248dfea195a3b46df3a)

Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 15:21:21 +00:00
Richard Purdie
f8871d842a gcr: Fix reproducibility issue
(From OE-Core rev: b53133572de9e5bdf77dd44831a86ec34bf41b2c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 15:21:21 +00:00
Stefan Ghinea
39a67849e9 cups: fix CVE-2020-10001
A buffer (read) overflow in the ippReadIO function.

References:
https://nvd.nist.gov/vuln/detail/CVE-2020-10001

Upstream patches:
efbea1742b

(From OE-Core rev: 90eba79bf6f623aa3021eafd0141dad1c3059001)

Signed-off-by: Stefan Ghinea <stefan.ghinea@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 15:21:20 +00:00
Richard Purdie
a23b63bd71 cups: Fix reproducibility issues
configure inspects the host's /etc/group for these configuration
options, fix this to the correct values by using configure options.

(From OE-Core rev: f16f9c727569414cd52862dcba18d8e423f4e961)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 15:21:20 +00:00
Khem Raj
3fdb6e1b77 llvm: Upgrade to 11.1.0 release
(From OE-Core rev: ca82b695bd885be05b90083e15ddb4bff47a07de)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 15:21:20 +00:00
Khem Raj
7bf45fa0ed binutils: Upgrade to 2.36.1 release
(From OE-Core rev: 76e2f0754349703d29e2942e03be3a2c7f0153be)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 15:21:20 +00:00
Oleksandr Kravchuk
a3da46b2a4 busybox: update 1.33.0
Removed upstreamed patch.

(From OE-Core rev: 79708b961b310a77b4b2e71fedf6dad4acd47507)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 15:21:20 +00:00
Wang Mingyu
406dd5fbf3 nfs-utils: upgrade 2.5.2 -> 2.5.3
(From OE-Core rev: 6c943b114e31fad7c08645ba60ae80723fb5fe8d)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 15:21:20 +00:00
Wang Mingyu
2485c879fc libxcrypt: upgrade 4.4.17 -> 4.4.18
file LICENSING updated: directory of files changed from m4 to build-aux

(From OE-Core rev: 6d9f47e5303d8d223419d85554e14491e9fb3421)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 15:21:20 +00:00
Wang Mingyu
addd3f5e2a bluez5: upgrade 5.55 -> 5.56
-License-Update:
remove the description of license from src/main.c

(From OE-Core rev: 6d2fae223ff31e006423dfb1bce1f6d23cc1001b)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 15:21:20 +00:00
Peter Kjellerstedt
7fe4e6be80 asciidoc: Switch to using the main branch
Upstream has renamed the "master" branch to "main".

(From OE-Core rev: 05637733cf89a81fd5d787402f5a917f279a1a0d)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 15:21:20 +00:00
Richard Purdie
eb0f2fcd3e maintainers: add entries libssh2 libgit2
(From OE-Core rev: f1e866515857e5c187590b76bc0b281f3f58398c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 15:21:20 +00:00
Randy MacLeod
53f26a4587 libgit2: pull in updates from meta-oe
d62613046 libgit2: update to 1.1.0
ce47a064d libgit2: upgrade 1.0.0 -> 1.0.1
7d137c5b2 libgit2: Enable pcre2 regexp backend
14894a4c4 libgit2: Update to v1.0.0
7b39ea059 libgit2: Upgrade to 0.28.4
da358cf1f libgit2: Don't pass parameters with their default values to cmake
bcd89f7cd libgit2: Upgrade 0.27.9 -> 0.28.3
87c9da253 libgit2: Upgrade 0.27.8 -> 0.27.9

(From OE-Core rev: 41704717860c96ba91e19853e77df1f8100ed2ea)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 15:21:20 +00:00
Randy MacLeod
fcf428cdb5 libssh2: pull in additional commits from meta-oe
b24ef04ae libssh2: Fix build with autoconf 2.70+
d7aa71734 libssh2: enhance ptest
b3e9b51c9 libssh2: fix ptest
f5df715e2 libssh2: enable ptest
c1d1697c5 libssh2: add nativesdk support
3a6cbf246 libssh2: Security Advisory - libssh2 - CVE-2019-17498
40ea4c939 libssh2: upgrade 1.8.2 -> 1.9.0
5a7e65cbf libssh2: Clarify BSD license variant

(From OE-Core rev: 57df134b1be56a688f41851e5ff014dd859c0bc3)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 15:21:20 +00:00
Randy MacLeod
53615dae3e Add libgit2, libssh2 from meta-oe for rust
(From OE-Core rev: a6e49314f64b65b3a165d33ae581b6761ded0e82)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 15:21:20 +00:00
Martin Jansa
3cffbb7261 sstatesig.py: show an error instead of warning when sstate manifest isn't found
* not sure if there are some valid use-cases for missing manifest, but
  recently I'm seeing increasing number of build failures where something
  from native recipe is missing (seen it with pseudo, autoconf, nodejs
  recently) and the only indication that something is wrong (before showing
  sometimes misleading error like:
  recipe-sysroot-native/usr/bin/node: No such file or directory
  is this warning:
  NOTE: Running task 7844 of 12431 (/meta-oe/meta-oe/recipes-devtools/nodejs/nodejs_12.20.2.bb:do_prepare_recipe_sysroot)
  NOTE: recipe nodejs-12.20.2-r0: task do_prepare_recipe_sysroot: Started
  WARNING: nodejs-12.20.2-r0 do_prepare_recipe_sysroot: Manifest /BUILD/sstate-control/manifest-x86_64_ubuntu-18.04-nodejs-native.populate_sysroot not found in x86_64 x86_64_ubuntu-18.04 (variant '')?
  NOTE: Running task 7845 of 12431 (/meta-oe/meta-oe/recipes-devtools/nodejs/nodejs_12.20.2.bb:do_unpack)
  NOTE: recipe nodejs-12.20.2-r0: task do_unpack: Started
  WARNING: nodejs-12.20.2-r0 do_prepare_recipe_sysroot: Manifest /BUILD/sstate-control/manifest-x86_64_ubuntu-18.04-nodejs-native.populate_sysroot not found in x86_64 x86_64_ubuntu-18.04 (variant '')?
  NOTE: recipe nodejs-12.20.2-r0: task do_prepare_recipe_sysroot: Succeeded

  if I rebuild that native dependency, then it gets fixed and I don't
  see these failures in clean builds (as without sstate and with empty
  TMPDIR), only in incremental builds

* but if there isn't valid reason for missing manifest file, then I think
  it would be better to error early (or even bb.fatal())

(From OE-Core rev: 95607a26854d873399d2b9d7e5fcbffc0cbdba4c)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 15:21:20 +00:00
Stefan Ghinea
eceb7357a6 wpa-supplicant: fix CVE-2021-0326
In p2p_copy_client_info of p2p.c, there is a possible out of bounds write
due to a missing bounds check. This could lead to remote code execution
if the target device is performing a Wi-Fi Direct search, with no
additional execution privileges needed. User interaction is not needed
for exploitation.Product: AndroidVersions: Android-10 Android-11
Android-8.1 Android-9 Android ID: A-172937525

References:
https://nvd.nist.gov/vuln/detail/CVE-2021-0326

Upstream patches:
https://w1.fi/cgit/hostap/commit/?id=947272febe24a8f0ea828b5b2f35f13c3821901e<links_for_CVE_patches>

(From OE-Core rev: b7940edabe100512e8f558cc37f9da836feae74d)

Signed-off-by: Stefan Ghinea <stefan.ghinea@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 15:21:20 +00:00
Jan-Simon Möller
730ea923ac oe-selftests: add rpm to reproducible build selftest
rpm packaging has shown good numbers wrt reproducible builds as well
when testing core-image-minimal locally:

 Reproducibility summary for rpm: same=4671 different=0 missing=0 total=4671

Thus enable it in the autobuilder to be more widely tested.

(From OE-Core rev: 84d3a90557444d8cd83d780b1c3f2b278ab07af2)

(From OE-Core rev: 85b9dd01f2e1d5429f8da0c48a25ec034acebf67)

Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 15:21:20 +00:00
Richard Purdie
17ccaab9a5 reproduce: Fix exclusion list for rpm
rpm uses "XXX-VERSION" compared to deb/ipk which use "XXX_VERSION"
which breaks the go package exclusion. Work around with both go_
and go- for now.

(From OE-Core rev: 2af535282833dddb58f24ec5b360230c47e6f6b1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 15:21:20 +00:00
Richard Purdie
983d1b70e7 fonts: Bump HASHEQUIV_HASH_VERSION after rpmdeps change
After the rpmdeps change, the output didn't change in the correct
case and hence hashes were cross-linked. We bump the hashequiv
version to avoid problems from this.

Also bump PR to force a rebuild.

(From OE-Core rev: cd1e4f9957c57bebcc8f16ebc200a1ab2e4fd2ce)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 15:21:20 +00:00
Richard Purdie
61d9c0b77b package/package_rpm: Disable font_provides configuration for reproducibilty
The host may or may not have fc-cache which is used for find provides
information by rpmdeps. This lead to non-deterministic build output.
Disable the font provides code so we have deterministic builds,
we have nothing using/relying on it at this point.

Need to disable this in both the rpmdeps code and in package_rpm
itself although the latter shouldn't be being used.

(From OE-Core rev: 1c0cd8012a96fd4d9caf33c6de5fd39cea6db55d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 15:21:20 +00:00
Khem Raj
07176f2609 go-helloworld: Turn into a go module enabled build
(From OE-Core rev: 86aacbc889830846150ff2d0f1cd7ba00a2c10f6)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 15:21:20 +00:00
Khem Raj
b1eea8178a go: Enable CGO and pie buildmode on rv64
go1.16 has added CGO support for riscv64 arch

(From OE-Core rev: 8e078238312948e8c7b09c66ba7a186512e995d3)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 15:21:20 +00:00
Khem Raj
cedb3aa817 go: Upgrade compiler to 1.16 major release
Revert a CC/CXX check [1] which wont work with OE settings
Forward port needed patches forward

Details releaase notes are here [2]

[1] https://go-review.googlesource.com/c/go/+/228517/
[2] https://golang.org/doc/go1.16

(From OE-Core rev: 5c41c6ed4e2e70d18b32c460b8c8e1aadd54584f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 15:21:20 +00:00
Khem Raj
510406ddf5 goarch: Use softfloat instead of 387 for 386 goarch
387 has been removed from go 1.16 see [1]

[1] https://github.com/golang/go/issues/40255

(From OE-Core rev: fd549c139f534f28974c86a4e4c7acf6f5c40a79)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 15:21:20 +00:00
Khem Raj
f9ddc0efa8 selftest: Replace building dep tool with direnv
dep tool is now deprecated and its replaced with go modules so using
this as sample for testing is also getting arcane. Replace it with
another project direnv[1] which is quite active and uptodate

[1] https://github.com/direnv/direnv

(From OE-Core rev: bb510037beaaaa723b9158d1f4e11a3547f6fb73)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 15:21:20 +00:00
Richard Purdie
1fe4a25f22 diffoscope: Ensure rpm is configured correctly
diffoscope was failing as rpm wasn't configured correctly. Fix this.

(From OE-Core rev: 93ad1ab49be03dd082a98f80464cfee9d98a3a33)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-24 12:42:49 +00:00
Richard Purdie
368bd5b5ee selftest/reproducible: Remove exclusions for recipes which now reproduce
git, libproxy, libcap-ng(-python), babeltrace2, rsync and groff
have their reproducibility issues fixed, remove from the exclusion
list. Also fix whitespace.

(From OE-Core rev: 044eda9c70ddda195b1c0ce1d228904392431582)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-24 00:19:38 +00:00
Tomasz Dziendzielski
4d16e59a52 bitbake.conf: Introduce FAKEROOTLOGS variable used by bitbake to print pseudo.log
Bitbake depends on this variable while looking for pseudo.log file in
case of fakeroot task failure.

(From OE-Core rev: e8e9e5f62b144828387e20eec2e66fcd61edd0d3)

Signed-off-by: Tomasz Dziendzielski <tomasz.dziendzielski@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-24 00:19:38 +00:00
Joshua Watt
a809420449 diffoscope: Add python3-rpm as dependency
The python3-rpm package is required for diffoscope to diff RPM packages

(From OE-Core rev: 5331d9c63022c5434b4c70d404c7546316a6f9f1)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-24 00:19:38 +00:00
Richard Purdie
c4baddc0d0 reproducible: Improve SOURCE_DATE_EPOCH_FALLBACK handling
Ensure the fallback value if used is written to the SDE file
and hence stored in sstate, reducing any confusion within the
code over '0' values.

Bump the HASHEQUIV_VERSION since we've had a ton of trouble
with ensuring this rolls out correctly on the autobuilder so
others may too, take a clean slate for it.

(From OE-Core rev: 53ffffa32b76330835287dfc05d4e4796841af08)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-24 00:19:38 +00:00
Jan-Simon Möller
7e9c2f33d4 reproducible_builds: SOURCE_DATE_EPOCH should not be 0
A SOURCE_DATE_EPOCH of 0 might be misinterpreted by namely rpm as no SDE.

 e.g.:
 char *srcdate = getenv(SOURCE_DATE_EPOCH);
 if (srcdate && rpmExpandNumeric(%{?clamp_mtime_to_source_date_epoch}))

Solve this by:
- providing a SOURCE_DATE_EPOCH_FALLBACK variable != 0
- changing defaults to use it
- using SOURCE_DATE_EPOCH_FALLBACK also when reading 0 out of sstate-cache

(From OE-Core rev: 9a1dde74e794362399193dc3f81c9685a83d0776)

Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-24 00:19:38 +00:00
Richard Purdie
e9e23ec77e babeltrace2: Fix reproducibility
babeltrace2-ptest was referencing the host's python version in it's
makefiles. Whilst this could be fixed, its easier to correct the
python version being found to the target one which works much
more effectively and solves the issue.

(From OE-Core rev: 559f16d2fef4f8b04a9db1104b4a5b63f7876c68)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-23 22:35:01 +00:00
Richard Purdie
116743ecc2 diffoscope: Ensure the correct magic file is used
diffoscope uses libmagic and it was searching in file-native's sysroot
for the magic file. Wrap it and set MAGIC in the environment to
ensure the file is found correctly and avoid build failures.

(From OE-Core rev: 3488a8316891829892bd41a1caacaeeef73da7ef)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-23 22:35:01 +00:00
Milan Shah
8b299a62c5 report-error.bbclass: Add layer and bitbake version info to error report
Instead of just providing local.conf info, add layer names and their
revisions with bitbake version information into error report
makes it easier to understand and reproduce failed build.

[YOCTO #9700]

(From OE-Core rev: a5afd7b1857c0012ab6e3d8bbafa67a96ff9e9e0)

Signed-off-by: Milan Shah <mshah@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-23 22:35:01 +00:00
Klaus Heinrich Kiwi
cfc0e21b10 kernel-fitimage: Don't use unit addresses on FIT
Das U-Boot 2021.4-rc1 has the following commit:

    commit 3f04db891a353f4b127ed57279279f851c6b4917
    Author: Simon Glass <sjg@chromium.org>
    Date:   Mon Feb 15 17:08:12 2021 -0700

        image: Check for unit addresses in FITs

        Using unit addresses in a FIT is a security risk. Add a check for
        this and disallow it.

        CVE-2021-27138

Adjust the kernel-fitimage.bbclass accordingly to not use unit
addresses. This changte is required before we can bump U-Boot to 2021.4.

(From OE-Core rev: 6047be9f8f0f5d616fda11d83b682c1b8aeaa0ae)

Signed-off-by: Klaus Heinrich Kiwi <klaus@linux.vnet.ibm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-23 22:35:01 +00:00
Ross Burton
b2d8e3cf62 grub: shuffle packaging for aarch64 builds
Even in grub-efi platforms we need to build grub for the the common
tools. On x86 this isn't a problem because grub builds legacy boot and
grub-efi builds EFI, but on aarch64 there is no legacy boot supported by
grub.

To ensure that the common tools are built the grub recipe also builds
EFI binaries, but this now means that grub and grub-efi ship the same
binaries.

oe-core 933286 fixed this conflict by deleting the binaries from
grub-efi and putting the aarch64 modules into grub-common (relying on
dependencies to pull grub-common in).  This seems backwards: grub-efi no
longer contains the binaries and they're in different packages on arm or
x86.  Also, SDK generation is broken as the grub package itself is now
empty as the binaries are in grub-common.

Resolve all of these issues by reversing the logic:  grub-efi is the
package which holds the EFI binaries on all platforms. grub only builds
for EFI on aarch64 as a way to build the common binaries, so delete them
in that recipe to avoid conflicts.  And finally as the grub recipe is
empty on aarch64 but needed by dependencies, set ALLOW_EMPTY.

(From OE-Core rev: 801c10b33eb2074677d46b361e46f47b693b573a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-23 22:35:01 +00:00
Mingli Yu
05fd93ca14 python3: Fix python interpreter line length for nativesdk
Make sure the python interpreter is "#!/usr/bin/env python3" for
nativesdk to avoid the shebang path exceeding the limit when install
the sdk under the directory with long path.

Before:
 $ cd ${target_sdk_dir}
 $ vi ./sysroots/x86_64-oesdk-linux/usr/bin/2to3
 #!${target_sdk_dir}/sysroots/${SDK_SYS}/usr/bin/python3.9
 [snip]

After:
 $ cd ${target_sdk_dir}
 $ vi ./sysroots/x86_64-oesdk-linux/usr/bin/2to3
 #!/usr/bin/env python3
 [snip]

(From OE-Core rev: a748e6098fa7d2ff594319937c7e0cf97700e83a)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-23 22:35:01 +00:00
Scott Murray
2c6604b9a1 screen: fix CVE-2021-26937
Apply patch from Debian to fix CVE-2021-26937.

(From OE-Core rev: 6d688cc8672b1830ba10966492ab3f8a12d32e17)

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-23 22:35:01 +00:00
Joel Stanley
4d570546fd conf/machine-sdk: Add ppc64le SDK machine
Previously SDKMACHINE would default to x86_64. Commit 539cd4a5fbb9
("bitbake.conf: default SDKMACHINE to the build host architecture")
changed it to default to the build machine, causing the build to
fail on a ppc64le host.

Reported-by: Andrew Geissler <geissonator@yahoo.com>
Link: https://www.mail-archive.com/yocto@lists.yoctoproject.org/msg04364.html
(From OE-Core rev: c915619b78e0c3e0d73d9de0b85c658c563ed5ba)

Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-23 22:35:01 +00:00
Richard Purdie
1229097db5 libpcre: Drop old/stale patch
According to my tests this incorrect symbols resolution at runtime no
longer happens. Ubuntu is still carrying the patch but also probably
doesn't need to, they are also on a much older version. It sounds
like there was once a linkage bug somewhere which has likely been
resolved since.

Drop the patch as it doesn't seem needed anymore. If it were a real
issue it should be submitted upstream too, the status is incorrect.

(From OE-Core rev: 02f36ed515afed550dfcd986977ce2106dee556a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-23 22:35:01 +00:00
Richard Purdie
c79cc7dcbe ca-certificates: Clean up two patches and submit upstream
(From OE-Core rev: f3eabbb5c15fb55ae3d46b2377c09bb58226d965)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-23 22:35:01 +00:00
Richard Purdie
3fbe42a5f2 libevdev: Update patch status to backport
The patch was submitted and merged upstream.

(From OE-Core rev: 871bce0703ca9d14e5c44f6ee0b66fcb13cfb630)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-23 22:35:01 +00:00
Richard Purdie
b567f5f59e libcap-ng: Replace python patch with a better fix
By using the python3targetconfig class we can drop the existing python
patch and the extra make parameters.

(From OE-Core rev: 3bbebc39235f50af4d66e3284b67c1491d2c93f2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-23 22:35:01 +00:00
Richard Purdie
e1767e1287 libcap-ng: Fix python bindings determinism issue
(From OE-Core rev: e4ff283d8ae7f77b523a648e7c0dbbb1781008fe)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-23 22:35:01 +00:00
Richard Purdie
c907ea3246 rsync: Fix group name determinism issue
configure falls back to inspecting the host#s /etc/group for the
nobody/nogroup naming. Pass the correct value to configure to
ensure host differences don't sneak in.

(From OE-Core rev: e5f809068b32df32e506f3067cd6086195e03f12)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-23 22:35:01 +00:00
Richard Purdie
2d2f017240 rsync: Fix a file sorting determinism issue
(From OE-Core rev: f6b7f395ae2d98363e365d31f5e95ce41a12e5b4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-23 22:35:01 +00:00
Richard Purdie
b28a214f2e libproxy: Avoid /etc/sysconfig determinism issue
(From OE-Core rev: bf004ccd77b2ac49bec69aa0507efee694f57c37)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-23 22:35:01 +00:00
Khem Raj
555d098706 tune-power9: Enable qemu-usermode
With latest qemu it works ok

(From OE-Core rev: 0d4fa837bb55be799132cae84f0efb0bfbabd9e2)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-23 22:35:01 +00:00
Khem Raj
60c65379f1 glibc: Build for power9 cpu when using powerpc64le tunes
This makes sure that we can compile glibc for powerp9 based machines
irrespective of endianness or bitness

(From OE-Core rev: 6201018650fe8966b99860bbda24c5903e7d7a60)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-23 22:35:01 +00:00
Khem Raj
74c6f625c6 bitbake.conf: Do not use lib64 for baselib on musl/ppc64
musl is configured to use /lib and /usr/lib for ppc64 unlike glibc where
it is expected to have libs in /lib64 and /usr/lib64

(From OE-Core rev: 998d15a86282d9cf57fbd0a4eb76a56b9938a348)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-23 22:35:01 +00:00
Khem Raj
47a2fffca4 goarch.bbclass: Fix ppc64le detection
ppc64le should go above ppc64 in checks otherwise it gets subsumed
wrongly with ppc64 check

(From OE-Core rev: 126ecfe0d2ce65b2d2cf5598612e60bad7b3302e)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-23 22:35:01 +00:00
Khem Raj
b7d18a2fa7 musl: Install /lib directory
loader is installed into /lib and ${base_libdir} may not be always
pointing to /lib, while here we want to create the directory where ldso
will reside

(From OE-Core rev: 76795b5a4452b531c342df2c8a3bbb264cc8a8d2)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-23 22:35:00 +00:00
Khem Raj
1963444d58 linuxloader: Deal with little-endian ppc64 ldso name
On ppc64le 'le' should be appended to ldso name

(From OE-Core rev: dd221cdc8630a5adba1f87ff7a237021e9a95548)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-23 22:35:00 +00:00
Khem Raj
acfa0e0dce runqemu: Add new option to disable vga emulation
When using nographic, explicitly disabling vga is needed some cases
since some qemu firmware (OpenFirmware ) defaults to std vga, and
when vga is enabled then it disables output to serial and redirects
that to vga which is by design, hwoever we expect the console output
to go to serial when using nographic, therefore its important to
disable vga with nographic especially on qemu based ppc platforms

(From OE-Core rev: eabbdb3c4f78ab23348a6b988f59d9d98b5e2c7c)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-23 22:35:00 +00:00
Vivien Didelot
fa35f3ef9c systemd: Fix importd requirements comment
The comment above the importd config states curl, which does not
exist in PACKAGECONFIG. Adding it results in the following error
(and then misleading compilation failures):

    WARNING: systemd-1_244.5-r0 do_configure: QA Issue: systemd: invalid PACKAGECONFIG: curl [invalid-packageconfig]

Support for curl is currently enabled through journal-upload:

    PACKAGECONFIG[journal-upload] = "-Dlibcurl=true,-Dlibcurl=false,curl"

While it might be more appropriate to deprecate "journal-upload"
in favor of a "curl" PACKAGECONFIG entry, simply fix the importd
comment for now by stating upload-journal instead of curl.

(From OE-Core rev: e6a0bced605da58ff43ff06ea6a1d67e84c98d91)

Signed-off-by: Vivien Didelot <vdidelot@pbsc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-23 22:35:00 +00:00
Richard Purdie
4700737f9a python3-magic: upgrade 0.4.18 -> 0.4.20
License changed as there was additional copyright information added
but the underlying license did not change.

(From OE-Core rev: 97f5846586076c20289a2a43c7ddfa610a6aa5d9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-23 22:35:00 +00:00
Richard Purdie
bb10e0c726 apt: Upgrade 1.8.2.1 -> 1.8.2.2
(From OE-Core rev: 9c04f9dca26eabdf71a432492d4b718805fda8f0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-23 22:35:00 +00:00
Richard Purdie
fdcdd64edd python3-pycryptodome/pycryptodomex: upgrade 3.9.9 -> 3.10.1
The license file dropped the APL-2 pieces but this wasn't in LICENSE
in the first place, no code seemed to refer to it so no change was
needed.

(From OE-Core rev: f31d3d8999ce314832012324ce8bebf42dcfb372)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-23 22:35:00 +00:00
Khem Raj
3c202cd8ce nettle: Upgrade to 3.7.1
bugfix release [1]

[1] https://lists.gnu.org/archive/html/info-gnu/2021-02/msg00011.html

(From OE-Core rev: 28156e43673288ecfb9d43b1aecfd01256c71585)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-23 22:35:00 +00:00
Richard Purdie
3c2f8b750a linux-firmware: upgrade 20201218 -> 20210208
License file had a number of new additions for new firmware but no
new licenses that didn't already exist.

(From OE-Core rev: eab46e65feae24311f0ee0cd05b7ebb2e3b07363)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-23 22:35:00 +00:00
Richard Purdie
6ec9508caf diffoscope: Upgrade 166 -> 167
(From OE-Core rev: 56dd9ba4d0cd211ba4aacf565d85bda45df1ccee)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-23 22:35:00 +00:00
Wang Mingyu
b120603e2e openssl: upgrade 1.1.1i -> 1.1.1j
(From OE-Core rev: a67635ca2c7a016efcf450e4011f2032883e995d)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-23 22:35:00 +00:00
Wang Mingyu
e09d99e1aa lttng-ust: upgrade 2.12.0 -> 2.12.1
(From OE-Core rev: 5fad57044fb0d092ed166fe2e252570aa8cfc155)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-23 22:35:00 +00:00
Wang Mingyu
d537e84a42 liburcu: upgrade 0.12.1 -> 0.12.2
(From OE-Core rev: a1cf5a1b139fe92aa4473594c083c116bbff27e5)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-23 22:35:00 +00:00
Oleksandr Kravchuk
6c930438f1 net-tools: update to 2.10
Removed upstreamed patches.

Added new package configs.

(From OE-Core rev: 179756f647c2a2e63b3bbcc53e7c0ff3c5df4e39)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-23 22:35:00 +00:00
Oleksandr Kravchuk
34ed0d107b ell: update to 0.38
Changelog:
- Fix issue with DHCP v6 Rapid Commit option check.
- Fix issue with handling RFC8018/RFC1423 padding.

(From OE-Core rev: f9c01ad1fc86706c76b0ef708d049267342bb5ec)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-23 22:35:00 +00:00
Oleksandr Kravchuk
9f1e8ced83 python3: update to 3.9.2
Removed CVE patch was upstreamed.

License-Update: copyright years.

(From OE-Core rev: fafb8a88cd0365ff4327a1d6062d9f48b2927910)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-23 22:35:00 +00:00
Richard Purdie
6a320c849c gma500-gfx-check: Update licence to match changes in OE-Core
Match SPDX licence name changes in OE-Core.

(From meta-yocto rev: 4acb5d2a9e77b8f426fa2370a9a71b9df8c7c3e7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-21 22:02:48 +00:00
Joshua Watt
40f5a289d5 bitbake: event: Fix broken builds when multiconfig has a hyphen in the name
5f7fdf7b2d ("bitbake: event: Prevent bitbake from executing event
handler for wrong multiconfig target") broke multiconfig builds contain
a hyphen, since it's attempt to use the multiconfig as part of a
function name and python functions are not allowed to contain a hyphen.

Rework the bitbake multiconfig test to test a multiconfig with a hyphen
and one with an underscore to validate this doesn't break in the future.

(Bitbake rev: c3168df330a4563cbd03ba74de55a22217d823ed)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-21 22:02:01 +00:00
Jan Brzezanski
90e5cce0e3 bitbake: Force parser shutdown after catching an exception
Commit bebef58b21bdff7a3ee1fa2449b7df19144f26fd introduced forcing
parser shutdown as default in case of build abort.

In this case bitbake sometimes hangs after facing error during parsing,
waiting for child processes to finish. Killing it then will spawn zombie
processes.

Thus we force the shutdown after catching an exception.

(Bitbake rev: 915330e1dbae1ee8fd9a0358decf2c294f771961)

Signed-off-by: Jan Brzezanski <jan.brzezanski@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-21 22:01:56 +00:00
Charlie Davies
4952dcbd51 bitbake: bitbake: providers: use pythonic empty list check
(Bitbake rev: 591542734988856afa53b99e5eef6e5ca15630b8)

Signed-off-by: Charlie Davies <charles.davies@whitetree.xyz>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-21 22:01:56 +00:00
Charlie Davies
d47f455389 bitbake: bitbake: providers: fix incorrect return type bug
If no eligible providers are found then an integer zero is returned.
This causes the following error, in two possible places in taskdata.py,
when the return value is used in a list comprehension:

[snip]
    eligible = [p for p in eligible if not p in self.failed_fns]
TypeError: 'int' object is not iterable
[\snip]

Fix by returning the variable eligible itself, of type list.

(Bitbake rev: 217c4b436b588a6a47aeaddf61531711ad3fca67)

Signed-off-by: Charlie Davies <charles.davies@whitetree.xyz>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-21 22:01:56 +00:00
Wang Mingyu
a927a0d0b7 xkeyboard-config: upgrade 2.31 -> 2.32
(From OE-Core rev: 65e36f3f95ccc0b0902c7943df3db39917717a1e)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-21 22:01:28 +00:00
Wang Mingyu
65176caf81 util-linux: upgrade 2.36.1 -> 2.36.2
0001-build-sys-do-not-build-plymouth-ctrl.c-w-disabled-pl.patch
0001-hwclock-do-not-assume-__NR_settimeofday_time32.patch
removed since they are included in 2.36.2

(From OE-Core rev: 4db0babf6a69a90df14363103f5f6b643f208b12)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-21 22:01:28 +00:00
zhengruoqin
10629a04bc glibc: Unify wordsize.h with arm multilibs
wordsize.h should be the same under arm and aarch64, othersise the
following error happens:

"file /usr/include/bits/wordsize.h conflicts between attempted installs of lib32-libc6-dev-2.33-r0.armv7ahf_neon and libc6-dev-2.33-r0.aarch64"

(From OE-Core rev: cf487df7d58ea89fcef5c4bc30c2ca1ceded9508)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-21 22:01:28 +00:00
zhengruoqin
48a789c4e0 glibc-package.inc: Fix arm multlib header issue with struct_stat.h
Fix build error under multilib as following:

"file /usr/include/bits/struct_stat.h conflicts between attempted installs of lib32-libc6-dev-2.33-r0.armv7ahf_neon and libc6-dev-2.33-r0.aarch64"

(From OE-Core rev: 163ec51715e939fe9ff3f87c2af46a77e1a8edea)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-21 22:01:28 +00:00
Yi Fan Yu
d920e8cb33 libnl: add ptest support
All tests are installed, but only what `make check`
runs is run, so currently that's 1 test named `check-all`

`libcheck` needs to be present for ./configure to generate
the check* tests.

An issue asking about upstream testing strategy is opened at
https://github.com/thom311/libnl/issues/270

(From OE-Core rev: 23a785a373f76a24f4f7dd867522ce296cbf30f3)

Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-21 22:01:28 +00:00
Richard Purdie
d54cada062 selftest/incompatible_lic: Update the tests after the 'or-later' license handling changes
With the separate of the "-only" and "-or-later" licenses, we need to
update the tests to match the messages now given in the output.

Also use a mix of canonicalised and non-canonlised names in the
reference recipes to help test those cases and ensure coverage.

(From OE-Core rev: b7f38af7ac9449178c603c5349808b8c0dd84d35)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-21 22:01:28 +00:00
Richard Purdie
3266d1ee1c license_image: Don't canonicalise INCOMPATIBLE_LICENSE
The code internally correctly handles canonicalisation of these license
fields, we shouldn't call it manually. The issue is that the fields can
contain wildcards and GPLv3* means something quite different to GPLv3-only*.

(From OE-Core rev: 957f48ce78ad1865653e8b8f25909a65ba8fc535)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-21 22:01:28 +00:00
Richard Purdie
55a3da9c0d licenses: Update INCOMPATIBLE_LICENSE for 'or-later' handling
Where a user adds "GPLv3" to INCOMPATIBLE_LICENSE they almost certainly
mean both GPLv3-only and GPLv3-or-later. Update the code to handle this
correctly.

(From OE-Core rev: 08cbf17485b6443a6118acfac8200eb6c61445a3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-21 22:01:28 +00:00
Richard Purdie
6638a7289e licenses: Fix canonical license for 'or-later' handling
GPLv2 and GPLv2+ are two difference licenses with different meanings
and we can't just pretend they're the same thing. Change the code
to treat them separately.

(From OE-Core rev: d1baf74ac92fe0c8c32dff101fd77d77f70fd583)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-21 22:01:28 +00:00
Richard Purdie
1e599c15d8 licenses.conf: Add missing 'or-later' mappings
If we handle the or-later licences separately (which we should),
we need to add in the missing name mappings for the code to
function correctly.

(From OE-Core rev: ccc785f9d428b279c8aa9a1ca00dc685342fdb1e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-21 22:01:28 +00:00
Richard Purdie
87ed5dab07 recipes: Update common-licenses references to match new names
The licenses were renamed to match their SPDX names, fix the
references in LIC_FILES_CHKSUM in OE-Core.

(From OE-Core rev: 9af48917cfe583d2db9e1e088c7e396fcf638949)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-21 22:01:28 +00:00
Meh Mbeh Ida Delphine
2456f523cf licenses: Update license file to match current SPDX names
* Updated mappings of license fields of meta/conf/licenses.conf to match
  latest SPDX naming.

* Add mappings to the old names

* Renamed license files to match the new preferred names.

* Added "or later" versions of license mappings

* Added "or later" versions of common license files eg GPL-2.0-or-later

Fixes: [YOCTO #13320]

(From OE-Core rev: 5ecf139a31fa7bd813855f1235ea9f434fbcb2e0)

Signed-off-by: Meh Mbeh Ida Delphine <idadelm@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-21 22:01:28 +00:00
Richard Purdie
a425e01da8 figures/yp-how-it-works-new-diagram.png: Fix spelling error underline
(From yocto-docs rev: 16c598c123cf197ddd547458fc34dd72f1eee878)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-20 09:28:46 +00:00
Richard Purdie
29c293aa69 maintainers: Update email address for Victor
(From OE-Core rev: 5b509fe1c5ff86a0397fa98d7bcd0199da32bf14)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-20 09:28:46 +00:00
Anuj Mittal
488e39b623 linux-yocto: update genericx86* to v5.4.94
(From meta-yocto rev: b05a89a04002ddce2d82a22874def608e7748871)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-19 11:17:48 +00:00
Jan-Simon Möller
0ccf53d8e1 package_rpm: Enable use_source_date_epoch_as_buildtime in package_rpm class
Adding --define 'use_source_date_epoch_as_buildtime 1' to rpmbuild
ensure that the rpm header does have a consistent BUILDTIME tag.

This allows the rpms to be built reproducibly.

(From OE-Core rev: f16721df6b3d0d3e681d9a1b3393417bd62b6275)

Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-19 11:17:11 +00:00
Yi Fan Yu
b98fc88f63 valgrind: Remove reference to non-existent ptests
exp-dhat:
commit 441bfc5f5 promoted exp-dhat to dhat

exp-sgcheck:
commit 40187fcd6 removed the exp-sgcheck tool.

(From OE-Core rev: f7b32e0d5bb9c80f6b37ed8b7f0bd29c562d3f70)

Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-19 11:17:11 +00:00
Andrei Gherzan
cbb794f9dd oe/recipeutils: Fix copying patches when BBLAYERS entries are not normalised
`devtool` uses `copy_recipe_files` for the upgrade operation when
creating the new, workspace recipe. Before handling the copy operations,
the function checks the entry in `SRC_URI` against `FILE` while in turn
uses absolute paths. When BBLAYERS contains entries that are not
normalised, this check will fail resulting in having the recipe in the
workspace without the initial patches.

Signef-off-by: Robert Drab <robert.drab@huawei.com>
(From OE-Core rev: 777fc24ab2c332954b56dac28cd9b3032808828c)

Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-19 11:17:11 +00:00
Konrad Weihmann
c640057eda cmake: set CMAKE_EXPORT_NO_PACKAGE_REGISTRY
if a cmake file uses export(PACKAGE) command it creates a
folder ~/.cmake/package/<name> in the current user's
home-dir.
fix this host contermination by setting CMAKE_EXPORT_NO_PACKAGE_REGISTRY
to ON by default, which makes the export() command do nothing

(From OE-Core rev: fc7bd81cfe52c35fe26d146c1def8a7493bd2e25)

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-19 11:17:11 +00:00
Luca Boccassi
3dc37c12c1 systemd: add hostname fallback when polkit is not available
When polkit is not available, networkd will not have permissions
to call hostnamed's dbus methods, as it runs without privileges.
To solve this, when building without polkit, make a new PACKAGECONFIG
'polkit_hostnamed_fallback' available which changes hostnamed so that
it runs as the 'systemd-network' user, the same as networkd, so that
the authorization works (and also with CAP_SYS_ADMIN since it loses
root).
Also run it with a separate 'systemd-hostname' group which also owns
the bus, to avoid giving the 'systemd-network' additional privileges.

(From OE-Core rev: 07a8f1629662d4d66d056d95be3cb9e749242274)

Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-19 11:17:11 +00:00
Richard Purdie
1827be4a19 groff: Fix determinism issue
Sometimes bison would regenerate source files and sometimes it would not
This is likely related to the patching of generated files by on of the
patches.

Drop those changes and force the files to regenerate in all cases since
we depend on bison-native anyway. This ensures the results are always
consistent.

(From OE-Core rev: 4449fa226e94f7124215c5ead43aadda7967f3af)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-19 11:17:11 +00:00
Anthony Bagwell
7cf4daf53e kernel-fitimage: fix dtbo support for fit images
8a2f4e143 added support for u-boot boot script but missed adding the
extra parameter to fitimage_emit_section_config on the dtbo branch

(From OE-Core rev: 22bac8aea0d5d28cc5a3bf20edf638225cce2f88)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-19 11:17:11 +00:00
Khem Raj
a9ad53c81a libunwind: Disable for riscv
riscv port does not exist yet

(From OE-Core rev: 4855f36af757c800e18fab00b3f4122501e6c127)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-19 11:17:11 +00:00
Alejandro Hernandez Samaniego
cc0e18a7f7 sstate.bbclass: Split sstate summary into locally and network found artifacts
Modify sstate class to add extra output, differentiating
between artifacts found locally and those found over the network.

(From OE-Core rev: f017a2f677fa289c36b0e56ce480f69d7674ca11)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alhe@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-19 11:17:11 +00:00
Wes Lindauer
b20dd9b0a3 df.py: Add feature check for read-only-rootfs
If the target is using a read-only rootfs, the available space on '/'
will be zero. This will cause the test to incorrectly fail and skipping
seems appropriate in this case.

(From OE-Core rev: af1dbea3c9b9b42a3e6803b231e425423d70e210)

Signed-off-by: Wes Lindauer <wesley.lindauer@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-19 11:17:11 +00:00
Teoh Jay Shen
39c90869ab oeqa/runlevel : add test for runlevels
This test mimic the boot_from_runlevel_3 and boot_from_runlevel_5 test cases from oeqa/manual/bsp-hw.json.
The boot_from_runlevel_3 and boot_from_runlevel_5 manual test cases should be remove from oeqa/manual/bsp-hw.json if this patch get merged.

(From OE-Core rev: 6effd30f0e3726bc1f2eb7768c57c6b95eddb079)

Signed-off-by: Teoh Jay Shen <jay.shen.teoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-19 11:17:11 +00:00
Anuj Mittal
50ed28be5a asciidoc: fix upstream check
Detect versions with numbers only and ignore the pre-release versions.

(From OE-Core rev: e632b97d2411bc4510c54f6ac32ffa9042f69034)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-19 11:17:11 +00:00
Anuj Mittal
0c4c9d8d0e man-db: upgrade 2.9.3 -> 2.9.4
(From OE-Core rev: 25e247f386b8d2370e9835a3ca99cae41da2577f)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-19 11:17:11 +00:00
Anuj Mittal
256c0ccc2e btrfs-tools: upgrade 5.10 -> 5.10.1
(From OE-Core rev: 88209e278d89e88aaed39e759621711ab9dafd07)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-19 11:17:11 +00:00
Anuj Mittal
1dd4f5ece1 kmscube: upgrade to latest revision
(From OE-Core rev: 043ff0562695b9f2d450528ed71b988d1b4aa195)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-19 11:17:11 +00:00
Anuj Mittal
621a031023 mesa: upgrade 20.3.2 -> 20.3.4
(From OE-Core rev: d9c368dcfe6476454aef33592f676b28537af2d9)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-19 11:17:11 +00:00
Anuj Mittal
caa43d0173 json-glib: upgrade 1.6.0 -> 1.6.2
(From OE-Core rev: eae6582575c5b1853b247820c0e354191fb44d4e)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-19 11:17:11 +00:00
Anuj Mittal
3ad8461f6a pcmanfm: upgrade 1.3.1 -> 1.3.2
(From OE-Core rev: 88f9c7b328e9ac70d2af6500c86b317244e80b0c)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-19 11:17:11 +00:00
Anuj Mittal
c0292bc2fb libfm-extra: upgrade 1.3.1 -> 1.3.2
(From OE-Core rev: 6c8ac67f1d0e2e38656a3eb3c2d88dc2ed250564)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-19 11:17:11 +00:00
Anuj Mittal
6517a4dbb3 diffoscope: upgrade 164 -> 166
(From OE-Core rev: e75c13b5e7ddf52b06e2d5b89790c8571e7b4ea0)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-19 11:17:11 +00:00
Anuj Mittal
31fe53e42a curl: upgrade 7.74.0 -> 7.75.0
License-Update: copyright years changed

(From OE-Core rev: c1e278cbcf193fc647557018b8d7ee7997817219)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-19 11:17:10 +00:00
Anuj Mittal
c4a9d4682d cmake: upgrade 3.19.3 -> 3.19.5
Drop a patch which is no longer required as the issue has been fixed
upstream.

(From OE-Core rev: 5a6456bc0ded09d184987a70764ecb3c94be4ddd)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-19 11:17:10 +00:00
Bruce Ashfield
d654085025 linux-yocto-dev: bump version to v5.11+
We'll have the full v5.11 upstream kernel in linux-yocto-dev at
the time of release, so lets drop the -rc from the PV.

(From OE-Core rev: ee8f778252d1c741b45aca419867ef29d3398890)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-18 23:40:01 +00:00
Bruce Ashfield
b8bfeaef06 linux-yocto/5.4: update to v5.4.98
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    5b9a4104c902 Linux 5.4.98
    3654a0ed0bdc squashfs: add more sanity checks in xattr id lookup
    d78a70667738 squashfs: add more sanity checks in inode lookup
    a814355e7057 squashfs: add more sanity checks in id lookup
    848bcb0a1d96 Fix unsynchronized access to sev members through svm_register_enc_region
    78e2f71b89b2 bpf: Fix 32 bit src register truncation on div/mod
    8589eda99cb1 regulator: Fix lockdep warning resolving supplies
    513fee2aee13 blk-cgroup: Use cond_resched() when destroy blkgs
    d1eb41833408 i2c: mediatek: Move suspend and resume handling to NOIRQ phase
    618b65dbde7a SUNRPC: Handle 0 length opaque XDR object data properly
    19b56e8433e7 SUNRPC: Move simple_get_bytes and simple_get_netobj into private header
    fa758032a546 iwlwifi: mvm: guard against device removal in reprobe
    2fa76f19dc15 iwlwifi: mvm: invalidate IDs of internal stations at mvm start
    c82793ef4f3b iwlwifi: pcie: fix context info memory leak
    b301eaf27f86 iwlwifi: pcie: add a NULL check in iwl_pcie_txq_unmap
    01742ade9286 iwlwifi: mvm: take mutex for calling iwl_mvm_get_sync_time()
    8f630ed7e98e iwlwifi: mvm: skip power command when unbinding vif during CSA
    589cf152fe47 ASoC: ak4458: correct reset polarity
    e96d10250227 pNFS/NFSv4: Try to return invalid layout in pnfs_layout_process()
    a5c70e57c4c1 chtls: Fix potential resource leak
    8b6d5013cd70 ASoC: Intel: Skylake: Zero snd_ctl_elem_value
    db272cd2bc9e mac80211: 160MHz with extended NSS BW in CSA
    26548561cb92 regulator: core: avoid regulator_resolve_supply() race condition
    03d76df5f164 af_key: relax availability checks for skb size calculation
    968b1b034136 tracing/kprobe: Fix to support kretprobe events on unloaded modules
    5e1942063dc3 Linux 5.4.97
    40af962eb1d4 usb: host: xhci: mvebu: make USB 3.0 PHY optional for Armada 3720
    76ab33055fbc net: sched: replaced invalid qdisc tree flush helper in qdisc_replace
    e65d331755de net: dsa: mv88e6xxx: override existent unicast portvec in port_fdb_add
    5d3007b6cc7b net: ip_tunnel: fix mtu calculation
    90d7459d24b8 neighbour: Prevent a dead entry from updating gc_list
    271ea7072901 igc: Report speed and duplex as unknown when device is runtime suspended
    7018edb19a92 md: Set prev_flush_start and flush_bio in an atomic way
    e857e21eb200 iommu/vt-d: Do not use flush-queue when caching-mode is on
    5fdf672759e9 Input: xpad - sync supported devices with fork on GitHub
    03d56dab56ae iwlwifi: mvm: don't send RFH_QUEUE_CONFIG_CMD with no queues
    2d5705150707 x86/apic: Add extra serialization for non-serializing MSRs
    bc1a3aeeff0f x86/build: Disable CET instrumentation in the kernel
    40d0fff29761 mm: thp: fix MADV_REMOVE deadlock on shmem THP
    56d61cd652dd mm, compaction: move high_pfn to the for loop scope
    90ef21e5806f mm: hugetlb: remove VM_BUG_ON_PAGE from page_huge_active
    af5508b1e862 mm: hugetlb: fix a race between isolating and freeing page
    3264a763174f mm: hugetlb: fix a race between freeing and dissolving the page
    108f56ed354f mm: hugetlbfs: fix cannot migrate the fallocated HugeTLB page
    75be4852490f ARM: footbridge: fix dc21285 PCI configuration accessors
    b2640b08c43c KVM: x86: Update emulator context mode if SYSENTER xfers to 64-bit mode
    6d3201c77be5 KVM: SVM: Treat SVM as unsupported when running as an SEV guest
    f9be9445e494 nvme-pci: avoid the deepest sleep state on Kingston A2000 SSDs
    f9034fcb27c0 drm/amd/display: Revert "Fix EDID parsing after resume from suspend"
    6844143e2198 mmc: core: Limit retries when analyse of SDIO tuples fails
    68c825bd2726 smb3: fix crediting for compounding when only one request in flight
    eaf2f835b52c smb3: Fix out-of-bounds bug in SMB2_negotiate()
    00f581964b66 cifs: report error instead of invalid when revalidating a dentry fails
    fd6dc98f66ef xhci: fix bounce buffer usage for non-sg list case
    f6a47f2ce090 genirq/msi: Activate Multi-MSI early when MSI_FLAG_ACTIVATE_EARLY is set
    c9654bbe52b5 libnvdimm/dimm: Avoid race between probe and available_slots_show()
    d0f36951ead4 kretprobe: Avoid re-registration of the same kretprobe earlier
    e80f9021d5be fgraph: Initialize tracing_graph_pause at task creation
    efa17285b338 mac80211: fix station rate table updates on assoc
    ecdd962c4b9b ovl: fix dentry leak in ovl_get_redirect
    6b9a2e5c0c42 usb: host: xhci-plat: add priv quirk for skip PHY initialization
    ddc682d33024 usb: xhci-mtk: break loop when find the endpoint to drop
    32410786279f usb: xhci-mtk: skip dropping bandwidth of unchecked endpoints
    f4e4f067f94c usb: xhci-mtk: fix unreleased bandwidth data
    1f9e9c1048b8 usb: dwc3: fix clock issue during resume in OTG mode
    9d058a06149b usb: dwc2: Fix endpoint direction check in ep_from_windex
    2a968ab0d2dd usb: renesas_usbhs: Clear pipe running flag in usbhs_pkt_pop()
    4d1d959348c1 USB: usblp: don't call usb_set_interface if there's a single alt
    522567fe540d USB: gadget: legacy: fix an error code in eth_bind()
    e57d70c59bb7 memblock: do not start bottom-up allocations with kernel_end
    7e6dcaeadc0e nvmet-tcp: fix out-of-bounds access when receiving multiple h2cdata PDUs
    f1c87b4b2c7b ARM: dts: sun7i: a20: bananapro: Fix ethernet phy-mode
    d97a821b2e9c r8169: fix WoL on shutdown if CONFIG_DEBUG_SHIRQ is set
    c545879e8080 net: mvpp2: TCAM entry enable should be written after SRAM data
    bf0507fb2073 net: lapb: Copy the skb before sending a packet
    1cef1d46add8 net/mlx5: Fix leak upon failure of rule creation
    67b7f73bbe3f i40e: Revert "i40e: don't report link up for a VF who hasn't enabled queues"
    6380ef64b9eb igc: check return value of ret_val in igc_config_fc_after_link_up
    ec68581f7479 igc: set the default return value to -IGC_ERR_NVM in igc_write_nvm_srwr
    5ce999efcaa7 arm64: dts: ls1046a: fix dcfg address range
    68e798fa3c0e rxrpc: Fix deadlock around release of dst cached on udp tunnel
    98650c3d0e33 um: virtio: free vu_dev only with the contained struct device
    02531b5549eb bpf, cgroup: Fix problematic bounds check
    9146fffc5d2a bpf, cgroup: Fix optlen WARN_ON_ONCE toctou
    4921f81ce65a arm64: dts: rockchip: fix vopl iommu irq on px30
    831132b13f0d arm64: dts: amlogic: meson-g12: Set FL-adj property value
    829bf438cb39 Input: i8042 - unbreak Pegatron C15B
    0d6e0a192e2e arm64: dts: qcom: c630: keep both touchpad devices enabled
    96dcfabef504 USB: serial: option: Adding support for Cinterion MV31
    5ad95c521fd5 USB: serial: cp210x: add new VID/PID for supporting Teraoka AD2000
    dfa820563c67 USB: serial: cp210x: add pid/vid for WSDA-200-USB

(From OE-Core rev: 98bb6a3cb528abe02b6edc291d05e240985ca80e)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-18 23:40:01 +00:00
Bruce Ashfield
ae08f7bd29 linux-yocto/5.10: update to v5.10.16
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    de53befa79cf Linux 5.10.16
    bddcce15cd1f squashfs: add more sanity checks in xattr id lookup
    5e22b39b377e squashfs: add more sanity checks in inode lookup
    6634147f5128 squashfs: add more sanity checks in id lookup
    ff3a75bda722 squashfs: avoid out of bounds writes in decompressors
    dd0a41bc17bb Revert "mm: memcontrol: avoid workload stalls when lowering memory.high"
    237ee28818a9 nilfs2: make splice write available again
    4e78c33874e5 drm/i915: Skip vswing programming for TBT
    43f39b85e9bd drm/i915: Fix ICL MG PHY vswing handling
    67afdc7d95b9 bpf: Fix verifier jsgt branch analysis on max bound
    1d16cc210fab bpf: Fix 32 bit src register truncation on div/mod
    569033c0825e bpf: Fix verifier jmp32 pruning decision logic
    bf9e4307920f regulator: Fix lockdep warning resolving supplies
    fb8f9b2f7d22 blk-cgroup: Use cond_resched() when destroy blkgs
    4d00f1bade78 i2c: mediatek: Move suspend and resume handling to NOIRQ phase
    518416a75c22 SUNRPC: Handle 0 length opaque XDR object data properly
    eda725f8cfe0 SUNRPC: Move simple_get_bytes and simple_get_netobj into private header
    6fb6d5410e41 iwlwifi: queue: bail out on invalid freeing
    38da9b033bec iwlwifi: mvm: guard against device removal in reprobe
    2262294d4258 iwlwifi: pcie: add rules to match Qu with Hr2
    492f762b9c16 iwlwifi: mvm: invalidate IDs of internal stations at mvm start
    05132a72cc1d iwlwifi: pcie: fix context info memory leak
    fbdf0bf97cb0 iwlwifi: pcie: add a NULL check in iwl_pcie_txq_unmap
    cc1d805aa544 iwlwifi: mvm: take mutex for calling iwl_mvm_get_sync_time()
    a90e8588f7eb iwlwifi: mvm: skip power command when unbinding vif during CSA
    428831e8e9aa ASoC: Intel: sof_sdw: set proper flags for Dell TGL-H SKU 0A5E
    b579c572d4cf ASoC: ak4458: correct reset polarity
    f0e3c36a5244 ALSA: hda: intel-dsp-config: add PCI id for TGL-H
    ff557bf971ad pNFS/NFSv4: Improve rejection of out-of-order layouts
    386b142945d3 pNFS/NFSv4: Try to return invalid layout in pnfs_layout_process()
    8007199fe372 chtls: Fix potential resource leak
    439ac48a33c5 ASoC: Intel: Skylake: Zero snd_ctl_elem_value
    4618aea34448 mac80211: 160MHz with extended NSS BW in CSA
    676575b93ddf drm/nouveau/nvif: fix method count when pushing an array
    4b877845e388 ASoC: wm_adsp: Fix control name parsing for multi-fw
    61e97f32fded regulator: core: avoid regulator_resolve_supply() race condition
    1c19d6ae581b af_key: relax availability checks for skb size calculation
    7f546959b378 powerpc/64/signal: Fix regression in __kernel_sigtramp_rt64() semantics
    3cb8393c4143 gpiolib: cdev: clear debounce period if line set to output
    5592eae7846c io_uring: drop mm/files between task_work_submit
    88dbd085a51e io_uring: reinforce cancel on flush during exit
    aa435155d396 io_uring: fix sqo ownership false positive warning
    8c7febfc919a io_uring: fix list corruption for splice file_get
    7250f333ce03 io_uring: fix flush cqring overflow list while TASK_INTERRUPTIBLE
    d300d03a93a2 io_uring: fix cancellation taking mutex while TASK_UNINTERRUPTIBLE
    52382df81d29 io_uring: replace inflight_wait with tctx->wait
    b462a7beab3f io_uring: fix __io_uring_files_cancel() with TASK_UNINTERRUPTIBLE
    f0ff1a95bfa8 io_uring: if we see flush on exit, cancel related tasks
    d16692a34e8e io_uring: account io_uring internal files as REQ_F_INFLIGHT
    1e7eb063a0f0 io_uring: fix files cancellation
    dbdcde4422df io_uring: always batch cancel in *cancel_files()
    f8fbdbb60793 io_uring: pass files into kill timeouts/poll
    49250f33bb43 io_uring: don't iterate io_uring_cancel_files()
    f6d93f855553 io_uring: add a {task,files} pair matching helper
    fe9334186a50 io_uring: simplify io_task_match()
    2d18b3ee633e Linux 5.10.15
    0414bde77968 net: sched: replaced invalid qdisc tree flush helper in qdisc_replace
    836f791aba58 net: dsa: mv88e6xxx: override existent unicast portvec in port_fdb_add
    3d6df63a5cbe udp: ipv4: manipulate network header of NATed UDP GRO fraglist
    f2b30f9f0889 net: ip_tunnel: fix mtu calculation
    6e4583ad6df0 neighbour: Prevent a dead entry from updating gc_list
    0a8a25d56a63 igc: Report speed and duplex as unknown when device is runtime suspended
    fe272570d003 md: Set prev_flush_start and flush_bio in an atomic way
    3a492e4403ee Input: ili210x - implement pressure reporting for ILI251x
    1841be8d0bc6 Input: xpad - sync supported devices with fork on GitHub
    b442912f678a Input: goodix - add support for Goodix GT9286 chip
    2ce5be67d134 x86/apic: Add extra serialization for non-serializing MSRs
    3dcf233b5845 x86/debug: Prevent data breakpoints on cpu_dr7
    b796770c6db3 x86/debug: Prevent data breakpoints on __per_cpu_offset
    c000dcfb3aed x86/debug: Fix DR6 handling
    2a2dfe6a319a x86/build: Disable CET instrumentation in the kernel
    032f8e04c035 mm/filemap: add missing mem_cgroup_uncharge() to __add_to_page_cache_locked()
    0a249ac189fc mm: thp: fix MADV_REMOVE deadlock on shmem THP
    9abdd2c05b59 mm/vmalloc: separate put pages and flush VM flags
    76303d3fab9f mm, compaction: move high_pfn to the for loop scope
    eca84ebef17f mm: hugetlb: remove VM_BUG_ON_PAGE from page_huge_active
    5b9631cb6f34 mm: hugetlb: fix a race between isolating and freeing page
    e334b1fec6f4 mm: hugetlb: fix a race between freeing and dissolving the page
    afe6c31b84f6 mm: hugetlbfs: fix cannot migrate the fallocated HugeTLB page
    2de0745463e3 ARM: 9043/1: tegra: Fix misplaced tegra_uart_config in decompressor
    384cddbee46f ARM: footbridge: fix dc21285 PCI configuration accessors
    cc7b2fc90916 ARM: dts; gta04: SPI panel chip select is active low
    160237c192c4 DTS: ARM: gta04: remove legacy spi-cs-high to make display work again
    7159239d2de1 KVM: x86: Set so called 'reserved CR3 bits in LM mask' at vCPU reset
    d73af5ae22d4 KVM: x86: Update emulator context mode if SYSENTER xfers to 64-bit mode
    46add0349ba3 KVM: x86: fix CPUID entries returned by KVM_GET_CPUID2 ioctl
    6c0e069ac6e8 KVM: x86: Allow guests to see MSR_IA32_TSX_CTRL even if tsx=off
    dd7f10523b19 KVM: x86/mmu: Fix TDP MMU zap collapsible SPTEs
    ff0c437a0e02 KVM: SVM: Treat SVM as unsupported when running as an SEV guest
    720639ef01f5 nvme-pci: avoid the deepest sleep state on Kingston A2000 SSDs
    4f25d448d947 io_uring: don't modify identity's files uncess identity is cowed
    2fd938741a79 drm/amd/display: Revert "Fix EDID parsing after resume from suspend"
    09c6d51b16ef drm/i915: Power up combo PHY lanes for for HDMI as well
    24946da51ce7 drm/i915: Extract intel_ddi_power_up_lanes()
    1f27c7362e2b drm/i915/display: Prevent double YUV range correction on HDR planes
    2545b18b9834 drm/i915/gt: Close race between enable_breadcrumbs and cancel_breadcrumbs
    1cd8e3ef7f68 drm/i915/gem: Drop lru bumping on display unpinning
    0fe98e455784 drm/i915: Fix the MST PBN divider calculation
    8ef4cf6abaa7 drm/dp/mst: Export drm_dp_get_vc_payload_bw()
    4f627ecde732 Fix unsynchronized access to sev members through svm_register_enc_region
    a03a8693b1a2 mmc: core: Limit retries when analyse of SDIO tuples fails
    57b452c5ab1e mmc: sdhci-pltfm: Fix linking err for sdhci-brcmstb
    2502610927ee smb3: fix crediting for compounding when only one request in flight
    b793e9fca633 smb3: Fix out-of-bounds bug in SMB2_negotiate()
    e2bb221a16ac iommu: Check dev->iommu in dev_iommu_priv_get() before dereferencing it
    7a3361e5ecf1 cifs: report error instead of invalid when revalidating a dentry fails
    c026844c6156 RISC-V: Define MAXPHYSMEM_1GB only for RV32
    57ea7b257a1a xhci: fix bounce buffer usage for non-sg list case
    ee23b9329ec2 scripts: use pkg-config to locate libcrypto
    0fe48a40ac63 genirq/msi: Activate Multi-MSI early when MSI_FLAG_ACTIVATE_EARLY is set
    d2415fde8cad genirq: Prevent [devm_]irq_alloc_desc from returning irq 0
    a80e9eee5003 libnvdimm/dimm: Avoid race between probe and available_slots_show()
    a2560f88e1c3 libnvdimm/namespace: Fix visibility of namespace resource attribute
    059e68da31b0 tracepoint: Fix race between tracing and removing tracepoint
    9e4a668f4f0a tracing: Use pause-on-trace with the latency tracers
    8ce84b8e8eb3 kretprobe: Avoid re-registration of the same kretprobe earlier
    fb03f14cc148 tracing/kprobe: Fix to support kretprobe events on unloaded modules
    43b5bdbf9644 fgraph: Initialize tracing_graph_pause at task creation
    8847a756e1df gpiolib: free device name on error path to fix kmemleak
    2ca1ddc32b88 mac80211: fix station rate table updates on assoc
    8ccf963c6227 ovl: implement volatile-specific fsync error behaviour
    a66f82a1de02 ovl: avoid deadlock on directory ioctl
    fb8caef7c020 ovl: fix dentry leak in ovl_get_redirect
    0e5cb872fbbb thunderbolt: Fix possible NULL pointer dereference in tb_acpi_add_link()
    19155473f3ba kbuild: fix duplicated flags in DEBUG_CFLAGS
    1897a8f0ef20 memblock: do not start bottom-up allocations with kernel_end
    346ea7cc27b7 vdpa/mlx5: Restore the hardware used index after change map
    c1debbaf158d nvmet-tcp: fix out-of-bounds access when receiving multiple h2cdata PDUs
    b9464c5f4663 ARM: dts: sun7i: a20: bananapro: Fix ethernet phy-mode
    38b83bcec904 net: ipa: pass correct dma_handle to dma_free_coherent()
    714c19bc1315 r8169: fix WoL on shutdown if CONFIG_DEBUG_SHIRQ is set
    397ae1a24502 net: mvpp2: TCAM entry enable should be written after SRAM data
    dec629e97261 net: lapb: Copy the skb before sending a packet
    6a5c3bac8054 net/mlx5e: Release skb in case of failure in tc update skb
    c2b2c4d24b40 net/mlx5e: Update max_opened_tc also when channels are closed
    11c2c8fb889d net/mlx5: Fix leak upon failure of rule creation
    ada342012b2d net/mlx5: Fix function calculation for page trees
    b5802b747596 ibmvnic: device remove has higher precedence over reset
    cd77dccc122f i40e: Revert "i40e: don't report link up for a VF who hasn't enabled queues"
    1ac8bec2205e igc: check return value of ret_val in igc_config_fc_after_link_up
    0cda16041858 igc: set the default return value to -IGC_ERR_NVM in igc_write_nvm_srwr
    8e081627f3a7 SUNRPC: Fix NFS READs that start at non-page-aligned offsets
    ceca8baed5d8 arm64: dts: ls1046a: fix dcfg address range
    e5ed4e08d850 rxrpc: Fix deadlock around release of dst cached on udp tunnel
    7fc1a5a50e6e r8169: work around RTL8125 UDP hw bug
    ee1709a311cd arm64: dts: meson: switch TFLASH_VDD_EN pin to open drain on Odroid-C4
    6f5ee57a68c7 bpf, preload: Fix build when $(O) points to a relative path
    72c8389fc7ff um: virtio: free vu_dev only with the contained struct device
    571fe1ba22c2 bpf, inode_storage: Put file handler if no storage was found
    9447d0f8a621 bpf, cgroup: Fix problematic bounds check
    ee3844e61706 bpf, cgroup: Fix optlen WARN_ON_ONCE toctou
    28ad17a5e936 vdpa/mlx5: Fix memory key MTT population
    636ef657eedf ARM: dts: stm32: Fix GPIO hog flags on DHCOM DRC02
    6ec543da64e1 ARM: dts: stm32: Disable optional TSC2004 on DRC02 board
    43019f6f8884 ARM: dts: stm32: Disable WP on DHCOM uSD slot
    f7a74822c6eb ARM: dts: stm32: Connect card-detect signal on DHCOM
    29aebc79169c ARM: dts: stm32: Fix polarity of the DH DRC02 uSD card detect
    25af99f88d3e arm64: dts: rockchip: Use only supported PCIe link speed on Pinebook Pro
    c2947904fbba arm64: dts: rockchip: fix vopl iommu irq on px30
    9b1996ae3a27 arm64: dts: amlogic: meson-g12: Set FL-adj property value
    4fcaf04963e2 Input: i8042 - unbreak Pegatron C15B
    bd508a509c2a arm64: dts: qcom: c630: keep both touchpad devices enabled
    4bcb395a7f67 ARM: OMAP1: OSK: fix ohci-omap breakage
    f808da6bc6e4 usb: xhci-mtk: break loop when find the endpoint to drop
    85f0409e9ce3 usb: xhci-mtk: skip dropping bandwidth of unchecked endpoints
    5139bf6a3455 usb: xhci-mtk: fix unreleased bandwidth data
    b6609c0a537b usb: dwc3: fix clock issue during resume in OTG mode
    750829e1931a usb: dwc2: Fix endpoint direction check in ep_from_windex
    039656997da3 usb: renesas_usbhs: Clear pipe running flag in usbhs_pkt_pop()
    75582ceb723e USB: usblp: don't call usb_set_interface if there's a single alt
    4025244544b8 usb: gadget: aspeed: add missing of_node_put
    c8e1dabc1e05 USB: gadget: legacy: fix an error code in eth_bind()
    d56e0ac9a1fc usb: host: xhci: mvebu: make USB 3.0 PHY optional for Armada 3720
    73b1de6b5ea3 USB: serial: option: Adding support for Cinterion MV31
    c43cb08791a2 USB: serial: cp210x: add new VID/PID for supporting Teraoka AD2000
    17fb12b4a756 USB: serial: cp210x: add pid/vid for WSDA-200-USB

(From OE-Core rev: 09b907df68f903d2626ab2bc1621a65275a56e8e)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-18 23:40:01 +00:00
Bruce Ashfield
b64529149f linux-yocto/5.4: update to v5.4.96
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    d4716ee8751b Linux 5.4.96
    b1a1c262e4b0 workqueue: Restrict affinity change to rescuer
    5b1e4fc2984e kthread: Extract KTHREAD_IS_PER_CPU
    2d7ca4a84b58 objtool: Don't fail on missing symbol table
    88240f7ac221 drm/amd/display: Change function decide_dp_link_settings to avoid infinite looping
    53c10bbf9186 drm/amd/display: Update dram_clock_change_latency for DCN2.1
    c6eb3dfdac44 selftests/powerpc: Only test lwm/stmw on big endian
    805e9cdb5793 nvme: check the PRINFO bit before deciding the host buffer length
    8e59209d53c9 udf: fix the problem that the disc content is not displayed
    2d1593543418 ALSA: hda: Add Cometlake-R PCI ID
    c03ecc192c8e scsi: ibmvfc: Set default timeout to avoid crash during migration
    02cc1ee3e8d1 mac80211: fix fast-rx encryption check
    efd061fc77f3 ASoC: SOF: Intel: hda: Resume codec to do jack detection
    e0f1ba38f788 scsi: fnic: Fix memleak in vnic_dev_init_devcmd2
    935fa0d5a5c5 scsi: libfc: Avoid invoking response handler twice if ep is already completed
    335bbffdd90c scsi: scsi_transport_srp: Don't block target in failfast state
    b1f680ffc25b x86: __always_inline __{rd,wr}msr()
    d1aed452c05f platform/x86: intel-vbtn: Support for tablet mode on Dell Inspiron 7352
    c99ac7213638 platform/x86: touchscreen_dmi: Add swap-x-y quirk for Goodix touchscreen on Estar Beauty HD tablet
    6f705e80fb87 phy: cpcap-usb: Fix warning for missing regulator_disable
    fd4c12f31209 net_sched: gen_estimator: support large ewma log
    27afc7128345 btrfs: backref, use correct count to resolve normal data refs
    66bcf5f6f989 btrfs: backref, only search backref entries from leaves of the same root
    c3089b06d6fe btrfs: backref, don't add refs from shared block when resolving normal backref
    21a0c97fb27c btrfs: backref, only collect file extent items matching backref offset
    1960c3d40b69 tcp: make TCP_USER_TIMEOUT accurate for zero window probes
    55cb8e232f9a arm64: Do not pass tagged addresses to __is_lm_address()
    b28387cf8f1c arm64: Fix kernel address detection of __is_lm_address()
    11084836e5fb ACPI: thermal: Do not call acpi_thermal_check() directly
    1410d2b68207 Revert "Revert "block: end bio with BLK_STS_AGAIN in case of non-mq devs and REQ_NOWAIT""
    5e8776df14fa ibmvnic: Ensure that CRQ entry read are correctly ordered
    bc4e7277cc93 net: switchdev: don't set port_obj_info->handled true when -EOPNOTSUPP
    9edebe46010c net: dsa: bcm_sf2: put device node before return
    e89428970c23 Linux 5.4.95
    e7aeca61cb9b tcp: fix TLP timer not set when CA_STATE changes from DISORDER to OPEN
    3e93b9efc3bb team: protect features update by RCU to avoid deadlock
    489e35c6829a ASoC: topology: Fix memory corruption in soc_tplg_denum_create_values()
    9a4d367b2783 NFC: fix possible resource leak
    c929c76e98b0 NFC: fix resource leak when target index is invalid
    b2f4a59a2216 rxrpc: Fix memory leak in rxrpc_lookup_local
    6d25d788efa4 iommu/vt-d: Don't dereference iommu_device if IOMMU_API is not built
    66f4f98ee363 iommu/vt-d: Gracefully handle DMAR units with no supported address widths
    0551a2fd456c selftests: forwarding: Specify interface when invoking mausezahn
    e4405451dd6e nvme-multipath: Early exit if no path is available
    64a4ec1850f7 can: dev: prevent potential information leak in can_fill_info()
    4dc2395d8f14 net/mlx5e: Reduce tc unsupported key print level
    a66705277baf net/mlx5e: E-switch, Fix rate calculation for overflow
    dbc13deeec6a net/mlx5: Fix memory leak on flow table creation error flow
    02ef126a002d igc: fix link speed advertising
    873d1a4740d6 i40e: acquire VSI pointer only after VF is initialized
    cf9276211563 mac80211: pause TX while changing interface type
    46c67a4c1a76 iwlwifi: pcie: reschedule in long-running memory reads
    563daf7c0f4a iwlwifi: pcie: use jiffies for memory read spin time limit
    f39fce916a7b pNFS/NFSv4: Fix a layout segment leak in pnfs_layout_process()
    a3c5fec1e09f ASoC: Intel: Skylake: skl-topology: Fix OOPs ib skl_tplg_complete
    748c2cd57615 RDMA/cxgb4: Fix the reported max_recv_sge value
    72797bfc5f77 firmware: imx: select SOC_BUS to fix firmware build
    347feca03881 ARM: dts: imx6qdl-kontron-samx6i: fix i2c_lcd/cam default status
    f7c6e6c9b62c arm64: dts: ls1028a: fix the offset of the reset register
    78fc9ef35d18 xfrm: Fix wraparound in xfrm_policy_addr_delta()
    f5e7db4fcd38 selftests: xfrm: fix test return value override issue in xfrm_policy.sh
    dac256de1fe2 xfrm: fix disable_xfrm sysctl when used on xfrm interfaces
    a7edea0fe85a xfrm: Fix oops in xfrm_replay_advance_bmp
    deb8d5dfeb63 netfilter: nft_dynset: add timeout extension to template
    347a1a20b195 ARM: imx: build suspend-imx6.S with arm instruction set
    61bdab3d770b xen-blkfront: allow discard-* nodes to be optional
    65543408f257 tee: optee: replace might_sleep with cond_resched
    ad3d896ef55c drm/i915: Check for all subplatform bits
    59546420c51b drm/nouveau/svm: fail NOUVEAU_SVM_INIT ioctl on unsupported devices
    37ef9b59f479 mt7601u: fix rx buffer refcounting
    77771158182f mt7601u: fix kernel crash unplugging the device
    2c4f52b9cddf arm64: dts: broadcom: Fix USB DMA address translation for Stingray
    6aceac245059 leds: trigger: fix potential deadlock with libata
    2c7b4b25293a xen: Fix XenStore initialisation for XS_LOCAL
    632a7728da9b KVM: Forbid the use of tagged userspace addresses for memslots
    ba668a507788 KVM: x86: get smi pending status correctly
    ff5f6de29faf KVM: nVMX: Sync unsync'd vmcs02 state to vmcs12 on migration
    2fc14cafefb3 KVM: x86/pmu: Fix UBSAN shift-out-of-bounds warning in intel_pmu_refresh()
    c547d39feb65 KVM: x86/pmu: Fix HW_REF_CPU_CYCLES event pseudo-encoding in intel_arch_events[]
    e1ae9aab8029 btrfs: fix possible free space tree corruption with online conversion
    d30cb3d348b8 drivers: soc: atmel: add null entry at the end of at91_soc_allowed_list[]
    082dc611fdc8 drivers: soc: atmel: Avoid calling at91_soc_init on non AT91 SoCs
    53fd4e4003a6 PM: hibernate: flush swap writer after marking
    7f9a267c67af s390/vfio-ap: No need to disable IRQ after queue reset
    9077bc37d2d1 net: usb: qmi_wwan: added support for Thales Cinterion PLSx3 modem family
    8aba60ebcfc3 wext: fix NULL-ptr-dereference with cfg80211's lack of commit()
    720032d3dc84 ARM: dts: imx6qdl-gw52xx: fix duplicate regulator naming
    b24dc0aa7e9b media: rc: ensure that uevent can be read directly after rc device register
    5d6fd0357057 ALSA: hda/via: Apply the workaround generically for Clevo machines
    f78803928481 ALSA: hda/realtek: Enable headset of ASUS B1400CEPE with ALC256
    8de2109f4670 kernel: kexec: remove the lock operation of system_transition_mutex
    93603a27fc31 ACPI: sysfs: Prefer "compatible" modalias
    587c6b75d7fd nbd: freeze the queue while we're adding connections
    b8fcb8f53995 IPv6: reply ICMP error if the first fragment don't include all headers
    1f58e378a17e ICMPv6: Add ICMPv6 Parameter Problem, code 3 definition

(From OE-Core rev: b39a6de2c1175e4554c688a44c905c24367fa57a)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-18 23:40:01 +00:00
Bruce Ashfield
aaf70b2912 linux-yocto/5.10: update to v5.10.14
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    b0c8835fc649 Linux 5.10.14
    b80df6517d35 workqueue: Restrict affinity change to rescuer
    b20475a80b4b kthread: Extract KTHREAD_IS_PER_CPU
    d8649eb8e352 x86/cpu: Add another Alder Lake CPU to the Intel family
    9c8bb3eac07d objtool: Don't fail the kernel build on fatal errors
    4587cb6f27a6 habanalabs: disable FW events on device removal
    90981a2171b9 habanalabs: fix backward compatibility of idle check
    4439d22c3758 habanalabs: zero pci counters packet before submit to FW
    e8911b02ccb6 drm/amd/display: Fixed corruptions on HPDRX link loss restore
    932ab13b8af3 drm/amd/display: Use hardware sequencer functions for PG control
    95850b9d0b23 drm/amd/display: Change function decide_dp_link_settings to avoid infinite looping
    a2245a995563 drm/amd/display: Allow PSTATE chnage when no displays are enabled
    af2fc0f4acb6 drm/amd/display: Update dram_clock_change_latency for DCN2.1
    89ca15b71b91 selftests/powerpc: Only test lwm/stmw on big endian
    713373080c7e platform/x86: thinkpad_acpi: Add P53/73 firmware to fan_quirk_table for dual fan control
    f243b5dd9837 nvmet: set right status on error in id-ns handler
    3e554aa3d08a nvme-pci: allow use of cmb on v1.4 controllers
    82ae0714c344 nvme-tcp: avoid request double completion for concurrent nvme_tcp_timeout
    3b87f9b06245 nvme-rdma: avoid request double completion for concurrent nvme_rdma_timeout
    57f26d9d09d6 nvme: check the PRINFO bit before deciding the host buffer length
    a9fd4ef6e50c udf: fix the problem that the disc content is not displayed
    40545c4dd90c i2c: tegra: Create i2c_writesl_vi() to use with VI I2C for filling TX FIFO
    6826f0b4a159 ALSA: hda: Add Cometlake-R PCI ID
    b45a47e9adfc scsi: ibmvfc: Set default timeout to avoid crash during migration
    cedc60fbd7a1 mac80211: fix encryption key selection for 802.3 xmit
    20790b2534f2 mac80211: fix fast-rx encryption check
    c2601c9c2a96 mac80211: fix incorrect strlen of .write in debugfs
    9d6dbf4e3721 objtool: Don't add empty symbols to the rbtree
    91a585783dff ALSA: hda: Add AlderLake-P PCI ID and HDMI codec vid
    1fe0ce2f9afd ASoC: SOF: Intel: hda: Resume codec to do jack detection
    946d15aa09d3 scsi: fnic: Fix memleak in vnic_dev_init_devcmd2
    47daa439c389 scsi: libfc: Avoid invoking response handler twice if ep is already completed
    28693cc0fc0d scsi: scsi_transport_srp: Don't block target in failfast state
    5929bcb4a49d x86: __always_inline __{rd,wr}msr()
    d2c880ed2cff locking/lockdep: Avoid noinstr warning for DEBUG_LOCKDEP
    2f2a4c04b889 habanalabs: fix dma_addr passed to dma_mmap_coherent
    a55c4bf2c8f0 platform/x86: intel-vbtn: Support for tablet mode on Dell Inspiron 7352
    a8f69a32ee91 platform/x86: touchscreen_dmi: Add swap-x-y quirk for Goodix touchscreen on Estar Beauty HD tablet
    4d06445ad762 tools/power/x86/intel-speed-select: Set higher of cpuinfo_max_freq or base_frequency
    f667433cb379 tools/power/x86/intel-speed-select: Set scaling_max_freq to base_frequency
    0c1a24a098a8 phy: cpcap-usb: Fix warning for missing regulator_disable
    c4e8fa21a30b iommu/vt-d: Do not use flush-queue when caching-mode is on
    c7cd7a3b5076 ARM: 9025/1: Kconfig: CPU_BIG_ENDIAN depends on !LD_IS_LLD
    d9655c6854a6 Revert "x86/setup: don't remove E820_TYPE_RAM for pfn 0"
    a2c7d0667cf3 arm64: Do not pass tagged addresses to __is_lm_address()
    25fd5f8f8a23 arm64: Fix kernel address detection of __is_lm_address()
    beba2ac6b120 arm64: dts: meson: Describe G12b GPU as coherent
    9e96f711171c drm/panfrost: Support cache-coherent integrations
    b58486200402 iommu/io-pgtable-arm: Support coherency for Mali LPAE
    3766a00d765d ibmvnic: Ensure that CRQ entry read are correctly ordered
    c71bfc5f13c3 net: switchdev: don't set port_obj_info->handled true when -EOPNOTSUPP
    370ce41d2e58 net: dsa: bcm_sf2: put device node before return
    a555c2faf02e mlxsw: spectrum_span: Do not overwrite policer configuration
    3c564a9f9e43 stmmac: intel: Configure EHL PSE0 GbE and PSE1 GbE to 32 bits DMA addressing
    fb8e6a0b3c66 net: octeontx2: Make sure the buffer is 128 byte aligned
    d51f7ff5413b net: fec: put child node on error path
    cedbfddf4dab net: stmmac: dwmac-intel-plat: remove config data on error
    1aa4ee0ec7fe net: dsa: microchip: Adjust reset release timing to match reference reset circuit
    0c245c5fe93f Linux 5.10.13
    55d900415b81 vsock: fix the race conditions in multi-transport support
    a9cd144eb745 tcp: fix TLP timer not set when CA_STATE changes from DISORDER to OPEN
    011c3d9427da tcp: make TCP_USER_TIMEOUT accurate for zero window probes
    bcc83b43e1ed team: protect features update by RCU to avoid deadlock
    01de4bc09d38 scsi: qla2xxx: Fix description for parameter ql2xenforce_iocb_limit
    1e3a8d94dd6b ASoC: topology: Fix memory corruption in soc_tplg_denum_create_values()
    4a97f42a6690 ASoC: topology: Properly unregister DAI on removal
    52a2895f122d ASoC: mediatek: mt8183-mt6358: ignore TDM DAI link by default
    8cd91442d9a2 ASoC: mediatek: mt8183-da7219: ignore TDM DAI link by default
    5a48918811c8 NFC: fix possible resource leak
    e10a1aad5f7c NFC: fix resource leak when target index is invalid
    2e83a57a23a6 rxrpc: Fix memory leak in rxrpc_lookup_local
    99bacbcd5621 selftests: forwarding: Specify interface when invoking mausezahn
    c9e668a196db nvme-multipath: Early exit if no path is available
    cf7ed01e02c0 iommu/vt-d: Correctly check addr alignment in qi_flush_dev_iotlb_pasid()
    974b6289e8da iommu/amd: Use IVHD EFR for early initialization of IOMMU features
    57e2393f5de0 of/device: Update dma_range_map only when dev has valid dma-ranges
    aa8604fe63d1 ACPI/IORT: Do not blindly trust DMA masks from firmware
    f3d8e20e11ae can: dev: prevent potential information leak in can_fill_info()
    17dbec01beb9 net/mlx5: CT: Fix incorrect removal of tuple_nat_node from nat rhashtable
    f5430661f2f7 net/mlx5e: Revert parameters on errors when changing MTU and LRO state without reset
    f24b493eba50 net/mlx5e: Revert parameters on errors when changing trust state without reset
    890f413ae524 net/mlx5e: Correctly handle changing the number of queues when the interface is down
    e1e71f1eb74c net/mlx5e: Fix CT rule + encap slow path offload and deletion
    bf1864854ab2 net/mlx5e: Disable hw-tc-offload when MLX5_CLS_ACT config is disabled
    1a06120d6ff2 net/mlx5: Maintain separate page trees for ECPF and PF functions
    034bd75f619f net/mlx5e: Reduce tc unsupported key print level
    a1b500010f09 net/mlx5e: free page before return
    2778913fb080 net/mlx5e: E-switch, Fix rate calculation for overflow
    d62665cac603 net/mlx5: Fix memory leak on flow table creation error flow
    4c919b215bb3 igc: fix link speed advertising
    d11a1402ec16 i40e: acquire VSI pointer only after VF is initialized
    b2a76ea0479e ice: Fix MSI-X vector fallback logic
    04cd96db6f88 ice: Don't allow more channels than LAN MSI-X available
    55717a10a6b8 ice: update dev_addr in ice_set_mac_address even if HW filter exists
    35c50e69af15 ice: Implement flow for IPv6 next header (extension header)
    bdcd8b9d8249 ice: fix FDir IPv6 flexbyte
    1c3b27b05a43 mac80211: pause TX while changing interface type
    a59a7b96dc13 iwlwifi: pcie: reschedule in long-running memory reads
    bcb9c4009618 iwlwifi: pcie: use jiffies for memory read spin time limit
    05bb42538d90 iwlwifi: pcie: set LTR on more devices
    92044488a8d3 iwlwifi: pnvm: don't try to load after failures
    fb1e501d8a69 iwlwifi: pnvm: don't skip everything when not reloading
    c00b0b65b3b3 iwlwifi: pcie: avoid potential PNVM leaks
    fd8c453d53f8 ASoC: qcom: lpass: Fix out-of-bounds DAI ID lookup
    b030ba7f1294 ASoC: SOF: Intel: soundwire: fix select/depend unmet dependencies
    d46c0d64dbcd pNFS/NFSv4: Update the layout barrier when we schedule a layoutreturn
    dba0d4b1508b pNFS/NFSv4: Fix a layout segment leak in pnfs_layout_process()
    ae02c0008c27 powerpc/64s: prevent recursive replay_soft_interrupts causing superfluous interrupt
    5f78c6ce1f6f ASoC: Intel: Skylake: skl-topology: Fix OOPs ib skl_tplg_complete
    cea3d7cd951a spi: altera: Fix memory leak on error path
    2bfc7e605aaf ASoC: qcom: lpass-ipq806x: fix bitwidth regmap field
    02e5a1ee97a1 ASoC: qcom: Fix broken support to MI2S TERTIARY and QUATERNARY
    c74d671e7154 ASoC: qcom: Fix incorrect volatile registers
    52178bea2cf5 ASoC: dt-bindings: lpass: Fix and common up lpass dai ids
    571a2dd89818 RDMA/cxgb4: Fix the reported max_recv_sge value
    0fade2af3eae firmware: imx: select SOC_BUS to fix firmware build
    bd10eba71351 arm64: dts: imx8mp: Correct the gpio ranges of gpio3
    50c701d94f64 ARM: dts: imx6qdl-sr-som: fix some cubox-i platforms
    fd59c86ac9b0 ARM: dts: imx6qdl-kontron-samx6i: fix i2c_lcd/cam default status
    d871650a7d06 ARM: imx: fix imx8m dependencies
    9f87dd2fe3f2 arm64: dts: ls1028a: fix the offset of the reset register
    6daa52884c3f xfrm: Fix wraparound in xfrm_policy_addr_delta()
    8ea899803bb5 selftests: xfrm: fix test return value override issue in xfrm_policy.sh
    2f7ecc841daa xfrm: fix disable_xfrm sysctl when used on xfrm interfaces
    f632d34091e6 xfrm: Fix oops in xfrm_replay_advance_bmp
    f39005edf513 Revert "block: simplify set_init_blocksize" to regain lost performance
    34b0c04c884c Revert "RDMA/mlx5: Fix devlink deadlock on net namespace deletion"
    28adabf8cdd2 netfilter: nft_dynset: add timeout extension to template
    fec7ae28d905 ARM: zImage: atags_to_fdt: Fix node names on added root nodes
    69da790360f3 ARM: imx: build suspend-imx6.S with arm instruction set
    d095985e1ce1 clk: qcom: gcc-sm250: Use floor ops for sdcc clks
    cee27fcc8ccf clk: mmp2: fix build without CONFIG_PM
    c143ab555679 clk: imx: fix Kconfig warning for i.MX SCU clk
    20786fdd2fb0 blk-mq: test QUEUE_FLAG_HCTX_ACTIVE for sbitmap_shared in hctx_may_queue
    7d6e01e27560 xen-blkfront: allow discard-* nodes to be optional
    a164789b86c6 tee: optee: replace might_sleep with cond_resched
    d1fd90bf5554 KVM: Documentation: Fix spec for KVM_CAP_ENABLE_CAP_VM
    c48f69093e5e uapi: fix big endian definition of ipv6_rpl_sr_hdr
    921f48afdd3a drm/i915/selftest: Fix potential memory leak
    7306177c9ed3 drm/i915: Check for all subplatform bits
    e4d2a196fdc5 drm/nouveau/dispnv50: Restore pushing of all data.
    e50b0cb7da81 drm/vc4: Correct POS1_SCL for hvs5
    21e3ad805486 drm/vc4: Correct lbm size and calculation
    112821f254b6 drm/nouveau/svm: fail NOUVEAU_SVM_INIT ioctl on unsupported devices
    1310c7a48279 ARM: dts: imx6qdl-kontron-samx6i: fix pwms for lcd-backlight
    99bb37ab284c net/mlx5e: Fix IPSEC stats
    37ef64511f31 drm/i915/pmu: Don't grab wakeref when enabling events
    520d05a77b28 drm/i915/gt: Clear CACHE_MODE prior to clearing residuals
    800ca7687c87 iwlwifi: Fix IWL_SUBDEVICE_NO_160 macro to use the correct bit.
    621f05288c3d mt7601u: fix rx buffer refcounting
    cfe3425c5acd mt76: mt7663s: fix rx buffer refcounting
    083274407a8e mt7601u: fix kernel crash unplugging the device
    b04c1c534b66 arm64: dts: broadcom: Fix USB DMA address translation for Stingray
    736924801c1d leds: trigger: fix potential deadlock with libata
    5f3d54c00f1f xen: Fix XenStore initialisation for XS_LOCAL
    bc79ff0b1a19 io_uring: fix wqe->lock/completion_lock deadlock
    256a0040c6c9 KVM: Forbid the use of tagged userspace addresses for memslots
    e895a39a2bcd KVM: x86: get smi pending status correctly
    427adbb3be8a KVM: nVMX: Sync unsync'd vmcs02 state to vmcs12 on migration
    cffcb5e0fe2c KVM: x86: allow KVM_REQ_GET_NESTED_STATE_PAGES outside guest mode for VMX
    0faceb7d6dda KVM: nSVM: cancel KVM_REQ_GET_NESTED_STATE_PAGES on nested vmexit
    dca38d7f33bf KVM: arm64: Filter out v8.1+ events on v8.0 HW
    a519d9804456 KVM: x86/pmu: Fix UBSAN shift-out-of-bounds warning in intel_pmu_refresh()
    0517693dcc41 KVM: x86/pmu: Fix HW_REF_CPU_CYCLES event pseudo-encoding in intel_arch_events[]
    2175bf57dc95 btrfs: fix possible free space tree corruption with online conversion
    f343bf1aaf55 btrfs: fix lockdep warning due to seqcount_mutex on 32bit arch
    767c8777ce9c drivers: soc: atmel: add null entry at the end of at91_soc_allowed_list[]
    6975f470ca5d drivers: soc: atmel: Avoid calling at91_soc_init on non AT91 SoCs
    326644a0ede0 crypto: marvel/cesa - Fix tdma descriptor on 64-bit
    c6da54164497 efi/apple-properties: Reinstate support for boolean properties
    4c973f75074a x86/entry: Emit a symbol for register restoring thunk
    c95981ecd985 PM: hibernate: flush swap writer after marking
    e6e9ded8ffa4 s390/vfio-ap: No need to disable IRQ after queue reset
    9218a6b031a1 s390: uv: Fix sysfs max number of VCPUs reporting
    6c6bd9dd1c8d net: usb: qmi_wwan: added support for Thales Cinterion PLSx3 modem family
    1a39162bac95 bcache: only check feature sets when sb->version >= BCACHE_SB_VERSION_CDEV_WITH_FEATURES
    cc11bd18d4a3 drivers/nouveau/kms/nv50-: Reject format modifiers for cursor planes
    29d35b73ead4 drm/i915/gt: Always try to reserve GGTT address 0x0
    aa39818d9256 drm/i915: Always flush the active worker before returning from the wait
    5ebb1cbe463f drm/nouveau/kms/gk104-gp1xx: Fix > 64x64 cursors
    0634449e9977 Revert "drm/amdgpu/swsmu: drop set_fan_speed_percent (v2)"
    39714b66a8b1 ASoC: AMD Renoir - refine DMI entries for some Lenovo products
    b444b86e37b2 x86/xen: avoid warning in Xen pv guest with CONFIG_AMD_MEM_ENCRYPT enabled
    d16c5dfe93ef wext: fix NULL-ptr-dereference with cfg80211's lack of commit()
    442278e4928e ARM: dts: imx6qdl-gw52xx: fix duplicate regulator naming
    a9079d8d3b02 ARM: dts: ux500: Reserve memory carveouts
    14e3388f2f95 ARM: dts: tbs2910: rename MMC node aliases
    b3b75f8cd187 media: rc: ensure that uevent can be read directly after rc device register
    ce9e154a8bcb media: rc: ite-cir: fix min_timeout calculation
    8429fee29143 media: rc: fix timeout handling after switch to microsecond durations
    4b5a88b3f45c media: hantro: Fix reset_raw_fmt initialization
    ae584fbbb658 media: cedrus: Fix H264 decoding
    e76b40d8e9ad media: cec: add stm32 driver
    6141f82fd5ee parisc: Enable -mlong-calls gcc option by default when !CONFIG_MODULES
    d56e3b6a6b14 ALSA: hda/via: Apply the workaround generically for Clevo machines
    eacb5d4e6b64 ALSA: hda/realtek: Enable headset of ASUS B1400CEPE with ALC256
    aa9a6dc62611 kernel: kexec: remove the lock operation of system_transition_mutex
    2aa7eab3e7f0 ACPI: thermal: Do not call acpi_thermal_check() directly
    d6f80e01fade ACPI: sysfs: Prefer "compatible" modalias
    8fe07159fc53 tty: avoid using vfs_iocb_iter_write() for redirected console writes
    41f6f4a31435 nbd: freeze the queue while we're adding connections
    51f58c4882ec iwlwifi: provide gso_type to GSO packets

(From OE-Core rev: a973a4b1eec5ac37b7b7952192d0b0ccf03162ac)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-18 23:40:01 +00:00
Bruce Ashfield
a63903d7ef linux-yocto-rt/5.10: update to -rt25
Integrating the following commit(s) to linux-yocto-rt/5.10:

    631d91f7275e v5.10.12-rt25
    d810e40efb07 v5.10.8-rt24
    6cc43a603fc0 tracing: Update "Merge irqflags + preemt counter, add RT bits"
    832154acfabe v5.10.8-rt23
    bc910fd5c9b3 v5.10.4-rt22
    6f35bf425de2 tracing: Merge irqflags + preemt counter, add RT bits (update)
    bc15d321859f powerpc/pseries/iommu: Use the local lock properly.
    4a341a1cd188 powerpc: Avoid recursive header includes
    b0764f800b54 v5.10.4-rt21
    c0c5ed1cb29f v5.10.1-rt20
    f26ecd8047bf printk: Update John Ogness' printk series
    c4c153ce68dd tracing: Merge irqflags + preemt counter, add RT bits (update)
    7d90c658b18c z3fold: remove preempt disabled sections for RT

(From OE-Core rev: 3d9c750513204428df1c95bedacad0d64b6fc6cd)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-18 23:40:01 +00:00
Yi Fan Yu
905e5e4b68 valgrind: Disable ptest nlcontrolc for x86-64
Test hangs after glibc 2.33 uprev.

Using gdb `p t[0]` to modify the timeout
argument no longer affects how long `select` wait.

https://bugs.kde.org/show_bug.cgi?id=432870
[YOCTO #14223]

(From OE-Core rev: bb991a24952ebf02cf0092c194d2b3a54a8b2e5b)

Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-18 23:40:01 +00:00
Richard Purdie
8f5577c6f7 git: Fix determinism issue
(From OE-Core rev: 9ae740939f8315c64fe7571f912404127a29dc89)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-18 23:40:01 +00:00
Richard Purdie
9113bc1170 xorg-minimal-fonts: Really fix determinism
My previous fix wasn't correct as the file timestamps do vary by git checkout
or modification time and aren't correct here. Instead use a specific
date/time for the files to be deterministic.

(From OE-Core rev: 725a30a30052540a4b7fc2933396fe9eb946eeac)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-18 23:40:01 +00:00
Khem Raj
52ebb82d53 ruby: Do not use ucontext implementation for coroutines on musl/riscv
The coroutine implementation in ruby has either arch specific
implementations or it falls back to slower ucontext API based
implementation assuming libc will provide the needed APIs, however musl
does not implement ucontext APIs like glibc, therefore fallback is to
use libucontext library on musl. However, libucontext is not ported to
riscv yet. which means on musl/riscv ruby is unbuildable, however a
third option is to use copy implementation for coroutines, which will be
not as good performance-wise, but it will do the job, therefore for now
use copy implementation for rv32/rv64 when using musl

(From OE-Core rev: 3b2b401dbbb8d3aa14a5fd864178f702af3c8115)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-18 23:40:01 +00:00
Ross Burton
27e9c6871a rootfs_deb: handle aarch64 SDK_ARCH
This class maps from OE architectures to dpkg architectures, but wasn't
handling aarch64 correctly.

(From OE-Core rev: 315fe8ab3b5bb8a709be98cd8998d4525fbe8725)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-18 23:40:01 +00:00
Anuj Mittal
fe787318de sysklogd: upgrade 2.1.2 -> 2.2.1
Merge inc and bb files too.

(From OE-Core rev: 76d1af4fe73fee0696067dfc4dd1bc9a9015416a)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-18 23:40:01 +00:00
Anuj Mittal
40320137b0 libxt: upgrade 1.2.0 -> 1.2.1
(From OE-Core rev: 0669adb95177c8d65f4bb0a43b11e7dfdc49ec50)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-18 23:40:01 +00:00
Anuj Mittal
25be88aeee libcap: upgrade 2.47 -> 2.48
(From OE-Core rev: 229ef13d5a6d2dc168c44a32789cbaa2d67773af)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-18 23:40:01 +00:00
Anuj Mittal
cba95045a5 libwebp: upgrade 1.1.0 -> 1.2.0
(From OE-Core rev: 82a15fe797cf32c93e2e678463e3341fc7fe5a0e)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-18 23:40:01 +00:00
Anuj Mittal
fbb9084e73 lighttpd: upgrade 1.4.58 -> 1.4.59
(From OE-Core rev: 95fb3526f71e03e946209df039f84b7e7a2a91dc)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-18 23:40:01 +00:00
Anuj Mittal
d9adbc055a gtk+3: upgrade 3.24.24 -> 3.24.25
(From OE-Core rev: 74c559a09b024eca34d0d7b0519618209b064d80)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-18 23:40:01 +00:00
Anuj Mittal
3d0e66cf4e psmisc: upgrade 23.3 -> 23.4
(From OE-Core rev: 514a0b78c00296314f601b1e7175756d253b42b1)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-18 23:40:01 +00:00
Anuj Mittal
92c65029a2 python3-setuptools: upgrade 52.0.0 -> 53.0.0
(From OE-Core rev: 875fd5cdece20e713c87c0c6a56b7162c735a55b)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-18 23:40:01 +00:00
Anuj Mittal
0ab03ba1b5 python3-pytest: upgrade 6.2.1 -> 6.2.2
(From OE-Core rev: 3c46f173b1862beb0df054b300374d531a80654c)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-18 23:40:01 +00:00
Anuj Mittal
3623a6a344 python3-pygments: upgrade 2.7.4 -> 2.8.0
(From OE-Core rev: 1314897614ba2764d2abcf1f44a68a3b0283e2a5)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-18 23:40:00 +00:00
Anuj Mittal
5c142018f0 python3-numpy: upgrade 1.20.0 -> 1.20.1
License-Update: change in copyright years

(From OE-Core rev: 62021582bec5c4aa503fb554d9bf67343b5c57c0)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-18 23:40:00 +00:00
Anuj Mittal
184de46110 python3-more-itertools: upgrade 8.6.0 -> 8.7.0
(From OE-Core rev: eebc2694c9b591a3cd5f7c4870d5138ccebed748)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-18 23:40:00 +00:00
Anuj Mittal
be9633b4d4 python3-hypothesis: upgrade 6.0.2 -> 6.2.0
(From OE-Core rev: f741a3321a08b639073d0ee4a7c6942bc37068bf)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-18 23:40:00 +00:00
Anuj Mittal
8ef4ca3297 sysstat: upgrade 12.4.2 -> 12.4.3
(From OE-Core rev: d8ad03cb38881e8cd42ab372d7dd730c5decc432)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-18 23:40:00 +00:00
Anuj Mittal
b9c0f5ab01 python3-git: upgrade 3.1.12 -> 3.1.13
(From OE-Core rev: a0a0f55701f72c9fcdfde3c8b27d4f6f30cb7e2d)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-18 23:40:00 +00:00
Anuj Mittal
4306943760 pigz: upgrade 2.4 -> 2.6
(From OE-Core rev: 2df01c9fd4d4add863938a6f7679a5af4c5917a6)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-18 23:40:00 +00:00
Anuj Mittal
5976efcd4d piglit: upgrade to latest revision
(From OE-Core rev: 5144d515fe69916b1a98c45411fe574de2851772)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-18 23:40:00 +00:00
Anuj Mittal
4822c33f36 libuv: upgrade 1.40.0 -> 1.41.0
(From OE-Core rev: e7ceb8264292038005c865d83eaba0ad7de39e75)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-18 23:40:00 +00:00
Anuj Mittal
376092aa4b createrepo-c: upgrade 0.16.2 -> 0.17.0
(From OE-Core rev: 024cd3e83ccd0e73d99d6ab2a572fe2151069aed)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-18 23:40:00 +00:00
Anuj Mittal
91bfafed36 x264: upgrade to latest revision
(From OE-Core rev: 9ab20450c912d5b3b803e6d9d9d0d8b1c5861e2e)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-18 23:40:00 +00:00
Anuj Mittal
3bd98cc1d5 vte: upgrade 0.62.1 -> 0.62.2
(From OE-Core rev: eb6c354733d659e6bd4c5ccf322de70ccc4c0b88)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-18 23:40:00 +00:00
Anuj Mittal
ff8ecb469a stress-ng: upgrade 0.12.02 -> 0.12.03
(From OE-Core rev: 01c99bb02e99feae3a1378d0b40b4bf3c51d6bac)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-18 23:40:00 +00:00
Anuj Mittal
e9f8aa570c libevdev: upgrade 1.10.1 -> 1.11.0
License-Update: change to MIT.

See:
https://lists.freedesktop.org/archives/input-tools/2021-February/001557.html

(From OE-Core rev: 63208a5f880e6fdfb2d117d7d0574604c426bf88)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-18 23:40:00 +00:00
Anuj Mittal
cce4696546 help2man: upgrade 1.47.16 -> 1.48.1
(From OE-Core rev: d83c65e44c87970ab017a945873fca7d09645352)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-18 23:40:00 +00:00
Anuj Mittal
990c93dfff glib-2.0: upgrade 2.66.4 -> 2.66.7
(From OE-Core rev: 846d9c710a78af7602fbfe7f1f24d2f791087202)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-18 23:40:00 +00:00
Anuj Mittal
7ab4d41ff6 git: upgrade 2.30.0 -> 2.30.1
(From OE-Core rev: 35cad7ae4f4346d3965243e286f5ac4d43bcfe67)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-18 23:40:00 +00:00
Richard Purdie
9671321b67 local.conf.sample.extended: Bring back into sync with OE-Core
(From meta-yocto rev: ea6e777cac72f22b56b2c8be0ba05ba164efe5de)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-18 23:33:44 +00:00
Vivien Didelot
240f7c3018 local.conf.sample.extended: prefer INIT_MANAGER
Since the INIT_MANAGER variable has been introduced, there is no need
to append the distro features and set the init manager manually.

Replace the busybox/mdev and systemd examples with the 4 values
currently supported for the INIT_MANAGER variable.

(From meta-yocto rev: 2433a0f78a7fdb8450ef9ec64fa044274ac7a9e1)

Signed-off-by: Vivien Didelot <vdidelot@pbsc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-18 23:33:44 +00:00
Richard Purdie
a9fe2ccbbb Revert "oe-selftests: add rpm to reproducible build selftest"
This reverts commit 84d3a90557444d8cd83d780b1c3f2b278ab07af2.

This shouldn't have been merged, its not ready yet.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-17 11:20:24 +00:00
Richard Purdie
2e4eaa5701 qemu: Refresh mmap fixes patch status/content
One mmap patch was merged upstream, the other is in progress but after
discussion has been amended and resent. Update the patches as such.

(From OE-Core rev: c68349a3334542e51f6c1c23f4f4342e4fce2b81)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-17 11:01:17 +00:00
Jan-Simon Möller
35fb71f38f oe-selftests: add rpm to reproducible build selftest
rpm packaging has shown good numbers wrt reproducible builds as well
when testing core-image-minimal locally:

 Reproducibility summary for rpm: same=4671 different=0 missing=0 total=4671

Thus enable it in the autobuilder to be more widely tested.

(From OE-Core rev: 84d3a90557444d8cd83d780b1c3f2b278ab07af2)

Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-17 11:01:17 +00:00
Richard Purdie
f45877b208 systemd: Drop unneeded musl patches
These two header fixes are not needed with the current source as the
headers are there through other header files. Drop the patches.

(From OE-Core rev: ece3efe43b6b9de5426c23f29db15dd709bcd749)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-17 11:01:17 +00:00
Joshua Watt
b6018a1625 acpica: Fix reproducibility issues
Fixes reproducibility when build acpica yacc sources by instructing
bison on how to do the file prefix mapping

(From OE-Core rev: d13a1df7bd173fca3fc2cdf889d5eb487e35d6fd)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-17 11:01:17 +00:00
Joshua Watt
d01e2b5c14 bison: Fix up file name mapping
File name mapping was added to bison, but needs to be applied in more
cases. Add a patch to enable file name mapping for symbols

(From OE-Core rev: 5a213506377b0db4e88ca094215eadf08c21a2e1)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-17 11:01:17 +00:00
Richard Purdie
60d317796a python3-jinja2: upgrade 2.11.2 -> 2.11.3
(From OE-Core rev: d6d469b73703fc8f0b30aa7f71525306a911a85c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-17 11:01:17 +00:00
Richard Purdie
dabae8722b subversion: upgrade 1.14.0 -> 1.14.1
(From OE-Core rev: ee8414fa2bef13a64e71e941c3df8e7a0cd9e2d3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-17 11:01:17 +00:00
Richard Purdie
2c0511b2a1 distutils3-base: Fix after native packaging changes
Now that native recipes have PACKAGES, this DEPENDS construct doesn't
work. It applies to target and nativesdk recipes so adjust accordingly.

(From OE-Core rev: 5d459ba1c13c89b246a0f8d743027e1de93da910)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-17 11:01:17 +00:00
Vivien Didelot
9cd171b77b local.conf.sample.extended: fix double 'of' typo
Remove the redundant 'of' word in the INITRAMFS_IMAGE comment.

(From meta-yocto rev: 200b05182c74f3f4f778907d5ee92831adb3d77e)

Signed-off-by: Vivien Didelot <vdidelot@pbsc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-16 19:00:51 +00:00
Joshua Watt
f5f6504e57 bitbake: contrib: Add Dockerfile for building hash server
Adds a Dockerfile for build the reference hash equivalence server in a
container

(Bitbake rev: d9a0a88db5888039bfbb6ce5129b43350f79b1c1)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-16 11:53:25 +00:00
Richard Purdie
e26e2bf78e selftest/reproducible: Update exclusions
Add ruby-ri-docs and meson back as not reproducible, remove watchdog,
xorg-minimal-fonts and xmlto as issues fixed.

(From OE-Core rev: 5e209a7455a231342cded99985b4a6caff424e4f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-16 11:28:17 +00:00
Richard Purdie
b47421e745 xmlto: Fix reproducibility
Don't hardcode the host's grep path into xmlto.

(From OE-Core rev: a7d78971df193c321c309481749fc30cae77788c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-16 11:28:17 +00:00
Richard Purdie
86b462068c xorg-fonts-minimal: Fix reproducibility
When installing the font files, preserve their timestamp rather than using
the current time which fixes reproducibility issues.

(From OE-Core rev: a0c4f4b0182a995f0eb2709cc9b3c852527ab936)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-16 11:28:17 +00:00
Richard Purdie
f5c35a5918 watchdog: Avoid reproducibility failures after fixing build
Add some temporary bumps to versions to change the output hash so
the fix applies correctly. Can be dropped next time we update the
recipe and the output changes.

(From OE-Core rev: 69205edcdff865048e55a6b7feaf82064ebc10c5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-16 11:28:17 +00:00
Richard Purdie
d27686b325 watchdog: Fix determinism issue from sendmail host path
The build was injecting the path of the host's sendmail binary. Set
this deterministically to match OE's path for it.

(From OE-Core rev: 476328b91ea4417160580d28df4fcc1147d85ae2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-16 11:28:17 +00:00
Joshua Watt
6b08be31ff oeqa: reproducible: Add more logging
The reproducible build tests can take a long time, so having more
logging messages at various points in the build can help debug where the
build is taking a long time.

(From OE-Core rev: 6b792afe8759d62af8e713b86dad8f6721961a05)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-16 11:28:17 +00:00
Joshua Watt
aeab16e89a oeqa: reproducible: Fix SSTATE_MIRRORS variable
The SSTATE_MIRRORS variable was misspelled, which allowed the "clean"
test build to pull from the mirror.

(From OE-Core rev: e42497bd84d0bb370a9f7b0448bff29f01fd1b0c)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-16 11:28:17 +00:00
Richard Purdie
2e65550498 buildtools-extended-tarball: Add glibc-gconvs needed for build
When building vim it tries to rebuild files using iconv. If this fails
the build continues anyway but the output is not determnistic as builds
using a hosttools tarball are different from builds where there isn't a
hosttools tarball. Add the needed gconvs to the tarball when iconv is
present to become determistic and generate vim locales consistently.

(From OE-Core rev: b945652a088f430a2adec6b968cd00c5928d4272)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-16 11:28:17 +00:00
Richard Purdie
b08bc75f22 quilt: Be determnistic about column presence
I've seen local differences in the quilt output depending on whether the column
binary was available in the sysroot. Fix determinism issues by being specific
about configuration.

(From OE-Core rev: 0cd5fba8634bcc679518f98cc25be66a51081372)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-16 11:28:17 +00:00
Richard Purdie
06e6505abf package_manager/deb: Fix image generation with package removal
When building SDKs with the deb backend you could see errors like:

Setting up nativesdk-python3-ndg-httpsclient (0.5.1-r0) ...
mkdir: cannot create directory ‘/usr/lib/opkg’: Permission denied
dpkg: error processing package nativesdk-python3-ndg-httpsclient (--configure):

which is due to environment misconfiguration when removing packages.

Fix this by setting the same environment variables as used for installation.

(From OE-Core rev: f23c7e319a192ada14bb9a82822ef2967309aaea)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-16 11:28:17 +00:00
Richard Purdie
d290013d91 vim: Fix a race over creation of the desktop files
The LINGUAS file can be written by two different Makefile targets
and if they race, the desktop file contents isn't deterministic.

Fix the makfile to avoid this.

(From OE-Core rev: 416bc7b697764075fbf73683cd8bddf36d839244)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-16 11:28:17 +00:00
Richard Purdie
4d73ac2bd6 vim: Improve determinism
Add a couple of configure options to avoid determism issues in the vim build.
This can happen due to the addition of glib-2.0 to the native sysroot through
later task additions to the sysroot through indirect dependencies.

(From OE-Core rev: 914f86054f5ea0a115767c1b3d9cdb4c4ef9545b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-16 11:28:17 +00:00
Marek Vasut
d2cc09b32f weston-init: Fix weston-keyboard path in weston.ini
The weston-keyboard executable is installed into /usr/libexec
instead of /usr/lib/weston , correct the path in weston.ini .

(From OE-Core rev: 56dee47a5ddb1da66d30f894a282d0658dcc930c)

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Khem Raj <raj.khem@gmail.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-16 11:28:17 +00:00
Richard Purdie
3b34804a0b cwautomacros: Ensure version is set deterministically
The makefile injects the current date into the version file. Do this
deterministically with SOURCE_DATE_EPOCH.

(From OE-Core rev: 31f2ad739ea776a1e11b5cef5434df188007c7bf)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-16 11:28:17 +00:00
Richard Purdie
522607e704 classes: Drop now unneeded umask flags
Now that 022 is the default in BB_DEFAULT_UMASK in bitbake.conf, we
don't need any of these task flags, clean up.

(From OE-Core rev: 816fca781943a7dbf40391d9db34c7bf12711962)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-16 11:28:17 +00:00
Richard Purdie
c4ecf7c112 bitbake.conf: Set as default task umask of 022
Rather than trying to set the umask of every task to the correct
value for determinism, set one value globally. This uses a new
bitbake variable so bump the minimum version to match.

This fixes strange determinism issues in at least quilt-ptest,
valgrind-ptest and kernel-devsrc.

(From OE-Core rev: b07b7deeae3d519d9998d583592f3e4f8f2802b3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-16 11:28:16 +00:00
Khem Raj
707b62f130 go: Update to 1.15.8
(From OE-Core rev: 2b724599e29808014f5d9c1fdc70d20abab9b3e5)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-16 11:28:16 +00:00
Khem Raj
108e21b629 musl: Update to latest master
Brings in following changes

* e5d28236 riscv64: define ELF_NFPREG
* 964104f9 math: fix expm1f overflow threshold
* c4c38e63 math: fix acoshf for negative inputs
* 074932c8 fix possible fd leak via missing O_CLOEXEC in pthread_setname_np
* 9b77aaca oldmalloc: preserve errno across free
* 98b9df99 fix build regression in oldmalloc
* 2010df0d preserve errno across free
* 9afed99c fix inconsistent signature of __libc_start_main
* dd5b6384 fail posix_spawn file_actions operations with negative fds

(From OE-Core rev: 9e71e44db51c73cae2d493bee2f43c37025befbb)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-16 11:28:16 +00:00
Oleksandr Kravchuk
607dccffbc tar: update to 1.34
(From OE-Core rev: 6dd51b6d2f2c7110d8c2755dadcdb04f60db7d83)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-16 11:28:16 +00:00
Thomas Viehweger
2e32affc98 mtd-utils: Remove duplicate assignments to alternative link names
The two duplicate lines are not needed. The existence is confusing.

(From OE-Core rev: 36bdb4faa90dc18bc020481eba82ee570b968c39)

Signed-off-by: Thomas Viehweger <patchesThomas.Vie@web.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-16 11:28:16 +00:00
Khem Raj
425c005cfa gdb: Drop SIGRTMIN definition patch
This has been already fixed in gdb via
https://sourceware.org/pipermail/gdb-patches/2015-October/128532.html

and W_STOPCODE is fixed by including gdbsupport/gdb_wait.h in nat/linux-nat.h

(From OE-Core rev: b5bafde095fedb2c6f6a526c647dd08f07444f6f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-16 11:28:16 +00:00
Richard Purdie
4e585ef52b systemd: Simplify mount error patch
As mentioned during review, this patch can be less invasive and hence easier
to maintain. Improve as such.

(From OE-Core rev: 3a1bd768e62a493aa73e82f5c443ca28b108af51)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-16 11:28:16 +00:00
Richard Purdie
c8d4f2e401 bitbake: bitbake: Bump version to 1.49.2
This allows metadata to rely upon BB_DEFAULT_UMASK.

(Bitbake rev: 969ac64adab236ce2d5196bcc294005a497913ae)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-16 11:26:11 +00:00
Richard Purdie
f4fb744657 bitbake: bitbake-worker/runqueue: Add support for BB_DEFAULT_UMASK
Currently each task has to have a umask specified individually. This
is leading to determinism issues since it is easy to miss specifying
this for an extra task.

Add support for specifing the default task umask globally which
simplifies the problem.

(Bitbake rev: 3e664599fd54a8a37ce587022fcbce5ca26f2ed3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-16 11:26:11 +00:00
Tomasz Dziendzielski
8b792d4f75 bitbake: event: Prevent bitbake from executing event handler for wrong multiconfig target
When multiconfig is used bitbake might try to run events that don't
exist for specific mc target. In cooker.py we pass
`self.databuilder.mcdata[mc]` data that contains names of events'
handlers per mc target, but fire_class_handlers uses global _handlers
variable that is created during parsing of all the targets.

This leads to a problem where bitbake runs event handler that don't
exist for a target or even overrides them - if multiple targets use
event handler with the same name but different code then only one
version will be executed for all targets.

See [YOCTO #13071] for detailed bug information.

Add mc target name as a prefix to event handler name so there won't be
two different handlers with the same name. Add internal __BBHANDLERS_MC
variable to have the handlers lists per machine.

(Bitbake rev: 5f7fdf7b2d8c59805c8ef4dae84f536baa5e172b)

Signed-off-by: Tomasz Dziendzielski <tomasz.dziendzielski@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-16 11:26:11 +00:00
Richard Purdie
f162c34fdb pseudo: Update to include fixes for glibc 2.33
Pull in the changes:
makewrappers: Fix glibc 2.33 fstatat usage issues
ports/linux: Add wrapper for fstatat/fstatat64 in glibc 2.33

(From OE-Core rev: dfcb1c5eb2690046f96c2bb6724e091028ddc3ec)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-15 20:54:38 +00:00
Michael Halstead
6b24d3fc58 yocto-uninative.inc: version 3.0 incorporate seccomp filter workaround
(From OE-Core rev: 317f8bf320383e81085f5740e202a7edb12932c7)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-13 17:01:13 +00:00
Jose Quaresma
49c0f7deec shaderc: remove the receipe configure hack and use a patch for that
[Yocto #14226]

[RP: Small patch filename fixup to allow to build]
(From OE-Core rev: 1de7a3fe68080759c5fc52c8bfe7dcf4a860a2ac)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-13 17:01:13 +00:00
Jose Quaresma
a93bb94d74 glslang: add comment about unversioned libraries
(From OE-Core rev: bbd158a123e070f1b1cc92436da64bc64e87b298)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-13 17:01:13 +00:00
Jose Quaresma
1fdc54910d glslang: generate glslang pkg-config
- it will be useful for shaderc

(From OE-Core rev: 49972f91d434303e4744a608b2e8c00fcbcc5397)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-13 17:01:13 +00:00
Jose Quaresma
f36e16564e spirv-tools: build all libaries as shared
(From OE-Core rev: 817197e69a6b3945ffa5ba52ba5577b45e497fb3)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-13 17:01:13 +00:00
Jose Quaresma
acf109c1a1 spirv-tools: disable tests
(From OE-Core rev: 3341601d6ef7e16f2e296a58d3b6b28d099aa1a3)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-13 17:01:13 +00:00
Oleksandr Kravchuk
81c152bac2 cryptodev: upgrade to 1.12
(From OE-Core rev: fc4a42442a31f094ef20d9d2f97b4e2e1a9bbead)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-13 17:01:13 +00:00
Suji Velupillai
b6e67e3d28 ffmpeg: move ffmpeg config into packageconfig
Move ffmpeg configuration options to Yocto PACKAGECONFIG options.

(From OE-Core rev: 30b68fa0386fa525df92ebce4d63e501598e65fe)

Signed-off-by: Suji Velupillai <suji.velupillai@broadcom.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-13 17:01:13 +00:00
Richard Purdie
fcdd03a1e7 selftest/reproducible: Remove no longer needed exclusions
It appears these exclusions are no longer needed with master, drop
them and improve our reproducibilty metrics.

(From OE-Core rev: c71c984a9cd6d130ece08153d7d92bb33c7ec444)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-13 17:01:12 +00:00
Richard Purdie
cb0c95dedb selftest/reproducible: Sort the unused exclusion list
This makes comparisions between lists easier.

(From OE-Core rev: d2c52125d1cdc06c7e08d507ca68f3e4612a4314)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-13 17:01:12 +00:00
Alexander Kanavin
84c37fad4c selftest/reproducible: track unusued entries in the exclusion list
This helps with trimming down the list, and towards 100% reproducibility :)

(From OE-Core rev: da7a173d7a01524229c8515326465968a845e96f)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-13 17:01:12 +00:00
Joshua Watt
900c8abe1c weston: remoting backend requires GStreamer base plugins
The remoting backend of weston requires the GStreamer base plugins, so
add them to the PACAKGECONFIG depends list.

(From OE-Core rev: 0b45994656fee7c4b7bdb5bd8571f0c61217a182)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-13 17:01:12 +00:00
Joshua Watt
7f70eedc13 libomxil: Fix up commercial license flag
The commercial license flag on libomxil is set because it may include
the Adaptive Multi-Rate audio codec (AMR) using FFmepg, which is patent
encumbered.

It turns out this component is disabled by default in the recipe; add a
PACKAGECONFIG to enable it and trigger the "commercial" LICENSE_FLAGS on
it. This make the default build configuration clean unless a user
specifically asks for AMR support, and prevents them from marking the
recipe with the "commerical" flag unnecessarily which could hide
potential problems later on.

(From OE-Core rev: 5f61e20002c2af93e2d6810574e23606925526ee)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-13 17:01:12 +00:00
Richard Purdie
973d2a35ef nativesdk-buildtools-perl-dummy: Add new autoconf dependencies
When used in SDKs we need to provide the perl modules used by autoconf.
Add new ones needed by recent changes.

(From OE-Core rev: b548c2f4d1d88f80d713551a408064d4f5ff3d7f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-13 17:01:12 +00:00
Khem Raj
71ea678a7c autoconf: Add missing perl modules to rdeps
Calling autoreconf with on-device sdk fails due to missing perl modules
which are required for it to work with autoconf 2.71+

Fixes
Can't locate File/Temp.pm in @INC (you may need to install the File::Temp module) (@INC contains: /usr/share/autoconf /usr/lib/perl5/site_perl/5.32.0/riscv32-linux /usr/lib/perl5/site_perl/5.32.0 /usr/lib/per
l5/vendor_perl/5.32.0/riscv32-linux /usr/lib/perl5/vendor_perl/5.32.0 /usr/lib/perl5/5.32.0/riscv32-linux /usr/lib/perl5/5.32.0 .) at /usr/bin/autoreconf line 50.
BEGIN failed--compilation aborted at /usr/bin/autoreconf line 50.

(From OE-Core rev: fa047cc649ceaa5f65569179b3c372d246d4ba0c)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-13 17:01:12 +00:00
872 changed files with 15858 additions and 155809 deletions

3
.gitignore vendored
View File

@@ -30,4 +30,5 @@ hob-image-*.bb
pull-*/
bitbake/lib/toaster/contrib/tts/backlog.txt
bitbake/lib/toaster/contrib/tts/log/*
bitbake/lib/toaster/contrib/tts/.cache/*
bitbake/lib/toaster/contrib/tts/.cache/*
bitbake/lib/bb/tests/runqueue-tests/bitbake-cookerdaemon.log

View File

@@ -11,7 +11,7 @@ For information about Bitbake, see the OpenEmbedded website:
Bitbake plain documentation can be found under the doc directory or its integrated
html version at the Yocto Project website:
http://yoctoproject.org/documentation
https://docs.yoctoproject.org
Contributing
------------

View File

@@ -26,7 +26,7 @@ from bb.main import bitbake_main, BitBakeConfigParameters, BBMainException
if sys.getfilesystemencoding() != "utf-8":
sys.exit("Please use a locale setting which supports UTF-8 (such as LANG=en_US.UTF-8).\nPython can't change the filesystem locale after loading so we need a UTF-8 when Python starts or things won't work.")
__version__ = "1.49.1"
__version__ = "1.49.2"
if __name__ == "__main__":
if __version__ != bb.__version__:

View File

@@ -150,11 +150,15 @@ def fork_off_task(cfg, data, databuilder, workerdata, fn, task, taskname, taskha
taskdep = workerdata["taskdeps"][fn]
if 'umask' in taskdep and taskname in taskdep['umask']:
umask = taskdep['umask'][taskname]
elif workerdata["umask"]:
umask = workerdata["umask"]
if umask:
# umask might come in as a number or text string..
try:
umask = int(taskdep['umask'][taskname],8)
umask = int(umask, 8)
except TypeError:
umask = taskdep['umask'][taskname]
pass
dry_run = cfg.dry_run or dry_run_exec

View File

@@ -0,0 +1,19 @@
# SPDX-License-Identifier: MIT
#
# Copyright (c) 2021 Joshua Watt <JPEWhacker@gmail.com>
#
# Dockerfile to build a bitbake hash equivalence server container
#
# From the root of the bitbake repository, run:
#
# docker build -f contrib/hashserv/Dockerfile .
#
FROM alpine:3.13.1
RUN apk add --no-cache python3
COPY bin/bitbake-hashserv /opt/bbhashserv/bin/
COPY lib/hashserv /opt/bbhashserv/lib/hashserv/
ENTRYPOINT ["/opt/bbhashserv/bin/bitbake-hashserv"]

View File

@@ -244,7 +244,8 @@ want upstream. Here is an example: ::
BBFILE_COLLECTIONS = "upstream local"
BBFILE_PATTERN_upstream = "^/stuff/openembedded/"
BBFILE_PATTERN_local = "^/stuff/openembedded.modified/"
BBFILE_PRIORITY_upstream = "5" BBFILE_PRIORITY_local = "10"
BBFILE_PRIORITY_upstream = "5"
BBFILE_PRIORITY_local = "10"
.. note::

View File

@@ -624,6 +624,34 @@ Here are some example URLs: ::
SRC_URI = "repo://REPOROOT;protocol=git;branch=some_branch;manifest=my_manifest.xml"
SRC_URI = "repo://REPOROOT;protocol=file;branch=some_branch;manifest=my_manifest.xml"
.. _az-fetcher:
Az Fetcher (``az://``)
--------------------------
This submodule fetches data from an
`Azure Storage account <https://docs.microsoft.com/en-us/azure/storage/>`__ ,
it inherits its functionality from the HTTP wget fetcher, but modifies its
behavior to accomodate the usage of a
`Shared Access Signature (SAS) <https://docs.microsoft.com/en-us/azure/storage/common/storage-sas-overview>`__
for non-public data.
Such functionality is set by the variable:
- :term:`AZ_SAS`: The Azure Storage Shared Access Signature provides secure
delegate access to resources, if this variable is set, the Az Fetcher will
use it when fetching artifacts from the cloud.
You can specify the AZ_SAS variable as shown below: ::
AZ_SAS = "se=2021-01-01&sp=r&sv=2018-11-09&sr=c&skoid=<skoid>&sig=<signature>"
Here is an example URL: ::
SRC_URI = "az://<azure-storage-account>.blob.core.windows.net/<foo_container>/<bar_file>"
It can also be used when setting mirrors definitions using the :term:`PREMIRRORS` variable.
Other Fetchers
--------------

View File

@@ -1296,6 +1296,17 @@ For more information on task dependencies, see the
See the ":ref:`bitbake-user-manual/bitbake-user-manual-metadata:variable flags`" section for information
on variable flags you can use with tasks.
.. note::
While it's infrequent, it's possible to define multiple tasks as
dependencies when calling ``addtask``. For example, here's a snippet
from the OpenEmbedded class file ``package_tar.bbclass``::
addtask package_write_tar before do_build after do_packagedata do_package
Note how the ``package_write_tar`` task has to wait until both of
``do_packagedata`` and ``do_package`` complete.
Deleting a Task
---------------
@@ -1569,7 +1580,7 @@ might have an interest in viewing:
events when each of the workers parse the base configuration or if
the server changes configuration and reparses. Any given datastore
only has one such event executed against it, however. If
```BB_INVALIDCONF`` <#>`__ is set in the datastore by the event
:term:`BB_INVALIDCONF` is set in the datastore by the event
handler, the configuration is reparsed and a new event triggered,
allowing the metadata to update configuration.

View File

@@ -39,6 +39,19 @@ overview of their function and contents.
when specified allows for the Git binary from the host to be used
rather than building ``git-native``.
:term:`AZ_SAS`
Azure Storage Shared Access Signature, when using the
:ref:`Azure Storage fetcher <bitbake-user-manual/bitbake-user-manual-fetching:fetchers>`
This variable can be defined to be used by the fetcher to authenticate
and gain access to non-public artifacts.
::
AZ_SAS = ""se=2021-01-01&sp=r&sv=2018-11-09&sr=c&skoid=<skoid>&sig=<signature>""
For more information see Microsoft's Azure Storage documentation at
https://docs.microsoft.com/en-us/azure/storage/common/storage-sas-overview
:term:`B`
The directory in which BitBake executes functions during a recipe's
build process.
@@ -108,6 +121,10 @@ overview of their function and contents.
command line option). The task name specified should not include the
``do_`` prefix.
:term:`BB_DEFAULT_UMASK`
The default umask to apply to tasks if specified and no task specific
umask flag is set.
:term:`BB_DISKMON_DIRS`
Monitors disk space and available inodes during the build and allows
you to control the build based on these parameters.
@@ -253,45 +270,6 @@ overview of their function and contents.
``my-recipe.bb`` is executing, the ``BB_FILENAME`` variable contains
"/foo/path/my-recipe.bb".
:term:`BBFILES_DYNAMIC`
Activates content depending on presence of identified layers. You
identify the layers by the collections that the layers define.
Use the ``BBFILES_DYNAMIC`` variable to avoid ``.bbappend`` files whose
corresponding ``.bb`` file is in a layer that attempts to modify other
layers through ``.bbappend`` but does not want to introduce a hard
dependency on those other layers.
Additionally you can prefix the rule with "!" to add ``.bbappend`` and
``.bb`` files in case a layer is not present. Use this avoid hard
dependency on those other layers.
Use the following form for ``BBFILES_DYNAMIC``: ::
collection_name:filename_pattern
The following example identifies two collection names and two filename
patterns: ::
BBFILES_DYNAMIC += "\
clang-layer:${LAYERDIR}/bbappends/meta-clang/*/*/*.bbappend \
core:${LAYERDIR}/bbappends/openembedded-core/meta/*/*/*.bbappend \
"
When the collection name is prefixed with "!" it will add the file pattern in case
the layer is absent: ::
BBFILES_DYNAMIC += "\
!clang-layer:${LAYERDIR}/backfill/meta-clang/*/*/*.bb \
"
This next example shows an error message that occurs because invalid
entries are found, which cause parsing to abort: ::
ERROR: BBFILES_DYNAMIC entries must be of the form {!}<collection name>:<filename pattern>, not:
/work/my-layer/bbappends/meta-security-isafw/*/*/*.bbappend
/work/my-layer/bbappends/openembedded-core/meta/*/*/*.bbappend
:term:`BB_GENERATE_MIRROR_TARBALLS`
Causes tarballs of the Git repositories, including the Git metadata,
to be placed in the :term:`DL_DIR` directory. Anyone
@@ -667,6 +645,45 @@ overview of their function and contents.
For details on the syntax, see the documentation by following the
previous link.
:term:`BBFILES_DYNAMIC`
Activates content depending on presence of identified layers. You
identify the layers by the collections that the layers define.
Use the ``BBFILES_DYNAMIC`` variable to avoid ``.bbappend`` files whose
corresponding ``.bb`` file is in a layer that attempts to modify other
layers through ``.bbappend`` but does not want to introduce a hard
dependency on those other layers.
Additionally you can prefix the rule with "!" to add ``.bbappend`` and
``.bb`` files in case a layer is not present. Use this avoid hard
dependency on those other layers.
Use the following form for ``BBFILES_DYNAMIC``: ::
collection_name:filename_pattern
The following example identifies two collection names and two filename
patterns: ::
BBFILES_DYNAMIC += "\
clang-layer:${LAYERDIR}/bbappends/meta-clang/*/*/*.bbappend \
core:${LAYERDIR}/bbappends/openembedded-core/meta/*/*/*.bbappend \
"
When the collection name is prefixed with "!" it will add the file pattern in case
the layer is absent: ::
BBFILES_DYNAMIC += "\
!clang-layer:${LAYERDIR}/backfill/meta-clang/*/*/*.bb \
"
This next example shows an error message that occurs because invalid
entries are found, which cause parsing to abort: ::
ERROR: BBFILES_DYNAMIC entries must be of the form {!}<collection name>:<filename pattern>, not:
/work/my-layer/bbappends/meta-security-isafw/*/*/*.bbappend
/work/my-layer/bbappends/openembedded-core/meta/*/*/*.bbappend
:term:`BBINCLUDED`
Contains a space-separated list of all of all files that BitBake's
parser included during parsing of the current file.
@@ -1299,6 +1316,8 @@ overview of their function and contents.
- ``svn://`` : Fetches files from a Subversion (``svn``) revision
control repository.
- ``az://`` : Fetches files from an Azure Storage account using HTTPS.
Here are some additional options worth mentioning:
- ``unpack`` : Controls whether or not to unpack the file if it is

View File

@@ -9,7 +9,7 @@
# SPDX-License-Identifier: GPL-2.0-only
#
__version__ = "1.49.1"
__version__ = "1.49.2"
import sys
if sys.version_info < (3, 5, 0):
@@ -58,7 +58,7 @@ class BBLoggerMixin(object):
if not bb.event.worker_pid:
if self.name in bb.msg.loggerDefaultDomains and loglevel > (bb.msg.loggerDefaultDomains[self.name]):
return
if loglevel > bb.msg.loggerDefaultLogLevel:
if loglevel < bb.msg.loggerDefaultLogLevel:
return
return self.log(loglevel, msg, *args, **kwargs)

View File

@@ -854,6 +854,23 @@ def make_stamp(task, d, file_name = None):
file_name = d.getVar('BB_FILENAME')
bb.parse.siggen.dump_sigtask(file_name, task, stampbase, True)
def find_stale_stamps(task, d, file_name=None):
current = stamp_internal(task, d, file_name)
current2 = stamp_internal(task + "_setscene", d, file_name)
cleanmask = stamp_cleanmask_internal(task, d, file_name)
found = []
for mask in cleanmask:
for name in glob.glob(mask):
if "sigdata" in name or "sigbasedata" in name:
continue
if name.endswith('.taint'):
continue
if name == current or name == current2:
continue
logger.debug2("Stampfile %s does not match %s or %s" % (name, current, current2))
found.append(name)
return found
def del_stamp(task, d, file_name = None):
"""
Removes a stamp for a given task

View File

@@ -126,6 +126,7 @@ class CoreRecipeInfo(RecipeInfoCommon):
self.inherits = self.getvar('__inherit_cache', metadata, expand=False)
self.fakerootenv = self.getvar('FAKEROOTENV', metadata)
self.fakerootdirs = self.getvar('FAKEROOTDIRS', metadata)
self.fakerootlogs = self.getvar('FAKEROOTLOGS', metadata)
self.fakerootnoenv = self.getvar('FAKEROOTNOENV', metadata)
self.extradepsfunc = self.getvar('calculate_extra_depends', metadata)
@@ -163,6 +164,7 @@ class CoreRecipeInfo(RecipeInfoCommon):
cachedata.fakerootenv = {}
cachedata.fakerootnoenv = {}
cachedata.fakerootdirs = {}
cachedata.fakerootlogs = {}
cachedata.extradepsfunc = {}
def add_cacheData(self, cachedata, fn):
@@ -231,6 +233,7 @@ class CoreRecipeInfo(RecipeInfoCommon):
cachedata.fakerootenv[fn] = self.fakerootenv
cachedata.fakerootnoenv[fn] = self.fakerootnoenv
cachedata.fakerootdirs[fn] = self.fakerootdirs
cachedata.fakerootlogs[fn] = self.fakerootlogs
cachedata.extradepsfunc[fn] = self.extradepsfunc
def virtualfn2realfn(virtualfn):

View File

@@ -212,9 +212,9 @@ class PythonParser():
funcstr = codegen.to_source(func)
argstr = codegen.to_source(arg)
except TypeError:
self.log.debug(2, 'Failed to convert function and argument to source form')
self.log.debug2('Failed to convert function and argument to source form')
else:
self.log.debug(1, self.unhandled_message % (funcstr, argstr))
self.log.debug(self.unhandled_message % (funcstr, argstr))
def visit_Call(self, node):
name = self.called_node_name(node.func)
@@ -450,7 +450,7 @@ class ShellParser():
cmd = word[1]
if cmd.startswith("$"):
self.log.debug(1, self.unhandled_template % cmd)
self.log.debug(self.unhandled_template % cmd)
elif cmd == "eval":
command = " ".join(word for _, word in words[1:])
self._parse_shell(command)

View File

@@ -502,22 +502,30 @@ class BBCooker:
def showVersions(self):
(latest_versions, preferred_versions) = self.findProviders()
(latest_versions, preferred_versions, required) = self.findProviders()
logger.plain("%-35s %25s %25s", "Recipe Name", "Latest Version", "Preferred Version")
logger.plain("%-35s %25s %25s\n", "===========", "==============", "=================")
logger.plain("%-35s %25s %25s %25s", "Recipe Name", "Latest Version", "Preferred Version", "Required Version")
logger.plain("%-35s %25s %25s %25s\n", "===========", "==============", "=================", "================")
for p in sorted(self.recipecaches[''].pkg_pn):
pref = preferred_versions[p]
preferred = preferred_versions[p]
latest = latest_versions[p]
requiredstr = ""
preferredstr = ""
if required[p]:
if preferred[0] is not None:
requiredstr = preferred[0][0] + ":" + preferred[0][1] + '-' + preferred[0][2]
else:
bb.fatal("REQUIRED_VERSION of package %s not available" % p)
else:
preferredstr = preferred[0][0] + ":" + preferred[0][1] + '-' + preferred[0][2]
prefstr = pref[0][0] + ":" + pref[0][1] + '-' + pref[0][2]
lateststr = latest[0][0] + ":" + latest[0][1] + "-" + latest[0][2]
if pref == latest:
prefstr = ""
if preferred == latest:
preferredstr = ""
logger.plain("%-35s %25s %25s", p, lateststr, prefstr)
logger.plain("%-35s %25s %25s %25s", p, lateststr, preferredstr, requiredstr)
def showEnvironment(self, buildfile=None, pkgs_to_build=None):
"""
@@ -1063,10 +1071,16 @@ class BBCooker:
if pn in self.recipecaches[mc].providers:
filenames = self.recipecaches[mc].providers[pn]
eligible, foundUnique = bb.providers.filterProviders(filenames, pn, self.databuilder.mcdata[mc], self.recipecaches[mc])
filename = eligible[0]
if eligible is not None:
filename = eligible[0]
else:
filename = None
return None, None, None, filename
elif pn in self.recipecaches[mc].pkg_pn:
return bb.providers.findBestProvider(pn, self.databuilder.mcdata[mc], self.recipecaches[mc], self.recipecaches[mc].pkg_pn)
(latest, latest_f, preferred_ver, preferred_file, required) = bb.providers.findBestProvider(pn, self.databuilder.mcdata[mc], self.recipecaches[mc], self.recipecaches[mc].pkg_pn)
if required and preferred_file is None:
return None, None, None, None
return (latest, latest_f, preferred_ver, preferred_file)
else:
return None, None, None, None
@@ -2211,18 +2225,18 @@ class CookerParser(object):
except bb.BBHandledException as exc:
self.error += 1
logger.error('Failed to parse recipe: %s' % exc.recipe)
self.shutdown(clean=False)
self.shutdown(clean=False, force=True)
return False
except ParsingFailure as exc:
self.error += 1
logger.error('Unable to parse %s: %s' %
(exc.recipe, bb.exceptions.to_string(exc.realexception)))
self.shutdown(clean=False)
self.shutdown(clean=False, force=True)
return False
except bb.parse.ParseError as exc:
self.error += 1
logger.error(str(exc))
self.shutdown(clean=False)
self.shutdown(clean=False, force=True)
return False
except bb.data_smart.ExpansionError as exc:
self.error += 1
@@ -2231,7 +2245,7 @@ class CookerParser(object):
tb = list(itertools.dropwhile(lambda e: e.filename.startswith(bbdir), exc.traceback))
logger.error('ExpansionError during parsing %s', value.recipe,
exc_info=(etype, value, tb))
self.shutdown(clean=False)
self.shutdown(clean=False, force=True)
return False
except Exception as exc:
self.error += 1
@@ -2243,7 +2257,7 @@ class CookerParser(object):
# Most likely, an exception occurred during raising an exception
import traceback
logger.error('Exception during parse: %s' % traceback.format_exc())
self.shutdown(clean=False)
self.shutdown(clean=False, force=True)
return False
self.current += 1

View File

@@ -429,7 +429,7 @@ class CookerDataBuilder(object):
parselog.critical("Undefined event handler function '%s'" % var)
raise bb.BBHandledException()
handlerln = int(data.getVarFlag(var, "lineno", False))
bb.event.register(var, data.getVar(var, False), (data.getVarFlag(var, "eventmask") or "").split(), handlerfn, handlerln)
bb.event.register(var, data.getVar(var, False), (data.getVarFlag(var, "eventmask") or "").split(), handlerfn, handlerln, data)
data.setVar('BBINCLUDED',bb.parse.get_file_depends(data))

View File

@@ -118,6 +118,8 @@ def fire_class_handlers(event, d):
if _eventfilter:
if not _eventfilter(name, handler, event, d):
continue
if d is not None and not name in (d.getVar("__BBHANDLERS_MC") or set()):
continue
execute_handler(name, handler, event, d)
ui_queue = []
@@ -227,11 +229,19 @@ def fire_from_worker(event, d):
fire_ui_handlers(event, d)
noop = lambda _: None
def register(name, handler, mask=None, filename=None, lineno=None):
def register(name, handler, mask=None, filename=None, lineno=None, data=None):
"""Register an Event handler"""
if data is not None and data.getVar("BB_CURRENT_MC"):
mc = data.getVar("BB_CURRENT_MC")
name = '%s%s' % (mc.replace('-', '_'), name)
# already registered
if name in _handlers:
if data is not None:
bbhands_mc = (data.getVar("__BBHANDLERS_MC") or set())
bbhands_mc.add(name)
data.setVar("__BBHANDLERS_MC", bbhands_mc)
return AlreadyRegistered
if handler is not None:
@@ -268,10 +278,20 @@ def register(name, handler, mask=None, filename=None, lineno=None):
_event_handler_map[m] = {}
_event_handler_map[m][name] = True
if data is not None:
bbhands_mc = (data.getVar("__BBHANDLERS_MC") or set())
bbhands_mc.add(name)
data.setVar("__BBHANDLERS_MC", bbhands_mc)
return Registered
def remove(name, handler):
def remove(name, handler, data=None):
"""Remove an Event handler"""
if data is not None:
if data.getVar("BB_CURRENT_MC"):
mc = data.getVar("BB_CURRENT_MC")
name = '%s%s' % (mc.replace('-', '_'), name)
_handlers.pop(name)
if name in _catchall_handlers:
_catchall_handlers.pop(name)
@@ -279,6 +299,12 @@ def remove(name, handler):
if name in _event_handler_map[event]:
_event_handler_map[event].pop(name)
if data is not None:
bbhands_mc = (data.getVar("__BBHANDLERS_MC") or set())
if name in bbhands_mc:
bbhands_mc.remove(name)
data.setVar("__BBHANDLERS_MC", bbhands_mc)
def get_handlers():
return _handlers
@@ -644,6 +670,17 @@ class ReachableStamps(Event):
Event.__init__(self)
self.stamps = stamps
class StaleSetSceneTasks(Event):
"""
An event listing setscene tasks which are 'stale' and will
be rerun. The metadata may use to clean up stale data.
tasks is a mapping of tasks and matching stale stamps.
"""
def __init__(self, tasks):
Event.__init__(self)
self.tasks = tasks
class FilesMatchingFound(Event):
"""
Event when a list of files matching the supplied pattern has

View File

@@ -1243,7 +1243,7 @@ class FetchData(object):
if checksum_name in self.parm:
checksum_expected = self.parm[checksum_name]
elif self.type not in ["http", "https", "ftp", "ftps", "sftp", "s3"]:
elif self.type not in ["http", "https", "ftp", "ftps", "sftp", "s3", "az"]:
checksum_expected = None
else:
checksum_expected = d.getVarFlag("SRC_URI", checksum_name)
@@ -1908,6 +1908,7 @@ from . import repo
from . import clearcase
from . import npm
from . import npmsw
from . import az
methods.append(local.Local())
methods.append(wget.Wget())
@@ -1927,3 +1928,4 @@ methods.append(repo.Repo())
methods.append(clearcase.ClearCase())
methods.append(npm.Npm())
methods.append(npmsw.NpmShrinkWrap())
methods.append(az.Az())

View File

@@ -0,0 +1,93 @@
"""
BitBake 'Fetch' Azure Storage implementation
"""
# Copyright (C) 2021 Alejandro Hernandez Samaniego
#
# Based on bb.fetch2.wget:
# Copyright (C) 2003, 2004 Chris Larson
#
# SPDX-License-Identifier: GPL-2.0-only
#
# Based on functions from the base bb module, Copyright 2003 Holger Schurig
import shlex
import os
import bb
from bb.fetch2 import FetchError
from bb.fetch2 import logger
from bb.fetch2.wget import Wget
class Az(Wget):
def supports(self, ud, d):
"""
Check to see if a given url can be fetched from Azure Storage
"""
return ud.type in ['az']
def checkstatus(self, fetch, ud, d, try_again=True):
# checkstatus discards parameters either way, we need to do this before adding the SAS
ud.url = ud.url.replace('az://','https://').split(';')[0]
az_sas = d.getVar('AZ_SAS')
if az_sas and az_sas not in ud.url:
ud.url += az_sas
return Wget.checkstatus(self, fetch, ud, d, try_again)
# Override download method, include retries
def download(self, ud, d, retries=3):
"""Fetch urls"""
# If were reaching the account transaction limit we might be refused a connection,
# retrying allows us to avoid false negatives since the limit changes over time
fetchcmd = self.basecmd + ' --retry-connrefused --waitretry=5'
# We need to provide a localpath to avoid wget using the SAS
# ud.localfile either has the downloadfilename or ud.path
localpath = os.path.join(d.getVar("DL_DIR"), ud.localfile)
bb.utils.mkdirhier(os.path.dirname(localpath))
fetchcmd += " -O %s" % shlex.quote(localpath)
if ud.user and ud.pswd:
fetchcmd += " --user=%s --password=%s --auth-no-challenge" % (ud.user, ud.pswd)
# Check if a Shared Access Signature was given and use it
az_sas = d.getVar('AZ_SAS')
if az_sas:
azuri = '%s%s%s%s' % ('https://', ud.host, ud.path, az_sas)
else:
azuri = '%s%s%s' % ('https://', ud.host, ud.path)
if os.path.exists(ud.localpath):
# file exists, but we didnt complete it.. trying again.
fetchcmd += d.expand(" -c -P ${DL_DIR} '%s'" % azuri)
else:
fetchcmd += d.expand(" -P ${DL_DIR} '%s'" % azuri)
try:
self._runwget(ud, d, fetchcmd, False)
except FetchError as e:
# Azure fails on handshake sometimes when using wget after some stress, producing a
# FetchError from the fetcher, if the artifact exists retyring should succeed
if 'Unable to establish SSL connection' in str(e):
logger.debug2('Unable to establish SSL connection: Retries remaining: %s, Retrying...' % retries)
self.download(ud, d, retries -1)
# Sanity check since wget can pretend it succeed when it didn't
# Also, this used to happen if sourceforge sent us to the mirror page
if not os.path.exists(ud.localpath):
raise FetchError("The fetch command returned success for url %s but %s doesn't exist?!" % (azuri, ud.localpath), azuri)
if os.path.getsize(ud.localpath) == 0:
os.remove(ud.localpath)
raise FetchError("The fetch of %s resulted in a zero size file?! Deleting and failing since this isn't right." % (azuri), azuri)
return True

View File

@@ -332,6 +332,14 @@ class Wget(FetchMethod):
# debug for now to avoid spamming the logs in e.g. remote sstate searches
logger.debug2("checkstatus() urlopen failed: %s" % e)
return False
except ConnectionResetError as e:
if try_again:
logger.debug2("checkstatus: trying again")
return self.checkstatus(fetch, ud, d, False)
else:
# debug for now to avoid spamming the logs in e.g. remote sstate searches
logger.debug2("checkstatus() urlopen failed: %s" % e)
return False
return True
def _parse_path(self, regex, s):

View File

@@ -335,7 +335,7 @@ def finalize(fn, d, variant = None):
if not handlerfn:
bb.fatal("Undefined event handler function '%s'" % var)
handlerln = int(d.getVarFlag(var, "lineno", False))
bb.event.register(var, d.getVar(var, False), (d.getVarFlag(var, "eventmask") or "").split(), handlerfn, handlerln)
bb.event.register(var, d.getVar(var, False), (d.getVarFlag(var, "eventmask") or "").split(), handlerfn, handlerln, data=d)
bb.event.fire(bb.event.RecipePreFinalise(fn), d)

View File

@@ -38,16 +38,17 @@ def findProviders(cfgData, dataCache, pkg_pn = None):
localdata = data.createCopy(cfgData)
bb.data.expandKeys(localdata)
required = {}
preferred_versions = {}
latest_versions = {}
for pn in pkg_pn:
(last_ver, last_file, pref_ver, pref_file) = findBestProvider(pn, localdata, dataCache, pkg_pn)
(last_ver, last_file, pref_ver, pref_file, req) = findBestProvider(pn, localdata, dataCache, pkg_pn)
preferred_versions[pn] = (pref_ver, pref_file)
latest_versions[pn] = (last_ver, last_file)
required[pn] = req
return (latest_versions, preferred_versions)
return (latest_versions, preferred_versions, required)
def allProviders(dataCache):
"""
@@ -59,7 +60,6 @@ def allProviders(dataCache):
all_providers[pn].append((ver, fn))
return all_providers
def sortPriorities(pn, dataCache, pkg_pn = None):
"""
Reorder pkg_pn by file priority and default preference
@@ -87,6 +87,21 @@ def sortPriorities(pn, dataCache, pkg_pn = None):
return tmp_pn
def versionVariableMatch(cfgData, keyword, pn):
"""
Return the value of the <keyword>_VERSION variable if set.
"""
# pn can contain '_', e.g. gcc-cross-x86_64 and an override cannot
# hence we do this manually rather than use OVERRIDES
ver = cfgData.getVar("%s_VERSION_pn-%s" % (keyword, pn))
if not ver:
ver = cfgData.getVar("%s_VERSION_%s" % (keyword, pn))
if not ver:
ver = cfgData.getVar("%s_VERSION" % keyword)
return ver
def preferredVersionMatch(pe, pv, pr, preferred_e, preferred_v, preferred_r):
"""
Check if the version pe,pv,pr is the preferred one.
@@ -102,19 +117,28 @@ def preferredVersionMatch(pe, pv, pr, preferred_e, preferred_v, preferred_r):
def findPreferredProvider(pn, cfgData, dataCache, pkg_pn = None, item = None):
"""
Find the first provider in pkg_pn with a PREFERRED_VERSION set.
Find the first provider in pkg_pn with REQUIRED_VERSION or PREFERRED_VERSION set.
"""
preferred_file = None
preferred_ver = None
required = False
# pn can contain '_', e.g. gcc-cross-x86_64 and an override cannot
# hence we do this manually rather than use OVERRIDES
preferred_v = cfgData.getVar("PREFERRED_VERSION_pn-%s" % pn)
if not preferred_v:
preferred_v = cfgData.getVar("PREFERRED_VERSION_%s" % pn)
if not preferred_v:
preferred_v = cfgData.getVar("PREFERRED_VERSION")
required_v = versionVariableMatch(cfgData, "REQUIRED", pn)
preferred_v = versionVariableMatch(cfgData, "PREFERRED", pn)
itemstr = ""
if item:
itemstr = " (for item %s)" % item
if required_v is not None:
if preferred_v is not None:
logger.warn("REQUIRED_VERSION and PREFERRED_VERSION for package %s%s are both set using REQUIRED_VERSION %s", pn, itemstr, required_v)
else:
logger.debug("REQUIRED_VERSION is set for package %s%s", pn, itemstr)
# REQUIRED_VERSION always takes precedence over PREFERRED_VERSION
preferred_v = required_v
required = True
if preferred_v:
m = re.match(r'(\d+:)*(.*)(_.*)*', preferred_v)
@@ -147,11 +171,9 @@ def findPreferredProvider(pn, cfgData, dataCache, pkg_pn = None, item = None):
pv_str = preferred_v
if not (preferred_e is None):
pv_str = '%s:%s' % (preferred_e, pv_str)
itemstr = ""
if item:
itemstr = " (for item %s)" % item
if preferred_file is None:
logger.warn("preferred version %s of %s not available%s", pv_str, pn, itemstr)
if not required:
logger.warn("preferred version %s of %s not available%s", pv_str, pn, itemstr)
available_vers = []
for file_set in pkg_pn:
for f in file_set:
@@ -164,11 +186,15 @@ def findPreferredProvider(pn, cfgData, dataCache, pkg_pn = None, item = None):
if available_vers:
available_vers.sort()
logger.warn("versions of %s available: %s", pn, ' '.join(available_vers))
if required:
logger.error("required version %s of %s not available%s", pv_str, pn, itemstr)
else:
logger.debug("selecting %s as PREFERRED_VERSION %s of package %s%s", preferred_file, pv_str, pn, itemstr)
return (preferred_ver, preferred_file)
if required:
logger.debug("selecting %s as REQUIRED_VERSION %s of package %s%s", preferred_file, pv_str, pn, itemstr)
else:
logger.debug("selecting %s as PREFERRED_VERSION %s of package %s%s", preferred_file, pv_str, pn, itemstr)
return (preferred_ver, preferred_file, required)
def findLatestProvider(pn, cfgData, dataCache, file_set):
"""
@@ -189,7 +215,6 @@ def findLatestProvider(pn, cfgData, dataCache, file_set):
return (latest, latest_f)
def findBestProvider(pn, cfgData, dataCache, pkg_pn = None, item = None):
"""
If there is a PREFERRED_VERSION, find the highest-priority bbfile
@@ -198,17 +223,16 @@ def findBestProvider(pn, cfgData, dataCache, pkg_pn = None, item = None):
"""
sortpkg_pn = sortPriorities(pn, dataCache, pkg_pn)
# Find the highest priority provider with a PREFERRED_VERSION set
(preferred_ver, preferred_file) = findPreferredProvider(pn, cfgData, dataCache, sortpkg_pn, item)
# Find the highest priority provider with a REQUIRED_VERSION or PREFERRED_VERSION set
(preferred_ver, preferred_file, required) = findPreferredProvider(pn, cfgData, dataCache, sortpkg_pn, item)
# Find the latest version of the highest priority provider
(latest, latest_f) = findLatestProvider(pn, cfgData, dataCache, sortpkg_pn[0])
if preferred_file is None:
if not required and preferred_file is None:
preferred_file = latest_f
preferred_ver = latest
return (latest, latest_f, preferred_ver, preferred_file)
return (latest, latest_f, preferred_ver, preferred_file, required)
def _filterProviders(providers, item, cfgData, dataCache):
"""
@@ -234,10 +258,13 @@ def _filterProviders(providers, item, cfgData, dataCache):
logger.debug("providers for %s are: %s", item, list(sorted(pkg_pn.keys())))
# First add PREFERRED_VERSIONS
# First add REQUIRED_VERSIONS or PREFERRED_VERSIONS
for pn in sorted(pkg_pn):
sortpkg_pn[pn] = sortPriorities(pn, dataCache, pkg_pn)
preferred_versions[pn] = findPreferredProvider(pn, cfgData, dataCache, sortpkg_pn[pn], item)
preferred_ver, preferred_file, required = findPreferredProvider(pn, cfgData, dataCache, sortpkg_pn[pn], item)
if required and preferred_file is None:
return eligible
preferred_versions[pn] = (preferred_ver, preferred_file)
if preferred_versions[pn][1]:
eligible.append(preferred_versions[pn][1])
@@ -248,9 +275,8 @@ def _filterProviders(providers, item, cfgData, dataCache):
preferred_versions[pn] = findLatestProvider(pn, cfgData, dataCache, sortpkg_pn[pn][0])
eligible.append(preferred_versions[pn][1])
if len(eligible) == 0:
logger.error("no eligible providers for %s", item)
return 0
if not eligible:
return eligible
# If pn == item, give it a slight default preference
# This means PREFERRED_PROVIDER_foobar defaults to foobar if available
@@ -266,7 +292,6 @@ def _filterProviders(providers, item, cfgData, dataCache):
return eligible
def filterProviders(providers, item, cfgData, dataCache):
"""
Take a list of providers and filter/reorder according to the
@@ -388,7 +413,6 @@ def getRuntimeProviders(dataCache, rdepend):
return rproviders
def buildWorldTargetList(dataCache, task=None):
"""
Build package list for "bitbake world"

View File

@@ -1242,6 +1242,7 @@ class RunQueue:
magic = "decafbad"
if self.cooker.configuration.profile:
magic = "decafbadbad"
fakerootlogs = None
if fakeroot:
magic = magic + "beef"
mcdata = self.cooker.databuilder.mcdata[mc]
@@ -1251,10 +1252,11 @@ class RunQueue:
for key, value in (var.split('=') for var in fakerootenv):
env[key] = value
worker = subprocess.Popen(fakerootcmd + ["bitbake-worker", magic], stdout=subprocess.PIPE, stdin=subprocess.PIPE, env=env)
fakerootlogs = self.rqdata.dataCaches[mc].fakerootlogs
else:
worker = subprocess.Popen(["bitbake-worker", magic], stdout=subprocess.PIPE, stdin=subprocess.PIPE)
bb.utils.nonblockingfd(worker.stdout)
workerpipe = runQueuePipe(worker.stdout, None, self.cfgData, self, rqexec)
workerpipe = runQueuePipe(worker.stdout, None, self.cfgData, self, rqexec, fakerootlogs=fakerootlogs)
workerdata = {
"taskdeps" : self.rqdata.dataCaches[mc].task_deps,
@@ -1271,6 +1273,7 @@ class RunQueue:
"date" : self.cfgData.getVar("DATE"),
"time" : self.cfgData.getVar("TIME"),
"hashservaddr" : self.cooker.hashservaddr,
"umask" : self.cfgData.getVar("BB_DEFAULT_UMASK"),
}
worker.stdin.write(b"<cookerconfig>" + pickle.dumps(self.cooker.configuration) + b"</cookerconfig>")
@@ -1466,7 +1469,7 @@ class RunQueue:
if not self.dm_event_handler_registered:
res = bb.event.register(self.dm_event_handler_name,
lambda x: self.dm.check(self) if self.state in [runQueueRunning, runQueueCleanUp] else False,
('bb.event.HeartbeatEvent',))
('bb.event.HeartbeatEvent',), data=self.cfgData)
self.dm_event_handler_registered = True
dump = self.cooker.configuration.dump_signatures
@@ -1505,7 +1508,7 @@ class RunQueue:
build_done = self.state is runQueueComplete or self.state is runQueueFailed
if build_done and self.dm_event_handler_registered:
bb.event.remove(self.dm_event_handler_name, None)
bb.event.remove(self.dm_event_handler_name, None, data=self.cfgData)
self.dm_event_handler_registered = False
if build_done and self.rqexe:
@@ -1771,7 +1774,7 @@ class RunQueueExecute:
self.sqdata = SQData()
build_scenequeue_data(self.sqdata, self.rqdata, self.rq, self.cooker, self.stampcache, self)
def runqueue_process_waitpid(self, task, status):
def runqueue_process_waitpid(self, task, status, fakerootlog=None):
# self.build_stamps[pid] may not exist when use shared work directory.
if task in self.build_stamps:
@@ -1786,7 +1789,7 @@ class RunQueueExecute:
self.sq_live.remove(task)
else:
if status != 0:
self.task_fail(task, status)
self.task_fail(task, status, fakerootlog=fakerootlog)
else:
self.task_complete(task)
return True
@@ -1907,14 +1910,31 @@ class RunQueueExecute:
self.task_completeoutright(task)
self.runq_tasksrun.add(task)
def task_fail(self, task, exitcode):
def task_fail(self, task, exitcode, fakerootlog=None):
"""
Called when a task has failed
Updates the state engine with the failure
"""
self.stats.taskFailed()
self.failed_tids.append(task)
bb.event.fire(runQueueTaskFailed(task, self.stats, exitcode, self.rq), self.cfgData)
fakeroot_log = ""
if fakerootlog and os.path.exists(fakerootlog):
with open(fakerootlog) as fakeroot_log_file:
fakeroot_failed = False
for line in reversed(fakeroot_log_file.readlines()):
for fakeroot_error in ['mismatch', 'error', 'fatal']:
if fakeroot_error in line.lower():
fakeroot_failed = True
if 'doing new pid setup and server start' in line:
break
fakeroot_log = line + fakeroot_log
if not fakeroot_failed:
fakeroot_log = None
bb.event.fire(runQueueTaskFailed(task, self.stats, exitcode, self.rq, fakeroot_log=fakeroot_log), self.cfgData)
if self.rqdata.taskData[''].abort:
self.rq.state = runQueueCleanUp
@@ -1942,6 +1962,10 @@ class RunQueueExecute:
logger.error("Scenequeue had holdoff tasks: %s" % pprint.pformat(self.holdoff_tasks))
err = True
for tid in self.scenequeue_covered.intersection(self.scenequeue_notcovered):
# No task should end up in both covered and uncovered, that is a bug.
logger.error("Setscene task %s in both covered and notcovered." % tid)
for tid in self.rqdata.runq_setscene_tids:
if tid not in self.scenequeue_covered and tid not in self.scenequeue_notcovered:
err = True
@@ -2430,6 +2454,9 @@ class RunQueueExecute:
for dep in sorted(self.sqdata.sq_deps[task]):
if fail and task in self.sqdata.sq_harddeps and dep in self.sqdata.sq_harddeps[task]:
if dep in self.scenequeue_covered or dep in self.scenequeue_notcovered:
# dependency could be already processed, e.g. noexec setscene task
continue
logger.debug2("%s was unavailable and is a hard dependency of %s so skipping" % (task, dep))
self.sq_task_failoutright(dep)
continue
@@ -2754,6 +2781,20 @@ def build_scenequeue_data(sqdata, rqdata, rq, cooker, stampcache, sqrq):
update_scenequeue_data(sqdata.sq_revdeps, sqdata, rqdata, rq, cooker, stampcache, sqrq, summary=True)
# Compute a list of 'stale' sstate tasks where the current hash does not match the one
# in any stamp files. Pass the list out to metadata as an event.
found = {}
for tid in rqdata.runq_setscene_tids:
(mc, fn, taskname, taskfn) = split_tid_mcfn(tid)
stamps = bb.build.find_stale_stamps(taskname, rqdata.dataCaches[mc], taskfn)
if stamps:
if mc not in found:
found[mc] = {}
found[mc][tid] = stamps
for mc in found:
event = bb.event.StaleSetSceneTasks(found[mc])
bb.event.fire(event, cooker.databuilder.mcdata[mc])
def update_scenequeue_data(tids, sqdata, rqdata, rq, cooker, stampcache, sqrq, summary=True):
tocheck = set()
@@ -2875,12 +2916,16 @@ class runQueueTaskFailed(runQueueEvent):
"""
Event notifying a task failed
"""
def __init__(self, task, stats, exitcode, rq):
def __init__(self, task, stats, exitcode, rq, fakeroot_log=None):
runQueueEvent.__init__(self, task, stats, rq)
self.exitcode = exitcode
self.fakeroot_log = fakeroot_log
def __str__(self):
return "Task (%s) failed with exit code '%s'" % (self.taskstring, self.exitcode)
if self.fakeroot_log:
return "Task (%s) failed with exit code '%s' \nPseudo log:\n%s" % (self.taskstring, self.exitcode, self.fakeroot_log)
else:
return "Task (%s) failed with exit code '%s'" % (self.taskstring, self.exitcode)
class sceneQueueTaskFailed(sceneQueueEvent):
"""
@@ -2932,7 +2977,7 @@ class runQueuePipe():
"""
Abstraction for a pipe between a worker thread and the server
"""
def __init__(self, pipein, pipeout, d, rq, rqexec):
def __init__(self, pipein, pipeout, d, rq, rqexec, fakerootlogs=None):
self.input = pipein
if pipeout:
pipeout.close()
@@ -2941,6 +2986,7 @@ class runQueuePipe():
self.d = d
self.rq = rq
self.rqexec = rqexec
self.fakerootlogs = fakerootlogs
def setrunqueueexec(self, rqexec):
self.rqexec = rqexec
@@ -2986,7 +3032,11 @@ class runQueuePipe():
task, status = pickle.loads(self.queue[10:index])
except (ValueError, pickle.UnpicklingError, AttributeError, IndexError) as e:
bb.msg.fatal("RunQueue", "failed load pickle '%s': '%s'" % (e, self.queue[10:index]))
self.rqexec.runqueue_process_waitpid(task, status)
(_, _, _, taskfn) = split_tid_mcfn(task)
fakerootlog = None
if self.fakerootlogs and taskfn and taskfn in self.fakerootlogs:
fakerootlog = self.fakerootlogs[taskfn]
self.rqexec.runqueue_process_waitpid(task, status, fakerootlog=fakerootlog)
found = True
self.queue = self.queue[index+11:]
index = self.queue.find(b"</exitcode>")

View File

@@ -31,7 +31,7 @@ class ColorCodeTests(unittest.TestCase):
def setUp(self):
self.d = bb.data.init()
self._progress_watcher = ProgressWatcher()
bb.event.register("bb.build.TaskProgress", self._progress_watcher.handle_event)
bb.event.register("bb.build.TaskProgress", self._progress_watcher.handle_event, data=self.d)
def tearDown(self):
bb.event.remove("bb.build.TaskProgress", None)

View File

@@ -1345,7 +1345,7 @@ class FetchCheckStatusTest(FetcherTest):
"http://downloads.yoctoproject.org/releases/sato/sato-engine-0.2.tar.gz",
"http://downloads.yoctoproject.org/releases/sato/sato-engine-0.3.tar.gz",
"https://yoctoproject.org/",
"https://yoctoproject.org/documentation",
"https://docs.yoctoproject.org",
"http://downloads.yoctoproject.org/releases/opkg/opkg-0.1.7.tar.gz",
"http://downloads.yoctoproject.org/releases/opkg/opkg-0.3.0.tar.gz",
"ftp://sourceware.org/pub/libffi/libffi-1.20.tar.gz",

View File

@@ -1 +1 @@
do_install[mcdepends] = "mc:mc1:mc2:a1:do_build"
do_install[mcdepends] = "mc:mc-1:mc_2:a1:do_build"

View File

@@ -1,5 +1,5 @@
python () {
if d.getVar("BB_CURRENT_MC") == "mc1":
bb.fatal("Multiconfig is mc1")
if d.getVar("BB_CURRENT_MC") == "mc-1":
bb.fatal("Multiconfig is mc-1")
}

View File

@@ -1,4 +1,4 @@
python () {
if d.getVar("BB_CURRENT_MC") == "mc2":
bb.fatal("Multiconfig is mc2")
if d.getVar("BB_CURRENT_MC") == "mc_2":
bb.fatal("Multiconfig is mc_2")
}

View File

@@ -216,66 +216,66 @@ class RunQueueTests(unittest.TestCase):
def test_multiconfig_setscene_optimise(self):
with tempfile.TemporaryDirectory(prefix="runqueuetest") as tempdir:
extraenv = {
"BBMULTICONFIG" : "mc1 mc2",
"BBMULTICONFIG" : "mc-1 mc_2",
"BB_SIGNATURE_HANDLER" : "basic"
}
cmd = ["bitbake", "b1", "mc:mc1:b1", "mc:mc2:b1"]
cmd = ["bitbake", "b1", "mc:mc-1:b1", "mc:mc_2:b1"]
setscenetasks = ['package_write_ipk_setscene', 'package_write_rpm_setscene', 'packagedata_setscene',
'populate_sysroot_setscene', 'package_qa_setscene']
sstatevalid = ""
tasks = self.run_bitbakecmd(cmd, tempdir, sstatevalid, extraenv=extraenv)
expected = ['a1:' + x for x in self.alltasks] + ['b1:' + x for x in self.alltasks] + \
['mc1:b1:' + x for x in setscenetasks] + ['mc1:a1:' + x for x in setscenetasks] + \
['mc2:b1:' + x for x in setscenetasks] + ['mc2:a1:' + x for x in setscenetasks] + \
['mc1:b1:build', 'mc2:b1:build']
for x in ['mc1:a1:package_qa_setscene', 'mc2:a1:package_qa_setscene', 'a1:build', 'a1:package_qa']:
['mc-1:b1:' + x for x in setscenetasks] + ['mc-1:a1:' + x for x in setscenetasks] + \
['mc_2:b1:' + x for x in setscenetasks] + ['mc_2:a1:' + x for x in setscenetasks] + \
['mc-1:b1:build', 'mc_2:b1:build']
for x in ['mc-1:a1:package_qa_setscene', 'mc_2:a1:package_qa_setscene', 'a1:build', 'a1:package_qa']:
expected.remove(x)
self.assertEqual(set(tasks), set(expected))
def test_multiconfig_bbmask(self):
# This test validates that multiconfigs can independently mask off
# recipes they do not want with BBMASK. It works by having recipes
# that will fail to parse for mc1 and mc2, then making each multiconfig
# that will fail to parse for mc-1 and mc_2, then making each multiconfig
# build the one that does parse. This ensures that the recipes are in
# each multiconfigs BBFILES, but each is masking only the one that
# doesn't parse
with tempfile.TemporaryDirectory(prefix="runqueuetest") as tempdir:
extraenv = {
"BBMULTICONFIG" : "mc1 mc2",
"BBMULTICONFIG" : "mc-1 mc_2",
"BB_SIGNATURE_HANDLER" : "basic",
"EXTRA_BBFILES": "${COREBASE}/recipes/fails-mc/*.bb",
}
cmd = ["bitbake", "mc:mc1:fails-mc2", "mc:mc2:fails-mc1"]
cmd = ["bitbake", "mc:mc-1:fails-mc2", "mc:mc_2:fails-mc1"]
self.run_bitbakecmd(cmd, tempdir, "", extraenv=extraenv)
def test_multiconfig_mcdepends(self):
with tempfile.TemporaryDirectory(prefix="runqueuetest") as tempdir:
extraenv = {
"BBMULTICONFIG" : "mc1 mc2",
"BBMULTICONFIG" : "mc-1 mc_2",
"BB_SIGNATURE_HANDLER" : "TestMulticonfigDepends",
"EXTRA_BBFILES": "${COREBASE}/recipes/fails-mc/*.bb",
}
tasks = self.run_bitbakecmd(["bitbake", "mc:mc1:f1"], tempdir, "", extraenv=extraenv, cleanup=True)
expected = ["mc1:f1:%s" % t for t in self.alltasks] + \
["mc2:a1:%s" % t for t in self.alltasks]
tasks = self.run_bitbakecmd(["bitbake", "mc:mc-1:f1"], tempdir, "", extraenv=extraenv, cleanup=True)
expected = ["mc-1:f1:%s" % t for t in self.alltasks] + \
["mc_2:a1:%s" % t for t in self.alltasks]
self.assertEqual(set(tasks), set(expected))
# A rebuild does nothing
tasks = self.run_bitbakecmd(["bitbake", "mc:mc1:f1"], tempdir, "", extraenv=extraenv, cleanup=True)
tasks = self.run_bitbakecmd(["bitbake", "mc:mc-1:f1"], tempdir, "", extraenv=extraenv, cleanup=True)
self.assertEqual(set(tasks), set())
# Test that a signature change in the dependent task causes
# mcdepends to rebuild
tasks = self.run_bitbakecmd(["bitbake", "mc:mc2:a1", "-c", "compile", "-f"], tempdir, "", extraenv=extraenv, cleanup=True)
expected = ["mc2:a1:compile"]
tasks = self.run_bitbakecmd(["bitbake", "mc:mc_2:a1", "-c", "compile", "-f"], tempdir, "", extraenv=extraenv, cleanup=True)
expected = ["mc_2:a1:compile"]
self.assertEqual(set(tasks), set(expected))
rerun_tasks = self.alltasks[:]
for x in ("fetch", "unpack", "patch", "prepare_recipe_sysroot", "configure", "compile"):
rerun_tasks.remove(x)
tasks = self.run_bitbakecmd(["bitbake", "mc:mc1:f1"], tempdir, "", extraenv=extraenv, cleanup=True)
expected = ["mc1:f1:%s" % t for t in rerun_tasks] + \
["mc2:a1:%s" % t for t in rerun_tasks]
tasks = self.run_bitbakecmd(["bitbake", "mc:mc-1:f1"], tempdir, "", extraenv=extraenv, cleanup=True)
expected = ["mc-1:f1:%s" % t for t in rerun_tasks] + \
["mc_2:a1:%s" % t for t in rerun_tasks]
self.assertEqual(set(tasks), set(expected))
@unittest.skipIf(sys.version_info < (3, 5, 0), 'Python 3.5 or later required')

View File

@@ -440,7 +440,7 @@ class Tinfoil:
to initialise Tinfoil and use it with config_only=True first and
then conditionally call this function to parse recipes later.
"""
config_params = TinfoilConfigParameters(config_only=False)
config_params = TinfoilConfigParameters(config_only=False, quiet=self.quiet)
self.run_actions(config_params)
self.recipes_parsed = True

View File

@@ -128,7 +128,7 @@ skipped recipes will also be listed, with a " (skipped)" suffix.
sys.exit(1)
pkg_pn = self.tinfoil.cooker.recipecaches[mc].pkg_pn
(latest_versions, preferred_versions) = self.tinfoil.find_providers(mc)
(latest_versions, preferred_versions, required_versions) = self.tinfoil.find_providers(mc)
allproviders = self.tinfoil.get_all_providers(mc)
# Ensure we list skipped recipes

View File

@@ -47,7 +47,7 @@ Folders exist for individual manuals as follows:
Each folder is self-contained regarding content and figures.
If you want to find HTML versions of the Yocto Project manuals on the web,
go to https://www.yoctoproject.org and click on the "Documentation" tab. From
go to https://www.yoctoproject.org and click on the "Docs" tab. From
there you have access to archived documentation from previous releases, current
documentation for the latest release, and "Docs in Progress" for the release
currently being developed.
@@ -91,13 +91,13 @@ Yocto Project documentation website
A new website has been created to host the Yocto Project
documentation, it can be found at: https://docs.yoctoproject.org/.
The entire Yocto Project documentation, as well as the BitBake manual
The entire Yocto Project documentation, as well as the BitBake manual,
is published on this website, including all previously released
versions. A version switcher was added, as a drop-down menu on the top
of the page to switch back and forth between the various versions of
the current active Yocto Project releases.
Transition pages have been added (as rst file) to show links to old
Transition pages have been added (as rst files) to show links to old
versions of the Yocto Project documentation with links to each manual
generated with DocBook.
@@ -109,7 +109,7 @@ obvious reasons, we will only support building the Yocto Project
documentation with Python3.
Sphinx might be available in your Linux distro packages repositories,
however it is not recommend using distro packages, as they might be
however it is not recommend to use distro packages, as they might be
old versions, especially if you are using an LTS version of your
distro. The recommended method to install Sphinx and all required
dependencies is to use the Python Package Index (pip).
@@ -185,7 +185,7 @@ Sphinx has a glossary directive. From
https://www.sphinx-doc.org/en/master/usage/restructuredtext/directives.html#glossary:
This directive must contain a reST definition list with terms and
definitions. The definitions will then be referencable with the
definitions. It's then possible to refer to each definition through the
[https://www.sphinx-doc.org/en/master/usage/restructuredtext/roles.html#role-term
'term' role].
@@ -206,7 +206,7 @@ however there are important shortcomings. For example they cannot be
used/nested inside code-block sections.
A Sphinx extension was implemented to support variable substitutions
to mimic the DocBook based documentation behavior. Variabes
to mimic the DocBook based documentation behavior. Variable
substitutions are done while reading/parsing the .rst files. The
pattern for variables substitutions is the same as with DocBook,
e.g. `&VAR;`.
@@ -222,7 +222,7 @@ For example, the following .rst content will produce the 'expected'
content:
.. code-block::
$ mkdir ~/poky-&DISTRO;
$ mkdir poky-&DISTRO;
or
$ git clone &YOCTO_GIT_URL;/git/poky -b &DISTRO_NAME_NO_CAP;
@@ -237,14 +237,14 @@ Note directive
Sphinx has a builtin 'note' directive that produces clean Note section
in the output file. There are various types of directives such as
"attention", "caution", "danger", "error", "hint", "important", "tip",
"warning", "admonition" that are supported, and additional directive
"warning", "admonition" that are supported, and additional directives
can be added as Sphinx extension if needed.
Figures
=======
The Yocto Project documentation has many figures/images. Sphinx has a
'figure' directive which is straight forward to use. To include a
'figure' directive which is straightforward to use. To include a
figure in the body of the documentation:
.. image:: figures/YP-flow-diagram.png
@@ -262,7 +262,7 @@ https://sublime-and-sphinx-guide.readthedocs.io/en/latest/references.html.
References
==========
The following extension is enabed by default:
The following extension is enabled by default:
sphinx.ext.autosectionlabel
(https://www.sphinx-doc.org/en/master/usage/extensions/autosectionlabel.html).
@@ -271,7 +271,7 @@ autosectionlabel_prefix_document is enabled by default, so that we can
insert references from any document.
For example, to insert an HTML link to a section from
documentaion/manual/intro.rst, use:
documentation/manual/intro.rst, use:
Please check this :ref:`manual/intro:Cross-References to Locations in the Same Document`
@@ -294,7 +294,8 @@ Extlinks
The sphinx.ext.extlinks extension is enabled by default
(https://sublime-and-sphinx-guide.readthedocs.io/en/latest/references.html#use-the-external-links-extension),
and it is configured with:
and it is configured with the 'extlinks' definitions in
the 'documentation/conf.py' file:
'yocto_home': ('https://yoctoproject.org%s', None),
'yocto_wiki': ('https://wiki.yoctoproject.org%s', None),
@@ -306,6 +307,10 @@ and it is configured with:
'yocto_git': ('https://git.yoctoproject.org%s', None),
'oe_home': ('https://www.openembedded.org%s', None),
'oe_lists': ('https://lists.openembedded.org%s', None),
'oe_git': ('https://git.openembedded.org%s', None),
'oe_wiki': ('https://www.openembedded.org/wiki%s', None),
'oe_layerindex': ('https://layers.openembedded.org%s', None),
'oe_layer': ('https://layers.openembedded.org/layerindex/branch/master/layer%s', None),
It creates convenient shortcuts which can be used throughout the
documentation rst files, as:

View File

@@ -176,7 +176,7 @@ an entire Linux distribution, including the toolchain, from source.
.. code-block:: shell
$ cd ~/poky
$ cd poky
$ source oe-init-build-env
You had no conf/local.conf file. This configuration file has therefore been
created for you with some default values. You may wish to edit it to, for
@@ -189,7 +189,7 @@ an entire Linux distribution, including the toolchain, from source.
The Yocto Project has extensive documentation about OE including a reference
manual which can be found at:
http://yoctoproject.org/documentation
https://docs.yoctoproject.org
For more information about OpenEmbedded see their website:
http://www.openembedded.org/
@@ -293,7 +293,7 @@ Follow these steps to add a hardware layer:
.. code-block:: shell
$ cd ~/poky
$ cd poky
$ git clone https://github.com/kraj/meta-altera.git
Cloning into 'meta-altera'...
remote: Counting objects: 25170, done.
@@ -337,7 +337,7 @@ Follow these steps to add a hardware layer:
.. code-block:: shell
$ cd ~/poky/build
$ cd poky/build
$ bitbake-layers add-layer ../meta-altera
NOTE: Starting bitbake server...
Parsing recipes: 100% |##################################################################| Time: 0:00:32
@@ -374,7 +374,7 @@ The following commands run the tool to create a layer named
.. code-block:: shell
$ cd ~/poky
$ cd poky
$ bitbake-layers create-layer meta-mylayer
NOTE: Starting bitbake server...
Add your new layer with 'bitbake-layers add-layer meta-mylayer'

View File

@@ -3007,7 +3007,7 @@ The following steps describe how to set up the AUH utility:
running the AUH utility:
::
$ cd ~/poky
$ cd poky
$ source oe-init-build-env your_AUH_build_directory
Re-using an existing build directory and its configurations is not
@@ -5908,7 +5908,7 @@ the existing kernel, and then inserts a new kernel:
$ wic help ls
The following command shows what is in Partition one:
The following command shows what is in partition one:
::
$ wic ls tmp/deploy/images/qemux86/core-image-minimal-qemux86.wic:1
@@ -5956,8 +5956,8 @@ the existing kernel, and then inserts a new kernel:
kernel:
::
cp ~/poky_sdk/tmp/work/qemux86-poky-linux/linux-yocto/4.12.12+git999-r0/linux-yocto-4.12.12+git999/arch/x86/boot/bzImage \
~/poky/build/tmp/deploy/images/qemux86/core-image-minimal-qemux86.wic:1/vmlinuz
$ wic cp poky_sdk/tmp/work/qemux86-poky-linux/linux-yocto/4.12.12+git999-r0/linux-yocto-4.12.12+git999/arch/x86/boot/bzImage \
poky/build/tmp/deploy/images/qemux86/core-image-minimal-qemux86.wic:1/vmlinuz
Once the new kernel is added back into the image, you can use the
``dd`` command or :ref:`bmaptool
@@ -6956,7 +6956,7 @@ variable to specify the format:
1. Open the ``local.conf`` file inside your
:term:`Build Directory` (e.g.
``~/poky/build/conf/local.conf``).
``poky/build/conf/local.conf``).
2. Select the desired package format as follows:
::
@@ -7048,11 +7048,11 @@ From within the build directory where you have built an image based on
your packaging choice (i.e. the
:term:`PACKAGE_CLASSES`
setting), simply start the server. The following example assumes a build
directory of ``~/poky/build/tmp/deploy/rpm`` and a ``PACKAGE_CLASSES``
directory of ``poky/build/tmp/deploy/rpm`` and a ``PACKAGE_CLASSES``
setting of "package_rpm":
::
$ cd ~/poky/build/tmp/deploy/rpm
$ cd poky/build/tmp/deploy/rpm
$ python3 -m http.server
Target Setup
@@ -8409,7 +8409,7 @@ that queries the Git repository and prints just the differences that
might be significant in human-readable form. Here is an example:
::
$ ~/poky/poky/scripts/buildhistory-diff . HEAD^
$ poky/poky/scripts/buildhistory-diff . HEAD^
Changes to images/qemux86_64/glibc/core-image-minimal (files-in-image.txt):
/etc/anotherpkg.conf was added
/sbin/anotherpkg was added
@@ -10023,7 +10023,52 @@ before starting the debugging process. These extra computations place
more load on the target system and can alter the characteristics of the
program being debugged.
To help get past the previously mentioned constraints, you can use
To help get past the previously mentioned constraints, there are two
methods you can use: running a debuginfod server and using gdbserver.
Using the debuginfod server method
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"debuginfod" from "elfutils" is a way to distribute "debuginfo" files.
Running a "debuginfod" server makes debug symbols readily available,
which means you don't need to download debugging information
and the binaries of the process being debugged. You can just fetch
debug symbols from the server.
To run a debuginfod server, you need to do the following:
- Ensure that this variable is set in your ``local.conf`` file:
::
PACKAGECONFIG_pn-elfutils-native = "debuginfod libdebuginfod"
This :term:`PACKAGECONFIG` option enables debuginfod and libdebuginfod for
"elfutils-native".
- Run the following commands to set up the "debuginfod" server:
::
$ oe-debuginfod
To use debuginfod on the target, you need the following:
- Ensure that this variable is set in your ``local.conf`` file:
::
DEBUGINFOD_URLS = "http://localhost:8002/"
This :term:`DEBUGINFOD_URLS` option does the client configuration.
::
PACKAGECONFIG_pn-gdb = "debuginfod"
This :term:`PACKAGECONFIG` option enables "debuginfod" for "gdb".
Using the gdbserver method
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gdbserver, which runs on the remote target and does not load any
debugging information from the debugged process. Instead, a GDB instance
processes the debugging information that is run on a remote computer -
@@ -10738,7 +10783,7 @@ been followed:
are ``create-pull-request`` and ``send-pull-request``. You can find
these scripts in the ``scripts`` directory within the
:term:`Source Directory` (e.g.
``~/poky/scripts``).
``poky/scripts``).
Using these scripts correctly formats the requests without
introducing any whitespace or HTML formatting. The maintainer that
@@ -10752,7 +10797,7 @@ been followed:
line in the created patch files:
::
$ ~/poky/scripts/create-pull-request -u meta-intel-contrib -s "Updated Manual Section Reference in README"
$ poky/scripts/create-pull-request -u meta-intel-contrib -s "Updated Manual Section Reference in README"
Running this script forms ``*.patch`` files in a folder named
``pull-``\ `PID` in the current directory. One of the patch files is a
@@ -10766,7 +10811,7 @@ been followed:
list:
::
$ ~/poky/scripts/send-pull-request -p ~/meta-intel/pull-10565 -t meta-intel@yoctoproject.org
$ poky/scripts/send-pull-request -p ~/meta-intel/pull-10565 -t meta-intel@yoctoproject.org
You need to follow the prompts as the script is interactive.

View File

@@ -58,7 +58,7 @@ available. Follow these general steps to run QEMU:
environment script (i.e. :ref:`structure-core-script`):
::
$ cd ~/poky
$ cd poky
$ source oe-init-build-env
- If you installed a cross-toolchain, you can run the script that
@@ -66,7 +66,7 @@ available. Follow these general steps to run QEMU:
the initialization script from the default ``poky_sdk`` directory:
::
. ~/poky_sdk/environment-setup-core2-64-poky-linux
. poky_sdk/environment-setup-core2-64-poky-linux
3. *Ensure the Artifacts are in Place:* You need to be sure you have a
pre-built kernel that will boot in QEMU. You also need the target

View File

@@ -768,7 +768,7 @@ Follow these steps to create a local version of the upstream
exists on your system and by default, it is checked out:
::
$ cd ~/poky
$ cd poky
$ git status
On branch master
Your branch is up-to-date with 'origin/master'.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 244 KiB

After

Width:  |  Height:  |  Size: 214 KiB

View File

@@ -57,7 +57,7 @@ section:
the build environment script (i.e. :ref:`structure-core-script`):
::
$ cd ~/poky
$ cd poky
$ source oe-init-build-env
.. note::
@@ -74,7 +74,7 @@ section:
``MACHINE`` variable appropriately in your ``conf/local.conf`` file
found in the
:term:`Build Directory` (i.e.
``~/poky/build`` in this example).
``poky/build`` in this example).
Also, since you are preparing to work on the kernel image, you need
to set the
@@ -94,7 +94,7 @@ section:
``bitbake-layers create-layer`` command as follows:
::
$ cd ~/poky/build
$ cd poky/build
$ bitbake-layers create-layer ../../meta-mylayer
NOTE: Starting bitbake server...
Add your new layer with 'bitbake-layers add-layer ../../meta-mylayer'
@@ -119,7 +119,7 @@ section:
``bblayers.conf`` file as follows:
::
$ cd ~/poky/build
$ cd poky/build
$ bitbake-layers add-layer ../../meta-mylayer
NOTE: Starting bitbake server...
$
@@ -128,7 +128,7 @@ section:
specifically for use with images to be run using QEMU:
::
$ cd ~/poky/build
$ cd poky/build
$ bitbake core-image-minimal -c populate_sdk_ext
Once
@@ -136,21 +136,21 @@ section:
``*.sh`` file) in the following directory:
::
~/poky/build/tmp/deploy/sdk
poky/build/tmp/deploy/sdk
For this example, the installer file is named
``poky-glibc-x86_64-core-image-minimal-i586-toolchain-ext-&DISTRO;.sh``.
6. *Install the Extensible SDK:* Use the following command to install
the SDK. For this example, install the SDK in the default
``~/poky_sdk`` directory:
``poky_sdk`` directory:
::
$ cd ~/poky/build/tmp/deploy/sdk
$ cd poky/build/tmp/deploy/sdk
$ ./poky-glibc-x86_64-core-image-minimal-i586-toolchain-ext-&DISTRO;.sh
Poky (Yocto Project Reference Distro) Extensible SDK installer version &DISTRO;
============================================================================
Enter target directory for SDK (default: ~/poky_sdk):
Enter target directory for SDK (default: poky_sdk):
You are about to install the SDK to "/home/scottrif/poky_sdk". Proceed [Y/n]? Y
Extracting SDK......................................done
Setting it up...
@@ -175,7 +175,7 @@ section:
directed by the output from installing the SDK:
::
$ source ~/poky_sdk/environment-setup-i586-poky-linux
$ source poky_sdk/environment-setup-i586-poky-linux
"SDK environment now set up; additionally you may now run devtool to perform development tasks.
Run devtool --help for further details.
@@ -240,7 +240,7 @@ section:
section in the Yocto Project Development Tasks Manual.
::
$ cd ~/poky
$ cd poky
$ git branch
master
* &DISTRO_NAME_NO_CAP;
@@ -260,7 +260,7 @@ section:
``MACHINE`` variable appropriately in your ``conf/local.conf`` file
found in the
:term:`Build Directory` (i.e.
``~/poky/build`` in this example).
``poky/build`` in this example).
Also, since you are preparing to work on the kernel image, you need
to set the
@@ -280,7 +280,7 @@ section:
``bitbake-layers create-layer`` command as follows:
::
$ cd ~/poky/build
$ cd poky/build
$ bitbake-layers create-layer ../../meta-mylayer
NOTE: Starting bitbake server...
Add your new layer with 'bitbake-layers add-layer ../../meta-mylayer'
@@ -304,7 +304,7 @@ section:
``bblayers.conf`` file as follows:
::
$ cd ~/poky/build
$ cd poky/build
$ bitbake-layers add-layer ../../meta-mylayer
NOTE: Starting bitbake server ...
$
@@ -398,7 +398,6 @@ home directory:
1. *Create Structure*: Create the layer's structure:
::
$ cd $HOME
$ mkdir meta-mylayer
$ mkdir meta-mylayer/conf
$ mkdir meta-mylayer/recipes-kernel
@@ -819,12 +818,12 @@ the ":ref:`kernel-dev/common:getting ready to develop using \`\`devtool\`\``" Se
1. *Change the working directory*: In the previous step, the output
noted where you can find the source files (e.g.
``~/poky_sdk/workspace/sources/linux-yocto``). Change to where the
``poky_sdk/workspace/sources/linux-yocto``). Change to where the
kernel source code is before making your edits to the
``calibrate.c`` file:
::
$ cd ~/poky_sdk/workspace/sources/linux-yocto
$ cd poky_sdk/workspace/sources/linux-yocto
2. *Edit the source file*: Edit the ``init/calibrate.c`` file to have
the following changes:
@@ -896,7 +895,7 @@ the ":ref:`kernel-dev/common:getting ready to develop using \`\`devtool\`\``" Se
and use these Git commands to stage and commit your changes:
::
$ cd ~/poky_sdk/workspace/sources/linux-yocto
$ cd poky_sdk/workspace/sources/linux-yocto
$ git status
$ git add init/calibrate.c
$ git commit -m "calibrate: Add printk example"
@@ -926,7 +925,7 @@ the ":ref:`kernel-dev/common:getting ready to develop using \`\`devtool\`\``" Se
set up to run BitBake:
::
$ cd ~/poky/build
$ cd poky/build
$ bitbake core-image-minimal
Using Traditional Kernel Development to Patch the Kernel
@@ -1015,7 +1014,7 @@ Section.
to the following to your ``local.conf``:
::
$ cd ~/poky/build/conf
$ cd poky/build/conf
Add the following to the ``local.conf``:
::
@@ -1037,7 +1036,7 @@ Section.
you can now use BitBake to build the image:
::
$ cd ~/poky/build
$ cd poky/build
$ bitbake core-image-minimal
5. *Boot the image*: Boot the modified image in the QEMU emulator using
@@ -1045,7 +1044,7 @@ Section.
with no password:
::
$ cd ~/poky/build
$ cd poky/build
$ runqemu qemux86
6. *Look for Your Changes:* As QEMU booted, you might have seen your
@@ -1119,7 +1118,7 @@ Section.
the following sequence of commands:
::
$ cd ~/poky/build
$ cd poky/build
$ bitbake -c cleanall yocto-linux
$ bitbake core-image-minimal -c cleanall
$ bitbake core-image-minimal
@@ -1172,7 +1171,7 @@ environment, you must do the following:
The following commands initialize the BitBake environment, run the
:ref:`ref-tasks-kernel_configme`
task, and launch ``menuconfig``. These commands assume the Source
Directory's top-level folder is ``~/poky``:
Directory's top-level folder is ``poky``:
::
$ cd poky

View File

@@ -1,12 +1,12 @@
DISTRO : "3.2.1"
DISTRO : "3.2.2"
DISTRO_NAME_NO_CAP : "gatesgarth"
DISTRO_NAME : "Gatesgarth"
DISTRO_NAME_NO_CAP_MINUS_ONE : "dunfell"
DISTRO_NAME_NO_CAP_LTS : "dunfell"
YOCTO_DOC_VERSION : "3.2.1"
YOCTO_DOC_VERSION_MINUS_ONE : "3.1.5"
DISTRO_REL_TAG : "yocto-3.2.1"
POKYVERSION : "24.0.1"
YOCTO_DOC_VERSION : "3.2.2"
YOCTO_DOC_VERSION_MINUS_ONE : "3.1.6"
DISTRO_REL_TAG : "yocto-3.2.2"
POKYVERSION : "24.0.2"
YOCTO_POKY : "poky-&DISTRO_NAME_NO_CAP;-&POKYVERSION;"
YOCTO_DL_URL : "https://downloads.yoctoproject.org"
YOCTO_AB_URL : "https://autobuilder.yoctoproject.org"

View File

@@ -28,7 +28,7 @@ universal, the list includes them just in case:
to allow for matching recipe names. For example, suppose you have an
append file named as follows:
::
busybox_1.21.%.bbappend
That append file
@@ -76,7 +76,7 @@ universal, the list includes them just in case:
.. code-block:: shell
$ cd $HOME/poky
$ cd poky
$ source oe-init-build-env
- Create the Build Directory inside your home directory and
@@ -84,19 +84,16 @@ universal, the list includes them just in case:
.. code-block:: shell
$ cd $HOME
$ source poky/oe-init-build-env test-builds
- Provide a directory path and specifically name the Build
Directory. Any intermediate folders in the pathname must exist.
This next example creates a Build Directory named
``YP-&POKYVERSION;`` in your home directory within the existing
directory ``mybuilds``:
``YP-&POKYVERSION;`` within the existing directory ``mybuilds``:
.. code-block:: shell
$ cd $HOME
$ source $HOME/poky/oe-init-build-env $HOME/mybuilds/YP-&POKYVERSION;
$ source poky/oe-init-build-env mybuilds/YP-&POKYVERSION;
.. note::

View File

@@ -270,6 +270,18 @@ system and gives an overview of their function and contents.
":ref:`Basic Syntax <bitbake:bitbake-user-manual/bitbake-user-manual-metadata:basic syntax>`" section in the BitBake
User Manual for more information.
:term:`AZ_SAS`
Azure Storage Shared Access Signature, when using the
:ref:`Azure Storage fetcher (az://) <bitbake:bitbake-user-manual/bitbake-user-manual-fetching:fetchers>`
This variable can be defined to be used by the fetcher to authenticate
and gain access to non-public artifacts.
::
AZ_SAS = ""se=2021-01-01&sp=r&sv=2018-11-09&sr=c&skoid=<skoid>&sig=<signature>""
For more information see Microsoft's Azure Storage documentation at
https://docs.microsoft.com/en-us/azure/storage/common/storage-sas-overview
:term:`B`
The directory within the :term:`Build Directory` in
which the OpenEmbedded build system places generated objects during a
@@ -1553,6 +1565,12 @@ system and gives an overview of their function and contents.
DEBIANNAME_${PN} = "dbus-1"
:term:`DEBUGINFOD_URLS`
Points to the URL of the "debuginfod" server. Such that for every
debugging information lookup, the debuginfod client will query the
server and return the requested information. You set this variable
in your ``local.conf`` file.
:term:`DEBUG_BUILD`
Specifies to build packages with debugging information. This
influences the value of the ``SELECTED_OPTIMIZATION`` variable.
@@ -2218,7 +2236,7 @@ system and gives an overview of their function and contents.
.. note::
To add packages to the root filesystem, see the various
\*:term:`RDEPENDS` and \*:term:`RRECOMMENDS` variables.
:term:`RDEPENDS` and :term:`RRECOMMENDS` variables.
:term:`EXTRANATIVEPATH`
A list of subdirectories of
@@ -7103,6 +7121,8 @@ system and gives an overview of their function and contents.
- ``npm://`` - Fetches JavaScript modules from a registry.
- ``az://`` - Fetches files from an Azure Storage account.
Standard and recipe-specific options for ``SRC_URI`` exist. Here are
standard options:
@@ -8787,7 +8807,7 @@ system and gives an overview of their function and contents.
The ``WKS_FILE_DEPENDS`` variable is similar to the
:term:`DEPENDS` variable. When you use the variable in
your recipe that builds the Wic image, dependencies you list in the
``WIC_FILE_DEPENDS`` variable are added to the ``DEPENDS`` variable.
``WKS_FILE_DEPENDS`` variable are added to the ``DEPENDS`` variable.
With the ``WKS_FILE_DEPENDS`` variable, you have the possibility to
specify a list of additional dependencies (e.g. native tools,

View File

@@ -10,6 +10,7 @@
- :yocto_docs:`3.2 Documentation </3.2>`
- :yocto_docs:`3.2.1 Documentation </3.2.1>`
- :yocto_docs:`3.2.2 Documentation </3.2.2>`
****************************
3.1 'dunfell' Release Series
@@ -21,6 +22,7 @@
- :yocto_docs:`3.1.3 Documentation </3.1.3>`
- :yocto_docs:`3.1.4 Documentation </3.1.4>`
- :yocto_docs:`3.1.5 Documentation </3.1.5>`
- :yocto_docs:`3.1.6 Documentation </3.1.6>`
==========================
Previous Release Manuals

View File

@@ -173,7 +173,7 @@ build the SDK installer. Follow these steps:
``tmp/deploy/sdk`` in the Build Directory. Following is an example:
::
$ cd ~/poky/build/tmp/deploy/sdk
$ cd poky/build/tmp/deploy/sdk
$ ./poky-glibc-x86_64-core-image-sato-core2-64-toolchain-ext-&DISTRO;.sh
During execution of the script, you choose the root location for the
@@ -249,7 +249,7 @@ Follow these steps to extract the root filesystem:
":ref:`sdk-manual/appendix-obtain:locating pre-built sdk installers`" section:
::
$ source ~/poky_sdk/environment-setup-core2-64-poky-linux
$ source poky_sdk/environment-setup-core2-64-poky-linux
3. *Extract the Root Filesystem:* Use the ``runqemu-extract-sdk``
command and provide the root filesystem image.

View File

@@ -118,7 +118,7 @@ architecture. The example assumes the SDK installer is located in
$ ./Downloads/poky-glibc-x86_64-core-image-minimal-core2-64-toolchain-ext-2.5.sh
Poky (Yocto Project Reference Distro) Extensible SDK installer version 2.5
==========================================================================
Enter target directory for SDK (default: ~/poky_sdk):
Enter target directory for SDK (default: poky_sdk):
You are about to install the SDK to "/home/scottrif/poky_sdk". Proceed [Y/n]? Y
Extracting SDK..............done
Setting it up...

View File

@@ -3,8 +3,8 @@
var all_versions = {
'dev': 'dev (3.3)',
'3.2.1': '3.2.1',
'3.1.5': '3.1.5',
'3.2.2': '3.2.2',
'3.1.6': '3.1.6',
'3.0.4': '3.0.4',
'2.7.4': '2.7.4',
};

View File

@@ -554,7 +554,7 @@ example that assumes default repository and build directory names:
.. code-block:: shell
$ cd ~/poky/build
$ cd poky/build
$ python ../bitbake/lib/toaster/manage.py buildslist
If your Toaster database had only one build, the above

View File

@@ -155,7 +155,7 @@ superuser by following these steps:
is the :term:`Build Directory`,
invoke the ``createsuperuser`` command from ``manage.py``::
$ cd ~/poky/build
$ cd poky/build
$ ../bitbake/lib/toaster/manage.py createsuperuser
#. Django prompts you for the username, which you need to provide.
@@ -417,13 +417,13 @@ Perform the following steps to install Toaster:
[Unit]
Description=Toaster runbuilds
[Service]
Type=forking User=toaster
ExecStart=/usr/bin/screen -d -m -S runbuilds /var/www/toaster/poky/bitbake/lib/toaster/runbuilds-service.sh start
ExecStop=/usr/bin/screen -S runbuilds -X quit
WorkingDirectory=/var/www/toaster/poky
[Install]
WantedBy=multi-user.target
@@ -433,11 +433,11 @@ Perform the following steps to install Toaster:
up executable permissions::
#!/bin/bash
#export http_proxy=http://proxy.host.com:8080
#export https_proxy=http://proxy.host.com:8080
#export GIT_PROXY_COMMAND=$HOME/bin/gitproxy
cd ~/poky/
cd poky/
source ./oe-init-build-env build
source ../bitbake/bin/toaster $1 noweb
[ "$1" == 'start' ] && /bin/bash

View File

@@ -1,4 +1,4 @@
#
# Things we exlude fromw world testing within the reference distro
# Things we exlude from world testing within the reference distro
#

View File

@@ -26,7 +26,7 @@
# [ ] Drop ldconfig from the installation
# [ ] Modify the runqemu scripts to work with ext2 parameter:
# runqemu qemux86 qemuparams="-nographic" bootparams="console=ttyS0,115200 root=0800"
# [ ] Modify busybox to allow for DISTRO_FEATURES-like confiruration
# [ ] Modify busybox to allow for DISTRO_FEATURES-like configuration
require conf/distro/poky.conf
require conf/distro/include/gcsections.inc

View File

@@ -25,8 +25,8 @@ PREFERRED_VERSION_linux-yocto-rt ?= "5.10%"
SDK_NAME = "${DISTRO}-${TCLIBC}-${SDKMACHINE}-${IMAGE_BASENAME}-${TUNE_PKGARCH}-${MACHINE}"
SDKPATH = "/opt/${DISTRO}/${SDK_VERSION}"
DISTRO_EXTRA_RDEPENDS += " ${POKY_DEFAULT_EXTRA_RDEPENDS}"
DISTRO_EXTRA_RRECOMMENDS += " ${POKY_DEFAULT_EXTRA_RRECOMMENDS}"
DISTRO_EXTRA_RDEPENDS += "${POKY_DEFAULT_EXTRA_RDEPENDS}"
DISTRO_EXTRA_RRECOMMENDS += "${POKY_DEFAULT_EXTRA_RRECOMMENDS}"
TCLIBCAPPEND = ""

View File

@@ -9,7 +9,7 @@ BBFILE_COLLECTIONS += "yocto"
BBFILE_PATTERN_yocto = "^${LAYERDIR}/"
BBFILE_PRIORITY_yocto = "5"
LAYERSERIES_COMPAT_yocto = "gatesgarth"
LAYERSERIES_COMPAT_yocto = "hardknott"
# This should only be incremented on significant changes that will
# cause compatibility issues with other layers

View File

@@ -206,7 +206,7 @@ BB_DISKMON_DIRS ??= "\
#
# Shared-state files from other locations
#
# As mentioned above, shared state files are prebuilt cache data objects which can
# As mentioned above, shared state files are prebuilt cache data objects which can be
# used to accelerate build time. This variable can be used to configure the system
# to search other mirror locations for these objects before it builds the data itself.
#

View File

@@ -23,6 +23,13 @@
#
# For a quad-core machine, BB_NUMBER_THREADS = "4", PARALLEL_MAKE = "-j 4" would
# be appropriate for example.
#
# Some users are behind firewalls or use servers where the number of parallel connections
# is limited. In such cases you can limit the number of fetch tasks which run in parallel by
# setting the option below, in this case limiting to a maximum of 4 fetch tasks in parallel:
#
#do_fetch[number_threads] = "4"
#
# If you want to get an image based on directfb without x11 alter
# DISTRO_FEATURES:
@@ -87,10 +94,7 @@ DISTRO_FEATURES_remove = "x11"
# PACKAGE_DEBUG_SPLIT_STYLE = 'debug-file-directory'
# Uncomment these to build a package such that you can use gprof to profile it.
# NOTE: This will only work with 'linux' targets, not
# 'linux-uclibc', as uClibc doesn't provide the necessary
# object files. Also, don't build glibc itself with these
# flags, or it'll fail to build.
# NOTE: Don't build glibc itself with these flags, or it'll fail to build.
#
# PROFILE_OPTIMIZATION = "-pg"
# SELECTED_OPTIMIZATION = "${PROFILE_OPTIMIZATION}"
@@ -188,7 +192,8 @@ DISTRO_FEATURES_remove = "x11"
# commercial_lame \
# commercial_libmad \
# commercial_libomxil \
# commercial_mpeg2dec"
# commercial_mpeg2dec \
# commercial_qmmp"
#
@@ -325,7 +330,7 @@ DISTRO_FEATURES_remove = "x11"
# The INITRAMFS_IMAGE image variable will cause an additional recipe to
# be built as a dependency to the what ever rootfs recipe you might be
# using such as core-image-sato. The initramfs might be needed for
# the initial boot of of the target system such as to load kernel
# the initial boot of the target system such as to load kernel
# modules prior to mounting the root file system.
#
# INITRAMFS_IMAGE_BUNDLE variable controls if the image recipe
@@ -365,20 +370,28 @@ DISTRO_FEATURES_remove = "x11"
#
#
# Use busybox/mdev for system initialization
# System initialization
#
#VIRTUAL-RUNTIME_dev_manager = "busybox-mdev"
#VIRTUAL-RUNTIME_login_manager = "busybox"
#VIRTUAL-RUNTIME_init_manager = "busybox"
#VIRTUAL-RUNTIME_initscripts = "initscripts"
#VIRTUAL-RUNTIME_keymaps = "keymaps"
#DISTRO_FEATURES_BACKFILL_CONSIDERED += "sysvinit"
#INIT_MANAGER = "none"
#INIT_MANAGER = "sysvinit"
#INIT_MANAGER = "systemd"
#INIT_MANAGER = "mdev-busybox"
#
# Use systemd for system initialization
# Use a full set of packages instead of busybox for base utils
#
#DISTRO_FEATURES_append = " systemd"
#DISTRO_FEATURES_BACKFILL_CONSIDERED += "sysvinit"
#VIRTUAL-RUNTIME_login_manager = "shadow-base"
#VIRTUAL-RUNTIME_init_manager = "systemd"
#VIRTUAL-RUNTIME_initscripts = "systemd-compat-units"
#PREFERRED_PROVIDER_base-utils = "packagegroup-core-base-utils"
#VIRTUAL-RUNTIME_base-utils = "packagegroup-core-base-utils"
#VIRTUAL-RUNTIME_base-utils-hwclock = "util-linux-hwclock"
#VIRTUAL-RUNTIME_base-utils-syslog = "syslog"
#
# Enable LTO system-wide
#
#require conf/distro/include/lto.inc
#DISTRO_FEATURES_append = " lto"
#
# Set PS1 for SDK
#
#SDK_PS1 ?= "${SDK_NAME}${SDK_VENDOR}:\$ "

View File

@@ -9,4 +9,4 @@ BBFILE_COLLECTIONS += "selftest"
BBFILE_PATTERN_selftest = "^${LAYERDIR}/"
BBFILE_PRIORITY_selftest = "5"
LAYERSERIES_COMPAT_selftest = "gatesgarth"
LAYERSERIES_COMPAT_selftest = "hardknott"

View File

@@ -19,4 +19,7 @@ tracing:x:519:
pulse:x:520:
bind:x:521:
builder:x:522:
_apt:x:523:
_apt:x:523:
weston-launch:x:524:
weston:x:525:
wayland:x:526:

View File

@@ -15,4 +15,5 @@ sshd:x:516:516::/:/bin/nologin
pulse:x:520:520::/:/bin/nologin
bind:x:521:521::/:/bin/nologin
builder:x:522:522::/:/bin/nologin
_apt:x:523:523::/:/bin/nologin
_apt:x:523:523::/:/bin/nologin
weston:x:525:525::/:/bin/nologin

View File

@@ -4,6 +4,7 @@
SUMMARY = "GNU Aspell spell-checker"
SECTION = "console/utils"
HOMEPAGE = "https://ftp.gnu.org/gnu/aspell/"
LICENSE = "LGPLv2 | LGPLv2.1"
LIC_FILES_CHKSUM = "file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34"

View File

@@ -1,4 +1,5 @@
SUMMARY = "Test recipe for fetching git submodules"
HOMEPAGE = "http://git.yoctoproject.org/cgit/cgit.cgi/git-submodule-test/"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"

View File

@@ -1,3 +1,3 @@
SUMMARY = "Recipe with an SPDX license"
DESCRIPTION = "Is licensed with an SPDX license to be used for testing"
LICENSE = "GPL-3.0"
LICENSE = "GPL-3.0-only"

View File

@@ -1,3 +1,3 @@
SUMMARY = "Recipe with multiple SPDX licenses"
DESCRIPTION = "Is licensed with multiple SPDX licenses to be used for testing"
LICENSE = "GPL-2.0 & GPL-3.0 & LGPL-3.0"
LICENSE = "GPL-2.0-only & GPL-3.0 & LGPL-3.0-only"

View File

@@ -0,0 +1,16 @@
SUMMARY = "Sysroot poisoning test"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
LICENSE = "MIT"
inherit nopackages
# This test confirms that compiling code that searches /usr/include for headers
# will result in compiler errors. This recipe should will fail to build and
# oe-selftest has a test that verifies that.
do_compile() {
touch empty.c
${CPP} ${CFLAGS} -I/usr/include empty.c
}
EXCLUDE_FROM_WORLD = "1"

View File

@@ -14,4 +14,4 @@ LAYERVERSION_skeleton = "1"
LAYERDEPENDS_skeleton = "core"
LAYERSERIES_COMPAT_skeleton = "gatesgarth"
LAYERSERIES_COMPAT_skeleton = "hardknott"

View File

@@ -1,5 +1,6 @@
SUMMARY = "Baremetal examples to work with the several QEMU architectures supported on OpenEmbedded"
HOMEPAGE = "https://github.com/aehs29/baremetal-helloqemu"
DESCRIPTION = "These are introductory examples to showcase the use of QEMU to run baremetal applications."
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=39346640a23c701e4f459e05f56f4449"

View File

@@ -1,4 +1,5 @@
SUMMARY = "Example of how to build an external Linux kernel module"
DESCRIPTION = "${SUMMARY}"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e"

View File

@@ -1,6 +1,6 @@
SUMMARY = "An example kernel recipe that uses the linux-yocto and oe-core"
# linux-yocto-custom.bb:
#
# An example kernel recipe that uses the linux-yocto and oe-core
# kernel classes to apply a subset of yocto kernel management to git
# managed kernel repositories.
#

View File

@@ -1,5 +1,4 @@
#
# An example of a multilib image
SUMMARY = "An example of a multilib image"
#
# This example includes a lib32 version of bash into an otherwise standard
# sato image. It assumes a "lib32" multilib has been enabled in the user's

View File

@@ -1,5 +1,6 @@
SUMMARY = "The canonical example of init scripts"
SECTION = "base"
DESCRIPTION = "This recipe is a canonical example of init scripts"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://${WORKDIR}/COPYRIGHT;md5=349c872e0066155e1818b786938876a4"

View File

@@ -9,4 +9,4 @@ BBFILE_COLLECTIONS += "yoctobsp"
BBFILE_PATTERN_yoctobsp = "^${LAYERDIR}/"
BBFILE_PRIORITY_yoctobsp = "5"
LAYERVERSION_yoctobsp = "4"
LAYERSERIES_COMPAT_yoctobsp = "gatesgarth"
LAYERSERIES_COMPAT_yoctobsp = "hardknott"

View File

@@ -9,7 +9,7 @@ XSERVER ?= "xserver-xorg \
MACHINE_EXTRA_RRECOMMENDS = "kernel-modules kernel-devicetree"
EXTRA_IMAGEDEPENDS += "u-boot"
EXTRA_IMAGEDEPENDS += "virtual/bootloader"
DEFAULTTUNE ?= "cortexa8hf-neon"
include conf/machine/include/tune-cortexa8.inc
@@ -18,7 +18,7 @@ IMAGE_FSTYPES += "tar.bz2 jffs2 wic wic.bmap"
EXTRA_IMAGECMD_jffs2 = "-lnp "
WKS_FILE ?= "beaglebone-yocto.wks"
IMAGE_INSTALL_append = " kernel-devicetree kernel-image-zimage"
do_image_wic[depends] += "mtools-native:do_populate_sysroot dosfstools-native:do_populate_sysroot u-boot:do_deploy"
do_image_wic[depends] += "mtools-native:do_populate_sysroot dosfstools-native:do_populate_sysroot virtual/bootloader:do_deploy"
SERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyO0 115200;ttyAMA0"
SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"

View File

@@ -1,7 +1,7 @@
SUMMARY = "Intel gma500_gfx fix for certain hardware"
DESCRIPTION = "Avoid inserting gma500_gfx module for certain hardware devices."
LICENSE="GPLv2"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0-only;md5=801f80980d171dd6425610833a22dbe6"
SRC_URI = "file://gma500-gfx-check.conf \
file://gma500-gfx-check.sh "

View File

@@ -7,17 +7,17 @@ KMACHINE_genericx86 ?= "common-pc"
KMACHINE_genericx86-64 ?= "common-pc-64"
KMACHINE_beaglebone-yocto ?= "beaglebone"
SRCREV_machine_genericx86 ?= "cdca78778415b4b3bd64e8390ee8adf04bf7e17a"
SRCREV_machine_genericx86-64 ?= "cdca78778415b4b3bd64e8390ee8adf04bf7e17a"
SRCREV_machine_edgerouter ?= "2e1fb8f84f09ca768eb531f33a126a40bb90e791"
SRCREV_machine_beaglebone-yocto ?= "cdca78778415b4b3bd64e8390ee8adf04bf7e17a"
SRCREV_machine_genericx86 ?= "8c516ced69f41563404ada0bea315a55bcf1df6f"
SRCREV_machine_genericx86-64 ?= "8c516ced69f41563404ada0bea315a55bcf1df6f"
SRCREV_machine_edgerouter ?= "965ab3ab746ae8a1158617b6302d9c218ffbbb66"
SRCREV_machine_beaglebone-yocto ?= "8c516ced69f41563404ada0bea315a55bcf1df6f"
COMPATIBLE_MACHINE_genericx86 = "genericx86"
COMPATIBLE_MACHINE_genericx86-64 = "genericx86-64"
COMPATIBLE_MACHINE_edgerouter = "edgerouter"
COMPATIBLE_MACHINE_beaglebone-yocto = "beaglebone-yocto"
LINUX_VERSION_genericx86 = "5.10.12"
LINUX_VERSION_genericx86-64 = "5.10.12"
LINUX_VERSION_edgerouter = "5.10.12"
LINUX_VERSION_beaglebone-yocto = "5.10.12"
LINUX_VERSION_genericx86 = "5.10.21"
LINUX_VERSION_genericx86-64 = "5.10.21"
LINUX_VERSION_edgerouter = "5.10.21"
LINUX_VERSION_beaglebone-yocto = "5.10.21"

View File

@@ -7,8 +7,8 @@ KMACHINE_genericx86 ?= "common-pc"
KMACHINE_genericx86-64 ?= "common-pc-64"
KMACHINE_beaglebone-yocto ?= "beaglebone"
SRCREV_machine_genericx86 ?= "292d752af8e4015e40e7c523641983bac543e2b4"
SRCREV_machine_genericx86-64 ?= "292d752af8e4015e40e7c523641983bac543e2b4"
SRCREV_machine_genericx86 ?= "31db2b47ac7d8508080fbb7344399b501216de66"
SRCREV_machine_genericx86-64 ?= "31db2b47ac7d8508080fbb7344399b501216de66"
SRCREV_machine_edgerouter ?= "706efec4c1e270ec5dda92275898cd465dfdc7dd"
SRCREV_machine_beaglebone-yocto ?= "706efec4c1e270ec5dda92275898cd465dfdc7dd"
@@ -17,7 +17,7 @@ COMPATIBLE_MACHINE_genericx86-64 = "genericx86-64"
COMPATIBLE_MACHINE_edgerouter = "edgerouter"
COMPATIBLE_MACHINE_beaglebone-yocto = "beaglebone-yocto"
LINUX_VERSION_genericx86 = "5.4.87"
LINUX_VERSION_genericx86-64 = "5.4.87"
LINUX_VERSION_genericx86 = "5.4.94"
LINUX_VERSION_genericx86-64 = "5.4.94"
LINUX_VERSION_edgerouter = "5.4.58"
LINUX_VERSION_beaglebone-yocto = "5.4.58"

View File

@@ -2,6 +2,6 @@
# long-description: Creates a partitioned SD card image for Beaglebone.
# Boot files are located in the first vfat partition.
part /boot --source bootimg-partition --ondisk mmcblk0 --fstype=vfat --label boot --active --align 4 --size 16 --sourceparams="loader=u-boot" --use-uuid
part /boot --source bootimg-partition --ondisk mmcblk0 --fstype=vfat --label boot --active --align 4 --fixed-size 32 --sourceparams="loader=u-boot" --use-uuid
part / --source rootfs --ondisk mmcblk0 --fstype=ext4 --label root --align 4 --use-uuid
bootloader --append="console=ttyS0,115200"

View File

@@ -56,7 +56,6 @@ python do_rootfs(){
# Assure binaries, manifest and qemubootconf are populated on DEPLOY_DIR_IMAGE
do_image_complete[dirs] = "${TOPDIR}"
do_image_complete[umask] = "022"
SSTATETASKS += "do_image_complete"
SSTATE_SKIP_CREATION_task-image-complete = '1'
do_image_complete[sstate-inputdirs] = "${IMGDEPLOYDIR}"

View File

@@ -506,15 +506,10 @@ python () {
# in order to capture permissions, owners, groups and special files
if not bb.data.inherits_class('native', d) and not bb.data.inherits_class('cross', d):
d.appendVarFlag('do_prepare_recipe_sysroot', 'depends', ' virtual/fakeroot-native:do_populate_sysroot')
d.setVarFlag('do_unpack', 'umask', '022')
d.setVarFlag('do_configure', 'umask', '022')
d.setVarFlag('do_compile', 'umask', '022')
d.appendVarFlag('do_install', 'depends', ' virtual/fakeroot-native:do_populate_sysroot')
d.setVarFlag('do_install', 'fakeroot', '1')
d.setVarFlag('do_install', 'umask', '022')
d.appendVarFlag('do_package', 'depends', ' virtual/fakeroot-native:do_populate_sysroot')
d.setVarFlag('do_package', 'fakeroot', '1')
d.setVarFlag('do_package', 'umask', '022')
d.setVarFlag('do_package_setscene', 'fakeroot', '1')
d.appendVarFlag('do_package_setscene', 'depends', ' virtual/fakeroot-native:do_populate_sysroot')
d.setVarFlag('do_devshell', 'fakeroot', '1')
@@ -598,6 +593,8 @@ python () {
srcuri = d.getVar('SRC_URI')
for uri_string in srcuri.split():
uri = bb.fetch.URI(uri_string)
# Also check downloadfilename as the URL path might not be useful for sniffing
path = uri.params.get("downloadfilename", uri.path)
# HTTP/FTP use the wget fetcher
if uri.scheme in ("http", "https", "ftp"):
@@ -631,27 +628,27 @@ python () {
d.appendVarFlag('do_fetch', 'depends', ' nodejs-native:do_populate_sysroot')
# *.lz4 should DEPEND on lz4-native for unpacking
if uri.path.endswith('.lz4'):
if path.endswith('.lz4'):
d.appendVarFlag('do_unpack', 'depends', ' lz4-native:do_populate_sysroot')
# *.lz should DEPEND on lzip-native for unpacking
elif uri.path.endswith('.lz'):
elif path.endswith('.lz'):
d.appendVarFlag('do_unpack', 'depends', ' lzip-native:do_populate_sysroot')
# *.xz should DEPEND on xz-native for unpacking
elif uri.path.endswith('.xz') or uri.path.endswith('.txz'):
elif path.endswith('.xz') or path.endswith('.txz'):
d.appendVarFlag('do_unpack', 'depends', ' xz-native:do_populate_sysroot')
# .zip should DEPEND on unzip-native for unpacking
elif uri.path.endswith('.zip') or uri.path.endswith('.jar'):
elif path.endswith('.zip') or path.endswith('.jar'):
d.appendVarFlag('do_unpack', 'depends', ' unzip-native:do_populate_sysroot')
# Some rpm files may be compressed internally using xz (for example, rpms from Fedora)
elif uri.path.endswith('.rpm'):
elif path.endswith('.rpm'):
d.appendVarFlag('do_unpack', 'depends', ' xz-native:do_populate_sysroot')
# *.deb should DEPEND on xz-native for unpacking
elif uri.path.endswith('.deb'):
elif path.endswith('.deb'):
d.appendVarFlag('do_unpack', 'depends', ' xz-native:do_populate_sysroot')
if needsrcrev:

View File

@@ -106,26 +106,54 @@ def write_task_data(status, logfile, e, d):
def write_host_data(logfile, e, d):
import subprocess, os, datetime
# minimum time allowed for each command to run, in seconds
time_threshold = 0.5
# the total number of commands
num_cmds = 0
# interval at which data will be logged
interval = int(d.getVar("BB_HEARTBEAT_EVENT", False))
# the commands to be run at each interval
cmds = d.getVar('BB_LOG_HOST_STAT_CMDS')
# if no commands are passed, issue a warning and return
if cmds is None:
d.setVar("BB_LOG_HOST_STAT_ON_INTERVAL", "0")
d.setVar("BB_LOG_HOST_STAT_ON_FAILURE", "0")
bb.warn("buildstats: Collecting host data failed. Set BB_LOG_HOST_STAT_CMDS=\"command1 ; command2 ; ... \" in conf\/local.conf\n")
bb.warn("buildstats: Collecting host data failed. Set BB_LOG_HOST_STAT_CMDS=\"command1 ; command2 ; ... \" in conf/local.conf\n")
return
# find the total commands
c_san = []
for cmd in cmds.split(";"):
if len(cmd) == 0:
continue
num_cmds += 1
c_san.append(cmd)
if num_cmds <= 0:
d.setVar("BB_LOG_HOST_STAT_ON_INTERVAL", "0")
d.setVar("BB_LOG_HOST_STAT_ON_FAILURE", "0")
return
# return if the interval is not enough to run all commands within the specified BB_HEARTBEAT_EVENT interval
limit = interval / num_cmds
if limit <= time_threshold:
d.setVar("BB_LOG_HOST_STAT_ON_INTERVAL", "0")
d.setVar("BB_LOG_HOST_STAT_ON_FAILURE", "0")
bb.warn("buildstats: Collecting host data failed. BB_HEARTBEAT_EVENT interval not enough to run the specified commands. HINT: Increase value of BB_HEARTBEAT_EVENT in conf/local.conf\n")
return
# set the environment variables
path = d.getVar("PATH")
opath = d.getVar("BB_ORIGENV", False).getVar("PATH")
ospath = os.environ['PATH']
os.environ['PATH'] = path + ":" + opath + ":" + ospath
with open(logfile, "a") as f:
f.write("Event Time: %f\nDate: %s\n" % (e.time, datetime.datetime.now()))
for cmd in cmds.split(";"):
if len(cmd) == 0:
continue
for c in c_san:
try:
output = subprocess.check_output(cmd.split(), stderr=subprocess.STDOUT, timeout=1).decode('utf-8')
output = subprocess.check_output(c.split(), stderr=subprocess.STDOUT, timeout=limit).decode('utf-8')
except (subprocess.CalledProcessError, subprocess.TimeoutExpired, FileNotFoundError) as err:
output = "Error running command: %s\n%s\n" % (cmd, err)
f.write("%s\n%s\n" % (cmd, output))
output = "Error running command: %s\n%s\n" % (c, err)
f.write("%s\n%s\n" % (c, output))
# reset the environment
os.environ['PATH'] = ospath
python run_buildstats () {

View File

@@ -81,6 +81,8 @@ def map_host_os_to_system_name(host_os):
def map_host_arch_to_uname_arch(host_arch):
if host_arch == "powerpc":
return "ppc"
if host_arch == "powerpc64le":
return "ppc64le"
if host_arch == "powerpc64":
return "ppc64"
return host_arch
@@ -100,7 +102,8 @@ set( CMAKE_CXX_COMPILER ${OECMAKE_CXX_COMPILER} )
set( CMAKE_C_COMPILER_LAUNCHER ${OECMAKE_C_COMPILER_LAUNCHER} )
set( CMAKE_CXX_COMPILER_LAUNCHER ${OECMAKE_CXX_COMPILER_LAUNCHER} )
set( CMAKE_ASM_COMPILER ${OECMAKE_C_COMPILER} )
set( CMAKE_AR ${OECMAKE_AR} CACHE FILEPATH "Archiver" )
find_program( CMAKE_AR ${OECMAKE_AR} DOC "Archiver" REQUIRED )
set( CMAKE_C_FLAGS "${OECMAKE_C_FLAGS}" CACHE STRING "CFLAGS" )
set( CMAKE_CXX_FLAGS "${OECMAKE_CXX_FLAGS}" CACHE STRING "CXXFLAGS" )
set( CMAKE_ASM_FLAGS "${OECMAKE_C_FLAGS}" CACHE STRING "ASM FLAGS" )
@@ -187,6 +190,7 @@ cmake_do_configure() {
-DCMAKE_INSTALL_SO_NO_EXE=0 \
-DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \
-DCMAKE_NO_SYSTEM_FROM_IMPORTED=1 \
-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON \
${EXTRA_OECMAKE} \
-Wno-dev
}

View File

@@ -9,6 +9,7 @@
#
# Available IMAGE_FEATURES:
#
# - weston - Weston Wayland compositor
# - x11 - X server
# - x11-base - X server with minimal environment
# - x11-sato - OpenedHand Sato environment
@@ -37,6 +38,7 @@
# - stateless-rootfs - systemctl-native not run, image populated by systemd at runtime
# - splash - bootup splash screen
#
FEATURE_PACKAGES_weston = "packagegroup-core-weston"
FEATURE_PACKAGES_x11 = "packagegroup-core-x11"
FEATURE_PACKAGES_x11-base = "packagegroup-core-x11-base"
FEATURE_PACKAGES_x11-sato = "packagegroup-core-x11-sato"

View File

@@ -18,7 +18,7 @@ SECTION ?= "bsp"
# device trees built with them are at least GPLv2 (and in some cases dual
# licensed). Default to GPLv2 if the recipe does not specify a license.
LICENSE ?= "GPLv2"
LIC_FILES_CHKSUM ?= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
LIC_FILES_CHKSUM ?= "file://${COMMON_LICENSE_DIR}/GPL-2.0-only;md5=801f80980d171dd6425610833a22dbe6"
INHIBIT_DEFAULT_DEPS = "1"
DEPENDS += "dtc-native"

View File

@@ -128,6 +128,7 @@ def devpyshell(d):
more = i.runsource(source, "<pyshell>")
if not more:
buf = []
sys.stderr.flush()
prompt(more)
except KeyboardInterrupt:
i.write("\nKeyboardInterrupt\n")

View File

@@ -1,4 +1,5 @@
DEPENDS += "${@["${PYTHON_PN}-native ${PYTHON_PN}", ""][(d.getVar('PACKAGES') == '')]}"
DEPENDS_append_class-target = " ${PYTHON_PN}-native ${PYTHON_PN}"
DEPENDS_append_class-nativesdk = " ${PYTHON_PN}-native ${PYTHON_PN}"
RDEPENDS_${PN} += "${@['', '${PYTHON_PN}-core']['${CLASSOVERRIDE}' == 'class-target']}"
inherit distutils-common-base python3native python3targetconfig

View File

@@ -68,6 +68,7 @@ python () {
url_data = fetch.ud[url]
parm = url_data.parm
if (url_data.type == 'file' or
url_data.type == 'npmsw' or
'type' in parm and parm['type'] == 'kmeta'):
local_srcuri.append(url)
@@ -216,14 +217,16 @@ def srctree_hash_files(d, srcdir=None):
env['GIT_INDEX_FILE'] = tmp_index.name
subprocess.check_output(['git', 'add', '-A', '.'], cwd=s_dir, env=env)
git_sha1 = subprocess.check_output(['git', 'write-tree'], cwd=s_dir, env=env).decode("utf-8")
submodule_helper = subprocess.check_output(['git', 'submodule--helper', 'list'], cwd=s_dir, env=env).decode("utf-8")
submodule_helper = subprocess.check_output(['git', 'submodule', 'status'], cwd=s_dir, env=env).decode("utf-8")
for line in submodule_helper.splitlines():
module_dir = os.path.join(s_dir, line.rsplit(maxsplit=1)[1])
proc = subprocess.Popen(['git', 'add', '-A', '.'], cwd=module_dir, env=env, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
proc.communicate()
proc = subprocess.Popen(['git', 'write-tree'], cwd=module_dir, env=env, stdout=subprocess.PIPE, stderr=subprocess.DEVNULL)
stdout, _ = proc.communicate()
git_sha1 += stdout.decode("utf-8")
module_relpath = line.split()[1]
if not module_relpath.split('/')[0] == '..':
module_dir = os.path.join(s_dir, module_relpath)
proc = subprocess.Popen(['git', 'add', '-A', '.'], cwd=module_dir, env=env, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
proc.communicate()
proc = subprocess.Popen(['git', 'write-tree'], cwd=module_dir, env=env, stdout=subprocess.PIPE, stderr=subprocess.DEVNULL)
stdout, _ = proc.communicate()
git_sha1 += stdout.decode("utf-8")
sha1 = hashlib.sha1(git_sha1.encode("utf-8")).hexdigest()
with open(oe_hash_file, 'w') as fobj:
fobj.write(sha1)

View File

@@ -54,7 +54,6 @@ GOTOOLDIR_class-native = "${STAGING_LIBDIR_NATIVE}/go/pkg/tool/${BUILD_GOTUPLE}"
export GOTOOLDIR
export CGO_ENABLED ?= "1"
export CGO_ENABLED_riscv64 = "0"
export CGO_CFLAGS ?= "${CFLAGS}"
export CGO_CPPFLAGS ?= "${CPPFLAGS}"
export CGO_CXXFLAGS ?= "${CXXFLAGS}"
@@ -147,10 +146,10 @@ FILES_${PN}-staticdev = "${libdir}/go/pkg"
INSANE_SKIP_${PN} += "ldflags"
# Add -buildmode=pie to GOBUILDFLAGS to satisfy "textrel" QA checking, but mips
# doesn't support -buildmode=pie, so skip the QA checking for mips and its
# doesn't support -buildmode=pie, so skip the QA checking for mips/rv32 and its
# variants.
python() {
if 'mips' in d.getVar('TARGET_ARCH') or 'riscv' in d.getVar('TARGET_ARCH'):
if 'mips' in d.getVar('TARGET_ARCH') or 'riscv32' in d.getVar('TARGET_ARCH'):
d.appendVar('INSANE_SKIP_%s' % d.getVar('PN'), " textrel")
else:
d.appendVar('GOBUILDFLAGS', ' -buildmode=pie')

View File

@@ -47,7 +47,6 @@ COMPATIBLE_HOST_linux-gnux32 = "null"
COMPATIBLE_HOST_linux-muslx32 = "null"
COMPATIBLE_HOST_powerpc = "null"
COMPATIBLE_HOST_powerpc64 = "null"
COMPATIBLE_HOST_powerpc64le = "null"
COMPATIBLE_HOST_mipsarchn32 = "null"
ARM_INSTRUCTION_SET_armv4 = "arm"
@@ -79,10 +78,10 @@ def go_map_arch(a, d):
return 'mips'
elif a == 'mipsel':
return 'mipsle'
elif re.match('p(pc|owerpc)(64le)', a):
return 'ppc64le'
elif re.match('p(pc|owerpc)(64)', a):
return 'ppc64'
elif re.match('p(pc|owerpc)(64el)', a):
return 'ppc64le'
elif a == 'riscv64':
return 'riscv64'
else:
@@ -99,7 +98,7 @@ def go_map_386(a, f, d):
if ('core2' in f) or ('corei7' in f):
return 'sse2'
else:
return '387'
return 'softfloat'
return ''
def go_map_mips(a, f, d):
@@ -115,5 +114,3 @@ def go_map_os(o, d):
if o.startswith('linux'):
return 'linux'
return o

View File

@@ -1,8 +0,0 @@
DEPENDS_append = " go-dep-native"
do_compile_prepend() {
rm -f ${WORKDIR}/build/src/${GO_IMPORT}/Gopkg.toml
rm -f ${WORKDIR}/build/src/${GO_IMPORT}/Gopkg.lock
( cd ${WORKDIR}/build/src/${GO_IMPORT} && dep init && dep ensure )
}

View File

@@ -180,6 +180,8 @@ IMAGE_LOCALES_ARCHIVE ?= '1'
# aren't yet available.
PSEUDO_PASSWD = "${IMAGE_ROOTFS}:${STAGING_DIR_NATIVE}"
PSEUDO_IGNORE_PATHS .= ",${WORKDIR}/intercept_scripts,${WORKDIR}/oe-rootfs-repo,${WORKDIR}/sstate-build-image_complete"
PACKAGE_EXCLUDE ??= ""
PACKAGE_EXCLUDE[type] = "list"
@@ -248,7 +250,6 @@ fakeroot python do_rootfs () {
}
do_rootfs[dirs] = "${TOPDIR}"
do_rootfs[cleandirs] += "${S} ${IMGDEPLOYDIR}"
do_rootfs[umask] = "022"
do_rootfs[file-checksums] += "${POSTINST_INTERCEPT_CHECKSUMS}"
addtask rootfs after do_prepare_recipe_sysroot
@@ -261,7 +262,6 @@ fakeroot python do_image () {
execute_pre_post_process(d, pre_process_cmds)
}
do_image[dirs] = "${TOPDIR}"
do_image[umask] = "022"
addtask do_image after do_rootfs
fakeroot python do_image_complete () {
@@ -272,7 +272,6 @@ fakeroot python do_image_complete () {
execute_pre_post_process(d, post_process_cmds)
}
do_image_complete[dirs] = "${TOPDIR}"
do_image_complete[umask] = "022"
SSTATETASKS += "do_image_complete"
SSTATE_SKIP_CREATION_task-image-complete = '1'
do_image_complete[sstate-inputdirs] = "${IMGDEPLOYDIR}"
@@ -613,7 +612,7 @@ deltask do_populate_lic
deltask do_populate_sysroot
do_package[noexec] = "1"
deltask do_package_qa
do_packagedata[noexec] = "1"
deltask do_packagedata
deltask do_package_write_ipk
deltask do_package_write_deb
deltask do_package_write_rpm

View File

@@ -1014,26 +1014,6 @@ python do_package_qa () {
logdir = d.getVar('T')
pn = d.getVar('PN')
# Check the compile log for host contamination
compilelog = os.path.join(logdir,"log.do_compile")
if os.path.exists(compilelog):
statement = "grep -e 'CROSS COMPILE Badness:' -e 'is unsafe for cross-compilation' %s > /dev/null" % compilelog
if subprocess.call(statement, shell=True) == 0:
msg = "%s: The compile log indicates that host include and/or library paths were used.\n \
Please check the log '%s' for more information." % (pn, compilelog)
package_qa_handle_error("compile-host-path", msg, d)
# Check the install log for host contamination
installlog = os.path.join(logdir,"log.do_install")
if os.path.exists(installlog):
statement = "grep -e 'CROSS COMPILE Badness:' -e 'is unsafe for cross-compilation' %s > /dev/null" % installlog
if subprocess.call(statement, shell=True) == 0:
msg = "%s: The install log indicates that host include and/or library paths were used.\n \
Please check the log '%s' for more information." % (pn, installlog)
package_qa_handle_error("install-host-path", msg, d)
# Scan the packages...
pkgdest = d.getVar('PKGDEST')
packages = set((d.getVar('PACKAGES') or '').split())
@@ -1212,7 +1192,7 @@ python do_qa_configure() {
if bb.data.inherits_class('autotools', d) and not skip_configure_unsafe:
bb.note("Checking autotools environment for common misconfiguration")
for root, dirs, files in os.walk(workdir):
statement = "grep -q -F -e 'CROSS COMPILE Badness:' -e 'is unsafe for cross-compilation' %s" % \
statement = "grep -q -F -e 'is unsafe for cross-compilation' %s" % \
os.path.join(root,"config.log")
if "config.log" in files:
if subprocess.call(statement, shell=True) == 0:

View File

@@ -161,7 +161,7 @@ fitimage_emit_section_kernel() {
fi
cat << EOF >> ${1}
kernel@${2} {
kernel-${2} {
description = "Linux kernel";
data = /incbin/("${3}");
type = "kernel";
@@ -170,7 +170,7 @@ fitimage_emit_section_kernel() {
compression = "${4}";
load = <${UBOOT_LOADADDRESS}>;
entry = <${ENTRYPOINT}>;
hash@1 {
hash-1 {
algo = "${kernel_csum}";
};
};
@@ -179,7 +179,7 @@ EOF
if [ "${UBOOT_SIGN_ENABLE}" = "1" -a "${FIT_SIGN_INDIVIDUAL}" = "1" -a -n "${kernel_sign_keyname}" ] ; then
sed -i '$ d' ${1}
cat << EOF >> ${1}
signature@1 {
signature-1 {
algo = "${kernel_csum},${kernel_sign_algo}";
key-name-hint = "${kernel_sign_keyname}";
};
@@ -210,14 +210,14 @@ fitimage_emit_section_dtb() {
dtb_loadline="load = <${UBOOT_DTB_LOADADDRESS}>;"
fi
cat << EOF >> ${1}
fdt@${2} {
fdt-${2} {
description = "Flattened Device Tree blob";
data = /incbin/("${3}");
type = "flat_dt";
arch = "${UBOOT_ARCH}";
compression = "none";
${dtb_loadline}
hash@1 {
hash-1 {
algo = "${dtb_csum}";
};
};
@@ -226,7 +226,7 @@ EOF
if [ "${UBOOT_SIGN_ENABLE}" = "1" -a "${FIT_SIGN_INDIVIDUAL}" = "1" -a -n "${dtb_sign_keyname}" ] ; then
sed -i '$ d' ${1}
cat << EOF >> ${1}
signature@1 {
signature-1 {
algo = "${dtb_csum},${dtb_sign_algo}";
key-name-hint = "${dtb_sign_keyname}";
};
@@ -283,7 +283,7 @@ fitimage_emit_section_setup() {
setup_csum="${FIT_HASH_ALG}"
cat << EOF >> ${1}
setup@${2} {
setup-${2} {
description = "Linux setup.bin";
data = /incbin/("${3}");
type = "x86_setup";
@@ -292,7 +292,7 @@ fitimage_emit_section_setup() {
compression = "none";
load = <0x00090000>;
entry = <0x00090000>;
hash@1 {
hash-1 {
algo = "${setup_csum}";
};
};
@@ -321,7 +321,7 @@ fitimage_emit_section_ramdisk() {
fi
cat << EOF >> ${1}
ramdisk@${2} {
ramdisk-${2} {
description = "${INITRAMFS_IMAGE}";
data = /incbin/("${3}");
type = "ramdisk";
@@ -330,7 +330,7 @@ fitimage_emit_section_ramdisk() {
compression = "none";
${ramdisk_loadline}
${ramdisk_entryline}
hash@1 {
hash-1 {
algo = "${ramdisk_csum}";
};
};
@@ -339,7 +339,7 @@ EOF
if [ "${UBOOT_SIGN_ENABLE}" = "1" -a "${FIT_SIGN_INDIVIDUAL}" = "1" -a -n "${ramdisk_sign_keyname}" ] ; then
sed -i '$ d' ${1}
cat << EOF >> ${1}
signature@1 {
signature-1 {
algo = "${ramdisk_csum},${ramdisk_sign_algo}";
key-name-hint = "${ramdisk_sign_keyname}";
};
@@ -377,7 +377,7 @@ fitimage_emit_section_config() {
# Test if we have any DTBs at all
sep=""
conf_desc=""
conf_node="conf@"
conf_node="conf-"
kernel_line=""
fdt_line=""
ramdisk_line=""
@@ -396,19 +396,19 @@ fitimage_emit_section_config() {
if [ -n "${kernel_id}" ]; then
conf_desc="Linux kernel"
sep=", "
kernel_line="kernel = \"kernel@${kernel_id}\";"
kernel_line="kernel = \"kernel-${kernel_id}\";"
fi
if [ -n "${dtb_image}" ]; then
conf_desc="${conf_desc}${sep}FDT blob"
sep=", "
fdt_line="fdt = \"fdt@${dtb_image}\";"
fdt_line="fdt = \"fdt-${dtb_image}\";"
fi
if [ -n "${ramdisk_id}" ]; then
conf_desc="${conf_desc}${sep}ramdisk"
sep=", "
ramdisk_line="ramdisk = \"ramdisk@${ramdisk_id}\";"
ramdisk_line="ramdisk = \"ramdisk-${ramdisk_id}\";"
fi
if [ -n "${bootscr_id}" ]; then
@@ -419,16 +419,16 @@ fitimage_emit_section_config() {
if [ -n "${config_id}" ]; then
conf_desc="${conf_desc}${sep}setup"
setup_line="setup = \"setup@${config_id}\";"
setup_line="setup = \"setup-${config_id}\";"
fi
if [ "${default_flag}" = "1" ]; then
# default node is selected based on dtb ID if it is present,
# otherwise its selected based on kernel ID
if [ -n "${dtb_image}" ]; then
default_line="default = \"conf@${dtb_image}\";"
default_line="default = \"conf-${dtb_image}\";"
else
default_line="default = \"conf@${kernel_id}\";"
default_line="default = \"conf-${kernel_id}\";"
fi
fi
@@ -441,7 +441,7 @@ fitimage_emit_section_config() {
${ramdisk_line}
${bootscr_line}
${setup_line}
hash@1 {
hash-1 {
algo = "${conf_csum}";
};
EOF
@@ -478,7 +478,7 @@ EOF
sign_line="${sign_line};"
cat << EOF >> ${its_file}
signature@1 {
signature-1 {
algo = "${conf_csum},${conf_sign_algo}";
key-name-hint = "${conf_sign_keyname}";
${sign_line}
@@ -535,13 +535,19 @@ fitimage_assemble() {
# Step 2: Prepare a DTB image section
#
if [ -z "${EXTERNAL_KERNEL_DEVICETREE}" ] && [ -n "${KERNEL_DEVICETREE}" ]; then
if [ -n "${KERNEL_DEVICETREE}" ]; then
dtbcount=1
for DTB in ${KERNEL_DEVICETREE}; do
if echo ${DTB} | grep -q '/dts/'; then
bbwarn "${DTB} contains the full path to the the dts file, but only the dtb name should be used."
DTB=`basename ${DTB} | sed 's,\.dts$,.dtb,g'`
fi
# Skip ${DTB} if it's also provided in ${EXTERNAL_KERNEL_DEVICETREE}
if [ -n "${EXTERNAL_KERNEL_DEVICETREE}" ] && [ -s ${EXTERNAL_KERNEL_DEVICETREE}/${DTB} ]; then
continue
fi
DTB_PATH="arch/${ARCH}/boot/dts/${DTB}"
if [ ! -e "${DTB_PATH}" ]; then
DTB_PATH="arch/${ARCH}/boot/${DTB}"
@@ -626,7 +632,7 @@ fitimage_assemble() {
for DTB in ${DTBS}; do
dtb_ext=${DTB##*.}
if [ "${dtb_ext}" = "dtbo" ]; then
fitimage_emit_section_config ${1} "" "${DTB}" "" "" "`expr ${i} = ${dtbcount}`"
fitimage_emit_section_config ${1} "" "${DTB}" "" "${bootscr_id}" "" "`expr ${i} = ${dtbcount}`"
else
fitimage_emit_section_config ${1} "${kernelcount}" "${DTB}" "${ramdiskcount}" "${bootscr_id}" "${setupcount}" "`expr ${i} = ${dtbcount}`"
fi
@@ -769,4 +775,4 @@ python () {
bb.build.deltask('do_assemble_fitimage', d)
bb.build.deltask('generate_rsa_keys', d)
bb.build.addtask('generate_rsa_keys', 'do_assemble_fitimage_initramfs', 'do_bundle_initramfs', d)
}
}

View File

@@ -252,16 +252,9 @@ def return_spdx(d, license):
def canonical_license(d, license):
"""
Return the canonical (SPDX) form of the license if available (so GPLv3
becomes GPL-3.0), for the license named 'X+', return canonical form of
'X' if available and the tailing '+' (so GPLv3+ becomes GPL-3.0+),
or the passed license if there is no canonical form.
becomes GPL-3.0) or the passed license if there is no canonical form.
"""
lic = d.getVarFlag('SPDXLICENSEMAP', license) or ""
if not lic and license.endswith('+'):
lic = d.getVarFlag('SPDXLICENSEMAP', license.rstrip('+'))
if lic:
lic += '+'
return lic or license
return d.getVarFlag('SPDXLICENSEMAP', license) or license
def available_licenses(d):
"""
@@ -288,11 +281,16 @@ def expand_wildcard_licenses(d, wildcard_licenses):
wildcards from SPDXLICENSEMAP flags and AVAILABLE_LICENSES.
"""
import fnmatch
licenses = wildcard_licenses[:]
spdxmapkeys = d.getVarFlags('SPDXLICENSEMAP').keys()
for wld_lic in wildcard_licenses:
spdxflags = fnmatch.filter(spdxmapkeys, wld_lic)
licenses += [d.getVarFlag('SPDXLICENSEMAP', flag) for flag in spdxflags]
# Assume if we're passed "GPLv3" or "*GPLv3" it means -or-later as well
if not wld_lic.endswith(("-or-later", "-only", "*", "+")):
spdxflags = fnmatch.filter(spdxmapkeys, wld_lic + "+")
licenses += [d.getVarFlag('SPDXLICENSEMAP', flag) for flag in spdxflags]
spdx_lics = d.getVar('AVAILABLE_LICENSES').split()
for wld_lic in wildcard_licenses:

View File

@@ -40,7 +40,6 @@ def write_license_files(d, license_manifest, pkg_dic, rootfs=True):
import stat
bad_licenses = (d.getVar("INCOMPATIBLE_LICENSE") or "").split()
bad_licenses = [canonical_license(d, l) for l in bad_licenses]
bad_licenses = expand_wildcard_licenses(d, bad_licenses)
whitelist = []

View File

@@ -0,0 +1,26 @@
python __anonymous () {
if d.getVar('PREFERRED_PROVIDER_virtual/kernel') == 'linux-dummy':
# copy part codes from kernel.bbclass
kname = d.getVar('KERNEL_PACKAGE_NAME') or "kernel"
# set an empty package of kernel-devicetree
d.appendVar('PACKAGES', ' %s-devicetree' % kname)
d.setVar('ALLOW_EMPTY_%s-devicetree' % kname, '1')
# Merge KERNEL_IMAGETYPE and KERNEL_ALT_IMAGETYPE into KERNEL_IMAGETYPES
type = d.getVar('KERNEL_IMAGETYPE') or ""
alttype = d.getVar('KERNEL_ALT_IMAGETYPE') or ""
types = d.getVar('KERNEL_IMAGETYPES') or ""
if type not in types.split():
types = (type + ' ' + types).strip()
if alttype not in types.split():
types = (alttype + ' ' + types).strip()
# set empty packages of kernel-image-*
for type in types.split():
typelower = type.lower()
d.appendVar('PACKAGES', ' %s-image-%s' % (kname, typelower))
d.setVar('ALLOW_EMPTY_%s-image-%s' % (kname, typelower), '1')
}

View File

@@ -9,8 +9,8 @@ def get_musl_loader_arch(d):
ldso_arch = "mips${ABIEXTENSION}${MIPSPKGSFX_BYTE}${MIPSPKGSFX_R6}${MIPSPKGSFX_ENDIAN}${@['', '-sf'][d.getVar('TARGET_FPU') == 'soft']}"
elif targetarch == "powerpc":
ldso_arch = "powerpc${@['', '-sf'][d.getVar('TARGET_FPU') == 'soft']}"
elif targetarch == "powerpc64":
ldso_arch = "powerpc64"
elif targetarch.startswith("powerpc64"):
ldso_arch = "powerpc64${@bb.utils.contains('TUNE_FEATURES', 'bigendian', '', 'le', d)}"
elif targetarch == "x86_64":
ldso_arch = "x86_64"
elif re.search("i.86", targetarch):

View File

@@ -99,6 +99,8 @@ readelf = ${@meson_array('READELF', d)}
pkgconfig = 'pkg-config'
llvm-config = 'llvm-config${LLVMVERSION}'
cups-config = 'cups-config'
g-ir-scanner = '${STAGING_BINDIR}/g-ir-scanner-wrapper'
g-ir-compiler = '${STAGING_BINDIR}/g-ir-compiler-wrapper'
[properties]
needs_exe_wrapper = true

View File

@@ -1,8 +1,3 @@
METADATA_BRANCH ?= "${@base_detect_branch(d)}"
METADATA_BRANCH[vardepvalue] = "${METADATA_BRANCH}"
METADATA_REVISION ?= "${@base_detect_revision(d)}"
METADATA_REVISION[vardepvalue] = "${METADATA_REVISION}"
def base_detect_revision(d):
path = base_get_scmbasepath(d)
return base_get_metadata_git_revision(path, d)
@@ -42,3 +37,8 @@ def base_get_metadata_git_revision(path, d):
except bb.process.ExecutionError:
rev = '<unknown>'
return rev.strip()
METADATA_BRANCH := "${@base_detect_branch(d)}"
METADATA_BRANCH[vardepvalue] = "${METADATA_BRANCH}"
METADATA_REVISION := "${@base_detect_revision(d)}"
METADATA_REVISION[vardepvalue] = "${METADATA_REVISION}"

View File

@@ -1,6 +1,7 @@
def preferred_ml_updates(d):
# If any PREFERRED_PROVIDER or PREFERRED_VERSION are set,
# we need to mirror these variables in the multilib case;
# If any of PREFERRED_PROVIDER, PREFERRED_RPROVIDER, REQUIRED_VERSION
# or PREFERRED_VERSION are set, we need to mirror these variables in
# the multilib case;
multilibs = d.getVar('MULTILIBS') or ""
if not multilibs:
return
@@ -11,43 +12,51 @@ def preferred_ml_updates(d):
if len(eext) > 1 and eext[0] == 'multilib':
prefixes.append(eext[1])
versions = []
required_versions = []
preferred_versions = []
providers = []
rproviders = []
for v in d.keys():
if v.startswith("REQUIRED_VERSION_"):
required_versions.append(v)
if v.startswith("PREFERRED_VERSION_"):
versions.append(v)
preferred_versions.append(v)
if v.startswith("PREFERRED_PROVIDER_"):
providers.append(v)
if v.startswith("PREFERRED_RPROVIDER_"):
rproviders.append(v)
for v in versions:
val = d.getVar(v, False)
pkg = v.replace("PREFERRED_VERSION_", "")
if pkg.endswith("-native") or "-crosssdk-" in pkg or pkg.startswith(("nativesdk-", "virtual/nativesdk-")):
continue
if '-cross-' in pkg and '${' in pkg:
def sort_versions(versions, keyword):
version_str = "_".join([keyword, "VERSION", ""])
for v in versions:
val = d.getVar(v, False)
pkg = v.replace(version_str, "")
if pkg.endswith("-native") or "-crosssdk-" in pkg or pkg.startswith(("nativesdk-", "virtual/nativesdk-")):
continue
if '-cross-' in pkg and '${' in pkg:
for p in prefixes:
localdata = bb.data.createCopy(d)
override = ":virtclass-multilib-" + p
localdata.setVar("OVERRIDES", localdata.getVar("OVERRIDES", False) + override)
if "-canadian-" in pkg:
newname = localdata.expand(v)
else:
newname = localdata.expand(v).replace(version_str, version_str + p + '-')
if newname != v:
newval = localdata.expand(val)
d.setVar(newname, newval)
# Avoid future variable key expansion
vexp = d.expand(v)
if v != vexp and d.getVar(v, False):
d.renameVar(v, vexp)
continue
for p in prefixes:
localdata = bb.data.createCopy(d)
override = ":virtclass-multilib-" + p
localdata.setVar("OVERRIDES", localdata.getVar("OVERRIDES", False) + override)
if "-canadian-" in pkg:
newname = localdata.expand(v)
else:
newname = localdata.expand(v).replace("PREFERRED_VERSION_", "PREFERRED_VERSION_" + p + '-')
if newname != v:
newval = localdata.expand(val)
d.setVar(newname, newval)
# Avoid future variable key expansion
vexp = d.expand(v)
if v != vexp and d.getVar(v, False):
d.renameVar(v, vexp)
continue
for p in prefixes:
newname = "PREFERRED_VERSION_" + p + "-" + pkg
if not d.getVar(newname, False):
d.setVar(newname, val)
newname = version_str + p + "-" + pkg
if not d.getVar(newname, False):
d.setVar(newname, val)
sort_versions(required_versions, "REQUIRED")
sort_versions(preferred_versions, "PREFERRED")
for prov in providers:
val = d.getVar(prov, False)

View File

@@ -1710,7 +1710,7 @@ if [ x"$D" = "x" ]; then
fi
}
RPMDEPS = "${STAGING_LIBDIR_NATIVE}/rpm/rpmdeps --alldeps"
RPMDEPS = "${STAGING_LIBDIR_NATIVE}/rpm/rpmdeps --alldeps --define '__font_provides %{nil}'"
# Collect perfile run-time dependency metadata
# Output:

View File

@@ -314,7 +314,6 @@ python do_package_write_deb () {
}
do_package_write_deb[dirs] = "${PKGWRITEDIRDEB}"
do_package_write_deb[cleandirs] = "${PKGWRITEDIRDEB}"
do_package_write_deb[umask] = "022"
do_package_write_deb[depends] += "${@oe.utils.build_depends_string(d.getVar('PACKAGE_WRITE_DEPS'), 'do_populate_sysroot')}"
addtask package_write_deb after do_packagedata do_package

View File

@@ -273,7 +273,6 @@ python do_package_write_ipk () {
}
do_package_write_ipk[dirs] = "${PKGWRITEDIRIPK}"
do_package_write_ipk[cleandirs] = "${PKGWRITEDIRIPK}"
do_package_write_ipk[umask] = "022"
do_package_write_ipk[depends] += "${@oe.utils.build_depends_string(d.getVar('PACKAGE_WRITE_DEPS'), 'do_populate_sysroot')}"
addtask package_write_ipk after do_packagedata do_package

View File

@@ -687,7 +687,9 @@ python do_package_rpm () {
cmd = cmd + " --define '_binary_payload w6T.xzdio'"
cmd = cmd + " --define '_source_payload w6T.xzdio'"
cmd = cmd + " --define 'clamp_mtime_to_source_date_epoch 1'"
cmd = cmd + " --define 'use_source_date_epoch_as_buildtime 1'"
cmd = cmd + " --define '_buildhost reproducible'"
cmd = cmd + " --define '__font_provides %{nil}'"
if perfiledeps:
cmd = cmd + " --define '__find_requires " + outdepends + "'"
cmd = cmd + " --define '__find_provides " + outprovides + "'"
@@ -745,7 +747,6 @@ python do_package_write_rpm () {
do_package_write_rpm[dirs] = "${PKGWRITEDIRRPM}"
do_package_write_rpm[cleandirs] = "${PKGWRITEDIRRPM}"
do_package_write_rpm[umask] = "022"
do_package_write_rpm[depends] += "${@oe.utils.build_depends_string(d.getVar('PACKAGE_WRITE_DEPS'), 'do_populate_sysroot')}"
addtask package_write_rpm after do_packagedata do_package

Some files were not shown because too many files have changed in this diff Show More