This reverts commit c4b8440f730c33eaf9f818b856ae81b2f1017fec.
The logic in this change is flawed and needs to be re-thought.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We're seeing huge slowdowns on large builds on the autobuilder. A qemux86 world
build was running really slowly, a primary feature was lots of rehashing going on
due to an sstate change which caused a rebuild when all output should be identical.
This was traced to the hundreds of thousands of calls to get_unihash() from
get_taskash(). If we simplify the unitaskhashes data structure, we can bypass
the function call and access the data directly. In local profile charts,
this significanly sped up process_possible_migrations(), both on profiles
and visually.
Whilst this change doesn't aid readability, it does solve an otherwise
huge performance issue.
(Bitbake rev: c4b8440f730c33eaf9f818b856ae81b2f1017fec)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Batch all updates to scenequeue data together in a single invocation
instead of checking each task serially. This allows the checks for
sstate object to happen in parallel, and also makes sure the log
statement only happens once (per set of rehashes).
(Bitbake rev: db033a8f8a276d864bdb2e1eef159ab5794a0658)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This avoids a directory not present error.
Fix a comment typo whilst here.
(From OE-Core rev: 1360d8d7d99b70a80c8cdbc1fc6d9e6752483139)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The previous patches meant the mkdir might no longer match the final target
directory. Fix this.
(From OE-Core rev: 0af4dae84099e8632a9ea6a4afdbea2f232bb170)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
STATE_PKG may have been changed by sstate_report_unihash so don't
cache the variable's value.
(From OE-Core rev: be29a25400c4ea285ab3f588c5831f00ba5d4f63)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This reverts commit dad8cd50bcc4203a65d153dc2445502c1e728975.
It is causing performance problems in ptest, taking hours (~18) to parse the ptest runner logs.
Log output increased from ~4MB to ~65MB. Revert until we can deal with the performance issue.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Its rather antisocial to overwrite SSTATE_PKG with an expanded form for the variable
and it stops the value of BB_UNIHASH being changed when the package is written out.
Instead of expanding the variable, append to it instead to avoid this rather
hard to figure out behaviour and allow the siggen code to behave as expected.
(From OE-Core rev: 62eca02024b4c44d618ab9bcf87a3166c886dadb)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Its possible the new unihash may not exist in sstate. Currently the code
would create an sstate object with the old hash however this updates it to
create the object with the new unihash.
(Bitbake rev: abcaa1398031fa5338a43859c661e6d4a9ce863d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Switch to recently released version 1.1 of NVD CVE JSON feed, as in
https://nvd.nist.gov/General/News/JSON-1-1-Vulnerability-Feed-Release
it is mentioned that
Due to changes required to support CVSS v3.1 scoring, the JSON
vulnerability feeds must be modified. This will require the consumers
of this data to update their internal processes. We will be providing
the JSON 1.1 schema on the data feeds page and the information below
to prepare for this transition.
...
The JSON 1.1 data feeds will be available on September 9th, 2019. At
that time the current JSON 1.0 data feeds will no longer available.
This change was tested briefly by issuing 'bitbake core-image-minimal'
with 'cve-check.bbclass' inherited via local.conf, and then comparing
the content between the resulting two
'DEPLOY_DIR_IMAGE/core-image-minimal-qemux86.cve' files, which did not
seem to contain any other change, except total of 167 entries like
CVSS v3 BASE SCORE: 0.0
were replaced with similar 'CVSS v3 BASE SCORE:' entries which had
scores that were greater than '0.0' (up to '9.8').
(From OE-Core rev: cc20e4d8ff2f3aa52a2658404af9a0ff358cc323)
Signed-off-by: Niko Mauno <niko.mauno@iki.fi>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Updates to poky.ent
* Updates to mega-manual.sed
* Updates to all <manual>.xml files for date
(From yocto-docs rev: 5f752ef0193cb60cd5d46a63e99ffcd02107e0c2)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop 0001-Unset-need_charset_alias-when-building-for-musl.patch
as the problematic code is gone.
Rebase the other patches.
License-Update: http links changed to https
(From OE-Core rev: b234a4ed4d6a9c2e00f5fa38cf04867c7ada24a0)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The Makefile used for flex-ptest can pick up the path to the uninative
loader through BUILD_LDFLAGS. This includes the full path to the
uninative loader, which is not reproducible. Replace it with /bin/false.
It doesn't appear as if these native programs are used in the test
suites and if there are likely to be other problems related to building
them using the BUILD_* flags.
(From OE-Core rev: 3cce2d1c36b0859186139d650fd50d2a56e91abd)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For ptest only RDEPENDS is needed, and packaging glibc-locale
slowed down builds with ptest disabled.
(From OE-Core rev: 53f61ca73e69508bff6ea75da666d6873b5384f5)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This should help debug which part of this selftest is failing.
We can not tell which outloop is failing so split the tests into
systemd and sysvinit.
[YOCTO #13650]
(From OE-Core rev: 5f49ac73ca38ae711e093b35ae0feb5a0674198a)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop CVE patches which are already available on binutils-2_33-branch
Forward port rest of the patches
(From OE-Core rev: 7bcfce05045fb7e10456aa1f5301e70c178f20d7)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch also helps to build with EXTERNALSRC.
(From OE-Core rev: e63dc57f0950dbfc594efe8570333a16baadf51a)
Signed-off-by: Daisuke Yamane <yamane07ynct@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This reverts commit 674596421320de08142e010fdd65ec6f0a0f34e9 and
9dc1aaed83f0627db65f387de0b1e51503ab07b1.
The headers provided by libtirpc are not drop in replacements for the
RPC header files previously provided by glibc, so do not install them
as if they were. Additionally, they clash with the header files
installed by glibc if an older version of glibc is used.
Any problems related to the lack of the old header files from glibc
should be addressed in the application/library that expects them.
(From OE-Core rev: 8311e8b399fda66deee980dfd36068fafed2a2aa)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Disable assembly for vulkan-loader, as it tries to execute
a target binary (previously it would fail to detect a working
assembler and do the same fallback quietly).
(From OE-Core rev: fe2db77803846faa29226b821aaa985e009ac3cc)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is only a problem with older Apache versions.
(From OE-Core rev: 492d43296b15514ec72dfb15f37c6d2ab1fbbae3)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
One Windows-only CVE that cannot be fixed, and two CVEs
where upstream agreement is that they are not vulnerabilities.
(From OE-Core rev: 56d5b181f3b119f2bbd310dedd6d3b26e76f5944)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Meson has support for downloading subprojects using something called
wraps. This interferes with bitbake's expectations of all downloads
being done by the fetch task. To avoid this, tell meson to not
download any wraps.
Suggested-by: Mattias Jernberg <mattias.jernberg@axis.com>
(From OE-Core rev: b547637ad84bad8f7fe27193bf636541f8588ae8)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This ensures that, support is not enabled for machines which do not
support VSX
(From OE-Core rev: cd38be40cd2d65787dd6f6f6667c320f4865716e)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Similar fix was applied already upstream but not extended to all the
cases
(From OE-Core rev: ec6d1e337f36d75588133d5b6988ee438600b8ad)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove 0001-This-fixes-an-issue-that-clang-reports-about-mutlipl.patch,
the problem has been fixed upstream.
Rebase the other patches.
License-Update: copyright years
(From OE-Core rev: 5372e1acdd68367e64d13e19d1beb2d7b3e3c224)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Switch over to meson, and add an option for wayland support.
(From OE-Core rev: 5ca54ccab8c7a10072be84d9335fbc71e2f73042)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
mkfontdir utility has been merged into mkfontscale source tree,
so a separate recipe is no longer needed (and clashes on install).
License-Update: additional copyright claims from Red Hat and Open Group
(From OE-Core rev: d4d403bb1d116751c676eab121698c7e09f070ee)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop backported patch.
tls-check merely checks at configure time whether glib-networking has tls
support enabled (by running a target executable which doesn't work for us);
it does not affect the actual build.
(From OE-Core rev: 2537fcf3143153e272630c42fc1d7ce85b463590)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop a big pile of backports.
Disable zsh completions, as they're unlikely to be useful.
(From OE-Core rev: dad8cd50bcc4203a65d153dc2445502c1e728975)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop fix-setgroup.patch as the upstream has fixed the issue.
(From OE-Core rev: 45edc6d23e20f7634c50db71e419c7e3bb7f393e)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rebase set-proper-path-of-resources.patch
Add a patch to address a string format error; as it modifies
a .l file, add a dependency on flex which is processing that into
C source code.
License-Update: file with copyright statements was replaced with original GPLv2 text
(From OE-Core rev: 729ac34dce472378cec5447c366a28de2081e7de)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adds the option to disable DTD validation when building wayland-scanner,
which makes libxml2 optional.
(From OE-Core rev: d821415ab09248a894d58f6e5a5749e822d30939)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With this change, python 2.x recipes are ready to be moved to an external layer.
Once that happens, they will be removed from oe-core.
(From OE-Core rev: 3f8d803b76254e3bd2294cfd96a6a53859053423)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As Alex Kanavin found, dependencies aren't always populated, particularly
with the hash equivalence server enabled locally:
'bitbake core-image-minimal' with gtk+ disabled.
can confirm with: $ tmp/work/x86_64-linux/qemu-helper-native/1.0-r1/recipe-sysroot-native/usr/bin/qemu-system-x86_64 -display gtk
qemu-system-x86_64: Display 'gtk' is not available.
Enable gtk in local.conf with: PACKAGECONFIG_append_pn-qemu-system-native = " gtk+"
'bitbake core-image-minimal', without deleting tmp/
$ tmp/work/x86_64-linux/qemu-helper-native/1.0-r1/recipe-sysroot-native/usr/bin/qemu-system-x86_64 -display gtk
qemu-system-x86_64: Display 'gtk' is not available.
This change ensures the dependencies are correctly handled as the full
sysroot is always depended upon even if things come from sstate.
(From OE-Core rev: d40853b10dd9f01d6a8dd4edcb941cfa8a544922)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These variables depend on TUNE_FEATURES variable and that creeps into
dependencies for native as well as a result, which means go-native gets
recompiled everytime machine/arch is changed.
Fixes sstate differences found e.g.
basehash changed from 600fb6be571fa4853232a7fed78945ee19b324e54b1b94cff93ef472b6290103 to 994de861190a56064d3e186d9c411152127e230bf2f77b17e59b2c5932a41249
List of dependencies for variable TUNE_FEATURES changed from '{'TUNE_FEATURES_tune-core2-32', 'DEFAULTTUNE'}' to '{'TUNE_FEATURES_tune-armv7vethf-neon', 'DEFAULTTUNE'}'
changed items: {'TUNE_FEATURES_tune-core2-32', 'TUNE_FEATURES_tune-armv7vethf-neon'}
(From OE-Core rev: 4825eede606b075d0d529b38d6162999f1dec506)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Change all recipes to https where we get an http 301 permanent redirect.
(From OE-Core rev: e514acda9e12bccde6d3974e0fd1a37b3837191a)
Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
netbase-add-rpcbind-as-an-alias-to-sunrpc.patch
Removed since it is included in 5.7
(From OE-Core rev: 18799b309e4ae221aef6a8e70ec5f1c1a3d11475)
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
ldconfig should be prior to glibc-utils in PACKAGES variable, or else
ldconfig binary would not be split to its own package, hence will lead
to runtime issues for the packages that depending on ldconfig, like
systemd.
(From OE-Core rev: 5101aecacfb5a8e48bba74b538742bef9409b999)
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adds a patch to prevent the gzip'ed man pages from including the build
date
(From OE-Core rev: 5cdb34cee19271b104e1debed8d740996f3447d9)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This helps fix an issue where python interpreter in hg script could
overflow the BINPRM_BUF_SIZE which is 128 on most of systems, because
interpreter is hardcoded and build paths can be deep.
This patch helps, because now the absolute python interp path in hg can
be replaced with '/usr/bin/env python3' and it will ensure that python3
from native install is used instead of the one on host.
(From OE-Core rev: 3adaaab787bd105cc0049d36c7b8caeaa9b633e5)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop upstream backport of integer overflow in XMSS private key parsing.
Add PACKAGECONFIG for kerberos, libedit and ldns. If api-documentation
is enabled then install man(7) manpages rather than catman pages.
License-Update: convert to UTF-8
(From OE-Core rev: b084fa095800c090389b9c00d66f109d7cd11455)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
fix wrong path of command "ln -sf", the file should under folder
rpcsvc
(From OE-Core rev: 9dc1aaed83f0627db65f387de0b1e51503ab07b1)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
imp was replaced by importlib as it's deprecated, but the import
line was left, so remove this useless line.
(From OE-Core rev: 95574a7d18a8acfbed1b956677e72044bdfa7ebc)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove the generation of the testglibc script which could be used to run
the glibc test suite with a remote target. The same functionality can
now be achieved with the 'do_check' task of glibc-testsuite or with
oe-selftest (for automation of execution against qemu-user/qemu-system
targets).
(From OE-Core rev: 6d6fb46631d7d551cc2de48b51172cfcf36e8dd3)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove the generation of the testgcc script which could be used to run
the gcc test suite against a cross compiler with a remote execution
target. The same functionality can now be achieved with the 'do_check'
task of gcc-runtime or with oe-selftest (for automation of execution
against qemu-user/qemu-system targets).
(From OE-Core rev: 1a6801c4d0850e9f1b6d993f1d6a2492f5bbea85)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Prevent the gcc embedded checksum from containing a checksum that was
computed with build specific paths. The checksum-options file included
the value of LINKER/LDFLAGS which contains DEBUG_PREFIX_MAP and
STAGING_DIR_TARGET.
(From OE-Core rev: 0ead8cbdfb96c4fcbefd24c6647d0f50599f45b3)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Prevent the full recipe-sysroot path from leaking into configargs.h. The
configargs.h header is intended to be static and unchanged as the
content is used as a means of determining that a gcc plugin is built for
the same gcc. This also effects the output of 'gcc -v'. Due to per
recipe sysroots and staging, the sysroot path would be replaced with the
sysroot local to the recipe thus changing the content of configargs.h.
This change also improves gcc binary reproducibility. The sysroot path
is replaced with the base target root "/".
(From OE-Core rev: b8d6e2ab68ee5e341fe970b191bfd334e6d2c40b)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This avoids some tracebacks we've seen on failed autobuilder builds which would
allow the real error to be seen.
(From OE-Core rev: a4031935a7b8ea4f61b9020c1aa5598e186e7ad7)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We're seeing huge delays on the autobuilder during oe-selftest builddir
deletion. For example there is a currently running selftest we could do
with the results from and its been going 13 hours, at least 8 of which
was in deletion of the builddirs.
There are a variety of ways we could solve this problem however the
autobuilder has a mechanism for deferred deletion, "clobberdir" which
it already uses for this kind of work.
Whilst in general hardcoding things like this is horrible, I believe
in this case the benefits (and resulting improvements on my sanity
if nothing else) mean this is a case where we should do it.
If/as/when someone can come up with a better solution that is fine
and this can be replaced.
(From OE-Core rev: 51a84937d32a85cbdb7d5b1d1ec69a290d0c303b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
An example:
NOTE: recipe binutils-cross-testsuite-2.32.0-r0: task do_check: Started
ERROR: Taskhash mismatch b074da4334aff8aa06572e7a8725c941fa6b08de4ce714a65a90c0c0b680abea versus 17375278daed609a7129769b74a1336a37bdef14b534ae85189ccc033a9f2db4 for /home/pokybuild/yocto-worker/qemux86-64/build/meta/recipes-devtools/binutils/binutils-cross-testsuite_2.32.bb:do_check
NOTE: recipe binutils-cross-testsuite-2.32.0-r0: task do_check: Succeeded
Is caused by a rehash in a dependency happening somewhere earlier in the build
and the taint being reset.
Change the code so that nostamp taints are preserved to avoid the issue.
(Bitbake rev: 61624a3fc38e8546e01356d5ce7a09f21e7094ab)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We've seen cases where a task can execute with a given pid, complete
and a new task can start using the same pid before the UI handler has
had time to adapt.
Traceback (most recent call last):
File "/home/pokybuild/yocto-worker/qemux86-alt/build/bitbake/lib/bb/ui/knotty.py", line 484, in main
helper.eventHandler(event)
File "/home/pokybuild/yocto-worker/qemux86-alt/build/bitbake/lib/bb/ui/uihelper.py", line 30, in eventHandler
del self.running_tasks[event.pid]
KeyError: 13490
This means using pids to match up events on the UI side is a bad
idea. Change the code to use task ids instead. There is a small
amount of fuzzy matching for the progress information since there
is no task information there and we don't want the overhead of a task
ID in every event, however since pid reuse is unlikely, we can live
with a progress bar not quite working properly in a corner case like
this.
[YOCTO #13667]
(Bitbake rev: e427eafa1bb04008d12100ccc5c862122bba53e0)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This ensures cmake uses the correct python binary rather than
potentially, the host system one.
(From OE-Core rev: afb8d456360d86254ab00f05866c34d947d02749)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These aren't needed and just enlarge the patch.
(From OE-Core rev: ba540681ee2965c7222b9725f3755d5e8496f844)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Run gettextize and autoreconf and fix up the resulting problem so that
it builds more-or-less cleanly and "make dist" works. Some of the
existing patches that contained particular point fixes are now rolled
into a single big patch.
(From OE-Core rev: b045f83519807d645a22f74c590c037a4ebc4fbe)
Signed-off-by: Phil Blundell <pb@pbcl.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add Zstandard (or just Zstd) compression support. This allows to
create Zstd compressed tarballs by using tar.zst as IMAGE_FSTYPES.
(From OE-Core rev: 77e0f502020085875bbc74da66815c89f19a9351)
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The dependency isn't in OE-Core so we need to disable this test.
(From OE-Core rev: 3646499cb34e91c1d012d057eedfdeff08a4f06c)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop both patches as they are no longer necessary.
Rewrite ptest support as it has been refactored upstream.
Ptest results:
TOTAL: 67
PASS: 59
SKIP: 8 (due to missing valgrind)
(From OE-Core rev: bd40260cbacf660e7390f4f5ef5e096e75774b05)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add libtasn-native dependency as meson builds need asn1Parser executable.
(From OE-Core rev: 3d80c598b0677e84c493ff1a928653ded843e0ba)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a couple patches to address ppc(64) build failures.
License-Update: copyright years
(From OE-Core rev: 9aab37ac40c8da5121a931f5979fcc88489021d2)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop backports.
Drop 0001-gen.c-extend-DIRNAMESIZE-from-256-to-512.patch and
0001-lib-dns-gen.c-fix-too-long-error.patch as problem is fixed
upstream.
(From OE-Core rev: 6965ec5c491e71d5951dfb58fc060bd0b717e33d)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Commit bc66b2f45a added systemd helper
unit for automatic IPv4 rule loading. Complement the effort by adding
systemd helper unit also for automatic IPv6 rule loading.
(From OE-Core rev: 3b8df6b6aba3632de7c3c01c8468fbcedb032493)
Signed-off-by: Niko Mauno <niko.mauno@iki.fi>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In some cases a distribution may want to install rules file into a
location other than /etc/iptables/ so introduce custom recipe-level
IPTABLES_RULES_DIR parameter which allows conveniently overriding
the rules directory location.
(From OE-Core rev: 64eeedcdc586c221e3684861ba85e8e4bc9c5dd1)
Signed-off-by: Niko Mauno <niko.mauno@iki.fi>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Introduce cosmetic changes to recipe content, most notably
- Change indentation style to four spaces in task statements
- Reorder several entries according to oe-stylize.py suggestions
(From OE-Core rev: c1d162b6165f11b7b5ae5c6066e7683d5e1379fc)
Signed-off-by: Niko Mauno <niko.mauno@iki.fi>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the pthread.h header is found, make sure library containing
"pthread_atfork" is added to the list of libraries against which to
link. On some hosts (e.g. openSUSE 15.1) "-lpthread" needs to be
explicitly added in order for the code to compile correctly.
We already had a workaround for this for native builds, but using some
external toolchains, we can be bit by this for the target recipe as
well.
Most of this is courtesy Trevor Woerner <twoerner@gmail.com>, via his
patch at stevegrubb/libcap-ng#10, the last thanks to Khem Raj.
(From OE-Core rev: 8d84fdea1c26ed5f8f8261c89070df44da3f1855)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This doesn't particularly change performance but allows users to have
build speedup doing rebuilds during local development so should be
useful and enabled by default.
(From meta-yocto rev: 6a6a8cb38899ee4c09bb2592a67085b422b6b525)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Based on the hashserv's new ability to accept hash mappings, update runqueue
to use this through a helper function in siggen.
This addresses problems with meta-extsdk-toolchain and its dependency on
gdb-cross which caused errors when building eSDK. See the previous commit
for more details.
(Bitbake rev: 39098b4ba2133f4d9229a0aa4fcf4c3e1291286a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The reason for this should be recorded in the commit logs. Imagine
you have a target recipe (e.g. meta-extsdk-toolchain) which depends on
gdb-cross. sstate in OE-Core allows gdb-cross to have the same hash
regardless of whether its built on x86 or arm. The outhash will be
different.
We need hashequiv to be able to adapt to the prescence of sstate artefacts
for meta-extsdk-toolchain and allow the hashes to re-intersect, rather than
trying to force a rebuild of meta-extsdk-toolchain. By this point in the build,
it would have already been installed from sstate so the build needs to adapt.
Equivalent hashes should be reported to the server as a taskhash that
needs to map to an specific unihash. This patch adds API to the hashserv
client/server to allow this.
[Thanks to Joshua Watt for help with this patch]
(Bitbake rev: 674692fd46a7691a1de59ace6af0556cc5dd6a71)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This test was failing to split the URL list to individual URLs, so if
SRC_URI is something like this then the test incorrectly triggers:
SRC_URI = "git://github.com/foo http://example.com/archive/foo"
Fix this by splitting the SRC_URI list and iterating through the URIs
one at time.
[ YOCTO #13660 ]
(From OE-Core rev: ddd2c5624404848ee668dabec0f61599ab5003e4)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix this error seen when using dosfsck -l to list fs contents:
CP437: Invalid argument
(From OE-Core rev: 8a5fdac3c2d207b2cfac64ec2a2626c3ef154d84)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This project doesn't require target flex or bison, just the natives,
and it uses m4 explicitly in its configuration.
(From OE-Core rev: a1c227ad41b091aaf9c53750554a17beae54b4cb)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There's already a variable for "the host python to use during the build
when cross-compiling", so there's no need to add another.
(From OE-Core rev: 1ede9777478469fbdb633782e0ffb2ae68b1a578)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use EXTRA_OECONF and CACHED_CONFIGUREVARS as nature intended.
(From OE-Core rev: 260804462766116941a1d9100ef8be3e66b93300)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The upgrade from 2.7.3 to 2.7.9 in oe-core cb02ecb introduced some
copy-paste errors which inadvertandly disabled the generation of
optimised bytecode (.pyo files).
Restore the intended behaviour and bring back .pyo files.
(From OE-Core rev: f49077af44969212530a7f1b5cb9370fefb85434)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The manifest parsing code was only adding .py and .pyc paths to FILES,
generalise the latter to .py? so it catches .pyo files too.
(From OE-Core rev: 1e0ef76dcccfa10cdf473670acd2c52332bb3412)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of passing the same five variables to oe_runmake repeatedly, add them to
EXTRA_OEMAKE once.
(From OE-Core rev: c4ae09134732e4e95f17d6e572756bec49a9e3d0)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There's no need to patch in HOSTPGEN when we can just override PGEN directly.
(From OE-Core rev: d274a3d3bd90d8726752c3a18bc15fdf6bc2f37d)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The package python3-misc is not in the manifest file
so it needs to be added explicitely to RPROVIDES_class-native.
(From OE-Core rev: 95c6a1180f14e1db815ff92f7a1dce8506bdb294)
Signed-off-by: Nicola Lunghi <nick83ola@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The package python-misc is not in the manifest file
so it needs to be added explicitely to RPROVIDES for native class.
(From OE-Core rev: f6164cc210d584efb702445dcd2167aa352b40af)
Signed-off-by: Nicola Lunghi <nick83ola@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Prevent the native(sdk) sysroot path from leaking into configargs.h. The
configargs.h header is intended to be static and unchanged as the
content is used as a means of determining that a gcc plugin is built for
the same gcc. This also effects the output of 'gcc --version'. Due to
per recipe sysroots and staging, the sysroot path would be replaced with
the sysroot local to the recipe thus changing the content of
configargs.h.
The sysroot path is replaced with a generic "/host" prefix which
represents the host sysroot (e.g. native or nativesdk).
(From OE-Core rev: 84a78f46d59447eeec3d69532a7506148f64c979)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Without relocating PREFIX/EXEC_PREFIX the system can not do runtime
relocation for the path to the usr/lib/gcc directory, and other components.
While this is not a normal or supported use-case it does work in the upstream
gcc. This is difficult to test with the regular OE SDKs, as it requires
running the components with the correct LD_LIBRARY_PATH and ld.so.
Without this update, gcc will typically not be able to find the gcc
provided include file for stddef.h and similar. This is due to certain
relocations being based on the PREFIX and/or EXEC_PREFIX locations which
are hardcoded at compilation time.
(From OE-Core rev: b879fe730bc2cbce99704705cb53fa9ee958b311)
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When kernel-devicetree is in RRECOMMENDS such as via variable
MACHINE_EXTRA_RRECOMMENDS for some bsp, it shows QA warning of multilib:
| WARNING: lib32-packagegroup-base-1.0-r83 do_package: QA Issue:
| lib32-packagegroup-base package lib32-packagegroup-machine-base
| - suspicious values 'kernel-devicetree' in RRECOMMENDS [multilib]
Add kernel-devicetree to exceptions to fix the QA issue. Because there
are already 3 kernel related criteria, simplify them by judging package
names whether start with 'kernel-'. And also refactor to remove
duplicate 'not'.
(From OE-Core rev: 5e4504026c6358c7d5649843dc354247f5972558)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix the following errors for newlib and baremetal libcs:
ld: unrecognized option '--hash-style=sysv'
ld: unrecognized option '--hash-style=gnu'
(From OE-Core rev: 8ae998fa8dd216d008cc9ddbea98bbb945501e41)
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When follow the instructions of multiconfig from Yocto dev manual that
set in core-image-sato recipe:
do_image[mcdepends] = "multiconfig:x86:arm:core-image-minimal:do_rootfs"
it show too many annoying warnings look like:
| WARNING: Deferring mc:x86:virtual:native:/buildarea6/kkang/poky/meta/recipes-support/libxslt/libxslt_1.1.33.bb:do_populate_sysroot
| after mc:arm: virtual:native:/buildarea6/kkang/poky/meta/recipes-support/libxslt/libxslt_1.1.33.bb:do_populate_sysroot
Treat them as infomations rather than warnings.
(Bitbake rev: 0fb4b5153237af4a13b2c65711ab798b0de06c2f)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is essential for sensible use of hash equivalence which we also plan
to enable by default in the next release.
(From meta-yocto rev: aa1405c864b1dda82da5bea0c5b96bcb9ca1aea0)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
traceback2 adds traceback for python2. Rather than depend on traceback2, we're
python3 only so just use traceback.
This caused breakage in oe-selftest -j which uses testtools on the autobuilder
using buildtools-tarball.
[YOCTO #13652]
(From OE-Core rev: ee80a06c107375e3cf0d246ea17c09dda4536dab)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
rpm 4.15 no longer allows it, which makes sense.
(From OE-Core rev: 017d0f34619cf56dd223ba8c075af5f7e128e61b)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We're about to need to use this variable in the main include file so
restructure the users of it to all set it appropriately.
(From OE-Core rev: 4a247e7c961286cbed73b6dc0f4074ecf856402a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When cross-compiling Python 2 you need a native pgen binary, but the cross
recipe can't do this on it's own so we build it in python-native and install it.
The rule to build pgen was also causing a complete rebuild of all of the
generated sources, which meant that building Python 2 needs a *host* Python 2.
This can be fixed by simply building pgen, as this is all we need to install.
[ YOCTO #13645 ]
(From OE-Core rev: 04f7e28963b413b88724c80f67787b440793570e)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The LICENSE file contains all the license information so there is no
need to also include it from the png.h file (and additionally some
lines were left out from the latter).
License-Update: Remove duplicate license information
(From OE-Core rev: 5a0df07de5f18e701bdcb6004c9883838cb0d5c9)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This avoids including irrelevant information when calculating the
license checksum.
License-Update: Trim the text part used for the license file checksum
(From OE-Core rev: 11ec4435da94e345d98fc7a9077c1fce526b5f71)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This avoids including irrelevant information when calculating the
license checksum.
License-Update: Trim the text part used for the license file checksum
(From OE-Core rev: 2fbb2d74042902b91aa29c0719bca105de644bdd)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This avoids including irrelevant information when calculating the
license checksum.
License-Update: Trim the text part used for the license file checksum
(From OE-Core rev: 714d9a89dde0bbb10cf3aca8c0635c593b249a6b)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 new test cases are added to cover the various archiver modes
documented at the top of archiver.bbclass. Each test sets the
appropriate configuration options, runs the `do_deploy_archives` task
for the selftest-ed recipe and checks for the presence of the expected
archive file.
(From OE-Core rev: d3bf1012e918109e958cf78c89feda0f4dfe17c5)
Signed-off-by: Paul Barker <paul@betafive.co.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
currently 'wic cp' only works for copy file from local storage to
wic image.
enhance 'wic cp' to copy file/directory from wic image to local storage.
include selftest and 'wic help' updates.
[YOCTO#12169]
(From OE-Core rev: bd669c1809a378f93580eb9e0679a26ec6746cb8)
Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a combined backport from upstream patches for added risc-v
support
Upstream code has been re-organised before risc-v support was added to
its mix of two commits
primarily
171b533800680a752c83
(From OE-Core rev: 7356ae622bd71ba1a022a9ed18c4cf085e948b38)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Find lists files in the order that the filesystem has registered them,
which can vary. Adding a sort should have minimal performance impact.
Also use the --reproducible option to cpio.
(From OE-Core rev: 930c1f69c928e21bda6bef7aad926d335195e107)
Signed-off-by: Ernst Sjöstrand <ernst.sjostrand@verisure.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Split the GccCrossSelfTest testcase into separate testcases for 'gcc'
and 'g++' respectively. In order to split them use the "check-gcc-*"
language make check targets.
(From OE-Core rev: 84cc08942fd3d17fb603e90f362a1ee5653a225d)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Not all QEMU machines are capable of having more than one serial port,
this is due to the machine emulating a physical device/board.
Rework QemuRunner to handle machines that only have 1 serial port, where
the serial port shares output of the kernel log buffer and a login
console. In this case the output is mixed but enables the machine to
boot and have QemuRunner detect the login prompt.
QemuTarget uses SERIAL_CONSOLES to determine the number of available
serial ports.
(From OE-Core rev: 333897c4a00b41681ffe34312a08cae09274327e)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Make sure that the (newer) /dev/pts/ptmx is accessible by users. This
is useful e.g. when running containers which symlink /dev/ptmx to
/dev/pts/ptmx on start. The default mode (000) does not allow to
create ptys inside the container.
Using 666 when symlinking /dev/ptmx is also recommended by the kernel
documentation when /dev/ptmx is symlinked:
https://www.kernel.org/doc/Documentation/filesystems/devpts.txt
Also buildroot uses ptmxmode=0666. The patch introducing the change
explains related use cases why this is necessary a bit more in depth:
8196b299ba (diff-2d4604b9e565eb19fa52ce31f282f06c)
(From OE-Core rev: c999bc5ddd9beb5274f77b885e2ac71205e42266)
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There is python gdb script for static libstdc++ archives as well
fixes
ERROR: gcc-runtime-9.2.0-r0 do_package: QA Issue: gcc-runtime: Files/directories were installed but not shipped in any package:
/usr/lib/libstdc++.a-gdb.py
(From OE-Core rev: 9becb6c1ea68096930fe77cc0e4126ff204d0592)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Release notes:
https://www.freedesktop.org/wiki/Software/PulseAudio/Notes/13.0/
Dropped intltool-native from DEPENDS. The .desktop file translations
don't need intltool any more, gettext is enough.
Dropped upstreamed patches:
0001-alsa-Fix-inclusion-of-use-case.h.patch
0001-introduce-a-special-build-flag-to-explicitly-disable.patch
Added a new package: pulseaudio-pa-info. It contains the new pa-info
script.
BlueZ 4 support was removed in this version. That's not visible in the
recipe, but I noticed that the BlueZ 4 modules were still being built in
12.2, since they hadn't been explicitly disabled in the recipe.
(From OE-Core rev: e4b9e98100cdeb74d4898afcab2d76f2e0855960)
Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In most cases, the RPATH is stripped out when the ELF file is packages,
but by then the damage is done from a reproducible perspective because
this absolute path is hashed as part of the build-id generated at link
time ([1] has a good explanation). Fortunately, newer cmake has an
option to generated relative RPATHs that use $ORIGIN to set the path, so
set it in the toolchain file.
[1]: https://gitlab.kitware.com/cmake/cmake/issues/18413
(From OE-Core rev: 44e77d3f97af4cd4ad8bc0984f093a116a830986)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adds a patch to fix to make the -src packages reproducible
(From OE-Core rev: 42458635b52f5cff6448d7440a44b03114e6842d)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Applies a patch to fix the build reproducibility of the -src package.
(From OE-Core rev: 372793803f31ccd7cfa8c6cc79cb2340b0ebc3d3)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
librsvg was encoding the path to the build directory in order to find a
font file for testing. This wouldn't work in OE anyway since the build
directory isn't present at that exact location on the target, so remove
the offending path to make the build reproducible.
(From OE-Core rev: b79a2cec587a1f9f3d6a6f979f5c5504baccd75f)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Do not reset libdir and base_libdir in sysroot_strip, and just pass crude
paths as they will be reset later in strip_execs.
(From OE-Core rev: eab7f448aa537539b45ee21df4ea25de97e60a7e)
Signed-off-by: Junling Zheng <zhengjunling@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use upstream systemd service files instead of our own service files.
This also makes sure that /run/rpcbind.sock is used which fixes the
following systemd warning:
/usr/lib/systemd/system/rpcbind.socket:5: ListenStream= references a
path below legacy directory /var/run/, updating /var/run/rpcbind.sock
\xe2\x86\x92 /run/rpcbind.sock; please update the unit file accordingly.
(From OE-Core rev: ad08385393bb0d072f2f27f5a189041037e06195)
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a hash is reported to the hash server, the stamp written out by the
current task didn't account for any new hash the server may have provided.
Fix this so the correct stamp is written. This means "bitbake X; bitbake X"
no longer rebuilds lots of things when hashequiv is active.
(Bitbake rev: 9dc5178f56ab8ae37e1a646c09117c503e48d072)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Setscene hard dependencies were not being correctly handled during task migration.
For example, do_package of recipe X might become valid due to hashequiv yet we're
still rebuilding pseudo-native, a harddep of do_package. This would mean
it would try to execute that setscene task despite pseudo not being present.
Fix this by ignoring tasks with failed harddependencies. This does mean
stlightly more rebuilds than is optimal but it avoids build crashes. Ultimately
the new runqueue model can likely better handle these cases than the older codebase
could but that is for another more invasive patch.
(Bitbake rev: 0dc61e8b9964f7fe41d51b6a481ca7aeaacd8bce)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The server is now restarting when running commands which doesn't make
sense. Only restart if its configuration has changed. This should
potentially fix various memory resident bitbake usages too.
(Bitbake rev: 0d2c67abf8c92386802eccfbb6b124dd65597941)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As a recipe for zbar was added 2016-12-26,
we can add an option in PACKAGECONFIG for it.
(From OE-Core rev: 655e46772c7f93469e42e791037013338bdcf787)
Signed-off-by: Norbert Wesp <n.wesp@phytec.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A flaw was found in all versions of ghostscript 9.x before 9.28,
where the `.charkeys` procedure, where it did not properly secure
its privileged calls, enabling scripts to bypass `-dSAFER` restrictions.
An attacker could abuse this flaw by creating a specially crafted
PostScript file that could escalate privileges within the Ghostscript
and access files outside of restricted areas or execute commands.
References:
https://nvd.nist.gov/vuln/detail/CVE-2019-14869
Upstream patches:
https://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=485904
(From OE-Core rev: 0bb88ac63b4e1728373c6425477a32f7a6362b2c)
Signed-off-by: Stefan Ghinea <stefan.ghinea@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
do_configure() essentially calls autogen.sh to generate some sources and then
autoreconf, but autogen.sh also calls autoreconf.
Pass a magic variable so that autogen.sh doesn't autoreconf for us.
(From OE-Core rev: 19e18446c09fef14c3dd54b0de12a8d21b280c93)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Grub uses pkg-config but is only in the sysroot via dependencies. Be explicit
and inherit pkgconfig directly.
(From OE-Core rev: 6cdf9a0712b136a1002e8a814274e23ee7a5f06d)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For cross-platform, chkconfig can't work, so should remove check for it.
This can only be reproduced on some platform with chkconfig(e.g. CentOS
Linux release 7.2.1511), and need with --enable-install-cron and without
--enable-copy-only.
Fixed:
| if [ "n" == "n" ]; then \
| if [ -x "/usr/sbin/chkconfig" ]; then \
| cd /path/to/tmp/work/corei7-64-wrs-linux/sysstat/11.1.5-r0/image/etc/rc.d/init.d && /usr/sbin/chkconfig --add sysstat; \
| else \
| [ -d /path/to/tmp/work/corei7-64-wrs-linux/sysstat/11.1.5-r0/image/etc/rc.d/rc2.d ] || mkdir -p /path/to/tmp/work/corei7-64-wrs-linux/sysstat/11.1.5-r0/image/etc/rc.d/rc2.d; \
| [ -d /path/to/tmp/work/corei7-64-wrs-linux/sysstat/11.1.5-r0/image/etc/rc.d/rc3.d ] || mkdir -p /path/to/tmp/work/corei7-64-wrs-linux/sysstat/11.1.5-r0/image/etc/rc.d/rc3.d; \
| [ -d /path/to/tmp/work/corei7-64-wrs-linux/sysstat/11.1.5-r0/image/etc/rc.d/rc5.d ] || mkdir -p /path/to/tmp/work/corei7-64-wrs-linux/sysstat/11.1.5-r0/image/etc/rc.d/rc5.d; \
| cd /path/to/tmp/work/corei7-64-wrs-linux/sysstat/11.1.5-r0/image/etc/rc.d/rc2.d && ln -s -f ../init.d/sysstat S01sysstat; \
| cd /path/to/tmp/work/corei7-64-wrs-linux/sysstat/11.1.5-r0/image/etc/rc.d/rc3.d && ln -s -f ../init.d/sysstat S01sysstat; \
| cd /path/to/tmp/work/corei7-64-wrs-linux/sysstat/11.1.5-r0/image/etc/rc.d/rc5.d && ln -s -f ../init.d/sysstat S01sysstat; \
| fi \
| fi \
| elif [ -d /path/to/tmp/work/corei7-64-wrs-linux/sysstat/11.1.5-r0/image/etc/rc.d ]; then \
| ...
| fi
| error reading information on service sysstat: No such file or directory
| Makefile:382: recipe for target 'install_all' failed
(From OE-Core rev: d193caa4bd94661b87393719d72d6e9cacc60439)
Signed-off-by: Wenlin Kang <wenlin.kang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Tests that use at and acl tool were removed in release 20190115.
See ltp commit 0fc9b8624bea8acfdb408bf5ff4916b1453e3daa
(From OE-Core rev: 256479b01b6dfdd1e2a35f41a5fbcde799ba2742)
Signed-off-by: Joerg Vehlow <joerg.vehlow@aox-tech.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream has a patch that replaces "install -s" with an INSTALL_STRIP
make variable, which can be used to replace the custom patch being
carried.
License checksum change was due to a date in the license text being
updated. The actual contents are unchanged.
(From OE-Core rev: 0f261c26131b24f2b39c51232132dd9ace546c96)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The last user of this obsolete recipe (abandoned upstream in 2010, removed from
oe-core build dependencies in 2012) has now been deleted from oe-core, so delete
the recipe too.
(From OE-Core rev: 3be906bad55fb44228a2aa2b8fa3c567c3d01b83)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
texi2html isn't a build requirement and hasn't been since 2012 (oe-core
aa1c451).
(From OE-Core rev: 362fcae816e6985193c06e3848c20b6fa0bd1180)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Very little software needs intltool to build, and we don't need it on the host
to build Poky.
(From OE-Core rev: 0ba27bd08e9e5b20edbcb00316f785184c9d9fc7)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Intltool is deprecated these days, as gettext can handle almost everything
intltool could. Remove it from the SDK packagegroups, if it is needed then the
user can add it explicitly.
(From OE-Core rev: 52558efc0f401b665e5060c51d956e2337c47da8)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The last release of this was in 2002(!), kbd is the modern,
supported alternative.
(From OE-Core rev: 320319f24dd1be300bc89c52b97d1703eab83029)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add default values for go environment variables to go-common.inc.
Override where appropriate in other go*.inc files, and use
host/target tuples from goarch for setting CC flags.
(From OE-Core rev: 1e3f040b1f68fa1f808851ecd9623544e935e9ad)
Signed-off-by: Alex Kube <alexander.j.kube@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The opkg-utils change didn't trigger a full repackage due to its mention
in layer.conf for update-alternatives hash exclusion. Do it manually
to invalidate broken ipks.
(From OE-Core rev: 6dd59dffd73618e4c0979b284a7968055a4eb8fb)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Older versions break opkg-build when reproducible builds are enabled.
Rather than trying to be selective based on which features are enabled,
lets just make this a minimum version.
(From OE-Core rev: 0fdc43da005c3c6102cf07383ad6f451d2203fa5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The key problem is that currently running setscene tasks are not
accounted for when processing task migrations. This means can allow
two of the same task to execute at the same time with unpredictable
effects.
This change allows us to stop doing that and refactor the code slightly
to make it clearer that these conditions don't arrive even with
deferred tasks.
(Bitbake rev: ac1922d348613ca46a1047ad5ddf755eac16d568)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Move bitbake.vim from bitbake/contrib/vim/indent to contrib/vim/indent.
(Bitbake rev: d2654a4ad8b0b885feac697448128baf7bf8a1c9)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/fetch2/clearcase.py:148: SyntaxWarning: "is" with a literal. Did you mean "=="?
if command is 'mkview':
bitbake/lib/bb/fetch2/clearcase.py:155: SyntaxWarning: "is" with a literal. Did you mean "=="?
elif command is 'rmview':
bitbake/lib/bb/fetch2/clearcase.py:159: SyntaxWarning: "is" with a literal. Did you mean "=="?
elif command is 'setcs':
Python 3.8 is quite correct and we so mean "==" here, fix it to
avoid the warnings.
(Bitbake rev: 1fab03f6e10eaa13b8a89ce0b2f9fe8ce5157189)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
md5_file() uses a mmap() window to improve performance when hashing files, so
refactor the code and do the same for SHA1 and SHA256.
(Bitbake rev: ecf87437ff796e17c3e4f210b5803b0136a9e8a4)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Less was coming from busybox in these images, add the full version.
[YOCTO #13630]
(From OE-Core rev: 42047185d55fc878821defec4908b119884d3d07)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
opkg-build was failing on hosts where tar < 1.28 and reproducibile builds
were enabled but it was doing this silently and generating corrupted
(empty) ipk files. Add a fix for this (submitted upstream).
The fix requires bash but if you're building ipk files this shoudn't be
a problem.
(From OE-Core rev: ff9ec19b02650a3ae230e4d1bdc99ec686cc4c81)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
An ipk with a zero size data.tar file caused opkg to crash with a
double free abort. Add the upstream fixes for this.
(From OE-Core rev: aa17a8096263934f5c1877f3ef749df595486a9c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the reproducible_build class is inherited then there may be a
"source-date-epoch" subdirectory in a fetched source tree; devtool
upgrade was not expecting that in the upgraded source. Take a small
snippet of code from recipetool create which already handles this,
and make it a shared function that can be used in both places.
Additionally, fix an assumption that the source is always in a
subdirectory in the cleanup code that blocked debugging this.
[YOCTO #13635]
(From OE-Core rev: 0d642861cd9cf034b8d4951433980addc215d4fd)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This should be no longer needed. if needed then meta-clang might be
better suited
(From OE-Core rev: ad9dd755646fdb42b88440e9464f1d94e244c316)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There was a regression in this functionality that went unnoticed
due to lack of tests.
(From OE-Core rev: a75e4eceb703b2b13ddd4ba3dea3a86af0b0a9eb)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This code used to construct a single SQL statement that fetched the NVD data for
every CVE requested. For recipes such as the kernel where there are over 2000
CVEs to report this can hit the variable count limit and the query fails with
"sqlite3.OperationalError: too many SQL variables". The default limit is 999
variables, but some distributions such as Debian set the default to 250000.
As the NVD table has an index on the ID column, whilst requesting the data
CVE-by-CVE is five times slower when working with 2000 CVEs the absolute time
different is insignificant: 0.05s verses 0.01s on my machine.
(From OE-Core rev: 53d0cc1e9b7190fa66d7ff1c59518f91b0128d99)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove obsolete Python 2 code, and use convenience methods for neatness.
(From OE-Core rev: f19253cc9e70c974a8e21a142086c13d7cde04ff)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A previous optimisation was premature and resulted in false-negatives in the report.
Rewrite the checking algorithm to first get the list of potential CVEs by
vendor:product, then iterate through every matching CPE for that CVE to
determine if the bounds match or not. By doing this in two stages we can know
if we've checked every CPE, instead of accidentally breaking out of the scan too
early.
(From OE-Core rev: d61aff9e22704ad69df1f7ab0f8784f4e7cc0c69)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
urllib handles adding proxy handlers if the proxies are set in the environment,
so call bb.utils.export_proxies() to do that and remove the manual setup.
(From OE-Core rev: 6b73004668b3b71c9c38814b79fbb58c893ed434)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Create an index on the PRODUCTS table which contains a row for each CPE,
drastically increasing the performance of lookups for a specific CVE.
(From OE-Core rev: b4048b05b3a00d85c40d09961f846eadcebd812e)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Don't hardcode the database filename, there's a variable for this in
cve-check.bbclass.
(From OE-Core rev: 0d188a9dc4ae64c64cd661e9d9c3841e86f226ab)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As upstream has released a new stable version,
the exception is no longer needed.
(From OE-Core rev: fa99c061275cd96cf375ff60d1c73a6e818dca25)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This reverts commit 41d225f4a3.
Unfortunately this change broke 'devtool upgrade' functionality,
causing 'devtool finish' to write out an upgraded recipe that no
longer includes the original upstream source in SRC_URI.
(From OE-Core rev: 2d6e55192dba0bf7f6e23e5ab5b3dbc68835bb28)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop backports, rebase a couple of patches.
This is the second last release of py 2.x; upstream support ends on
1 January 2020, there will be one final 2.x afterwards.
Note that the only thing that still needs python 2.x in oe-core is
u-boot; when the next u-boot update arrives, we should find out
where the py3 migration is for that component before merging the
update.
(From OE-Core rev: 184b60eb905bb75ecc7a0c29a175e624d8555fac)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The extra diretory created by reproducibile_builds was confusing recipetool
and hence devtool. Ignore this directory to restore the correct behaviour and
allow it to work with the class.
(From OE-Core rev: 188ba30ef290efab6d5a9b95fba8e991b779ab33)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
inherits can be unset resulting in:
UnboundLocalError: local variable 'inherits' referenced before assignment
which can mask real errors. Avoid this.
(From OE-Core rev: 29a0502e101ed0667e960f9f8591b0a2d60a4bcb)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a native recipe so won't be installed as root.
If the string 'root' is part of the username then the install script
can get tricked into thinking we are root (regardless of the actual
uid or permissions) resulting in attempts to run chown/chgrp
inappropriately.
(From OE-Core rev: 5db7b80140410cd3c164e4522dc87df92fac93b0)
Signed-off-by: Paul Barker <paul@betafive.co.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
ltpstress was removed in Oct 2018
e752f7c196 (diff-5231627fc8640e0adb955f9e69c3c08d)
Remove LTP stress tests
ltpstress.sh runs stress.part[1-3]. But these runtest files just
duplicate definitions:
* stress.part1: fs, mm, nfs
* stress.part2: ipc, math, nptl
* stress.part3: net.multicast, pty, syscalls
The definitions are outdated anyway. There is no point trying
to keep them sync.
(From OE-Core rev: 85b3f9ef568a8a11569898c6637b0e80c057fbfb)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
done as part of IncompatibleLicensePerImageTests
(From OE-Core rev: b6e66d388001cdbb833a18056781f69a6f8c82fb)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Commit: d336110b94 boost: update to 1.67.0
dropped the patch that ensured boost doesn't over-ride the architecture flags
set by us resulting in errors:
| build/tmp/work/x86_64_x32-poky-linux-gnux32/boost/1.69.0-r0/recipe-sysroot/usr/include/bits/long-double.h:44:10: fatal error: bits/long-double-64.h: No such file or directory
| #include <bits/long-double-64.h>
| ^~~~~~~~~~~~~~~~~~~~~~~
| compilation terminated.
Remove the relevant part from gcc.jam again to ensure we are passing
them correctly again.
Fixes [YOCTO #13598]
(From OE-Core rev: aad28f42b1c8aa1335c040630ebff4a69be07e35)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upgrade mesa and mesa-gl to 19.2.4.
The license hash change was a trivial new line removal.
The glx-tls option was removed as it isn't included in the meson.build
file. It has been replaced with 'use-elf-tls' instead.
I have backported the asm removal as an attempt to fix the musl build
issue.
(From OE-Core rev: 82c2acc1f658f039becac04aa3dae696418bd1de)
Signed-off-by: Alistair Francis <alistair@alistair23.me>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
selftest to make sure wic rm with -r flag for ext partition
could remove directory and all its content.
(From OE-Core rev: d7ccbb393a71501424b7c0d4c1d78e4bac1ecccf)
Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
wic currently unable to remove non-empty directory in ext* partition.
enable wic rm to remove non-empty directory and all the sub-content
with -r flag.
update help documents for 'wic rm'.
[YOCTO #12404]
(From OE-Core rev: 5cb7a329d0aaac8fe5328eb2001692c540aa5ade)
Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In 50-systemd-user.sh which is packaged to sub-package
${PN}-xorg-xinitrc, it exports environment variables DISPLAY and
XAUTHORITY to systemd. It fails to start systemd services which require
these environment variables such as thunar.service:
root@qemux86-64:~# systemctl --user status thunar
● thunar.service - Thunar file manager
Loaded: loaded (/usr/lib/systemd/user/thunar.service; disabled; vendor preset: enabled)
Active: inactive (dead)
Docs: man:Thunar(1)
Nov 14 07:47:29 qemux86-64 systemd[352]: Starting Thunar file manager...
Nov 14 07:47:29 qemux86-64 Thunar[873]: cannot open display:
Nov 14 07:47:29 qemux86-64 systemd[352]: thunar.service: Main process exited, code=exited, status=1/FAILURE
Nov 14 07:47:29 qemux86-64 systemd[352]: thunar.service: Failed with result 'exit-code'.
Nov 14 07:47:29 qemux86-64 systemd[352]: Failed to start Thunar file manager.
It is not convenient to make all such kind of packages require package
${PN}-xorg-xinitrc, so remove the sub-package and merge the only file
provided by it to main package.
No recipe depends on ${PN}-xorg-xinitrc in oe-core and meta-openembedded
now, so no need to set rprovides for it.
(From OE-Core rev: 9b7d65aa52171cb559cc12ca3fdeaee54b9022c1)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Besides checking DISTRO_FEATURES for required or conflicting features,
being able to check MACHINE_FEATURES and/or COMBINED_FEATURES may also
be useful at times.
Temporarily support the old class name with a warning about future
deprecation.
(From OE-Core rev: 5f4875b950ce199e91f99c8e945a0c709166dc14)
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This should have been removed together with expanded_data in commit
e3694e73 (cooker/command: Drop expanded_data).
(Bitbake rev: 33197db8abf82be240d7c1c5c9d2484a08a90849)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With PRSERV_HOST = "localhost:0", this message would occasionally pop up
during the initial cache read:
WARNING: /home/matic/ambayocto/poky/bitbake/lib/bb/cache.py:446: ResourceWarning: unclosed <socket.socket fd=10, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 45655)>
value = pickled.load()
The file location stated is irrelevant; it just happens to be wherever
CPython decides to run the garbage collector. The issue is that after we
fork off a PRServer, self.socket is also duplicated. The parent side of
it also needs to be closed.
(Bitbake rev: c45b0140c37f2d68c4fa08cd17f0321b8d6524a8)
Signed-off-by: Gavin Li <gavin@matician.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some installation rules have been seen to run chgrp for native recipes
which leads to 'Operation not permitted' errors. To prevent this we
need a chgrp intercept script to go with the existing chown intercept.
(From OE-Core rev: dfb3b566412fb704c5ce67c2dec74c5b1a20921f)
Signed-off-by: Paul Barker <paul@betafive.co.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This ensures that its using linux headers for matching the syscall
structures
(From OE-Core rev: 3f91512ffc8c1c3374b3a67df5f86e884c78d7a1)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes a race where it tries to build version res file in build directory
before it has even been created. Prevents intermittent errors on
autobuilder when building for mingw:
| /bin/bash ../SDL2-2.0.10/build-scripts/updaterev.sh
| /bin/bash ../SDL2-2.0.10/build-scripts/mkinstalldirs build
| mkdir -p -- build
| x86_64-pokysdk-mingw32-windres --include-dir=/home/pokybuild/yocto-worker/meta-mingw/build/build/tmp/work/x86_64-nativesdk-mingw32-pokysdk-mingw32/nativesdk-libsdl2/2.0.10-r0/recipe-sysroot/opt/poky/3.0/sysroots/x86_64-pokysdk-mingw32/us
| /include ../SDL2-2.0.10/src/main/windows/version.rc build/version.o
| x86_64-pokysdk-mingw32-windres: build/version.o: No such file or directory
| Makefile:692: recipe for target 'build/version.o' failed
| make: *** [build/version.o] Error 1
| make: *** Waiting for unfinished jobs....
| touch build/.created
| WARNING: exit code 1 from a shell command.
(From OE-Core rev: 1cb3c64b70e0b16aabd2fe9cd6012564165ac476)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-libedit/0001-readline.c-fix-cannot-get-history.patch
Removed since this is included in 20191025-3.1.
(From OE-Core rev: a29bb560de072e669835e16d65ef50b72583a081)
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
xserver testing is done at runtime and selftest via sato image
(From OE-Core rev: 0146b3a0b60f54fa6ea84461e4ced6fae59aafa7)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some test should not be run in QEMU systems so
add some checks to make that easier
(From OE-Core rev: 1b1e53c4ad33a71d526887d1133598f255a476ec)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There have been a number of changes back and forth as to when and how
to use the systemd unit files provided by the package. The correct
condition is actually that both cron and systemd need to be enabled
for them to be installed.
(From OE-Core rev: d6c975160197f67937dfbe91b08100b0f597c589)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In commit 8862f21e (sysstat: 12.1.3 -> 12.1.6), sa_lib_dir was changed
from "${libdir}/sa" to "${libexecdir}/sa" to avoid problems with
multilib. However, the systemd unit file was not changed accordingly,
which lead to the following error when trying to start the service:
systemd[4698]: sysstat.service: Failed at step EXEC spawning
/usr/lib/sa/sa1: No such file or directory
(From OE-Core rev: 0fd691b9801b5313ff2e2c2cd5ca13fd50063235)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes some issues with reproducible builds. Adds a patch to allow the
configure arguments to be omitted from the build and also explicitly
setting some autoconf paths that were picking up hosttools.
(From OE-Core rev: f54d60ee8f15229aa515e168b9c7d248663b48fe)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The Icecream environment creation script runs when the SDK is installed
and uses patchelf to fix up executables. Rather than rely on the host
system to provided patchelf (which often can be older versions that
produce buggy executables), mark the OE version of patchelf as a
dependency of icecc-create-env when included in the SDK.
(From OE-Core rev: b0293d9734372c90a0b4eec7967b55e0db96102e)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Enable the option to add extra test environment data to the
configuration of each test result (as optional).
Example of optional test environment data include:
- custom packages included for runtime test
- detail machine specification used as target
- detail host environment used for bitbake
(From OE-Core rev: 3cc887a72c5726024c3699e6a3deb72fad4992a9)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add total passed, failed, and skipped statistic to test result.
(From OE-Core rev: 7ad74f99b6105f23bcf930712627aac279c6af10)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In case of debugging, report user need to acccess the raw
test result. Instead of going back to source file/directory/URL
to manually pull out the raw result, provide alternative
way to let report showing raw test results by providing
the result id (optional).
(From OE-Core rev: 8b2485bc0d0fa2f72b37e8bafbfa663d456ea98c)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
By default, report will use the store_map to generate the key
to reference each result set. In some situation when using store_map
with multiple set of tests sharing similar test configurations,
the report will only showing partial result set for results
that having identical result_id (use of multiconfig to run tests
where it generate identical result_id).
Enable report to have the option to use the regression_map (optional)
instead of the default store_map, where it will take larger
set of configurations to generate the key to reference each
result set, this will prevent the report from only showing
partial result set.
(From OE-Core rev: 8577abce6feb1f529537da554d39e86a5b05ca2d)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We already fetch the yearly CVE metadata and check that for updates before
downloading the full data, but we can speed up CVE checking further by only
checking the CVE metadata once an hour.
(From OE-Core rev: 50d898fd360c58fe85460517d965f62b7654771a)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch scanner works with patch files in the layer, not in the workdir, so it
doesn't need to unpack.
(From OE-Core rev: 2cba6ada970deb5156e1ba0182f4f372851e3c17)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of depending on iasl-native, depend on ovmf-native as iasl was merged
into that recipe some time ago.
bc-native doesn't appear to be a build requirement anymore, and for clarity
merge two overridden DEPENDS into a single DEPENDS.
(From OE-Core rev: 78d2f68a956ff49410b238456ce0a23c5a0667aa)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The upstream tarballs now have a unified source license of Intel|BSD|GPLv2 and
the old BSD|GPLv2 tarballs are deprecated.
Add the Intel license to the license collection, update the LICENSE field, and
update the license checksum to actually point at a license fragment.
(From OE-Core rev: 84f046187e5794d6723094e3aafab057ea396d3e)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This has been merged to master now, so mark as a backport.
(From OE-Core rev: bf8a5c92f2c2a40150159b811fa9d0a12919d43e)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the host system is expected to have enough capabilities that the
buildtools-tarball is not required, we don't need to bundle it.
This can save some significant space, especially when using with a minimal
eSDK.
minimal eSDK - core-image-minimal-qemux86-64
with buildtools-tarball - 34 MB installer - 281 MB installed
without buildtoools-tarball - 11 MB installer - 48 MB installed
(From OE-Core rev: e2b215054d11527a05210066b9bfd7d9a2054e01)
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
export OPENSSL_CONF to aviod SDK openssl can not find openssl.cnf.
(From OE-Core rev: 0aaf3dd17dcde959e9c0d62543cb91c9b33551b4)
Signed-off-by: Liwei Song <liwei.song@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix parentheses placement in the message from:
Package version for package X went backwards which would break package feeds from (Y to Z)
to this one:
Package version for package X went backwards which would break package feeds (from Y to Z)
(From OE-Core rev: 3a5a61fb6b3f811bd4f7232ba902afcfd2019154)
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Busybox's implementation of chown and chmod doesn't provide a
"--reference" option used in the latest version of dhclient-script.
This change works around that limitation by using stat to read
ownership and permissions flags and simple chown/chmod calls
supported in both coreutils and busybox.
Patch submitted upstream to ISC, tracked as bug 48771.
(From OE-Core rev: a311013e1fd0e7b874dfe11bb3cdf4839cd91c9f)
Signed-off-by: Haris Okanovic <haris.okanovic@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Import issues are encountered for the python3 aifc module,
on images with python3-misc installed:
|>>> import aifc
|Traceback (most recent call last):
|File "<stdin>", line 1, in <module>
|File "/usr/lib64/python3.7/aifc.py", line 254, in <module>
|from chunk import Chunk
|ModuleNotFoundError: No module named 'chunk'
|>>>
The chunk module is part of python3-audio. Add python3-audio
to RDEPENDS for python3-misc to fix the error.
(From OE-Core rev: 9f0e61f6ce1d945226b706f4376a762fcc636703)
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
do_ar_recipe fails on perf recipe on line:
include ${@bb.utils.contains('PACKAGECONFIG', 'scripting', 'perf-perl.inc', '', d)}
1. "${...}" part expands into empty string
2. bb.utils.which() takes empty string and returns first directory name from bbpath
3. shutil.copy() fails on copying directory:
Exception: IsADirectoryError: [Errno 21] Is a directory: ......
Hence, check "incfile" variable on each step.
(From OE-Core rev: 3b393da7d2d15de12e2a8a9c11591078b40b188a)
Signed-off-by: grygorii tertychnyi <gtertych@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Clean the displayed path so it clearly shows the package name and path in that
package.
(From OE-Core rev: 46bf5f0db164e88c2effdbf5437f4d0836e4aadd)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The whole D-Bus source has no reference to the netdev group. It
seems that the netdev group is nowhere used. Early avahi package
versions used this group for the D-Bus specific rules. However,
today avahi uses --with-avahi-priv-access-group=adm and hence
uses the adm group for its D-Bus policy rules.
If a package is using the netdev group in its D-Bus policy rules,
that package should add the group instead.
(From OE-Core rev: 70354028811c874434fe1a54cbdd9a4d2c267350)
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that ldconfig may get installed from a feed, use it when it's
available on the target.
(From OE-Core rev: 0f09f19dc48edf2ac50b554c18c217b7f97d4ae3)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Only recommend its installation, if it's enabled in distro features.
(From OE-Core rev: fda7cd9328ba26e0023d7ddfaa23f73b59443a08)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Back in 2010[1] we made pseudo statically link against sqlite3. Since then
the world has changed, pseudo now has separate processes for the database
in the server and the client and they have separate linking commands.
Also, whilst there were concerns about needing specific versions of sqlite3,
in the OE environment, this is always the case.
[1] http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=ad0ac0ecd38fc77daf42485489fccc10a5e1e3e7
The static sqlite3-native is causing us problems, in particular:
tmp/work/x86_64-linux/pseudo-native/1.9.0+gitAUTOINC+060058bb29-r0/recipe-sysroot-native/usr/lib/libsqlite3.a(sqlite3.o):(.data.rel+0xb0): undefined reference to `fcntl64'
which occurs if sqlite3-native was built on a machine with glibc 2.28 or later
and pseudo-native is being built on glibc before that. With dyanmical linking,
libc is backwards compatible and works but with static linking it does not.
There appears to be no easy way to avoid this other than adding a copy of
sqlite3 into the pseudo recipe. Given the static linking doesn't seem to
be required any longer due to the separate processes, drop that to fix
those issues.
(From OE-Core rev: a0c238d40a9cc1f87da0607fddaaef0c31d93720)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Instead of overwriting the stamp name with 'dummy', handle
setscene promotion in the default case block
* Merge '*do_image_complete_setscene*' and '*do_image_qa_setscene*'
case handling
(From OE-Core rev: 3fe6574c93a02e2e67d16e66f24be1053af383b7)
Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
harfbuzz binary package size increased from 624608 bytes in yocto 2.5 to
1365431 bytes in yocto 3.0. Most of the size increase is in the new
libharfbuzz-subset.so* library
https://harfbuzz.github.io/utilities.html#utilities-command-line-hbsubset
Split it to its own binary package which will be installed if anyone needs it.
Effect to harfbuzz binary package size is:
-PKGSIZE = 1476271
+PKGSIZE = 1007424
(From OE-Core rev: eb661eaa2067e91b533fb077479be5432b6e586b)
Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Pass `--checksum md5` and `--checksum sha256` to opkg-make-index.
Sha256 checksum enables more reliable install-time validation of IPKs.
This is particularly useful when installing from signed feeds --
I.e. feeds using signed Packages index files that deliver otherwise
unsigned IPKs. Such feeds rely on hash validation of enclosed IPKs to
thwart tampering. After download, opkg verifies IPK's checksum against
the (signed) Packages index file. Weak hashes like md5 are prone to
collision and therefore tampering.
The md5 checksum is purely for backward compatibility. Sha256 validation
was recently added to opkg. Newer builds of opkg will use it. Older
builds still look for an md5 checksum. Md5 is deprecated and should be
removed once old build are phased out.
Testing: I ran `bitbake package-index` after building a few IPKs and
verified MD5Sum and SHA256sum attributes are present in Packages.
Using opkg-utils 0.4.0.
Performance Impact: It takes about 40 seconds to cleanly re-index 8000
IPKs on an Intel Xeon E5-1620 machine. This was previously about
20 seconds.
NOTE: It's recommended to delete all Packages* files after applying this
patch. Otherwise, some IPKs won't have sha256.
(From OE-Core rev: e462f47489f35902b6972f9837d9adfa542fc796)
Signed-off-by: Haris Okanovic <haris.okanovic@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Enable nativesdk builds of gnupg and it's dependencies (libksba, npth,
and pinentry) to fix builds of nativesdk-opkg.
This is necessary on distribution which enable gpg signature
verification in opkg and also build SDK images that include opkg.
(From OE-Core rev: e935cba0122a93df611c9a846c16b7841b715fd8)
Signed-off-by: Haris Okanovic <haris.okanovic@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
gnupg-gpg is a minimal installation of gnupg with enough functionality
to verify signatures and manage keys. Use this package instead of full
gnupg to slim down opkg installations with "--enable-gpg".
(From OE-Core rev: c0d663da05c5a2c466658246feaa7872756ded2c)
Signed-off-by: Haris Okanovic <haris.okanovic@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add minimal "gnupg-gpg" package containing just enough binaries to run
gpg and gpg-agent. Add dependency in normal "gnupg" package to preserve
old behavior.
Some applications like opkg don't need all functionality provided by
normal gnupg installations. This minimal package provides just enough
functionality to verify and manage keys in opkg, in order to minimize
disk overhead.
(From OE-Core rev: 6686c64ad30481d4d67af6a7b9bec7e7ae1a83fe)
Signed-off-by: Haris Okanovic <haris.okanovic@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
libevent produces several libraries that might or might not
be used in the end. We can prevent those potentially unused
libraries from being pulled into a file-system by splitting
the individual shared libraries into individual packages.
Because this recipe only provides shared libraries which are
handled automatically by bitbake (shlibs), there is no need
to add the subpackages to the RDEPENDS of PN for backwards
compatibility. The packaging process of dependees will
simply pull in the sub-packages as runtime dependency as
needed.
This also how Debian splits this up.
While updating the packaging, we can also drop event_rpcgen.py
which appears to be a tool for generating rpc bindings, i.e.
something that should normally be in -dev. Given Debian
doesn't package this at all, and given it actually requires
python to run but no runtime dependency is stated at the
moment, it would appear that no users of this exist.
(From OE-Core rev: d10e8384bfa08d928dfec3a00c59006badfc88ee)
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add "esp_extra_blocks" plugin parameter so that caller may change
ESP's free space from the default 100 blocks.
(From OE-Core rev: db4be094b0d6741ca4f9e2cbb499fc9c224fa690)
Signed-off-by: Haris Okanovic <haris.okanovic@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since the Sun RPC is deprecated in glibc, the rpc header files
are not provided any more, but it allows alternative RPC
implementations, such as TIRPC or rpcsvc-proto, to be used.
So we create the symbol link for rpc header files for tirpc to
be more compatible with the glibc version and the application usage.
(From OE-Core rev: 674596421320de08142e010fdd65ec6f0a0f34e9)
Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
>From announcement:
What's new in the WebKitGTK 2.26.2 release?
===========================================
- Improve performance of querying system fallback fonts.
- Don't use prgname in dbus-proxy socket path.
- Fix thread-safety issues in image decoders.
- Fix the build with WebDriver disabled.
- Disable accelerated compositing when we fail to initialize the EGL dispaly under Wayland.
- Fill the objects category in emoji picker.
- Fix several crashes and rendering issues.
(From OE-Core rev: 854a9aa2212cc24620c9ad3d24acc52f686b5c1a)
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Modern distros (e.g. fedora30) are starting to use the new statx() syscall through
the newly exposed glibc wrapper function in software like coreutils (e.g. the ls
command). Add support to intercept this to pseudo.
(From OE-Core rev: 11694eb59bea347085d6e389df0b46826219c0d3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adds an option that can be used to copy the offending packages to a temp
directory for later evaluation. This is useful on the Autobuilder to
investigate failures.
(From OE-Core rev: 54b29bae78d1711074fbd18f0350ef0b83b555d1)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix mercurial fetching after breakage from changes to the core fetcher.
Fix username and password usage and setting moddir needed by setup_revisions.
(Bitbake rev: 8962b27abc68427eae085624f26300108ae88aa1)
Signed-off-by: Volker Vogelhuber <v.vogelhuber@digitalendoscopy.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The bitbake-worker child on the SIGTERM signal handling send the SIGTERM to all
processes in it's process group. In cases when the bitbake-worker child got
SIGTERM after registering own SIGTERM handler and before the os.setsid() call
it can send SIGTERM to unwanted processes.
In the worst case during SIGTERM processing the bitbake-worker child can be in
the group of the process that started BitBake itself. As a result it can kill
processes that not related to BitBake at all.
(Bitbake rev: b97b1ef0b1b00848a4a44b34eca123ccf33188f4)
Signed-off-by: Ivan Efimov <i.efimov@inango-systems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bibake is currently too 'chatty' when hash equivalence is enabled. Fix
this by only printing the log output if a rehash happens and it matches
an sstate object.
Also, pass a summary option to the hash checking function. This was
already changed to a mechanism which allows addition of new parameters
so this should be backwards and forwards compatible.
(Bitbake rev: 0c4515603ad08775e3b0404cba5374367e49f236)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There isn't anything specific about the target in these cases an in
general recipes should touch CFLAGS. This ensures people don't
copy/paste bad example usages. In reality, behaviour is mostly
unchanged.
(From OE-Core rev: ae6e7dd19b6da81090a38792dfdf31b459290466)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add new package for bcm4366c and include available NVRAM config files
into the corrent bcm* packages.
(From OE-Core rev: dde0f79f32fa6bab045ef60199903f74c4cc3393)
Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
include stdint.h since the test uses uintptr_t C99 type
(From OE-Core rev: b0791cfeeed3d4346ea5c9285f09b0a532c58bf8)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
this file is supposed be included via endian.h indirectly, moreover
Future musl versions does not have this file
(From OE-Core rev: 3ef6adbc48ea7d5714d04555f3bc80b6e220efa8)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Tests shouldn't be writing to layers during tests as this could corrupt
other tests running in parallel.
Modify the test to write the bbappend to a separate temporary layer
which is added and removed by the test. This avoids race failures
on the autobuilder.
(From OE-Core rev: 467c72ff2c9fe00c40d04d5d859d860fb267499e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Its confusing to keep seeing sstate summary messages when hash equivalency is
active. This adds an option to control it. A default value is given which
maintains compatibility with different bitbake versions.
(From OE-Core rev: 038004866ff6650bcff7bb1bde36de6c0f451d29)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently, if files move between recipes, do_prepare_sysroot can fail with a message like
Exception: FileExistsError: [Errno 17] File exists:
'TMPDIR/sysroots-components/core2-64/libx11/usr/include/X11/extensions/XKBgeom.h' ->
'TMPDIR/work/core2-64-poky-linux/gtk+3/3.24.8-r0/recipe-sysroot/usr/include/X11/extensions/XKBgeom.h'
This is because files are removed and then added per package. What needs to
happen is all removes need to be processed, then all additions.
This patch changes the code to process in two phases, removals first, then additions,
which avoids the problem.
(From OE-Core rev: e3e5ace6e68d5fe68e4add301a44c1a1b8607411)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There was a weird error in OE-Core where "devtool modify virtual/kernel"
was showing basehash mismatch errors. This was due to SRCPV sometimes being:
AUTOINC+b867b78b50_47b80ef7bd and sometimes AUTOINC+b867b78b50_255a750d28.
The latter hash comes from KBRANCH and meant sometimes the correct branch
was seen, sometimes it was not. The issue was complicated by the execution
using a remote datastore over tinfoil.
The problem turns out to be a fetcher caching error. If the datastore
changes, the cached url data may not be valid.
We therefore ensure we match cached url data against the datastore that
generated it, which appears to fix this issue.
(Bitbake rev: 0540abd338ed2ffd822edbd2947cab2f18873422)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a memory leak that nobody else can replicate and has been rejected by
upstream.
(From OE-Core rev: 2c2f70f0f364474e2d9c7d7e5480e80c77e5dea4)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This CVE is about race conditions in 'ps' which make it unsuitable for security
audits. As these race conditions are unavoidable ps shouldn't be used for
security auditing, so this isn't a valid CVE.
(From OE-Core rev: b3fa0654abf9ac32f683ac174e453ea5e64b6cb8)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is actually a memory leak in gif2png 2.x, so whitelist it in the libpng
recipe.
(From OE-Core rev: 341e43ebd935daeb592cb073bf00f80c49a8ec2d)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* they moved to meson build
* all autotools specific patches must go
* although not inheriting gettext dependency on intltool-native can go
* tested with all variants of PACKAGECONFIG
* need it for gnome-terminal 3.34
(From OE-Core rev: 6e7cfd2edd7b35201478e66d47b21547a1032e30)
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The change in 5cea0448c5c75b9defc5fc2582e9b0c14e26a4e9 cases the
following to be printed during boot:
/etc/rcS.d/S00psplash.sh: line 28: [: -q: binary operator expected
and the volume is thus never mounted, neither when invoked during
boot nor shutdown/reboot.
(From OE-Core rev: 7a84ef8effcbb4770b27f0af59d84db343d05701)
Signed-off-by: Torbjörn Svensson <azoff@svenskalinuxforeningen.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As we apply the same patches to native and target builds of file, we can verify
that the patches are not breaking by executing the test suite during the build
of file-native.
(From OE-Core rev: 03591b9945bf04baca794e221b93ac66568b0609)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This tag has been removed, so we don't need to work around it anymore.
(From OE-Core rev: 1ab9fc04d6666de0c5c176f546f64c11dffe2106)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The list-pkgs currently print packages in unordered format.
Enable list-pkgs to print ordered packages that will ease
viewing.
(From OE-Core rev: ab661f96e2fd529588692c978274a840f34ee7cf)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Existing tests check that adding a specific gpl3 package (bash)
to core-image-minimal results in expected behaviour.
These tests check the ability to build two common images
without gpl3 components in them:
1. core-image-minimal needs no further tweaks and works
out of the box.
2. core-image-full-cmdline requires dropping the GNU packages
that it pulls in; for good measure this tweaked image is
verified with runtime tests.
These two tests allow dropping meta-gplv2 from being tested
on the autobuilder, however there should be a community consensus
first.
(From OE-Core rev: a181f46b8aae066a4b8a26a8045797c38a63e834)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
recipeutils-test has virtual/libx11 as a DEPENDS, but this will cause errors if
the recipe is built in an environment without x11 in DISTRO_FEATURES.
This dependency isn't actually used for anything so we could remove it, but to
save updating the test cases too just swap virtual/libx11 for zlib.
[ YOCTO #13611 ]
(From OE-Core rev: 7dbd72a08a81436d9ddd168f44e5c13e28eaff99)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With the sdl frontend, qemu isn't able to even boot fully,
so let's skip the test early.
(From OE-Core rev: 7b0708da20e4f04070837e5696e4fa3ee5990e8f)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upgrade libgcrypt. Upstream repo now has a pkg-config
feature. The new patch for compatibility with oe-core
is a replacement for a patch that added pkg-config as
a feature when upstream did not have it.
(From OE-Core rev: 53b73a39ae4a4c8db19fb18ef1881033f6b9ff51)
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some GStreamer recipes like gstreamer1.0-vaapi already use HTTPS instead
of http. Also, access to http:// is simply redirected by the freedesktop
server to https://, and using HTTPS is anyway generally recommended over
plain HTTP for security reasons. So, normalize the URLs to use HTTPS only.
(From OE-Core rev: c10cd9a54c5df7c5afddfa553b28a62fb0e80ff3)
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Removed gtkdoc-no-tree.patch since its changes are now included in 1.16.1
(From OE-Core rev: d8efb46efbc47049c43d366ad7f73183474ee1b2)
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* 0001-scaletempo-Advertise-interleaved-layout-in-caps-temp.patch
* headerfix.patch
Removed since these changes are already included in 1.16.1
(From OE-Core rev: 46dcf91b5ff6dc495cb9550a539eb7aa16d6170b)
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The copy of the kernel's top level include directory is not
required to build perf. We have both the linux-libc-headers and
perf's captured/copied headers for what it requires.
The copy of the kernel's headers is leading us to multiple smaller
fixes to ensure that the various .h files are in sync. We can
remove the copy and all of the sync checks, and perf still builds
and executes correctly.
(From OE-Core rev: 79bfd5515887e5faf315a581d98bda63899760da)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
perf can use libcap when available, so we add a packageconfig
for those that want the support.
(From OE-Core rev: 9a35c61d2218e139aa4420ef25f8cf4a0c4c2cfc)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If we need to copy a single file from the linux source tree into
the perf source tree, we need to ensure that the directory structure
it requires has been created first.
(From OE-Core rev: 7c33f0b1ee35031aa97e5e5231f53d8502b583c9)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When building perf for 5.4+, we have some new files that need to
be copied (and synchronized) due to structural changes in the
kernel source tree.
Some of the issues these fixes are warnings, but none the less,
they are worth fixing.
- We copy arch/${ARCH}/Makefile, since it is source by some perf
Makefiles
- We copy scripts/, since the perf utilities are looking for files
in that directory stucture.
- We have *three* copies of ctypes.h in the tools/* hierarchy
during the build. If the tools/perf/util/include/linux/ variant
is used, it will trigger build errors since it is not complete.
We copy the kernel's main include/linux/ctype.h to ensure they
are in sync.
(From OE-Core rev: 6a000d734c2fe57b4a601fe7e7373096345b02b4)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.2 to the latest korg -stable release that comprises
the following commits:
56fd0c9f5473 Linux 5.2.20
6f375cee0394 vfs: set fs_context::user_ns for reconfigure
fbad63fcf7f8 9p/cache.c: Fix memory leak in v9fs_cache_session_get_cookie
23721140761c KVM: hyperv: Fix Direct Synthetic timers assert an interrupt w/o lapic_in_kernel
f6e1c74f5664 kexec: bail out upon SIGKILL when allocating memory.
a761ba725477 NFC: fix attrs checks in netlink interface
08519f370a57 dm raid: fix updating of max_discard_sectors limit
069a73c93447 smack: use GFP_NOFS while holding inode_smack::smk_lock
73cf33180fd5 Smack: Don't ignore other bprm->unsafe flags if LSM_UNSAFE_PTRACE is set
e4875cfb207f soundwire: fix regmap dependencies and align with other serial links
455807823191 arm: use STACK_TOP when computing mmap base address
a7d44c89fb47 arm: properly account for stack randomization and stack guard gap
d474fced6704 mips: properly account for stack randomization and stack guard gap
5edc5cfcd1ce arm64: consider stack randomization for mmap base only when necessary
0499bb1b61cd kmemleak: increase DEBUG_KMEMLEAK_EARLY_LOG_SIZE default to 16K
b71617b36dc6 ocfs2: wait for recovering done after direct unlock request
5f63ef732675 kbuild: clean compressed initramfs image
26235380e633 crypto: hisilicon - Fix double free in sec_free_hw_sgl()
ef1bb2f3c68c hypfs: Fix error number left in struct pointer member
86fa1c1b3ab1 pktcdvd: remove warning on attempting to register non-passthrough dev
30ef03cb2c46 fat: work around race with userspace's read via blockdev while mounting
049e9c72a671 ARM: 8903/1: ensure that usable memory in bank 0 starts from a PMD-aligned address
68a14319be38 ARM: 8905/1: Emit __gnu_mcount_nc when using Clang 10.0.0 or newer
b10ee4270915 PCI: Use static const struct, not const static struct
88b4b5b7e2a8 security: smack: Fix possible null-pointer dereferences in smack_socket_sock_rcv_skb()
0728352751bb PCI: exynos: Propagate errors for optional PHYs
6eb7a0a0eb86 PCI: imx6: Propagate errors for optional regulators
130642ed27a6 PCI: histb: Propagate errors for optional regulators
dc35055b644f PCI: rockchip: Propagate errors for optional regulators
06f8fc7effb5 HID: apple: Fix stuck function keys when using FN
1c8c46bdfcde PCI: Add pci_info_ratelimited() to ratelimit PCI separately
400a250cc06f selinux: fix residual uses of current_security() for the SELinux blob
30f8969d6265 rtc: pcf85363/pcf85263: fix regmap error in set_time
1a5f22226ad0 rtc: snvs: fix possible race condition
6edfcbdc24be ARM: 8875/1: Kconfig: default to AEABI w/ Clang
5a58f0bf27ff soundwire: intel: fix channel number reported by hardware
175f4efcb12a ARM: 8898/1: mm: Don't treat faults reported from cache maintenance as writes
cf4e9c2472ac mips/atomic: Fix smp_mb__{before,after}_atomic()
a7ef43bf9064 livepatch: Nullify obj->mod in klp_module_coming()'s error path
677540cb39e0 PCI: layerscape: Add the bar_fixed_64bit property to the endpoint driver
97c3d2a3dd8f PCI: pci-hyperv: Fix build errors on non-SYSFS config
57e4c0e0efce mips/atomic: Fix loongson_llsc_mb() wreckage
11daaf5c38f2 HID: wacom: Fix several minor compiler warnings
503aae8dcc18 PCI: tegra: Fix OF node reference leak
b0a68c638875 mfd: intel-lpss: Remove D3cold delay
b6cb1efe18cc i2c-cht-wc: Fix lockdep warning
d1d45f98a6e6 MIPS: tlbex: Explicitly cast _PAGE_NO_EXEC to a boolean
7bd355196324 MIPS: Don't use bc_false uninitialized in __mm_isBranchInstr
cac61f5b7d95 MIPS: Ingenic: Disable broken BTB lookup optimization.
b67fd3bfeec5 ext4: fix potential use after free after remounting with noblock_validity
ad849db7534b f2fs: fix to drop meta/node pages during umount
ce7adbbc06e3 dma-buf/sw_sync: Synchronize signal vs syncpt free
99a2037bec11 scsi: core: Reduce memory required for SCSI logging
cbd9a87fbdf9 clk: sprd: add missing kfree
4d5a7f001acc mbox: qcom: add APCS child device for QCS404
910d8b71530c powerpc: dump kernel log before carrying out fadump or kdump
04dddb1ca7ad clk: Make clk_bulk_get_all() return a valid "id"
b6185efcf241 clk: imx: clk-pll14xx: unbypass PLL by default
d54c3307cac1 clk: imx: pll14xx: avoid glitch when set rate
9b538d38aa92 clk: at91: select parent if main oscillator or bypass is enabled
39a3ff30b6ad arm64: fix unreachable code issue with cmpxchg
15786d677bbc mailbox: mediatek: cmdq: clear the event in cmdq initial flow
1496f3d15934 pinctrl: meson-gxbb: Fix wrong pinning definition for uart_c
112f51caf1b6 powerpc/pseries: correctly track irq state in default idle
f87906966831 clk: qcom: gcc-sdm845: Use floor ops for sdcc clks
e5169c0043af powerpc/eeh: Clean up EEH PEs after recovery finishes
c25829e2e7de pstore: fs superblock limits
b32e4cc264c8 powerpc/64s/exception: machine check use correct cfar for late handler
f939cc03668f drm/amdgpu/si: fix ASIC tests
bfbc57ef3481 selftests/powerpc: Retry on host facility unavailable
73bffb99ddca drm/amd/display: support spdif
18184bd06a69 clk: renesas: cpg-mssr: Set GENPD_FLAG_ALWAYS_ON for clock domain
b4b220dfcd36 clk: renesas: mstp: Set GENPD_FLAG_ALWAYS_ON for clock domain
b5c5e7dfde66 pinctrl: amd: disable spurious-firing GPIO IRQs
b1a330db3cc3 drm/nouveau/volt: Fix for some cards having 0 maximum voltage
ecce6020a052 drm/nouveau/kms/tu102-: disable input lut when input is already FP16
6ad134a33083 vfio_pci: Restore original state on release
169edc8a1b8b powerpc/eeh: Clear stale EEH_DEV_NO_HANDLER flag
0b54040780ce pinctrl: tegra: Fix write barrier placement in pmx_writel
a16c6638d760 powerpc/perf: fix imc allocation failure handling
4ce5f278af62 powerpc/pseries/mobility: use cond_resched when updating device tree
714886254f3c powerpc/64s/radix: Fix memory hotplug section page table creation
de37ad13aca1 powerpc/futex: Fix warning: 'oldval' may be used uninitialized in this function
f2118bfd0259 powerpc/rtas: use device model APIs and serialization during LPM
26c32f58d8eb powerpc/xmon: Check for HV mode when dumping XIVE info from OPAL
fa702b72cbf9 clk: zx296718: Don't reference clk_init_data after registration
5772dedde987 clk: sprd: Don't reference clk_init_data after registration
3c384b661818 clk: meson: axg-audio: Don't reference clk_init_data after registration
8e9a12894cc3 clk: sirf: Don't reference clk_init_data after registration
5a90971761cd clk: actions: Don't reference clk_init_data after registration
672ce7241a40 powerpc/powernv/ioda2: Allocate TCE table levels on demand for default DMA window
97641efe039e drm/amd/display: reprogram VM config when system resume
075ad48409c1 drm/amd/display: Fix frames_to_insert math
73de2baa5b3c drm/amd/display: fix issue where 252-255 values are clipped
98ecf758e63f clk: sunxi-ng: v3s: add missing clock slices for MMC2 module clocks
60e5b94e4fe6 clk: qoriq: Fix -Wunused-const-variable
99340b4cad30 ipmi_si: Only schedule continuously in the thread in maintenance mode
dc8331fb5397 pinctrl: stmfx: update pinconf settings
49b23a7d976d PCI: rpaphp: Avoid a sometimes-uninitialized warning
d1deded18c3e clk: imx8mq: Mark AHB clock as critical
22acd1a64d95 gpu: drm: radeon: Fix a possible null-pointer dereference in radeon_connector_set_property()
0cb2ddf9a3a0 drm/radeon: Fix EEH during kexec
a86a8e6ef256 drm/amdgpu: Fix hard hang for S/G display BOs.
d8847b4b3a24 drm/rockchip: Check for fast link training before enabling psr
d85e0b4ef1f2 drm/panel: check failure cases in the probe func
f85634c3ffd2 drm/stm: attach gem fence to atomic state
0b271676816a drm/tinydrm/Kconfig: drivers: Select BACKLIGHT_CLASS_DEVICE
21eee05ca2c8 video: ssd1307fb: Start page range at page_offset
b51bb2f57998 drm/amd/display: add monitor patch to add T7 delay
d7c8317943b5 drm/panel: simple: fix AUO g185han01 horizontal blanking
bdcef6cd4c94 drm/vkms: Avoid assigning 0 for possible_crtc
29079f2260ff drm/bridge: tc358767: Increase AUX transfer length limit
b66b85d54494 drm/vkms: Fix crc worker races
c036f925087e net: sched: taprio: Avoid division by zero on invalid link speed
411184eda7d0 net: sched: cbs: Avoid division by zero when calculating the port rate
90053e8de295 ptp_qoriq: Initialize the registers' spinlock before calling ptp_qoriq_settime
4437b0b5d236 xen-netfront: do not use ~0U as error return value for xennet_fill_frags()
04e6fa02cc6e net/rds: Fix error handling in rds_ib_add_one()
d6870bbdacd6 udp: only do GSO if # of segs > 1
da0f508134bb tcp: adjust rto_base in retransmits_timed_out()
c5994847e736 net: dsa: rtl8366: Check VLAN ID and not ports
11432777d98b vsock: Fix a lockdep warning in __vsock_release()
fba0b06b5941 udp: fix gso_segs calculations
9af774bcc460 tipc: fix unlimited bundling of small messages
c01fc241d449 sch_dsmark: fix potential NULL deref in dsmark_init()
392053bb2328 sch_cbq: validate TCA_CBQ_WRROPT to avoid crash
e752bb81ed39 rxrpc: Fix rxrpc_recvmsg tracepoint
7fc879a38f81 qmi_wwan: add support for Cinterion CLS8 devices
600c91857832 nfc: fix memory leak in llcp_sock_bind()
50b26ba8938f net: Unpublish sk from sk_reuseport_cb before call_rcu
4e71bbe0fdc8 net: sched: taprio: Fix potential integer overflow in taprio_set_picos_per_byte
a087259d42ba net: qlogic: Fix memory leak in ql_alloc_large_buffers
ff917e2d2c8d net: ipv4: avoid mixed n_redirects and rate_tokens usage
3e586883beb4 ipv6: Handle missing host route in __ipv6_ifa_notify
a0efe1cbadc4 ipv6: drop incoming packets having a v4mapped source address
93b1f9364559 hso: fix NULL-deref on tty open
7edcdec673dc erspan: remove the incorrect mtu limit for erspan
a203f2d6b4ea cxgb4:Fix out-of-bounds MSI-X info array access
076d9f965e56 Linux 5.2.19
8c4f7f403e79 platform/chrome: cros_ec_rpmsg: Fix race with host command when probe failed
d4ecc0a011cc mt76: mt7615: fix mt7615 firmware path definitions
7dcd2e608bd3 mt76: mt7615: always release sem in mt7615_load_patch
c959aebdc313 md/raid0: avoid RAID0 data corruption due to layout confusion.
cb2daf3e8cef drm/amd/display: Restore backlight brightness after system resume
5bd1ab51d4c7 CIFS: Fix oplock handling for SMB 2.1+ protocols
b90f653c964e CIFS: fix max ea value size
bc3a3e7c695c i2c: riic: Clear NACK in tend isr
ba86f3d55fc1 hwrng: core - don't wait on add_early_randomness()
fa0c86d48184 quota: fix wrong condition in is_quota_modification()
6c8042e92499 ext4: fix punch hole for inline_data file systems
7c7aff67e841 ext4: fix warning inside ext4_convert_unwritten_extents_endio
026f900e102a mtd: rawnand: stm32_fmc2: avoid warnings when building with W=1 option
afe3a71e655d ipmi: move message error checking to avoid deadlock
b0df636473e5 xfs: Fix stale data exposure when readahead races with hole punch
b56335c486f7 mm: Handle MADV_WILLNEED through vfs_fadvise()
a775ad97ce77 fs: Export generic_fadvise()
f811fce3971f /dev/mem: Bail out upon SIGKILL.
84a85e7ec32e cfg80211: Purge frame registrations on iftype change
d1e007a497f6 md: only call set_in_sync() when it is expected to succeed.
c4ab81dab3b0 md: don't report active array_state until after revalidate_disk() completes.
801070ab8ad5 md/raid6: Set R5_ReadError when there is read failure on parity disk
82dd0828253a ACPI / LPSS: Save/restore LPSS private registers also on Lynxpoint
ca1a7debf461 SUNRPC: Fix buffer handling of GSS MIC without slack
89c2c6f70602 SUNRPC: Dequeue the request from the receive queue while we're re-encoding
e5b682d7792f Btrfs: fix race setting up and completing qgroup rescan workers
8e2074d3c283 btrfs: qgroup: Fix reserved data space leak if we have multiple reserve calls
f2a4259af36d btrfs: qgroup: Fix the wrong target io_tree when freeing reserved data space
51bae3f5578c btrfs: adjust dirty_metadata_bytes after writeback failure of extent buffer
3c6b7c79fe96 btrfs: Relinquish CPUs in btrfs_compare_trees
620cde3fe214 Btrfs: fix use-after-free when using the tree modification log
db66429314dd btrfs: fix allocation of free space cache v1 bitmap pages
0a19609d9a2f ovl: filter of trusted xattr results in audit
ee080509c14e ovl: Fix dereferencing possible ERR_PTR()
e2a5e040a63b smb3: fix leak in "open on server" perf counter
79aeacfeebb5 smb3: allow disabling requesting leases
a98f553d2b78 block: fix null pointer dereference in blk_mq_rq_timed_out()
facb691f45d6 block: mq-deadline: Fix queue restart handling
ab3d89dbec88 i40e: check __I40E_VF_DISABLE bit in i40e_sync_filters_subtask
00cac3533335 ath10k: fix channel info parsing for non tlv target
7228bca11c14 rtw88: pci: Use DMA sync instead of remapping in RX ISR
80e456c82a5c rtw88: pci: Rearrange the memory usage for skb in RX ISR
a8e0442493bf KEYS: trusted: correctly initialize digests and fix locking issue
e1ff89ad3dde mt76: round up length on mt76_wr_copy
d08bb3463d8f lib/lzo/lzo1x_compress.c: fix alignment bug in lzo-rle
482859563c02 memcg, kmem: do not fail __GFP_NOFAIL charges
ef54420b0726 memcg, oom: don't require __GFP_FS when invoking memcg OOM killer
1cbbcacdcdf4 mm/compaction.c: clear total_{migrate,free}_scanned before scanning a new zone
5377b8767d64 z3fold: fix memory leak in kmem cache
ed99d2d1af39 z3fold: fix retry mechanism in page reclaim
9a6b2645aa75 gfs2: clear buf_in_tr when ending a transaction in sweep_bh_for_rgrps
9b4f0cba4476 efifb: BGRT: Improve efifb_bgrt_sanity_check
d6acb54716ff regulator: Defer init completion for a while after late_initcall
f11e0e8942f4 iommu/vt-d: Fix wrong analysis whether devices share the same bus
f683465f0564 alarmtimer: Use EOPNOTSUPP instead of ENOTSUPP
5d67ad366f2b iommu/arm-smmu-v3: Disable detection of ATS and PRI
7fd38df794c2 arm64: dts: rockchip: limit clock rate of MMC controllers for RK3328
ef2fa63bbe95 arm64: tlb: Ensure we execute an ISB following walk cache invalidation
516d62914766 ARM: zynq: Use memcpy_toio instead of memcpy on smp bring-up
b9cbc0df92c3 ARM: samsung: Fix system restart on S3C6410
f1592b754350 ASoC: Intel: Fix use of potentially uninitialized variable
6c03deb9baf9 ASoC: Intel: Skylake: Use correct function to access iomem space
4ccbdceb2e2b ASoC: Intel: NHLT: Fix debug print format
89beb34d7533 binfmt_elf: Do not move brk for INTERP-less ET_EXEC
a24d7c499db0 spi: spi-fsl-dspi: Exit the ISR with IRQ_NONE when it's not ours
f0724e4dc181 spi: ep93xx: Repair SPI CS lookup tables
215019d6ef10 media: don't drop front-end reference count for ->detach
11f20198e922 media: sn9c20x: Add MSI MS-1039 laptop to flip_dmi_table
682dbe2cb5e7 media: videobuf-core.c: poll_wait needs a non-NULL buf pointer
e1bbf7d2cd21 KVM: x86/mmu: Use fast invalidate mechanism to zap MMIO sptes
32076032e7db KVM: x86: Disable posted interrupts for non-standard IRQs delivery modes
fb817d533600 KVM: x86: Manually calculate reserved bits when loading PDPTRS
c5c761130003 KVM: x86: set ctxt->have_exception in x86_decode_insn()
8d1e0c157027 KVM: x86: always stop emulation on page fault
8e422d4af87d platform/x86: intel_int0002_vgpio: Fix wakeups not working on Cherry Trail
c1b3752b5f25 parisc: Disable HP HSC-PCI Cards to prevent kernel crash
3a1f5551534d fuse: fix beyond-end-of-page access in fuse_parse_cache()
99a21e616426 fuse: fix missing unlock_page in fuse_writepage()
831bd6ec1633 fuse: fix deadlock with aio poll and fuse_iqueue::waitq.lock
843d38c96532 tpm: Wrap the buffer from the caller to tpm_buf in tpm_send()
d59609b135ac tpm_tis_core: Set TPM_CHIP_FLAG_IRQ before probing for interrupts
43e8e81e357c tpm_tis_core: Turn on the TPM before probing IRQ's
830afcbc9391 powerpc/imc: Dont create debugfs files for cpu-less nodes
c9321577cbc9 scsi: implement .cleanup_rq callback
2492d1d7f34a blk-mq: add callback of .cleanup_rq
22b97cad6d67 ALSA: hda/realtek - PCI quirk for Medion E4254
f0028c2bed93 rcu/tree: Fix SCHED_FIFO params
d567e81a20c0 ARM: dts: am3517-evm: Fix missing video
5f8095b682d6 randstruct: Check member structs in is_pure_ops_struct()
03d53cb8acb8 RDMA: Fix double-free in srq creation error flow
3d97d7d688e7 IB/hfi1: Do not update hcrc for a KDETH packet during fault injection
040fc3258d95 IB/hfi1: Define variables as unsigned long to fix KASAN warning
dcbb25d9400b IB/mlx5: Free mpi in mp_slave mode
44602a8a1406 printk: Do not lose last line in kmsg buffer dump
9dfb1ce6b615 scsi: qla2xxx: Fix Relogin to prevent modifying scan_state flag
a16791fccaf6 scsi: scsi_dh_rdac: zero cdb in send_mode_select()
6e8f051e504d ALSA: firewire-tascam: check intermediate state of clock status and retry
75c1a117e1f7 ALSA: firewire-tascam: handle error code when getting current source of clock
77567ebc4060 iwlwifi: fw: don't send GEO_TX_POWER_LIMIT command to FW version 36
9d9c01542848 ARM: omap2plus_defconfig: Fix missing video
3d226661238e ARM: dts: logicpd-torpedo-baseboard: Fix missing video
2e847a842b2b PM / devfreq: passive: fix compiler warning
8e16bddcc6bd media: omap3isp: Set device on omap3isp subdevs
d6595ad8ca5d kvm: Nested KVM MMUs need PAE root too
37099d7a3e66 btrfs: Detect unbalanced tree with empty leaf before crashing btree operations
3d95c52d789c btrfs: tree-checker: Add ROOT_ITEM check
9ae8394e41d7 btrfs: extent-tree: Make sure we only allocate extents from block groups with the same type
7ee67b37a0bf btrfs: delayed-inode: Kill the BUG_ON() in btrfs_delete_delayed_dir_index()
9e6431c0f2e4 zd1211rw: remove false assertion from zd_mac_clear()
8e9a39559b73 iommu/amd: Override wrong IVRS IOAPIC on Raven Ridge systems
d6dfca753d7a ALSA: hda/realtek - Blacklist PC beep for Lenovo ThinkCentre M73/93
798b010be17b drm: fix module name in edid_firmware log message
dae45bd9b873 media: ttusb-dec: Fix info-leak in ttusb_dec_send_command()
06752109ced1 drm/amd/powerplay/smu7: enforce minimal VBITimeout (v2)
33e91a59bf81 ALSA: hda - Drop unsol event handler for Intel HDMI codecs
5397eb1a1fb0 ALSA: hda - Add a quirk model for fixing Huawei Matebook X right speaker
354098b7045d e1000e: add workaround for possible stalled packet
27a2b39359f8 libertas: Add missing sentinel at end of if_usb.c fw_table
9eff1ebe2c90 mmc: mtk-sd: Re-store SDIO IRQs mask at system resume
c5f89ff633d2 raid5: don't increment read_errors on EILSEQ return
7cb4bc790e12 mmc: dw_mmc: Re-store SDIO IRQs mask at system resume
6d9a663aca54 mmc: core: Add helper function to indicate if SDIO IRQs is enabled
d32263d8b9b5 mmc: sdhci: Fix incorrect switch to HS mode
de6fea9fcf1e sched/psi: Correct overly pessimistic size calculation
106af0369442 mmc: core: Clarify sdio_irq_pending flag for MMC_CAP2_SDIO_IRQ_NOTHREAD
f9762c19d883 raid5: don't set STRIPE_HANDLE to stripe which is in batch list
d54de8cfa4a1 block: make rq sector size accessible for block stats
6c7b70e220d5 io_uring: fix wrong sequence setting logic
38b24f688d64 ASoC: dmaengine: Make the pcm->name equal to pcm->id if the name is not set
a7963f92406d platform/x86: intel_pmc_core: Do not ioremap RAM
c7e971d4f027 x86/cpu: Add Tiger Lake to Intel family
6e2056c4424c irqchip/gic-v3-its: Fix LPI release for Multi-MSI devices
74a94a7e0a01 s390/crypto: xts-aes-s390 fix extra run-time crypto self tests finding
cf8360a5be18 irqchip/sifive-plic: set max threshold for ignored handlers
1f57c45eaab5 x86/mm: Fix cpumask_of_node() error condition
daecd8d05e3d kprobes: Prohibit probing on BUG() and WARN() address
6265d3c8b96b dmaengine: ti: edma: Do not reset reserved paRAM slots
18a00f37f418 md/raid1: fail run raid1 array when active disk less than one
b92d8e39fa70 hwmon: (acpi_power_meter) Change log level for 'unsafe software power cap'
d57d9213d8b8 hwmon: (k10temp) Add support for AMD family 17h, model 70h CPUs
94a379db627a closures: fix a race on wakeup from closure_sync
4b88669aa2f8 ACPI / PCI: fix acpi_pci_irq_enable() memory leak
70424999fbf1 ACPI: custom_method: fix memory leaks
997c08a49443 x86/amd_nb: Add PCI device IDs for family 17h, model 70h
91180767bba9 ARM: dts: exynos: Mark LDO10 as always-on on Peach Pit/Pi Chromebooks
a6ff82b2cb60 libtraceevent: Change users plugin directory
4509537c378a iommu/iova: Avoid false sharing on fq_timer_on
b20a5ef80779 libata/ahci: Drop PCS quirk for Denverton and beyond
aecef5f0a4fd ASoC: Intel: Haswell: Adjust machine device private context
a9c3dacf2939 iommu/amd: Silence warnings under memory pressure
4d3f9cdc0f3e ALSA: firewire-motu: add support for MOTU 4pre
311abc6a314c nvme-multipath: fix ana log nsid lookup when nsid is not found
3c971d5dc374 nvmet: fix data units read and written counters in SMART log
07e66eb2a8c0 x86/mm/pti: Handle unaligned address gracefully in pti_clone_pagetable()
6198f3954f15 ASoC: fsl_ssi: Fix clock control issue in master mode
c9e116d055f9 x86/mm/pti: Do not invoke PTI functions when PTI is disabled
6e46d1f16473 perf evlist: Use unshare(CLONE_FS) in sb threads to let setns(CLONE_NEWNS) work
b70a9f2ab2fa arm64: kpti: ensure patched kernel text is fetched from PoU
9093a2e343f2 x86/apic/vector: Warn when vector space exhaustion breaks affinity
12dae85048f1 sched/cpufreq: Align trace event behavior of fast switching
92402bba4f32 ACPI / CPPC: do not require the _PSD method
51f464d8bce7 ASoC: es8316: fix headphone mixer volume table
57869649b230 leds: lm3532: Fixes for the driver for stability
ee3251c9e71f media: ov9650: add a sanity check
826a67380c4a media: aspeed-video: address a protential usage of an unitialized var
c10ea8447736 perf script: Fix memory leaks in list_scripts()
8d70572f69cc perf report: Fix --ns time sort key output
fffe93c89d8b perf trace beauty ioctl: Fix off-by-one error in cmd->string table
723809bb6d16 media: saa7134: fix terminology around saa7134_i2c_eeprom_md7134_gate()
1c6a694568db media: cpia2_usb: fix memory leaks
ecc548676360 media: saa7146: add cleanup in hexium_attach()
730e14891202 media: cec-notifier: clear cec_adap in cec_notifier_unregister
b74f2a4c0af2 PM / devfreq: exynos-bus: Correct clock enable sequence
61496a6956d5 PM / devfreq: passive: Use non-devm notifiers
6cf8764ed327 ARM: OMAP2+: move platform-specific asm-offset.h to arch/arm/mach-omap2
7f6346e814ec PM / devfreq: Fix kernel oops on governor module load
0ac4a7a4562b soc: renesas: Enable ARM_ERRATA_754322 for affected Cortex-A9
841ee26cb0eb soc: renesas: rmobile-sysc: Set GENPD_FLAG_ALWAYS_ON for always-on domain
c5a678041db9 ARM: at91: move platform-specific asm-offset.h to arch/arm/mach-at91
45a550e54f0c EDAC/amd64: Decode syndrome before translating address
71e85351f2d3 EDAC/amd64: Recognize DRAM device type ECC capability
e4739ed9e9f4 libperf: Fix alignment trap with xyarray contents in 'perf stat'
28e3cfd1c820 EDAC/amd64: Support more than two controllers for chip selects handling
8c17f6f5d0d6 media: dvb-core: fix a memory leak bug
de23b986dd21 posix-cpu-timers: Sanitize bogus WARNONS
3df4944a75a3 media: dvb-frontends: use ida for pll number
328d309f578d media: mceusb: fix (eliminate) TX IR signal length limit
14944c1cdf66 s390/kasan: provide uninstrumented __strlen
ad856c85132c arm64: entry: Move ct_user_exit before any other exception
919bb091f3bb ACPI / APEI: Release resources if gen_pool_add() fails
8e8821e51180 nbd: add missing config put
cb00bdfdf4a1 ASoC: mchp-i2s-mcc: Fix unprepare of GCLK
fd3a27888511 led: triggers: Fix a memory leak bug
78a5d7570357 ASoC: mchp-i2s-mcc: Wait for RX/TX RDY only if controller is running
cf37fc6525e6 ASoC: sun4i-i2s: Don't use the oversample to calculate BCLK
cfc27d524fe8 tools headers: Fixup bitsperlong per arch includes
0de9cb3ccaf4 powerpc/Makefile: Always pass --synthetic to nm if supported
b72464b49572 ASoC: uniphier: Fix double reset assersion when transitioning to suspend state
a6856ba2704a media: hdpvr: add terminating 0 at end of string
ea9b3fba2de5 media: radio/si470x: kill urb on error
abec08cc8afd x86/platform/intel/iosf_mbi Rewrite locking
5ac00c9194ae ARM: dts: imx7-colibri: disable HS400
d89e114b2f42 ARM: dts: imx7d: cl-som-imx7: make ethernet work again
a510a16fee76 m68k: Prevent some compiler warnings in Coldfire builds
751ac20a3913 net: lpc-enet: fix printk format strings
c3e1334bc47a kasan/arm64: fix CONFIG_KASAN_SW_TAGS && KASAN_INLINE
3c88b089e592 media: imx: mipi csi-2: Don't fail if initial state times-out
cab41bda0849 media: omap3isp: Don't set streaming state on random subdevs
ebe068d7bb79 media: i2c: ov5645: Fix power sequence
3993c8429927 media: vsp1: fix memory leak of dl on error return path
91faaa0e282f perf record: Support aarch64 random socket_id assignment
b8179cfaf017 ARM: xscale: fix multi-cpu compilation
cb2d2b999afe dmaengine: iop-adma: use correct printk format strings
50ab41d72d35 media: rc: imon: Allow iMON RC protocol for ffdc 7e device
b251e979c979 perf unwind: Fix libunwind when tid != pid
2bc1f53cc46a arm64/efi: Move variable assignments after SECTIONS
c0282736b94f media: em28xx: modules workqueue not inited for 2nd device
de122406a437 media: fdp1: Reduce FCP not found message level to debug
b18c1c75b90a media: i2c: tda1997x: prevent potential NULL pointer access
f5d115ba1687 media: mtk-mdp: fix reference count on old device tree
6156280768c3 perf test vfs_getname: Disable ~/.perfconfig to get default output
a056ef7090e2 perf config: Honour $PERF_CONFIG env var to specify alternate .perfconfig
b134b502d3b6 media: gspca: zero usb_buf on error
5e1feedf563e blk-mq: Fix memory leak in blk_mq_init_allocated_queue error handling
503ac6efb245 idle: Prevent late-arriving interrupts from disrupting offline
b2ee96a78c9a sched/fair: Use rq_lock/unlock in online_fair_sched_group
fc31f1c241b0 firmware: arm_scmi: Check if platform has released shmem before using
a1a19299a6a5 efi: cper: print AER info of PCIe fatal error
30ff832e9a23 EDAC, pnd2: Fix ioremap() size in dnv_rd_reg()
cdfe5e064210 perf tools: Fix paths in include statements
43894a0475c6 loop: Add LOOP_SET_DIRECT_IO to compat ioctl
bb07be974180 ACPI / processor: don't print errors for processorIDs == 0xff
fd8bd7dfb04f ASoC: hdac_hda: fix page fault issue by removing race
338c95ab2187 RAS: Build debugfs.o only when enabled in Kconfig
ff45dc5d103f media: media/platform: fsl-viu.c: fix build for MICROBLAZE
c0053b3c6142 md: don't set In_sync if array is frozen
274971880ff9 md: don't call spare_active in md_reap_sync_thread if all member devices can't work
a1f4fcb88098 md/raid1: end bio when the device faulty
998d765255aa arm64/prefetch: fix a -Wtype-limits warning
912d58f959f1 ASoC: rsnd: don't call clk_get_rate() under atomic context
5da3a9eb8159 EDAC/altera: Use the proper type for the IRQ status bits
873aa4af4fdd ia64:unwind: fix double free for mod->arch.init_unw_table
e89c79710aed ALSA: usb-audio: Skip bSynchAddress endpoint check if it is invalid
42c6b180a7bf base: soc: Export soc_device_register/unregister APIs
383466793900 soc: amlogic: meson-clk-measure: protect measure with a mutex
55b520f85a97 arm64: mm: free the initrd reserved memblock in a aligned manner
bfae8c471054 cpuidle: teo: Allow tick to be stopped if PM QoS is used
c02ec6220cf3 media: iguanair: add sanity checks
db934a6df6d9 EDAC/mc: Fix grain_bits calculation
7b1c5aa61d98 ALSA: i2c: ak4xxx-adda: Fix a possible null pointer dereference in build_adc_controls()
0294075e5872 ALSA: hda - Show the fatal CORB/RIRB error more clearly
9107c9b7bcce x86/apic: Soft disable APIC before initializing it
be86447601cb rcu/tree: Call setschedule() gp ktread to SCHED_FIFO outside of atomic region
cc41123523d1 x86/reboot: Always use NMI fallback when shutdown via reboot vector IPI fails
2965c2e1ec69 sched/deadline: Fix bandwidth accounting at all levels after offline migration
6c4121115c87 x86/apic: Make apic_pending_intr_clear() more robust
e75ff42011f1 sched/core: Fix CPU controller for !RT_GROUP_SCHED
a02f3db8994e sched/fair: Fix imbalance due to CPU affinity
2af6db20ceae time/tick-broadcast: Fix tick_broadcast_offline() lockdep complaint
5db042229a8c media: i2c: ov5640: Check for devm_gpiod_get_optional() error
7c36a65b2ea1 media: hdpvr: Add device num check and handling
988a38ff1cf0 media: vivid: work around high stack usage with clang
615883ae490f media: vb2: reorder checks in vb2_poll()
4610656c129e media: vivid:add sanity check to avoid divide error and set value to 1 if 0.
7fe87b686cb9 media: exynos4-is: fix leaked of_node references
1a53850754a9 ASoC: SOF: pci: mark last_busy value at runtime PM init
f76aa9d803b6 media: mtk-cir: lower de-glitch counter for rc-mm protocol
5efaf000347a media: dib0700: fix link error for dibx000_i2c_set_speed
8d68efb7e270 leds: leds-lp5562 allow firmware files up to the maximum length
3dee582e6190 dmaengine: bcm2835: Print error in case setting DMA mask fails
5d6d34ade679 firmware: qcom_scm: Use proper types for dma mappings
8e81af05436c ASoC: sgtl5000: Fix charge pump source assignment
57868b5cbc50 ASoC: sgtl5000: Fix of unmute outputs on probe
27879a37f7ad ASoC: tlv320aic31xx: suppress error message for EPROBE_DEFER
dae532b1a1cc spi: dw-mmio: Clock should be shut when error occurs
e534295b4c17 regulator: lm363x: Fix off-by-one n_voltages for lm3632 ldo_vpos/ldo_vneg
8c3a9421b2ef cpufreq: ap806: Add NULL check after kcalloc
4defe8b0f2f5 ASoC: SOF: Intel: hda: Make hdac_device device-managed
6646813ee81d ALSA: hda: Flush interrupts on disabling
a269a7a7632b nfc: enforce CAP_NET_RAW for raw sockets
f91ee5bc2100 ieee802154: enforce CAP_NET_RAW for raw sockets
faf60340e231 ax25: enforce CAP_NET_RAW for raw sockets
ef03ebc40bc8 appletalk: enforce CAP_NET_RAW for raw sockets
1ca53dc648e8 mISDN: enforce CAP_NET_RAW for raw sockets
df20d3ce66c5 net/mlx5: Add device ID of upcoming BlueField-2
38be58c880d9 tcp: better handle TCP_USER_TIMEOUT in SYN_SENT state
4378493fed94 net: sched: fix possible crash in tcf_action_destroy()
5f39dd75e078 net/mlx5e: Fix traffic duplication in ethtool steering
6386577b2927 vrf: Do not attempt to create IPv6 mcast rule if IPv6 is disabled
229b983d5221 net_sched: add policy validation for action attributes
629815b9e1eb ipv4: Revert removal of rt_uses_gateway
d5f1d310bb2b net/sched: cbs: Fix not adding cbs instance to list
4bbf97f6c114 net: phy: micrel: add Asym Pause workaround for KSZ9021
3ef1d54a72ca usbnet: sanity checking of packet sizes and device mtu
b5e57553acde usbnet: ignore endpoints with invalid wMaxPacketSize
35ad2e82044d tcp_bbr: fix quantization code to not raise cwnd if not probing bandwidth
afc7190e3847 skge: fix checksum byte order
0102608d70f0 selftests: Update fib_tests to handle missing ping6
da0d6e47c20d sch_netem: fix a divide by zero in tabledist()
9f64c6630929 ppp: Fix memory leak in ppp_write
bd1df844b1f9 openvswitch: change type of UPCALL_PID attribute to NLA_UNSPEC
b86bd41b767a nfp: flower: prevent memory leak in nfp_flower_spawn_phy_reprs
9561c1351232 nfp: flower: fix memory leak in nfp_flower_spawn_vnic_reprs
ba5f359f2be0 net_sched: add max len check for TCA_KIND
19bd1045958b net/sched: act_sample: don't push mac header on ip6gre ingress
ee8c5c7a6f9a net: qrtr: Stop rx_worker before freeing node
6ee46a2b68fc net/phy: fix DP83865 10 Mbps HDX loopback disable function
d879091836db macsec: drop skb sk before calling gro_cells_receive
d37c96675204 ipv6: do not free rt if FIB_LOOKUP_NOREF is set on suppress rule
98f1a3a21500 cdc_ncm: fix divide-by-zero caused by invalid wMaxPacketSize
890984f31888 arcnet: provide a buffer big enough to actually receive packets
0a9d6a58b4ac Linux 5.2.18
c704eb3aaffa f2fs: use generic EFSBADCRC/EFSCORRUPTED
673d1167b40e net/rds: Check laddr_check before calling it
fc5b59770306 net/rds: An rds_sock is added too early to the hash table
719532b9b832 net_sched: check cops->tcf_block in tc_bind_tclass()
bd740eacb1d2 Bluetooth: btrtl: Additional Realtek 8822CE Bluetooth devices
f63432cd1bb2 netfilter: nft_socket: fix erroneous socket assignment
a2a3638f3e6f xfrm: policy: avoid warning splat when merging nodes
b442b6d3742b xfs: don't crash on null attr fork xfs_bmapi_read
baa3902119f5 drm/nouveau/disp/nv50-: fix center/aspect-corrected scaling
452b129e4876 ACPI: video: Add new hw_changes_brightness quirk, set it on PB Easynote MZ35
62b72c1f7ba5 Bluetooth: btrtl: HCI reset on close for Realtek BT chip
f6983a936fbf net: don't warn in inet diag when IPV6 is disabled
955b7a09bf57 drm/dp: Add DP_DPCD_QUIRK_NO_SINK_COUNT
a7734a035acf drm: Flush output polling on shutdown
453bcdd2432b f2fs: fix to do sanity check on segment bitmap of LFS curseg
d331d4b99fb6 net/ibmvnic: Fix missing { in __ibmvnic_reset
8defaa56897e dm zoned: fix invalid memory access
bca9bfa41e3f Revert "f2fs: avoid out-of-range memory access"
47af17950b03 objtool: Clobber user CFLAGS variable
0f5df0b76e4f platform/x86: i2c-multi-instantiate: Derive the device name from parent
811fc53c37be ALSA: hda - Apply AMD controller workaround for Raven platform
b5215e9269c7 ALSA: hda - Add laptop imic fixup for ASUS M9V laptop
d51c3b844afb ALSA: dice: fix wrong packet parameter for Alesis iO26
bf4d30e9950e ALSA: usb-audio: Add DSD support for EVGA NU Audio
284a30488891 ALSA: usb-audio: Add Hiby device family to quirks for native DSD support
d17860e1e894 Revert "mm/z3fold.c: fix race between migration and destruction"
2de3de21bc8a Revert "HID: logitech-hidpp: add USB PID for a few more supported mice"
807370d02413 clk: imx: imx8mm: fix audio pll setting
bdbf837b89a9 crypto: talitos - fix missing break in switch statement
a1e67dae1599 mtd: cfi_cmdset_0002: Use chip_good() to retry in do_write_oneword()
6c6d88dc737a HID: Add quirk for HP X500 PIXART OEM mouse
af5676bf7d89 HID: hidraw: Fix invalid read in hidraw_ioctl
8d88e0d1b3e6 HID: logitech-dj: Fix crash when initial logi_dj_recv_query_paired_devices fails
55c2b2ac2706 HID: logitech: Fix general protection fault caused by Logitech driver
a069e96b5280 HID: sony: Fix memory corruption issue on cleanup.
5f2ba05924ca HID: prodikeys: Fix general protection fault during probe
df3cc96b2049 Revert "net: hns: fix LED configuration for marvell phy"
3349449ae730 drm/amd/display: readd -msse2 to prevent Clang from emitting libcalls to undefined SW FP routines
be3b5f44206e powerpc/xive: Fix bogus error code returned by OPAL
606f7f9fc442 drm/amd/display: Don't replace the dc_state for fast updates
0365d15f565a drm/amd/display: Skip determining update type for async updates
891eae79f7a5 drm/amd/display: Allow cursor async updates for framebuffer swaps
f6faeecb3659 net/ibmvnic: free reset work of removed device from queue
cdc112b9cb64 phy: qcom-qmp: Correct ready status, again
b08d7b36f11d phy: qcom-qmp: Raise qcom_qmp_phy_enable() polling delay
3da810f95b86 smb3: fix unmount hang in open_shroot
e6d6a001ed5a Revert "Bluetooth: validate BLE connection interval updates"
(From OE-Core rev: cad18801b7a26e8435734caaca78ec5f6d3a041f)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/4.19 to the latest korg -stable release that comprises
the following commits:
58fce2064530 Linux 4.19.78
5b0446c8e0a8 9p/cache.c: Fix memory leak in v9fs_cache_session_get_cookie
d85bc11a6894 kexec: bail out upon SIGKILL when allocating memory.
c8a65ec0602a NFC: fix attrs checks in netlink interface
1b42503211ca smack: use GFP_NOFS while holding inode_smack::smk_lock
ef9744a0218f Smack: Don't ignore other bprm->unsafe flags if LSM_UNSAFE_PTRACE is set
4703593498d3 soundwire: fix regmap dependencies and align with other serial links
322753c78d1d soundwire: Kconfig: fix help format
74e2a311a226 sch_cbq: validate TCA_CBQ_WRROPT to avoid crash
ed9420ddce87 tipc: fix unlimited bundling of small messages
a1afd826e549 xen-netfront: do not use ~0U as error return value for xennet_fill_frags()
36a4043c4bb8 net/rds: Fix error handling in rds_ib_add_one()
012363f5ded0 udp: only do GSO if # of segs > 1
5c08d7e4f1ea net: dsa: rtl8366: Check VLAN ID and not ports
3c1f0704401c vsock: Fix a lockdep warning in __vsock_release()
544aee546174 udp: fix gso_segs calculations
79fd59ae7c2f sch_dsmark: fix potential NULL deref in dsmark_init()
76b552775d60 rxrpc: Fix rxrpc_recvmsg tracepoint
7047aae65456 qmi_wwan: add support for Cinterion CLS8 devices
dd9c580a6d9b nfc: fix memory leak in llcp_sock_bind()
d5b1db1c7ce4 net: Unpublish sk from sk_reuseport_cb before call_rcu
9d0995cc268b net: qlogic: Fix memory leak in ql_alloc_large_buffers
124b64feafa9 net: ipv4: avoid mixed n_redirects and rate_tokens usage
6f8564edf8c1 ipv6: Handle missing host route in __ipv6_ifa_notify
658d7ee4da50 ipv6: drop incoming packets having a v4mapped source address
a495fd19cce2 hso: fix NULL-deref on tty open
7f30c44b7ca4 erspan: remove the incorrect mtu limit for erspan
2b8389112292 cxgb4:Fix out-of-bounds MSI-X info array access
ed568ca73601 bpf: fix use after free in prog symbol exposure
dbb7339cfddf block: mq-deadline: Fix queue restart handling
af10ffa69b06 arm: use STACK_TOP when computing mmap base address
f91a9c6591c0 arm: properly account for stack randomization and stack guard gap
53ba8d4358eb mips: properly account for stack randomization and stack guard gap
e1b391abbfce arm64: consider stack randomization for mmap base only when necessary
30ab799e758e kmemleak: increase DEBUG_KMEMLEAK_EARLY_LOG_SIZE default to 16K
52132ff52cad ocfs2: wait for recovering done after direct unlock request
d4a546452dcc kbuild: clean compressed initramfs image
d983182d4002 crypto: hisilicon - Fix double free in sec_free_hw_sgl()
22c788ba7a52 hypfs: Fix error number left in struct pointer member
bbd76d9514c7 pktcdvd: remove warning on attempting to register non-passthrough dev
0840daeea6cb fat: work around race with userspace's read via blockdev while mounting
297904ea60a3 ARM: 8903/1: ensure that usable memory in bank 0 starts from a PMD-aligned address
9a87ab2b4d60 security: smack: Fix possible null-pointer dereferences in smack_socket_sock_rcv_skb()
69a32a7306dd PCI: exynos: Propagate errors for optional PHYs
1264d2e7b75b PCI: imx6: Propagate errors for optional regulators
403d6c9284f1 PCI: histb: Propagate errors for optional regulators
ac9c0e2ecc49 PCI: rockchip: Propagate errors for optional regulators
709c4841e51f HID: apple: Fix stuck function keys when using FN
31e98cba55ed rtc: pcf85363/pcf85263: fix regmap error in set_time
607f95788fa9 rtc: snvs: fix possible race condition
078937549f47 ARM: 8875/1: Kconfig: default to AEABI w/ Clang
3039c788d648 soundwire: intel: fix channel number reported by hardware
6a684e002561 ARM: 8898/1: mm: Don't treat faults reported from cache maintenance as writes
0f0ced702d53 livepatch: Nullify obj->mod in klp_module_coming()'s error path
78a1138672af HID: wacom: Fix several minor compiler warnings
3b7fbbddeb7a PCI: tegra: Fix OF node reference leak
c74a801ded7d mfd: intel-lpss: Remove D3cold delay
70bb4bf9fdfb i2c-cht-wc: Fix lockdep warning
371077ea2e75 MIPS: tlbex: Explicitly cast _PAGE_NO_EXEC to a boolean
3ed14a8d2fe7 MIPS: Ingenic: Disable broken BTB lookup optimization.
5b400fed74df ext4: fix potential use after free after remounting with noblock_validity
81fbd2327c32 dma-buf/sw_sync: Synchronize signal vs syncpt free
c76e18970d93 scsi: core: Reduce memory required for SCSI logging
c6304d4d7458 clk: sprd: add missing kfree
7cd89b8db60c mbox: qcom: add APCS child device for QCS404
324b0c9efc77 powerpc: dump kernel log before carrying out fadump or kdump
72884423e77f clk: at91: select parent if main oscillator or bypass is enabled
952d1c6d7cf0 arm64: fix unreachable code issue with cmpxchg
b25bd837a637 pinctrl: meson-gxbb: Fix wrong pinning definition for uart_c
b717a47dd913 powerpc/pseries: correctly track irq state in default idle
ae089bf87c57 clk: qcom: gcc-sdm845: Use floor ops for sdcc clks
2c16f72135fb pstore: fs superblock limits
0c09b02842b8 powerpc/64s/exception: machine check use correct cfar for late handler
39b6d05169b2 drm/amdgpu/si: fix ASIC tests
4dcbca872a84 drm/amd/display: support spdif
38dfc974f322 clk: renesas: cpg-mssr: Set GENPD_FLAG_ALWAYS_ON for clock domain
0b5ac607db4b clk: renesas: mstp: Set GENPD_FLAG_ALWAYS_ON for clock domain
2cfb89832179 pinctrl: amd: disable spurious-firing GPIO IRQs
274d7acb0b81 drm/nouveau/volt: Fix for some cards having 0 maximum voltage
9b2d2f2ad003 vfio_pci: Restore original state on release
c1f7b3fb87cf powerpc/eeh: Clear stale EEH_DEV_NO_HANDLER flag
b2df456c83e3 pinctrl: tegra: Fix write barrier placement in pmx_writel
4c91e678d27c powerpc/pseries/mobility: use cond_resched when updating device tree
6d728a172732 powerpc/futex: Fix warning: 'oldval' may be used uninitialized in this function
6aa455b0d0a0 powerpc/rtas: use device model APIs and serialization during LPM
25c501f0f9d9 powerpc/xmon: Check for HV mode when dumping XIVE info from OPAL
2cca24b2cb9a clk: zx296718: Don't reference clk_init_data after registration
efa0fe4cde05 clk: sprd: Don't reference clk_init_data after registration
89dc59fb267d clk: sirf: Don't reference clk_init_data after registration
bd3a445c2717 clk: actions: Don't reference clk_init_data after registration
437399ed906a powerpc/powernv/ioda2: Allocate TCE table levels on demand for default DMA window
782a77f2eb39 drm/amd/display: reprogram VM config when system resume
24ba84ec0016 drm/amd/display: fix issue where 252-255 values are clipped
efb0e1e3d0e1 clk: sunxi-ng: v3s: add missing clock slices for MMC2 module clocks
a2279550f7be clk: qoriq: Fix -Wunused-const-variable
84038a98b904 ipmi_si: Only schedule continuously in the thread in maintenance mode
b351726bb5be PCI: rpaphp: Avoid a sometimes-uninitialized warning
0936c46139cb gpu: drm: radeon: Fix a possible null-pointer dereference in radeon_connector_set_property()
6e03bca91f8e drm/radeon: Fix EEH during kexec
441c15582338 drm/rockchip: Check for fast link training before enabling psr
f3d62177dee3 drm/panel: check failure cases in the probe func
9cb3698dcc86 drm/stm: attach gem fence to atomic state
043f0229f442 video: ssd1307fb: Start page range at page_offset
bd5b6a7c89ef drm/panel: simple: fix AUO g185han01 horizontal blanking
db472be8b340 drm/bridge: tc358767: Increase AUX transfer length limit
053d0ec61e33 tpm: Fix TPM 1.2 Shutdown sequence to prevent future TPM operations
d598712712e4 tpm: use tpm_try_get_ops() in tpm-sysfs.c.
6cad9d0cf87b Linux 4.19.77
2c60da90ec44 drm/amd/display: Restore backlight brightness after system resume
4d8bdf7f3a86 mm/compaction.c: clear total_{migrate,free}_scanned before scanning a new zone
5bead06b3443 fuse: fix deadlock with aio poll and fuse_iqueue::waitq.lock
bbe3e2056d27 md/raid0: avoid RAID0 data corruption due to layout confusion.
4290a9e59323 CIFS: Fix oplock handling for SMB 2.1+ protocols
a3a150895b6f CIFS: fix max ea value size
a0f7fd38acf5 i2c: riic: Clear NACK in tend isr
fec38267a2bf hwrng: core - don't wait on add_early_randomness()
060986096fea quota: fix wrong condition in is_quota_modification()
091c754d5ca9 ext4: fix punch hole for inline_data file systems
775e3e734bd3 ext4: fix warning inside ext4_convert_unwritten_extents_endio
caa6926d94f1 /dev/mem: Bail out upon SIGKILL.
bd3a11af1bde cfg80211: Purge frame registrations on iftype change
5dc86e9574a1 md: only call set_in_sync() when it is expected to succeed.
598a2cda62d3 md: don't report active array_state until after revalidate_disk() completes.
e8323e0ddce1 md/raid6: Set R5_ReadError when there is read failure on parity disk
bacff03bb286 Btrfs: fix race setting up and completing qgroup rescan workers
b5c42ef09df3 btrfs: qgroup: Fix reserved data space leak if we have multiple reserve calls
c521bfa8e2dc btrfs: qgroup: Fix the wrong target io_tree when freeing reserved data space
067f82a05c2f btrfs: Relinquish CPUs in btrfs_compare_trees
b08344be3546 Btrfs: fix use-after-free when using the tree modification log
4874c6fe1c9e btrfs: fix allocation of free space cache v1 bitmap pages
934243a72849 ovl: filter of trusted xattr results in audit
e7265adc0a3c ovl: Fix dereferencing possible ERR_PTR()
2e96c9332595 smb3: allow disabling requesting leases
82652c06f976 block: fix null pointer dereference in blk_mq_rq_timed_out()
db5b2fe4d33c i40e: check __I40E_VF_DISABLE bit in i40e_sync_filters_subtask
b4a734a529b8 memcg, kmem: do not fail __GFP_NOFAIL charges
d40b3eafb52e memcg, oom: don't require __GFP_FS when invoking memcg OOM killer
e0c1e6e55bca gfs2: clear buf_in_tr when ending a transaction in sweep_bh_for_rgrps
3620b06b1db0 efifb: BGRT: Improve efifb_bgrt_sanity_check
c4f65c2fb0f5 regulator: Defer init completion for a while after late_initcall
3784576fc639 alarmtimer: Use EOPNOTSUPP instead of ENOTSUPP
174bbcc560cc arm64: dts: rockchip: limit clock rate of MMC controllers for RK3328
8cfe3b8aa3b6 arm64: tlb: Ensure we execute an ISB following walk cache invalidation
fc7d6bfdd774 Revert "arm64: Remove unnecessary ISBs from set_{pte,pmd,pud}"
881edc165b8e ARM: zynq: Use memcpy_toio instead of memcpy on smp bring-up
2209279439a1 ARM: samsung: Fix system restart on S3C6410
ad884155fb9c ASoC: Intel: Fix use of potentially uninitialized variable
7bdab36455f9 ASoC: Intel: Skylake: Use correct function to access iomem space
3c54f463402f ASoC: Intel: NHLT: Fix debug print format
29ecf8cae5f4 binfmt_elf: Do not move brk for INTERP-less ET_EXEC
02ef5c299d15 media: don't drop front-end reference count for ->detach
589ca8ec4c62 media: sn9c20x: Add MSI MS-1039 laptop to flip_dmi_table
496cf984a60e KVM: x86: Manually calculate reserved bits when loading PDPTRS
933e3e2b5070 KVM: x86: set ctxt->have_exception in x86_decode_insn()
9723e4458604 KVM: x86: always stop emulation on page fault
8225db4a70b2 parisc: Disable HP HSC-PCI Cards to prevent kernel crash
ad41162974c6 fuse: fix missing unlock_page in fuse_writepage()
ecfe4b5f70c8 powerpc/imc: Dont create debugfs files for cpu-less nodes
e94443fc7b64 scsi: implement .cleanup_rq callback
4ec3ca2770e7 blk-mq: add callback of .cleanup_rq
4848fb93243e ALSA: hda/realtek - PCI quirk for Medion E4254
e9bcaf82dd37 ceph: use ceph_evict_inode to cleanup inode's resource
72f0fff3c450 Revert "ceph: use ceph_evict_inode to cleanup inode's resource"
98dc6d958bd9 randstruct: Check member structs in is_pure_ops_struct()
ad6819cd68be IB/hfi1: Define variables as unsigned long to fix KASAN warning
a924850c93d4 IB/mlx5: Free mpi in mp_slave mode
40b071992ca5 printk: Do not lose last line in kmsg buffer dump
28f142b940af scsi: qla2xxx: Fix Relogin to prevent modifying scan_state flag
03b75e65ceed scsi: scsi_dh_rdac: zero cdb in send_mode_select()
2e21e5b225ef ALSA: firewire-tascam: check intermediate state of clock status and retry
f5779e4449da ALSA: firewire-tascam: handle error code when getting current source of clock
fdd131eab68f iwlwifi: fw: don't send GEO_TX_POWER_LIMIT command to FW version 36
6437ec272eda PM / devfreq: passive: fix compiler warning
814f7fe56ebb media: omap3isp: Set device on omap3isp subdevs
c5dbd74f8259 btrfs: extent-tree: Make sure we only allocate extents from block groups with the same type
2aeeb0a4b440 iommu/amd: Override wrong IVRS IOAPIC on Raven Ridge systems
291da335040c ALSA: hda/realtek - Blacklist PC beep for Lenovo ThinkCentre M73/93
8630a4d13683 media: ttusb-dec: Fix info-leak in ttusb_dec_send_command()
d47636913bda drm/amd/powerplay/smu7: enforce minimal VBITimeout (v2)
5370cf8d90ad ALSA: hda - Drop unsol event handler for Intel HDMI codecs
ac1d43a20a08 e1000e: add workaround for possible stalled packet
35b6cba971f5 libertas: Add missing sentinel at end of if_usb.c fw_table
0a43d5d458d5 raid5: don't increment read_errors on EILSEQ return
da87dfca25aa mmc: dw_mmc: Re-store SDIO IRQs mask at system resume
a0dd3d95fb21 mmc: core: Add helper function to indicate if SDIO IRQs is enabled
8ba99d50cb61 mmc: sdhci: Fix incorrect switch to HS mode
869122775782 mmc: core: Clarify sdio_irq_pending flag for MMC_CAP2_SDIO_IRQ_NOTHREAD
a5443cd24063 raid5: don't set STRIPE_HANDLE to stripe which is in batch list
064fba888e77 ASoC: dmaengine: Make the pcm->name equal to pcm->id if the name is not set
476eda2539bb platform/x86: intel_pmc_core: Do not ioremap RAM
e836cd2917c6 x86/cpu: Add Tiger Lake to Intel family
b21919eeced6 s390/crypto: xts-aes-s390 fix extra run-time crypto self tests finding
fad90d4bfa8d kprobes: Prohibit probing on BUG() and WARN() address
213077da3e7c dmaengine: ti: edma: Do not reset reserved paRAM slots
f1db75622996 md/raid1: fail run raid1 array when active disk less than one
76cf93f04c3d hwmon: (acpi_power_meter) Change log level for 'unsafe software power cap'
f0956418d997 closures: fix a race on wakeup from closure_sync
9fcfdff61f74 ACPI / PCI: fix acpi_pci_irq_enable() memory leak
e4467fb6ef54 ACPI: custom_method: fix memory leaks
6fceb241dc76 ARM: dts: exynos: Mark LDO10 as always-on on Peach Pit/Pi Chromebooks
e4b4280dcd97 libtraceevent: Change users plugin directory
c55659cd1459 iommu/iova: Avoid false sharing on fq_timer_on
223b0481ed4b libata/ahci: Drop PCS quirk for Denverton and beyond
de888e0244cb iommu/amd: Silence warnings under memory pressure
6241c0ac301e ALSA: firewire-motu: add support for MOTU 4pre
ad58ce6cacd1 nvme-multipath: fix ana log nsid lookup when nsid is not found
9edc229b9c90 nvmet: fix data units read and written counters in SMART log
7bbb7a9dd2c3 x86/mm/pti: Handle unaligned address gracefully in pti_clone_pagetable()
5201b4ffc324 ASoC: fsl_ssi: Fix clock control issue in master mode
4b7d9c2a716e x86/mm/pti: Do not invoke PTI functions when PTI is disabled
eb2485e32f90 arm64: kpti: ensure patched kernel text is fetched from PoU
b619496540ba x86/apic/vector: Warn when vector space exhaustion breaks affinity
01e8f487cecb sched/cpufreq: Align trace event behavior of fast switching
2919fa0398ad ACPI / CPPC: do not require the _PSD method
b79922133f9c ASoC: es8316: fix headphone mixer volume table
dd25f76c1f34 media: ov9650: add a sanity check
342a0bee4d94 perf trace beauty ioctl: Fix off-by-one error in cmd->string table
57409ea782e7 media: saa7134: fix terminology around saa7134_i2c_eeprom_md7134_gate()
78550c5cfe6d media: cpia2_usb: fix memory leaks
d796c6c1aab4 media: saa7146: add cleanup in hexium_attach()
ab20f38ce522 media: cec-notifier: clear cec_adap in cec_notifier_unregister
d51268d7574b PM / devfreq: exynos-bus: Correct clock enable sequence
7e19b7e0d640 PM / devfreq: passive: Use non-devm notifiers
f9de170eaf7e EDAC/amd64: Decode syndrome before translating address
6f80e91a66e0 EDAC/amd64: Recognize DRAM device type ECC capability
adb97f18b4e7 libperf: Fix alignment trap with xyarray contents in 'perf stat'
4df2427a5148 media: dvb-core: fix a memory leak bug
8d5fccff7b0c posix-cpu-timers: Sanitize bogus WARNONS
9df9652b7345 media: dvb-frontends: use ida for pll number
006a6065c867 media: mceusb: fix (eliminate) TX IR signal length limit
d093d3183ca2 nbd: add missing config put
e497ec26cc43 led: triggers: Fix a memory leak bug
83c2a42b1b84 ASoC: sun4i-i2s: Don't use the oversample to calculate BCLK
5466c30b11cb tools headers: Fixup bitsperlong per arch includes
b1f1b83e2583 ASoC: uniphier: Fix double reset assersion when transitioning to suspend state
e6bc6e2c0d1f media: hdpvr: add terminating 0 at end of string
4a2cb7600b72 media: radio/si470x: kill urb on error
dfaf60580191 ARM: dts: imx7-colibri: disable HS400
c20ee5d906ec ARM: dts: imx7d: cl-som-imx7: make ethernet work again
21927786df27 m68k: Prevent some compiler warnings in Coldfire builds
ba8f56ffaebf net: lpc-enet: fix printk format strings
aa2d05a9de05 media: imx: mipi csi-2: Don't fail if initial state times-out
1b7df445d881 media: omap3isp: Don't set streaming state on random subdevs
0c3802174754 media: i2c: ov5645: Fix power sequence
3dfbac0add22 media: vsp1: fix memory leak of dl on error return path
c47022e019fe perf record: Support aarch64 random socket_id assignment
482c1d0a7cc4 dmaengine: iop-adma: use correct printk format strings
19a1fa140594 media: rc: imon: Allow iMON RC protocol for ffdc 7e device
a527d3d4b513 media: em28xx: modules workqueue not inited for 2nd device
6a1c59a7603d media: fdp1: Reduce FCP not found message level to debug
e3f5f626e17a media: mtk-mdp: fix reference count on old device tree
066afce8d87d perf test vfs_getname: Disable ~/.perfconfig to get default output
96b61fe7a5f7 perf config: Honour $PERF_CONFIG env var to specify alternate .perfconfig
db751f6d5241 media: gspca: zero usb_buf on error
511110236089 idle: Prevent late-arriving interrupts from disrupting offline
9addfbd40959 sched/fair: Use rq_lock/unlock in online_fair_sched_group
6e9d45022d26 firmware: arm_scmi: Check if platform has released shmem before using
0dbdc1986bb4 efi: cper: print AER info of PCIe fatal error
4410b8517950 EDAC, pnd2: Fix ioremap() size in dnv_rd_reg()
cf8f20a1aacf loop: Add LOOP_SET_DIRECT_IO to compat ioctl
18e5e458c6d8 ACPI / processor: don't print errors for processorIDs == 0xff
465bc6e80fd2 media: media/platform: fsl-viu.c: fix build for MICROBLAZE
371538451c21 md: don't set In_sync if array is frozen
d38aff20c407 md: don't call spare_active in md_reap_sync_thread if all member devices can't work
1cd972e0a107 md/raid1: end bio when the device faulty
7d75275fbfb1 arm64/prefetch: fix a -Wtype-limits warning
829bebdc1ce6 ASoC: rsnd: don't call clk_get_rate() under atomic context
f5bef62df824 EDAC/altera: Use the proper type for the IRQ status bits
87bc43e2a775 ia64:unwind: fix double free for mod->arch.init_unw_table
ca57eca32b3e ALSA: usb-audio: Skip bSynchAddress endpoint check if it is invalid
d76b5ac5016c base: soc: Export soc_device_register/unregister APIs
4a75e77ef1b5 media: iguanair: add sanity checks
fe8fc7d7cb64 EDAC/mc: Fix grain_bits calculation
55a98e872186 ALSA: i2c: ak4xxx-adda: Fix a possible null pointer dereference in build_adc_controls()
1af6822f29d6 ALSA: hda - Show the fatal CORB/RIRB error more clearly
b40c15c20e42 x86/apic: Soft disable APIC before initializing it
ce7fdd5cd83e x86/reboot: Always use NMI fallback when shutdown via reboot vector IPI fails
0f30856944d4 sched/deadline: Fix bandwidth accounting at all levels after offline migration
d29c7b8be599 x86/apic: Make apic_pending_intr_clear() more robust
f381d3d2c39c sched/core: Fix CPU controller for !RT_GROUP_SCHED
417cf53b4b85 sched/fair: Fix imbalance due to CPU affinity
7cebdfa62f22 time/tick-broadcast: Fix tick_broadcast_offline() lockdep complaint
64f3fb5d751c media: i2c: ov5640: Check for devm_gpiod_get_optional() error
6cc816dd644e media: hdpvr: Add device num check and handling
8bc254d3e6b8 media: exynos4-is: fix leaked of_node references
7ec720763a20 media: mtk-cir: lower de-glitch counter for rc-mm protocol
920acbff8932 media: dib0700: fix link error for dibx000_i2c_set_speed
8f9dc49928c2 leds: leds-lp5562 allow firmware files up to the maximum length
fdcf06a35bc6 dmaengine: bcm2835: Print error in case setting DMA mask fails
e841313b5731 firmware: qcom_scm: Use proper types for dma mappings
ec4815460d81 ASoC: sgtl5000: Fix charge pump source assignment
84bb4024b358 ASoC: sgtl5000: Fix of unmute outputs on probe
a7ace049bddc ASoC: tlv320aic31xx: suppress error message for EPROBE_DEFER
3657e58405fb regulator: lm363x: Fix off-by-one n_voltages for lm3632 ldo_vpos/ldo_vneg
3eec108aa879 ALSA: hda: Flush interrupts on disabling
5b6c791f494d nfp: flower: prevent memory leak in nfp_flower_spawn_phy_reprs
33fe1f517e29 nfc: enforce CAP_NET_RAW for raw sockets
dd651ab7a114 ieee802154: enforce CAP_NET_RAW for raw sockets
6f0f18e53269 ax25: enforce CAP_NET_RAW for raw sockets
6fbf86627608 appletalk: enforce CAP_NET_RAW for raw sockets
50dddec689cb mISDN: enforce CAP_NET_RAW for raw sockets
f06b0b3e5d76 net/mlx5: Add device ID of upcoming BlueField-2
3fdcf6a88ded tcp: better handle TCP_USER_TIMEOUT in SYN_SENT state
a749eea97ac9 net: sched: fix possible crash in tcf_action_destroy()
831d0fcba1cf usbnet: sanity checking of packet sizes and device mtu
b7eeccc1c786 usbnet: ignore endpoints with invalid wMaxPacketSize
ff4419d725c7 skge: fix checksum byte order
9a623e1b1d03 sch_netem: fix a divide by zero in tabledist()
1cd663adcece ppp: Fix memory leak in ppp_write
99952b08537c openvswitch: change type of UPCALL_PID attribute to NLA_UNSPEC
587df35cbf65 nfp: flower: fix memory leak in nfp_flower_spawn_vnic_reprs
195a3ea494d2 net_sched: add max len check for TCA_KIND
c31096dc586e net/sched: act_sample: don't push mac header on ip6gre ingress
abb04d0a9dea net: qrtr: Stop rx_worker before freeing node
6ea3bc412506 net/phy: fix DP83865 10 Mbps HDX loopback disable function
831d082be72c macsec: drop skb sk before calling gro_cells_receive
fd0034688358 cdc_ncm: fix divide-by-zero caused by invalid wMaxPacketSize
0bf79588586c arcnet: provide a buffer big enough to actually receive packets
555161ee1b7a Linux 4.19.76
59a5cea41dd0 f2fs: use generic EFSBADCRC/EFSCORRUPTED
fc3d296491f4 net/rds: Check laddr_check before calling it
3de749d6d7ce net/rds: An rds_sock is added too early to the hash table
07f7ec87b5f6 net_sched: check cops->tcf_block in tc_bind_tclass()
90b0761c1b81 Bluetooth: btrtl: Additional Realtek 8822CE Bluetooth devices
6934809432d2 netfilter: nft_socket: fix erroneous socket assignment
649836fe946c xfs: don't crash on null attr fork xfs_bmapi_read
91ae87240166 drm/nouveau/disp/nv50-: fix center/aspect-corrected scaling
3717f4a49b34 ACPI: video: Add new hw_changes_brightness quirk, set it on PB Easynote MZ35
46beb6eacef5 Bluetooth: btrtl: HCI reset on close for Realtek BT chip
8ffd7ba9ffb1 net: don't warn in inet diag when IPV6 is disabled
ff0fbfacc94f drm: Flush output polling on shutdown
303f6d6bbc0c f2fs: fix to do sanity check on segment bitmap of LFS curseg
dec09554eba9 net/ibmvnic: Fix missing { in __ibmvnic_reset
dc9118feb472 dm zoned: fix invalid memory access
73d90f57fcc2 Revert "f2fs: avoid out-of-range memory access"
40cdc71e1111 blk-mq: move cancel of requeue_work to the front of blk_exit_queue
313efb253d03 blk-mq: change gfp flags to GFP_NOIO in blk_mq_realloc_hw_ctxs
75448f40b9f6 initramfs: don't free a non-existent initrd
ad16dfef4a44 bcache: remove redundant LIST_HEAD(journal) from run_cache_set()
08fdaee2d97b PCI: hv: Avoid use of hv_pci_dev->pci_slot after freeing it
ef2baa03b7f0 f2fs: check all the data segments against all node ones
ef06c33dc371 irqchip/gic-v3-its: Fix LPI release for Multi-MSI devices
52b4947bac50 bpf: libbpf: retry loading program on EAGAIN
a935d78e54cc Revert "drm/amd/powerplay: Enable/Disable NBPSTATE on On/OFF of UVD"
288831cba980 scsi: qla2xxx: Return switch command on a timeout
2b983f212c68 scsi: qla2xxx: Remove all rports if fabric scan retry fails
6b449e4cf090 scsi: qla2xxx: Turn off IOCB timeout timer on IOCB completion
9423770eb336 locking/lockdep: Add debug_locks check in __lock_downgrade()
0c23335a2d81 power: supply: sysfs: ratelimit property read error message
1456c40aa906 pinctrl: sprd: Use define directive for sprd_pinconf_params values
037d73a6458e objtool: Clobber user CFLAGS variable
952844f31eb7 ALSA: hda - Apply AMD controller workaround for Raven platform
50c9ccffe041 ALSA: hda - Add laptop imic fixup for ASUS M9V laptop
866a1a7e9f23 ALSA: dice: fix wrong packet parameter for Alesis iO26
9829fd27501e ALSA: usb-audio: Add DSD support for EVGA NU Audio
303921276360 ALSA: usb-audio: Add Hiby device family to quirks for native DSD support
8a845c02e495 ASoC: fsl: Fix of-node refcount unbalance in fsl_ssi_probe_from_dt()
a5e2c65034f8 ASoC: Intel: cht_bsw_max98090_ti: Enable codec clock once and keep it enabled
ec2a3681b30c media: tvp5150: fix switch exit in set control handler
ba6860700d1f iwlwifi: mvm: always init rs_fw with 20MHz bandwidth rates
ced0676fc9c2 iwlwifi: mvm: send BCAST management frames to the right station
b3873e34cbf2 net/mlx5e: Rx, Check ip headers sanity
404f118f2790 net/mlx5e: Rx, Fixup skb checksum for packets with tail padding
c95ebb394d65 net/mlx5e: XDP, Avoid checksum complete when XDP prog is loaded
79e972a89cad net/mlx5e: Allow reporting of checksum unnecessary
8da68f79b3b3 mlx5: fix get_ip_proto()
44da02576b5d net/mlx5e: don't set CHECKSUM_COMPLETE on SCTP packets
6debda97411e net/mlx5e: Set ECN for received packets using CQE indication
e867ef113004 CIFS: fix deadlock in cached root handling
f3160a1d71f7 crypto: talitos - fix missing break in switch statement
c1a7fe486647 mtd: cfi_cmdset_0002: Use chip_good() to retry in do_write_oneword()
5fdefdcb92bb HID: Add quirk for HP X500 PIXART OEM mouse
3d072c272b88 HID: hidraw: Fix invalid read in hidraw_ioctl
acc96be807bb HID: logitech: Fix general protection fault caused by Logitech driver
3e785174fb35 HID: sony: Fix memory corruption issue on cleanup.
eb77929769e3 HID: prodikeys: Fix general protection fault during probe
2661d462aaa9 IB/core: Add an unbound WQ type to the new CQ API
70ec2eecc550 drm/amd/display: readd -msse2 to prevent Clang from emitting libcalls to undefined SW FP routines
80fc27953e74 powerpc/xive: Fix bogus error code returned by OPAL
4eb92a114834 RDMA/restrack: Protect from reentry to resource return path
373f9092df95 net/ibmvnic: free reset work of removed device from queue
2af977b0d1db Revert "Bluetooth: validate BLE connection interval updates"
d573e8a79f70 Linux 4.19.75
b841a9f58d9c media: technisat-usb2: break out of loop at end of buffer
f35f5a990a07 arm64: kpti: Whitelist Cortex-A CPUs that don't implement the CSV3 field
c0ccb4da26bc binfmt_elf: move brk out of mmap when doing direct loader exec
c3817ffb1036 floppy: fix usercopy direction
9c13e770cca9 ovl: fix regression caused by overlapping layers detection
5e74396d8beb PCI: kirin: Fix section mismatch warning
0d50f7b1e8c8 iommu/amd: Fix race in increase_address_space()
52f32e4aec50 iommu/amd: Flush old domains in kdump kernel
ca77acdf1ac9 keys: Fix missing null pointer check in request_key_auth_describe()
d73515a17c14 x86/hyper-v: Fix overflow bug in fill_gva_list()
371357770c8b x86/uaccess: Don't leak the AC flags into __get_user() argument evaluation
72c762b01eb0 dmaengine: ti: omap-dma: Add cleanup in omap_dma_probe()
d04b522a65c0 dmaengine: ti: dma-crossbar: Fix a memory leak bug
6bc421d5a04a net: seeq: Fix the function used to release some memory in an error handling path
83360eb798ca net: aquantia: fix out of memory condition on rx side
30c345bd786a tools/power turbostat: fix buffer overrun
d485c65853de tools/power x86_energy_perf_policy: Fix argument parsing
254b9b2971a7 tools/power x86_energy_perf_policy: Fix "uninitialized variable" warnings at -O2
a85a0d9f3796 amd-xgbe: Fix error path in xgbe_mod_init()
7ec11cad3fde perf/x86/amd/ibs: Fix sample bias for dispatched micro-ops
560857de3064 perf/x86/intel: Restrict period on Nehalem
65ad72ce10e7 i2c: designware: Synchronize IRQs when unregistering slave client
5a45b14b03f7 sky2: Disable MSI on yet another ASUS boards (P6Xxxx)
6cce2adae3e1 ibmvnic: Do not process reset during or after device removal
080ca754f5db ARM: 8901/1: add a criteria for pfn_valid of arm
c6d779fd8197 usb: host: xhci-tegra: Set DMA mask correctly
b62946852afa cifs: Use kzfree() to zero out the password
325fa2a6729b cifs: set domainName when a domain-key is used in multiuser
9a74f799b99c kallsyms: Don't let kallsyms_lookup_size_offset() fail on retrieving the first symbol
0f7130177325 NFSv2: Fix write regression
60f0d449601d NFSv2: Fix eof handling
6075729f76da netfilter: nf_conntrack_ftp: Fix debug output
7ac5947f7578 netfilter: xt_physdev: Fix spurious error message in physdev_mt_check
e997c0730520 x86/apic: Fix arch_dynirq_lower_bound() bug for DT enabled machines
688fdaa54a3e r8152: Set memory to all 0xFFs on failed reg reads
d9f79f0ace55 bpf: allow narrow loads of some sk_reuseport_md fields with offset > 0
7d4201ff9f73 batman-adv: Only read OGM2 tvlv_len after buffer len check
5b8b66274183 ARM: 8874/1: mm: only adjust sections of valid mm structures
b870f8afc5a5 qed: Add cleanup in qed_slowpath_start()
30881d79de31 xdp: unpin xdp umem pages in error path
55ed0ad50201 Kconfig: Fix the reference to the IDT77105 Phy driver in the description of ATM_NICSTAR_USE_IDT77105
767877deb25a NFS: Fix initialisation of I/O result struct in nfs_pgio_rpcsetup
4ac4f4716fba NFSv4: Fix return value in nfs_finish_open()
d7565d51af18 NFSv4: Fix return values for nfs4_file_open()
4e5fbcb9a615 netfilter: xt_nfacct: Fix alignment mismatch in xt_nfacct_match_info
a02c676c0f03 netfilter: nft_flow_offload: missing netlink attribute policy
a4fa6c68ecc3 netfilter: ebtables: Fix argument order to ADD_COUNTER
634dd5a48627 fpga: altera-ps-spi: Fix getting of optional confd gpio
0d393f23f18e tools: bpftool: close prog FD before exit on showing a single program
c5bb033529f1 selftests/bpf: fix "bind{4, 6} deny specific IP & port" on s390
48d77ca1497f s390/bpf: use 32-bit index for tail calls
999f33c2438c bus: ti-sysc: Simplify cleanup upon failures in sysc_probe()
1a85d5819ade ARM: OMAP1: ams-delta-fiq: Fix missing irq_ack
a8919f8d352f ARM: dts: dra74x: Fix iodelay configuration for mmc3
2ff2bd2c5526 ARM: OMAP2+: Fix omap4 errata warning on other SoCs
73d003274a42 s390/bpf: fix lcgr instruction encoding
c1e0937ef4d5 bus: ti-sysc: Fix using configured sysc mask value
0aee9e118eee ARM: OMAP2+: Fix missing SYSC_HAS_RESET_STATUS for dra7 epwmss
f696ba6b122d ARM: dts: am57xx: Disable voltage switching for SD card
ac8f26f6a035 ieee802154: hwsim: unregister hw while hwsim_subscribe_all_others fails
c237a050df3b ieee802154: hwsim: Fix error handle path in hwsim_init_module
6a10e87ffca1 nl80211: Fix possible Spectre-v1 for CQM RSSI thresholds
941431c491a6 mwifiex: Fix three heap overflow at parsing element in cfg80211_ap_settings
770cee245191 tty/serial: atmel: reschedule TX after RX was started
4c2f60ed8ed8 serial: sprd: correct the wrong sequence of arguments
2871621518ac firmware: google: check if size is valid when decoding VPD data
232a6462f43f KVM: coalesced_mmio: add bounds checking
7a1bad565ceb net_sched: let qdisc_put() accept NULL pointer
47288968eebd xen-netfront: do not assume sk_buff_head list is empty in error handling
fdd60d80c429 udp: correct reuseport selection with connected sockets
97b5f8c95b75 ip6_gre: fix a dst leak in ip6erspan_tunnel_xmit
4fb95f299504 phy: renesas: rcar-gen3-usb2: Disable clearing VBUS in over-current
abf389e0795a media: tm6000: double free if usb disconnect while streaming
77d4e2a05885 USB: usbcore: Fix slab-out-of-bounds bug during device reset
b01b1eb24c04 powerpc/mm/radix: Use the right page size for vmemmap mapping
289f3c82b116 Input: elan_i2c - remove Lenovo Legion Y7000 PnpID
305c3b497662 RDMA/restrack: Release task struct which was hold by CM_ID object
8993c673d6c4 HID: wacom: generic: read HID_DG_CONTACTMAX from any feature report
2a0aa8a06aea netfilter: nf_flow_table: set default timeout after successful insertion
dbc29aff8d04 Linux 4.19.74
9d587fe2cd70 x86/build: Add -Wnoaddress-of-packed-member to REALMODE_CFLAGS, to silence GCC9 build warning
96c08711fc66 nvmem: Use the same permissions for eeprom as for nvmem
3622d621e9be rsi: fix a double free bug in rsi_91x_deinit()
780f3aadee1e platform/x86: pmc_atom: Add CB4063 Beckhoff Automation board to critclk_systems DMI table
52bfcc9c8406 modules: fix compile error if don't have strict module rwx
ae415d7a2707 modules: fix BUG when load module with rodata=n
0ae0c43abcbf iio: adc: stm32-dfsdm: fix data type
acf77c411b4e Revert "Bluetooth: btusb: driver to enable the usb-wakeup feature"
a03ed2891cdb drm/mediatek: mtk_drm_drv.c: Add of_node_put() before goto
d13a836d787d drm: panel-orientation-quirks: Add extra quirk table entry for GPD MicroPC
4b30a0698208 firmware: ti_sci: Always request response from firmware
3dfc787f2f50 crypto: talitos - HMAC SNOOP NO AFEU mode requires SW icv checking.
e89d4cb6fba3 crypto: talitos - Do not modify req->cryptlen on decryption.
9aff4077304b crypto: talitos - fix ECB algs ivsize
c4d7148e2d67 crypto: talitos - check data blocksize in ablkcipher.
02ebbb4f8df8 crypto: talitos - fix CTR alg blocksize
39fa02a36bb3 crypto: talitos - check AES key size
e1666bcbae0c driver core: Fix use-after-free and double free on glue directory
72cd230b3231 ubifs: Correctly use tnc_next() in search_dh_cookie()
a65290083b66 gpio: fix line flag validation in lineevent_create
0f4095f33557 PCI: Always allow probing with driver_override
70facf939ba2 mtd: rawnand: mtk: Fix wrongly assigned OOB buffer pointer issue
6da56f8982bb clk: rockchip: Don't yell about bad mmc phases when getting
a63416f39aaf drm/meson: Add support for XBGR8888 & ABGR8888 formats
d9e8b4ba0397 powerpc: Add barrier_nospec to raw_copy_in_user()
eb020b77b646 x86/purgatory: Change compiler flags from -mcmodel=kernel to -mcmodel=large to fix kexec relocation errors
73c31bd92039 KVM: nVMX: handle page fault in vmread
6e60900cfa3e KVM: x86: work around leak of uninitialized stack contents
09a9f894c65b KVM: s390: Do not leak kernel stack data in the KVM_S390_INTERRUPT ioctl
9f8a2825918c KVM: s390: kvm_s390_vm_start_migration: check dirty_bitmap before using it as target for memset()
991b3458da56 genirq: Prevent NULL pointer dereference in resend_irqs()
5b5f14601e0a ixgbe: Prevent u8 wrapping of ITR value to something less than 10us
7cbd49cf0d62 Btrfs: fix assertion failure during fsync and use of stale transaction
22ed1d472811 gpio: fix line flag validation in linehandle_create
705df757e937 gpiolib: acpi: Add gpiolib_acpi_run_edge_events_on_boot option and blacklist
0f4ceb259493 tun: fix use-after-free when register netdev failed
9a4598424e99 tipc: add NULL pointer check before calling kfree_rcu
67fe3b94a833 tcp: fix tcp_ecn_withdraw_cwr() to clear TCP_ECN_QUEUE_CWR
7c34a29261ee sctp: use transport pf_retrans in sctp_do_8_2_transport_strike
41b624ff83d2 sctp: Fix the link time qualifier of 'sctp_ctrlsock_exit()'
a9e91767b921 sch_hhf: ensure quantum and hhf_non_hh_weight are non-zero
a7f46e18ecfe net: sched: fix reordering issues
3600a311f83d net: phylink: Fix flow control resolution
821302dd0c51 net: gso: Fix skb_segment splat when splitting gso_size mangled skb having linear-headed frag_list
88a46756f016 net: Fix null de-reference of device refcount
b26f489245b3 ixgbe: Fix secpath usage for IPsec TX offload.
2354e925e361 isdn/capi: check message length in capi_write()
ea6ec671c87e ipv6: Fix the link time qualifier of 'ping_v6_proc_exit_net()'
a20c8e4ae48d cdc_ether: fix rndis support for Mediatek based smartphones
f57fd58dda42 bridge/mdb: remove wrong use of NLM_F_MULTI
db2d0b7c1dde Linux 4.19.73
ba03ee62aed0 vhost: make sure log_num < in_num
569775bd5364 powerpc/tm: Fix restoring FP/VMX facility incorrectly on interrupts
052bc385f970 powerpc/tm: Remove msr_tm_active()
f193e02265aa PCI: Reset both NVIDIA GPU and HDA in ThinkPad P50 workaround
ff69322509bb ext4: unsigned int compared against zero
292666d2d868 ext4: fix block validity checks for journal inodes using indirect blocks
97fbf573460e ext4: don't perform block validity checks on the journal inode
1e88a1f874ca drm/atomic_helper: Allow DPMS On<->Off changes for unregistered connectors
b1dd1d06b31d virtio/s390: fix race on airq_areas[]
057cdb6f0f47 drm/i915: Make sure cdclk is high enough for DP audio on VLV/CHV
b113f98432ae bcache: fix race in btree_flush_write()
f73c35d92976 bcache: add comments for mutex_lock(&b->write_lock)
7989a5026fd1 bcache: only clear BTREE_NODE_dirty bit when it is set
652993a5aae5 NFSv4: Fix delegation state recovery
5026932adb1a iio: adc: gyroadc: fix uninitialized return code
2e7e7c8f9423 mm/migrate.c: initialize pud_entry in migrate_vma()
b8ad18a10f70 i2c: at91: fix clk_offset for sama5d2
4c9170b55f3a i2c: at91: disable TXRDY interrupt after sending data
c9c90711ee88 gpio: don't WARN() on NULL descs if gpiolib is disabled
a532a120a5cd iommu/iova: Remove stale cached32_node
c4fc7cb93e0a powerpc/mm: Limit rma_size to 1TB when running without HV mode
5b9a6ba975c0 ALSA: hda - Fix intermittent CORB/RIRB stall on Intel chips
87c3692172da drm/panel: Add support for Armadeus ST0700 Adapt
ecf99cdea02d dm thin metadata: check if in fail_io mode when setting needs_check
5e9a2ce6d3b4 pstore: Fix double-free in pstore_mkfile() failure path
192b9af8caf0 resource: fix locking in find_next_iomem_res()
485bcc29a200 resource: Fix find_next_iomem_res() iteration issue
9a80dfccade1 resource: Include resource end in walk_*() interfaces
1c13c9c40e31 btrfs: correctly validate compression type
0ca2688bd7cd RDMA/srp: Accept again source addresses that do not have a port number
9541604735b2 RDMA/srp: Document srp_parse_in() arguments
bab0ff2d87db ARM: dts: gemini: Set DIR-685 SPI CS as active low
3a1b79ade460 KVM: PPC: Book3S HV: Fix CR0 setting in TM emulation
3ac718069f7c KVM: PPC: Use ccr field in pt_regs struct embedded in vcpu struct
beeeead95b2f KVM: VMX: check CPUID before allowing read/write of IA32_XSS
891011ca564d KVM: VMX: Fix handling of #MC that occurs during VM-Entry
74ce13331db9 KVM: VMX: Always signal #GP on WRMSR to MSR_IA32_CR_PAT with bad value
74fd8aae19d9 KVM: x86: optimize check for valid PAT value
812810399999 ceph: use ceph_evict_inode to cleanup inode's resource
42fa0e35d6e0 ALSA: hda - Don't resume forcibly i915 HDMI/DP codec
987564c28e8a cifs: Properly handle auto disabling of serverino option
d85e830d8534 scsi: zfcp: fix request object use-after-free in send path causing wrong traces
ba8701d2226c staging: wilc1000: fix error path cleanup in wilc_wlan_initialize()
60b856dc1744 scsi: target/iblock: Fix overrun in WRITE SAME emulation
ba52842de1ad scsi: target/core: Use the SECTOR_SHIFT constant
17111037fdf0 apparmor: reset pos on failure to unpack for various functions
90ca4912e55d IB/hfi1: Avoid hardlockup with flushlist_lock
fa717fc442ff clk: tegra210: Fix default rates for HDA clocks
350503c8982b clk: tegra: Fix maximum audio sync clock for Tegra124/210
acc07941e224 cifs: add spinlock for the openFileList to cifsInodeInfo
1d0648767ccf Btrfs: fix race between block group removal and block group allocation
f276beb324cc drm/amdgpu/{uvd,vcn}: fetch ring's read_ptr after alloc
7abeffff7bc3 drm/amdgpu: fix ring test failure issue during s3 in vce 3.0 (V2)
d5f6539381c7 kvm: Check irqchip mode before assign irqfd
90772cf58838 drm/amdkfd: Add missing Polaris10 ID
cacbc85376b6 ARC: mm: SIGSEGV userspace trying to access kernel virtual memory
7edfa9c99d21 ARC: mm: fix uninitialised signal code in do_page_fault
0828438e523e signal/arc: Use force_sig_fault where appropriate
fcb2f1e2ea68 dm crypt: move detailed message into debug level
96b44c20e6f0 cifs: smbd: take an array of reqeusts when sending upper layer data
3f27a14b03d8 PCI: dwc: Use devm_pci_alloc_host_bridge() to simplify code
842da8fac182 mmc: sdhci-pci: Add support for Intel CML
e238e6dc222b blk-mq: free hw queue's resource in hctx's release handler
69409854ba08 dm mpath: fix missing call of path selector type->end_io
0fe097012b6c PCI: Reset Lenovo ThinkPad P50 nvgpu at boot if necessary
5659dfca74d0 PCI: Add macro for Switchtec quirk declarations
e4ba157877db dt-bindings: mmc: Add disable-cqe-dcmd property.
eb83f9fa10f7 dt-bindings: mmc: Add supports-cqe property
0a0176f93ea9 ARM: dts: qcom: ipq4019: enlarge PCIe BAR range
445a78ea3f90 ARM: dts: qcom: ipq4019: Fix MSI IRQ type
df1216d8bc86 ARM: dts: qcom: ipq4019: fix PCI range
2fd4629de519 ext4: protect journal inode's blocks using block_validity
f10a92309b83 media: i2c: tda1997x: select V4L2_FWNODE
4061e662c8e9 cifs: Fix lease buffer length error
df5d4ea2d8be KVM: x86: Always use 32-bit SMRAM save state for 32-bit kernels
7a74d806bdaa x86/kvm: move kvm_load/put_guest_xcr0 into atomic context
163b24b1a68c kvm: mmu: Fix overflow on kvm mmu page limit calculation
feced628c068 IB/mlx5: Reset access mask when looping inside page fault handler
37222eaf7eb7 arm64: dts: stratix10: add the sysmgr-syscon property from the gmac's
3cfce8b77aad usb: typec: tcpm: Try PD-2.0 if sink does not respond to 3.0 source-caps
fba4f7c118e4 drm/i915: Sanity check mmap length against object size
6423a2ad5709 drm/i915: Handle vm_mmap error during I915_GEM_MMAP ioctl with WC set
778d626c6af3 CIFS: Fix leaking locked VFS cache pages in writeback retry
fb2dabeabb17 CIFS: Fix error paths in writeback code
e407b58c3576 drm: add __user attribute to ptr_to_compat()
e1a12c3b6f87 PCI: qcom: Don't deassert reset GPIO during probe
be905d0f2330 PCI: qcom: Fix error handling in runtime PM support
476ecc14cfdb btrfs: init csum_list before possible free
936690bdd8e6 btrfs: scrub: fix circular locking dependency warning
ff55333f5c52 btrfs: scrub: move scrub_setup_ctx allocation out of device_list_mutex
8ba3169dceac btrfs: scrub: pass fs_info to scrub_setup_ctx
df7329207870 mmc: renesas_sdhi: Fix card initialization failure in high speed mode
915c9d0a1d68 powerpc/kvm: Save and restore host AMR/IAMR/UAMOR
b3f864b88256 spi: spi-gpio: fix SPI_CS_HIGH capability
1d60902a5448 x86/kvmclock: set offset for kvm unstable clock
716b0cfa88a5 iwlwifi: add new card for 9260 series
213566a9b0de iwlwifi: fix devices with PCI Device ID 0x34F0 and 11ac RF modules
2b76fcb6ba62 drm/nouveau: Don't WARN_ON VCPI allocation failures
173b6557fcbc mt76: fix corrupted software generated tx CCMP PN
0d7f329e2431 iio: adc: exynos-adc: Use proper number of channels for Exynos4x12
4e516b721a50 dt-bindings: iio: adc: exynos-adc: Add S5PV210 variant
7f588a7262b3 iio: adc: exynos-adc: Add S5PV210 variant
cd490d44150d KVM: VMX: Compare only a single byte for VMCS' "launched" in vCPU-run
687e470e9123 bcache: treat stale && dirty keys as bad keys
d1cec665de2c bcache: replace hard coded number with BUCKET_GC_GEN_MAX
ee30121fbd78 tpm: Fix some name collisions with drivers/char/tpm.h
c207ac66848e mfd: Kconfig: Fix I2C_DESIGNWARE_PLATFORM dependencies
6fd5e50add36 drm/i915/ilk: Fix warning when reading emon_status with no output
2b4f567912ad drm/vblank: Allow dynamic per-crtc max_vblank_count
71f719105462 crypto: ccree - add missing inline qualifier
72eec6b303f4 crypto: ccree - fix resume race condition on init
f0e286550af8 IB/uverbs: Fix OOPs upon device disassociation
8c6fb55abf2c ARC: mm: do_page_fault fixes#1: relinquish mmap_sem if signal arrives while handle_mm_fault
96af7d92d8d2 ARC: show_regs: lockdep: re-enable preemption
424b75b79994 media: vim2m: only cancel work if it is for right context
be77686f0369 btrfs: Use real device structure to verify dev extent
a2790b9939ae btrfs: volumes: Make sure no dev extent is beyond device boundary
cfbf227e0591 powerpc/pkeys: Fix handling of pkey state across fork()
2ad95be18995 scsi: megaraid_sas: Use 63-bit DMA addressing
3263f78640cc scsi: megaraid_sas: Add check for reset adapter bit
dc4e3ec9d226 scsi: megaraid_sas: Fix combined reply queue mode detection
eb124aaa2e85 btrfs: Fix error handling in btrfs_cleanup_ordered_extents
1669d1d2e696 btrfs: Remove extent_io_ops::fill_delalloc
338a528b7922 Btrfs: fix deadlock with memory reclaim during scrub
fac803479f60 Btrfs: clean up scrub is_dev_replace parameter
d3984e80d7f2 KVM: PPC: Book3S HV: Fix race between kvm_unmap_hva_range and MMU mode switch
d88b01d04c6a drm/i915: Cleanup gt powerstate from gem
b185bde520d5 drm/i915: Restore sane defaults for KMS on GEM error load
f999485109d1 media: vim2m: use cancel_delayed_work_sync instead of flush_schedule_work
a7b6f95f3ca6 media: vim2m: use workqueue
e432a58d7a0d s390/zcrypt: reinit ap queue state machine during device probe
a4f404af3ca8 ARM: davinci: dm644x: define gpio interrupts as separate resources
8d6b2b24ca85 ARM: davinci: dm355: define gpio interrupts as separate resources
d31f2b61e7f9 ARM: davinci: dm646x: define gpio interrupts as separate resources
4883e9e66f76 ARM: davinci: dm365: define gpio interrupts as separate resources
0a6c3bdae2c9 ARM: davinci: da8xx: define gpio interrupts as separate resources
016218ef6bb0 drm/amd/dm: Understand why attaching path/tile properties are needed
853dc0759586 drm/amd/pp: Fix truncated clock value when set watermark
5faabd22ed64 powerplay: Respect units on max dcfclk watermark
11bedb2e77a0 Drivers: hv: kvp: Fix the recent regression caused by incorrect clean-up
74ff258346e4 Drivers: hv: kvp: Fix the indentation of some "break" statements
e352d8eb9394 drm/atomic_helper: Disallow new modesets on unregistered connectors
cff9e1e33151 drm/i915/gen9+: Fix initial readout for Y tiled framebuffers
8ccbb1d24c26 drm/i915: Rename PLANE_CTL_DECOMPRESSION_ENABLE
4b2dfc0e2d44 drm/i915: Fix intel_dp_mst_best_encoder()
796469e361ed x86/kvm/lapic: preserve gfn_to_hva_cache len on cache reinit
cdad0f65050e KVM: hyperv: define VP assist page helpers
b0d9043bdbe6 KVM: x86: hyperv: keep track of mismatched VP indexes
f031fd03e22e KVM: x86: hyperv: consistently use 'hv_vcpu' for 'struct kvm_vcpu_hv' variables
0b535f7b95af KVM: x86: hyperv: enforce vp_index < KVM_MAX_VCPUS
8e91cc7f7f91 drm/amdgpu: Update gc_9_0 golden settings.
bcc3bd761ab5 drm/amdgpu/gfx9: Update gfx9 golden settings.
2c2cf2245ff6 remoteproc: qcom: q6v5-mss: add SCM probe dependency
4d9707586ec7 x86, hibernate: Fix nosave_regions setup for hibernation
805e0e46eb54 Drivers: hv: kvp: Fix two "this statement may fall through" warnings
3f3beae22842 keys: Fix the use of the C++ keyword "private" in uapi/linux/keyctl.h
bac1c4edb5c4 scsi: qla2xxx: Move log messages before issuing command to firmware
6e087eae89df media: cec: remove cec-edid.c
851308450a8f media: cec/v4l2: move V4L2 specific CEC functions to V4L2
c09d675f294b drm/i915: Re-apply "Perform link quality check, unconditionally during long pulse"
3015291b2fb5 kernel/module: Fix mem leak in module_add_modinfo_attrs
9c49f7811f82 modules: always page-align module section allocations
84ba9ae18fbb remoteproc: qcom: q6v5: shore up resource probe handling
56944c0b9774 clk: s2mps11: Add used attribute to s2mps11_dt_match
480101a4aea2 nvme-fc: use separate work queue to avoid warning
5f147150b753 riscv: remove unused variable in ftrace
8d23872c7539 scripts/decode_stacktrace: match basepath using shell prefix operator, not regex
6c550a5db18f arm64: dts: rockchip: enable usb-host regulators at boot on rk3328-rock64
573370113b24 media: stm32-dcmi: fix irq = 0 case
7f8b23600779 powerpc/64: mark start_here_multiplatform as __ref
85a24825b2e6 x86/ftrace: Fix warning and considate ftrace_jmp_replace() and ftrace_call_replace()
b93aed78eb78 selftests: fib_rule_tests: use pre-defined DEV_ADDR
68829256e1f9 timekeeping: Use proper ktime_add when adding nsecs in coarse offset
1aa38eceb6c0 {nl,mac}80211: fix interface combinations on crypto controlled devices
178d1337a527 blk-iolatency: fix STS_AGAIN handling
5f33e81250a6 Blk-iolatency: warn on negative inflight IO counter
91a71a61da8c hv_sock: Fix hang when a connection is closed
86d5ae21d6b8 batman-adv: Only read OGM tvlv_len after buffer len check
4b5fee457723 batman-adv: fix uninit-value in batadv_netlink_get_ifindex()
47a0f70d7d9a powerpc/tm: Fix FP/VMX unavailable exceptions inside a transaction
6e7040d65a71 vhost/test: fix build for vhost test - again
4f45483faadf vhost/test: fix build for vhost test
dcd22e14780a drm/vmwgfx: Fix double free in vmw_recv_msg()
38d38d1e0cc5 sched/fair: Don't assign runtime for throttled cfs_rq
044ab4715585 ALSA: hda/realtek - Fix the problem of two front mics on a ThinkCentre
849f85bfdf12 ALSA: hda/realtek - Enable internal speaker & headset mic of ASUS UX431FL
a956998ac1c2 ALSA: hda/realtek - Add quirk for HP Pavilion 15
d11ca2d79334 ALSA: hda/realtek - Fix overridden device-specific initialization
2c4d2ce8b799 ALSA: hda - Fix potential endless loop at applying quirks
(From OE-Core rev: 085b5b4638bf91e17814e4a1b8c296158ee17433)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A small test to verify that oe-run-native is correctly working.
(From OE-Core rev: 1b577bcc44cbf7a9e94f8770f21841a16ad50c64)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Pass all of the compiler and linker flags so the build is correctly configured.
(From OE-Core rev: 05151064eb2c0907ebb815c9ae3481a912835b39)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Displaying a help message if help was requested isn't an error.
(From OE-Core rev: 9d98e881de9030d80e451519b054681d4e9d2621)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The coreutils implementation of stdbuf uses LD_PRELOAD
to dynamically load libstdbuf which calls setvbuf().
This can't be implemented simply in busybox since it produces
one or two statically linked executables. Therefore, stdbuf
should be packaged separately for people who are using busybox
instead of coreutils for the other tools.
coreutils depends on the new package,
so nothing changes when installing coreutils.
(From OE-Core rev: 992cec44ad2073cfe05cb2c58936032af189748a)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some tools are not written in Perl anymore, so they should be in PN no PN-perltools.
(From OE-Core rev: 8a2e4dac4f5086fbfc094fb1f16e91108ee1b247)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
CVEs that are whitelisted or were not vulnerable when there are version
comparisons were not included in the report, so alter the logic to ensure that
all relevant CVEs are in the report for completeness.
(From OE-Core rev: 98256ff05fcfe9d5ccad360582c36eafb577c264)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport a patch from upstream to fix the following runtime failure.
mem.c:814: INFO: set overcommit_memory to 0
overcommit_memory.c:213: FAIL: alloc passed, expected to fail
(From OE-Core rev: c4bf0b80ab1be8b4faa2af7708bdca990d94a329)
Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
0.24:
- Add support for extended groups in settings files.
0.25:
- Fix issue with stopping DHCP client and owner notification.
- Fix issue with time calculation overflow and DHCP.
(From OE-Core rev: 8b41a5b0418d1d85741a88b236bbe5ae30ec4355)
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
reproduce steps:
1. add DISTRO_FEATURE_append = 'usrmerge' in local.conf
2. bitbake mdadm --success
3. remove DISTRO_FEATURE_append = 'usrmerge' from local.conf
4. bitbake mdadm -- failed when do_package
it is not proper to change source Makefile during do_install by sed,
fix by pass correct config to EXTRA_OEMAKE
[YOCTO #13493]
(From OE-Core rev: 8eb457bd396592094b59098496d88db0ba03d013)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Elfutils has optional support for bzip2 and xz (lzma). It uses
this for decompressing embedded ELF sections like the .gnu_debugdata
section for "mini debuginfo":
https://sourceware.org/gdb/onlinedocs/gdb/MiniDebugInfo.html
Previously this support was unconditionally disabled but the reasons for
disabling them seem to no longer apply. Both the target and native
variants of elfutils can build successfully against both bzip2 and xz.
(From OE-Core rev: 37f4b2311eab6736ee92fc6ac39ddcba6d56a38e)
(From OE-Core rev: a898b13763a145f15dfd8ada033ae9f0d60e4185)
Signed-off-by: Dan Callaghan <dan.callaghan@opengear.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream added support for optional docs, so
0001-Do-not-generate-gtkdoc-or-python-bindings.patch is replaced
with an option to disable gtk-doc (as the modulemd feature is not used
in oe-core anyway).
(From OE-Core rev: cb5bb2b9635ebf709f1eb0b154f28419d548ad70)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
gcr uses gettext now, so no need to depend on intltool-native.
(From OE-Core rev: fc300e7adc0ad6e5573744434e5010d177f6c2db)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport changes to tinfo/comp_hash.c, tinfo/parse_entry.c,
and progs/dump_entry.c from upstream to fix CVEs.
(From OE-Core rev: 69c31032f1ec0e300c3247efa71aa9b4ebdaf23d)
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This change allows layers adding packages other than locales automatically to
images based on languages selected in IMAGE_LINGUAS.
E.g if a layer has recipes creating packages as:
| ${PN}-foo-en / ${PN}-foo-de / ${PN}-foo-it / ..
it would set
| IMAGE_LINGUAS_COMPLEMENTARY_append = " *-foo-%s"
in its layer.conf to enable auto-adding.
(From OE-Core rev: 3a9e9585aeb67234901b2f842113dbe20c3801b3)
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport upstream fix. No upstream release version of
binutils it yet, so backport the fix independently.
(From OE-Core rev: 3693a0a8b9461521b95613a76b7fd79c86a3bf8f)
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport upstream fix. No upstream release version of
binutils it yet, so backport the fix independently.
(From OE-Core rev: a4ead72b958ded4941f96741029f4955930ba758)
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- remove the inc file
- run oe-stylize on the recipe
(From OE-Core rev: 3bfec923cf717bd1082beb0e026567951c2e99c0)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
oe-core e37a1ecc stopped downloading a LZMA tarball, but the checksums were not
removed at the same time.
(From OE-Core rev: 73a1e1135618a23f3f2a714c311df39c7b809ed5)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Automatic generation seems to work fine,
and does not become outdated.
(From OE-Core rev: 8993270f8bc65e152418d84fde03f8ead83c054b)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some hosts need -pthread in order to link properly (e.g. openSUSE 15.1).
(From OE-Core rev: 6196e68ffc83ae0655336d3466d950828d42e191)
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Part of patch fixed upstream removed.
(From OE-Core rev: 82169fd7684389f9cdedd6f91a00698641741a8c)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When bitbake determines if a git clone needs updating, it only checks for the
needed srcrevs, not the revs listed in BB_GIT_SHALLOW_REVS, which will fail if
using shallow and the needed rev was added to the upstream git repo after a
previous fetch. Ensure that we also check for shallow revs.
[YOCTO #13586]
(Bitbake rev: 93b65e3c6ca64f644946953980595c44fbbcc748)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The intention of this commit is so that git history will clearly
show the changes made to the Python indent code.
Taken from Vim commit 7a9bd7c1e0ce1baf5a02daf36eeae3638aa315c7
(Bitbake rev: 3eb3ed6b31859e108020e47faee7215841fea8f6)
Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changing the gl options to qemu doesn't result in a correctly rebuilt
binary, the GL linkage can persist from a build where it was enabled
to one where it was not.
As well as clearly being incorrect and non-reproducible, this caused
some mystery failures on the autobuilder.
Cleaning ${B} at do_configure time avoids this. Most recipes
(e.g. autotools derived ones) already clean ${B} as appropriate and
avoid this issue.
(From OE-Core rev: b91b30c09ffbcd81e8dcaae832b3ae4f61046236)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ensure /etc/exports exists and is readable before calling exportfs
to avoid errors.
(From OE-Core rev: 723f2464f746624ece06caa9752910a52f290f95)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The 'accept' function on the socket of unfsd daemon
is always in below error state:
accept(4, 0x7ffd5e6dddc0, [128]) = -1 EINVAL (Invalid argument)
accept(6, 0x7ffd5e6dddc0, [128]) = -1 EINVAL (Invalid argument)
And 'strace -c -p <the pid of unfsd>' shows:
% time seconds usecs/call calls errors syscall
------ ----------- ----------- --------- --------- ----------------
70.87 0.005392 0 513886 513886 accept
29.13 0.002216 0 256943 poll
This error state is in the 'for' loop of the daemon, so it consumes 100%
CPU. The reason is that 'listen' is not called for the TCP socket before
'accept'. Actually the called 'svc_tli_create' from libtirpc will not call
'listen' on a bound socket.
(From OE-Core rev: 1f6784d2e839f81749d21ad1b615a9f7bb0e64d6)
Signed-off-by: Haiqing Bai <Haiqing.Bai@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport patches to fix CVE-2019-6471 and CVE-2018-5743 for bind.
CVE-2019-6471 is fixed by 0001-bind-fix-CVE-2019-6471.patch and the
other 6 patches are for CVE-2018-5743. And backport one more patch to
fix compile error on arm caused by these 6 commits.
(From OE-Core rev: 3c39d4158677b97253df63f23b74c3a9dd5539f6)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Like the -dbg package, this package is automatically generated and contains
source filenames. We expect this to change on every upgrade, so don't show the
differences unless the user wants to see all changes.
(From OE-Core rev: 30acbf6f89ba76d6fab8987ed20f72d1fa3d70fa)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Need it for gnome-settings-daemon 3.34:
| meson.build:91:0: ERROR: Invalid version of dependency, need 'gsettings-desktop-schemas' ['>= 3.33.0'] found '3.32.0'.
(From OE-Core rev: e94ce7ecc80efd41ec496fadf7546ea027f7dafd)
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #12760]
Updated the cmake.bbclass description to tell what directory
to insall custom CMake toolchain files into. Also, updated
the two areas in the "Writing a New Recipe" section that
mention CMake. Placed a couple notes there concerning the
same directory stuff.
(From yocto-docs rev: a65cd2c4c062d4ae388191b9d6708b4fadffaa3f)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Alejandro Enedino Hernandez Samaniego <aehs29@gmail.com>
commited a change to these manuals (see
9e79e96cad66316c1b4ee608723edfa763f0f9ef) and did not
use YP documentation standards for the content. I cleaned
up the text and tabbing.
(From yocto-docs rev: 9c95799322e1830a5faae0980384ab10b6504007)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was in a moving to YP version 1.8 migration section.
(From yocto-docs rev: b87f0882c39524747004fafc4d1caf58b3344c3a)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I was using "2.8" throughout the manual set instead
of "3.0". Updated all aspects to "3.0".
(From yocto-docs rev: db19937e98c59d4d2a9ce89877be3c8e0b05991a)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Turned "2.8" into "3.0". Nobody told me about skipping
2.8 and 2.9.
(From yocto-docs rev: 13819f0651c48adae9d1a8d6d19341ba5ee44978)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The connman-wait-online package currently isn't marked as
systemd-enabled package. This means it is impossible to
auto-enable the service during image creation or package
installation, as no preset files and no pkg_postinst()
snippet is being created.
This change should have been done as part of the
upgrade to v1.31
Note:
connman-wait-online is needed when connman is in use
in more complex network/interface setups for systemd's
network-online.target to report success.
systemd-networkd's systemd-networkd-wait-online.service
alone doesn't work in such scenarios and simply times
out, as it know nothing about the expected network/
interface configuration, meaning the target doesn't
boot successfully (systemctl list-units --failed),
and long delays are seen, caused by waiting for the
systemd-networkd-wait-online.service timeout.
(From OE-Core rev: 1a8d18eeee6dc188d8becc778bfa933031490781)
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
kernel.bbclass installs non-standard kernels (where
KERNEL_PACKAGE_NAME is not "kernel") in a subdirectory of ${DEPLOYDIR}.
To achieve this kernel_do_deploy sets the deployDir shell variable to
${DEPLOYDIR} for the standard kernel or
${DEPLOYDIR}/${KERNEL_DEPLOYSUBDIR} for non-standard kernels.
kernel-devicetree.bbclass's do_deploy_append ought to do the same
and can do so by using the same shell variable.
(From OE-Core rev: db5752911fe085337b9d3d4af85f89a0c664388e)
Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
kernel.bbclass installs non-standard kernels (where
KERNEL_PACKAGE_NAME is not "kernel") in a subdirectory of ${DEPLOYDIR}.
To achieve this kernel_do_deploy sets the deployDir shell variable to
${DEPLOYDIR} for the standard kernel or
${DEPLOYDIR}/${KERNEL_DEPLOYSUBDIR} for non-standard kernels.
kernel-fitimage.bbclass's kernel_do_deploy_append ought to do the same
and can do so by using the same shell variable.
(From OE-Core rev: d324b22d32eaea9e4337c963c8b1a33b0ba6a2dd)
Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In Sudo before 1.8.28, an attacker with access to a Runas ALL sudoer
account can bypass certain policy blacklists and session PAM modules,
and can cause incorrect logging, by invoking sudo with a crafted user
ID. For example, this allows bypass of !root configuration, and USER=
logging, for a "sudo -u \#$((0xffffffff))" command.
(From OE-Core rev: 4e11cd561f2bdaa6807cf02ee7c9870881826308)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a backported commit from upstream which helps fix build failures
in meta-oe.
(From OE-Core rev: 6665e84bfba43cd8897b9561b14975ac524fbbe2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
PKNAME is NULL when run "lsblk -o+PKNAME /dev/sda1"
backport an upstream patch to fix it.
(From OE-Core rev: a5a987ff5e5e333e28be44a12e729907272ea3cb)
Signed-off-by: Liwei Song <liwei.song@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When loading controllers as (external) modules, the code currently
tries to load all files ending with .py. This is a problem when
during development using an editor that creates a lock-file
in the same directory as the .py file, as the lock file is
typically called '.#xxxx.py'.
Python will try to load the lock file and fail miserably with
an exception:
The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_python_func() autogenerated', lineno: 2, function: <module>
0001:
*** 0002:do_testimage(d)
0003:
File: 'poky/meta/classes/testimage.bbclass', lineno: 114, function: do_testimage
0110: netstat -an
0111:}
0112:
0113:python do_testimage() {
*** 0114: testimage_main(d)
0115:}
0116:
0117:addtask testimage
0118:do_testimage[nostamp] = "1"
File: 'poky/meta/classes/testimage.bbclass', lineno: 294, function: testimage_main
0290:
0291: # the robot dance
0292: target = OERuntimeTestContextExecutor.getTarget(
0293: d.getVar("TEST_TARGET"), logger, d.getVar("TEST_TARGET_IP"),
*** 0294: d.getVar("TEST_SERVER_IP"), **target_kwargs)
0295:
0296: # test context
0297: tc = OERuntimeTestContext(td, logger, target, host_dumper,
0298: image_packages, extract_dir)
File: 'poky/meta/lib/oeqa/runtime/context.py', lineno: 116, function: getTarget
0112: # XXX: Don't base your targets on this code it will be refactored
0113: # in the near future.
0114: # Custom target module loading
0115: target_modules_path = kwargs.get('target_modules_path', '')
*** 0116: controller = OERuntimeTestContextExecutor.getControllerModule(target_type, target_modules_path)
0117: target = controller(logger, target_ip, server_ip, **kwargs)
0118:
0119: return target
0120:
File: 'poky/meta/lib/oeqa/runtime/context.py', lineno: 128, function: getControllerModule
0124: # ImportError raised if a provided module can not be imported.
0125: @staticmethod
0126: def getControllerModule(target, target_modules_path):
0127: controllerslist = OERuntimeTestContextExecutor._getControllerModulenames(target_modules_path)
*** 0128: controller = OERuntimeTestContextExecutor._loadControllerFromName(target, controllerslist)
0129: return controller
0130:
0131: # Return a list of all python modules in lib/oeqa/controllers for each
0132: # layer in bbpath
File: 'poky/meta/lib/oeqa/runtime/context.py', lineno: 163, function: _loadControllerFromName
0159: # Raise ImportError if a provided module can not be imported
0160: @staticmethod
0161: def _loadControllerFromName(target, modulenames):
0162: for name in modulenames:
*** 0163: obj = OERuntimeTestContextExecutor._loadControllerFromModule(target, name)
0164: if obj:
0165: return obj
0166: raise AttributeError("Unable to load {0} from available modules: {1}".format(target, str(modulenames)))
0167:
File: 'poky/meta/lib/oeqa/runtime/context.py', lineno: 173, function: _loadControllerFromModule
0169: @staticmethod
0170: def _loadControllerFromModule(target, modulename):
0171: obj = None
0172: # import module, allowing it to raise import exception
*** 0173: module = __import__(modulename, globals(), locals(), [target])
0174: # look for target class in the module, catching any exceptions as it
0175: # is valid that a module may not have the target class.
0176: try:
0177: obj = getattr(module, target)
Exception: ImportError: No module named 'oeqa.controllers.'
Simply ignore those when collecting the list of files to try
to load.
(From OE-Core rev: 682f223cf2e2dabe8cf60634b6779bb2d5e359bd)
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Tweak the write loop slightly to avoid dict lookups that can easily be
done in the for loop.
(From OE-Core rev: 35c65b7336c52c19810e3e9e87a36a8636ac4120)
Signed-off-by: Ola x Nilsson <olani@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Replace copy-and-if with a filtering list comprehension.
(From OE-Core rev: eb763856be8da854d37c7d4b8e8d645ab1d3fa06)
Signed-off-by: Ola x Nilsson <olani@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The PID file referenced in dbus-1.init script was out of date and no longer existed. This meant that dbus could not be restarted via init.d without force removing the old PID file.
(From OE-Core rev: 2ed6f06f30cb54b9c70f1a92d93c920ec4d01ffe)
Signed-off-by: fridgecow <fridgecow@fb.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* the (new?) ruby expects some additional compiled libraries
to run, so we need to copy them as part of ptest.
Fixes errors like:
# ruby ./runner.rb ./-ext-/vm/test_at_exit.rb
Run options:
# Running tests:
[1/1] TestVM#test_at_exit = 0.06 s
1) Failure:
TestVM#test_at_exit [/usr/lib/ruby/ptest/test/-ext-/vm/test_at_exit.rb:7]:
1. [1/2] Assertion for "stdout"
| <["begin", "end"]> expected but was
| <[]>.
2. [2/2] Assertion for "stderr"
| <[]> expected but was
| <["-:1:in `require': cannot load such file -- -test-/vm/at_exit (LoadError)",
| "\tfrom -:1:in `<main>'"]>.
* the 'erb' test can't find the erb binary, as we're not
running this from within the build directory
(From OE-Core rev: 158d5285372240f6b3502a6c715a2491e37a3118)
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
By exporting ICECC_CC, ICECC_CXX, and ICECC_VERSION in a wrapper-script,
and putting this wrapper-script in the PATH, the Makefiles generated by CMake or
the autotools are able to function correctly outside of bitbake.
This provides a convenient developer workflow in which the
modify-compile-unittest cycle can happen directly in the ${B} directory.
The `rm -f $ICE_PATH/$compiler` line is transitional,
and can go at some later date (October 2020 or later, perhaps).
(From OE-Core rev: 40d74cb1d0ddce930267e49764cacb263b244091)
Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Most patches had to be refreshed
Note that we can now drop
EXTRA_AUTORECONF += "--exclude=aclocal"
from the recipe, as ruby upstream now fully supports
runnning aclocal:
df9bf70cd2ec43478f34
Also note that 'created.rid' is not being installed
anymore since v2.6.0
While additional LICENSEs were added to the recipe,
they should always have been mentioned in this recipe,
i.e. the license checksum was updated only because:
* URLs were updated
* new imported components were mentioned (with no new licenses)
* formatting was changed
* dates were updated
(From OE-Core rev: 7124051b3b2e91e81c7b8565104ae9c5bea10be1)
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The find_program command will fail if it is used on a tool that is listed in
ASSUME_PROVIDED. This is because these tools are in the hosttools directory
which is not listed in CMAKE_FIND_ROOT_PATH so cmake will not find them.
Adding the directory HOSTTOOLS_DIR to the CMAKE_FIND_ROOT_PATH variable fixes
the initial issue of needing to search for tools in ASSUME_PROVIDED.
Note that this change alone does not fix the issue because find_program will
by default only look into the subdirectories bin and usr/bin under the paths
in CMAKE_FIND_ROOT_PATH to find the programs and the hosttools directory has
instead the symlinks directly present without these subdirectories.
Set CMAKE_PROGRAM_PATH to by default include the root directory so
find_program can search the hosttools directory without needing the prefix
directories.
(From OE-Core rev: 7847f431cd8db59fce8c9401a603c4b0678ee16d)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Enable --remove-work option for devtool reset command that allows user
to clean up source directory within workspace.
Currently devtool reset command only removes recipes and user is forced
to manually remove the sources directory within the workspace before
running devtool modify again.
Using devtool reset -r or devtool reset --remove-work option, user can
cleanup the sources directory along with the recipe instead of manually
cleaning it.
syntax: devtool reset -r <recipename>
Ex: devtool reset -r zip
devtool finish -r <recipename> <layer-name>
Ex: devtool finish -r zip meta-yocto-bsp
(From OE-Core rev: 0d6dd01b8633ad63d77c24568a4b20852aaa366f)
Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In multilib builds python3-config gets renamed to eg python3-config-lib64 but
this ends up being packaged in python3-core not python3-dev.
The manifest uses an extended glob to package all python* binaries that are not
python-config into python3-core:
"${bindir}/python*[!-config]",
However, this doesn't do what was intended, as [] is a range match.
Replace the globs with more verbose but precise matches, and clear out
FILES_${PN} to ensure that new binaries don't end up in ${PN} (which shouldn't
exist).
[ YOCTO #13592 ]
(From OE-Core rev: c780f21c33b0684dafff3421600cd1c11ddd0c48)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With python3-config using the 'python-config' name, it's possible for
python-config to point at python3-config, which is obviously wrong.
(From OE-Core rev: 80a4a44d4d9da1cacda5f50ea955017502829c6d)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was used for build result reporting back in the OE-Classic days. Its
not been touched in years, isn't used as far as I know and can be removed.
(From OE-Core rev: f5d107f2ac448d6fe9fe8e4a2451e5cefdfd892a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
New version fixes CVE-2019-17544 as well as various other bugs.
CVE: CVE-2019-17544
RP: Added tweak to fix meta-selftest
(From OE-Core rev: 3b788da31af6296a0404ed6080aef17708d61303)
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This has been the traditional way of enabling systemd services.
It may conflict with presets feature, but other layers, image classes
and recipes add services to be enabled using SYSTEMD_SERVICE
variable also with read-only rootfs, e.g. IMAGE_FEATURES has
stateless-rootfs and systemd_preset_all task is not executed.
Fixes startup of custom services from our recipes using custom
image classes with various BSP layers. In the worst case even
serial console getty service wasn't starting due to dependency
no not enabled services.
(From OE-Core rev: 68a10763e64764a0d43be9162e7b99833f5296db)
Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Cc: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This doesn't work on read-only-rootfs:
AssertionError: 1 != 0 : SYSTEMD_BUS_TIMEOUT=240s systemctl disable avahi-daemon.service
Failed to disable unit: File /etc/systemd/system/multi-user.target.wants/avahi-daemon.service: Read-only file system
This patch does two things:
1) Decorate the existing test to be skipped if the rootfs is
read-only
2) add a new test to be executed only if the rootfs is
read-only. This new test remounts the rootfs read-write
before continuing to execute the existing test, making
sure to clean up correctly after itself (remount r/o
again).
(From OE-Core rev: ec856301887b1139f93aa54d04bed9b842357b4f)
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Images can have package management enabled, but be
generally running as read-only. In this case, the
test fails at the moment with various errors due to
that.
Use the new @skipIfFeature decorator to also skip
this test in that case.
(From OE-Core rev: 84640e2b4daf4cf22c5b0324c22332f59e4d51e3)
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
skipIfFeature will skip a test if a given DIST_FEATURE
or IMAGE_FEATURE is enabled.
(From OE-Core rev: ff2218f7cc3992725dd35499c14ec3396120dcc5)
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When device names are long (more than 20 characters), the
df test will fail with an exception:
self.assertTrue(int(output)>5120, msg=msg)
ValueError: invalid literal for int() with base 10: ''
at least when busybox is in use.
The reason is that busybox breaks the line in that case:
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/disk/by-partuuid/8e991e5a-cebd-4f88-9494-c9db4f30cb02
1998672 87024 1790408 5% /
and the code tries to extract the fourth field from the
second line, which is empty of course.
df can be told not to break lines, though, using the -P
flag, which turns on the POSIX output format, and is
supported by busybox df and coreutils df:
Filesystem 1024-blocks Used Available Capacity Mounted on
/dev/disk/by-partuuid/8e991e5a-cebd-4f88-9494-c9db4f30cb02 1998672 87024 1790408 5% /
(From OE-Core rev: 8c23c1476d0c64b9bc8806db03414fa914c1e658)
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some targets might use ssh to do their power- or serial-
control. In that case, ssh might need access to the
ssh agent, or otherwise won't work.
So export it into the environment.
Note that the (old) oeqa/controllers/masterimage.py
tries to do that as well by exporting all of BB_ORIGENV
into the test environment. Here in testimage.bbclass we
are a bit more strict and only pass the ssh related
environment variables.
(From OE-Core rev: d99617b8f2a9354b7357524fcd2eee16af0677b7)
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since the introduction of the new runtime framework for target
testing in commit 2aa5a4954d76
("testimage.bbclass: Migrate class to use new runtime framework")
commit 3857e5c91d in poky.git, target controllers have no
access to the global datastore 'd' anymore.
This makes it impossible for a specific OEQA (hardware)
controller to access documented properties like
TEST_POWERCONTROL_CMD, TEST_SERIALCONTROL_CMD, etc,
meaning it's impossible for those controllers to actually
control the hardware.
To solve this, simply add those documented variables into
the target_kwargs[].
(From OE-Core rev: 0ab7e3b573a58cc3a869ef33fd8737ca7fe04550)
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a PACKAGECONFIG so that readline can be disabled if desired.
(From OE-Core rev: 6958f7e4c6a1c27e823ae0a74c1642d78ca7a45e)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
python3-config uses distutils:
Traceback (most recent call last):
File "/usr/bin/python3-config", line 9, in <module>
from distutils import sysconfig
ModuleNotFoundError: No module named 'distutils'
Add the dependency so that distutils is always present.
[ YOCTO #13592 ]
(From OE-Core rev: 04136dbac48986dce5b2b872b2c0b46c673c44f2)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes:
# decode-dimms
Can't locate Carp.pm in @INC (you may need to install the Carp module) (@INC contains: /usr/lib/perl5/site_perl/5.28.1/x86_64-linux /usr/lib/perl5/site_perl/5.28.1 /usr/lib/perl5/vendor_perl/5.28.1/x86_64-linux /usr/lib/perl5/vendor_perl/5.28.1 /usr/lib/perl5/5.28.1/x86_64-linux /usr/lib/perl5/5.28.1 .) at /usr/lib/perl5/5.28.1/Tie/Hash.pm line 190.
BEGIN failed--compilation aborted at /usr/lib/perl5/5.28.1/Tie/Hash.pm line 190.
Compilation failed in require at /usr/lib/perl5/5.28.1/x86_64-linux/POSIX.pm line 505.
Compilation failed in require at /usr/bin/decode-dimms line 41.
BEGIN failed--compilation aborted at /usr/bin/decode-dimms line 41.
root@qt5222:~# apt-get install perl-module-carp
(From OE-Core rev: c73d2a2c0ecc99f0d6d7e6a1861ecce7a2312a57)
Signed-off-by: Ricardo Ribalda Delgado <ricardo@ribalda.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
file will automatically enable seccomp if the seccomp headers are available, but
the build will fail on Opensuse Tumbleweed because the include paths are wrong.
Enabling seccomp is a bad idea because it interacts badly with pseudo (causing
build failures), so explicitly and globally disable seccomp.
(From OE-Core rev: a752faa152df031df5acaa40491299ac115109a4)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the source file is located in a subdirectory of DEPLOY_DIR
rawcopy will currently fail in sparse_copy function on
open(dst_fname, 'wb'), as the parent directory for destination
file does not exist.
This patch helps to avoid that by recursively creating
parent directories.
(From OE-Core rev: 073c435644091c2801e45c6d02afa917de575082)
Signed-off-by: Eugene Smirnov <evgenii.smirnov@here.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In case multiple builds share UNINATIVE_DLDIR's location, one build
might be in the process of downloading the tarball while another is
just checking whether the tarball exists. Check for the done file
instead and rely on the fetchers lockfile mechanism in case two
builds are running.
(From OE-Core rev: a1c95580549cb4f77601e62c7f026b19c752d853)
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If SDK_VENDOR isn't formatted as -foosdk and is instead for example -foo-sdk
then the triple that are constructed are not in fact triples, which results in
mysterious compile errors.
Check in sanity.bbclass so this failure is detected early.
[ YOCTO #13573 ]
(From OE-Core rev: b0efd8d4d0dbc30e6505b42f5603f18fa764d732)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed:
PACKAGECONFIG_append_pn-bluez5 = ' btpclient'
$ bitbake bluez5
btpclient.c:2834:7: error: 'SIGINT' undeclared (first use in this function)
(From OE-Core rev: e72cd2950b38a5fc45908c9601679e601cf60559)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
do_prepare_recipe_sysroot may perform groupadd, which requires pseudo.
However, do_prepare_recipe_sysroot does not depend on pseudo explicitly,
which sometimes causes a build error when building a recipe that adds
groups.
This issue only occurs when executing do_prepare_recipe_sysroot for a
recipe that adds groups before finishing a task that depends on pseudo
for a recipe that doesn't add groups.
(From OE-Core rev: 427320d7621846d57649af46bf57c88f86cac612)
Signed-off-by: Mattias Hansson <mattihn@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
libOptRemarks has been renamed as libRemarks
RISC-V backend is now supported
(From OE-Core rev: 7f4870132ece9efa7f1404e2620a2e05055bca12)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-fribidi/meson.patch
Removed since this is included in 1.0.7.
(From OE-Core rev: 79297c6041342f4cb67131d08368a103d9791a9a)
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The license of the two libraries are BSD-3-Clause.
(From OE-Core rev: 04849897a3152d0fe7ffa2e86e6bf1a6faba8e88)
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed a warning message during startup caused by referencing the legacy
directory /var/run instead of /run. An extra parameter is passed to the
configure script to achiveve this. Upstream cannot provide a fix due to
another Linux distribution (Slackware) uses /var/run and /run as
different directories.
Refer to https://gitlab.freedesktop.org/dbus/dbus/issues/282 for
details.
(From OE-Core rev: f31896504c0e5619f77555689e87b8324f9ccbd8)
Signed-off-by: Peiran Hong <peiran.hong@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The previous homepage and issue tracker is no longer available.
Remove some trailing whitespace
(From OE-Core rev: 1c60c5744b02c5c4eefb240923db5c4cd7959606)
Signed-off-by: Maxime Roussin-Bélanger <maxime.roussinbelanger@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Version 2 of the recipe is not actually required by anything; the
lidmodulemd dependency in createrepo-c is optional, and the
libmodulemd feature is not used in YP.
(From OE-Core rev: e5bf0814f565458c1c13d305dfc80a70a060555e)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream has split version 1 of the libmodulemd recipe into
its own branch and removed version 1 from the master
branch and 2.x releases; as libdnf requires v1 of libmodulemd,
this commit introduces a v1-specific revipe.
(From OE-Core rev: e0678765b1fb66df6ec37da1d32836bee2237af1)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop the patch that has been merged upstream.
(From OE-Core rev: 5bcf7ab7d9c45bdef6c55195d5a648cc0a773762)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop patches:
- 0001-WebKitMacros-Append-to-I-and-not-to-isystem.patch - this
has been a pain to rebase for a while as upstream keeps shifting and
changing the code that needs to be modified. If the issue the patch
is addressing is still relevant, please work with upstream to fix it
at the source
- 0001-gstreamer-add-a-missing-format-string.patch, narrowing.patch
are integrated upstream
- detect-gstreamer-gl.patch is adjusting something that is better done
from the yocto package configuration
Add an option to disable an enabled-by-default sandbox that requires
a component that oe-core does not have.
(From OE-Core rev: d9e3ff36af9e06c1bc94c7a4c37ae87afceea5ca)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop backported 0001-meson-do-a-build-time-check-for-strlcpy-before-attem.patch
and 0001-meson.build-do-not-hardcode-linux-as-the-host-system.patch where
upstream has removed the problematic bit.
(From OE-Core rev: 5a0de7b1ee37d52f3bf013301030a2679a8c0a9f)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream has removed autotools support entirely, so we can drop
the chunks of patches that touch it.
(From OE-Core rev: a41ee35a709b7e5b66b18f91a062ae56eae5b562)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some host distributions (opensuse for example) are using 'pkgconf',
which, unlike the original pkg-config, appends PKG_CONFIG_SYSROOT_DIR
to every directory from the .pc file.
(From OE-Core rev: 2d5ecc560dcfbaaaff307f8367d789d8c7e00dcf)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The use case is setting INCOMPATIBLE_LICENSE per image,
rather than as an awkward, and too strict global setting.
This for example would allow building development images with gplv3 tools,
but production images without them, and checking that nothing gpl3-licensed
gets into the latter.
Examples are provided via the selftest: four scenarios are tested:
- bash is added to the image, with a default gpl3 license; this is rejected
- bash is added to the image, with a "gpl3 & other" license; this is also rejected
- bash is added to the image, with a "gpl3 | other" license; this is accepted, but
only 'other' is added to the license manifest (this was already handled correctly
previously).
- bash is added to the image with a default gpl3 license, and is additionally
whitelisted for that image; this is accepted.
Eventually, this would allow deprecating the meta-gplv2 layer, while still
enforcing the no-gpl3 rule where possible and needed.
(From OE-Core rev: fd50395bc0783a3cce7b5b0d7398f22783ebbeca)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This would help with checking incompatible licenses at do_rootfs step
in image creation, where it is beneficial to pass the license string
directly to the function.
(From OE-Core rev: 8a0f342e4fc33b1aa53089b1de583d45d2951476)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Nothing in the target installation actually needs it.
(From OE-Core rev: 0357b2d2cdcbcef89a346126969ec3e1856bda95)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The use case is as well allowing gpl3-free builds without
pulling in outdated meta-gpl2 recipes.
(From OE-Core rev: 1f9610b33b18e0aa160da41e4cecf57c177fbc1e)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This allows not pulling in gawk, which is gplv3 licensed when
only the libcheck library itself is needed. checkmk is a
development tool that writes out a C boilerplate for tests.
(From OE-Core rev: 61adf39b552e9a94226c998c81e6a411ccaf9476)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previously the readline module would have been built regardless of
readline's presence in the sysroot, and the recipe would
fail at package_qa.
(From OE-Core rev: 79ebbca6943bc66b619671f93ac283ed2cfc8e5c)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The use case is building a gpl3-free image, without having
to rely on outdated recipes from meta-gplv2 layer.
(From OE-Core rev: 02eb487c8145e0f3d957c39cf16f6f805e95e536)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Recent versions of gdbm are gplv3, so in some scenarios
it is beneficial to not depend on it.
(thanks Ross for leading the way with the db option :)
(From OE-Core rev: 88cf0b10d2e6c7f0cd08838ebe90ecdb95f31b2b)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bb.fatal("There is a confusing multiline, partially commented expression on line %s of file %s (%s).\nPlease clarify whether this is all a comment or should be parsed."%(lineno,fn,s))
s=s[:-1]+s2
# skip comments
ifs[0]=='#':
continue
feeder(lineno,s,abs_fn,statements)
s=f.readline()
ifnots:
break
w=s.strip()
# skip empty lines
ifnotw:
continue
s=s.rstrip()
whiles[-1]=='\\':
s2=f.readline().rstrip()
lineno=lineno+1
if(nots2ors2ands2[0]!="#")ands[0]=="#":
bb.fatal("There is a confusing multiline, partially commented expression on line %s of file %s (%s).\nPlease clarify whether this is all a comment or should be parsed."%(lineno,fn,s))
filler=b"Shiver me timbers square-rigged spike Gold Road galleon bilge water boatswain wherry jack pirate. Mizzenmast rum lad Privateer jack salmagundi hang the jib piracy Pieces of Eight Corsair. Parrel marooned black spot yawl provost quarterdeck cable no prey, no pay spirits lateen sail."
s@<a class="ulink" href="http://www.yoctoproject.org/docs/2.8/bitbake-user-manual/bitbake-user-manual.html" target="_top">BitBake User Manual</a>@BitBake User Manual@g
s@<a class="ulink" href="http://www.yoctoproject.org/docs/2.8/dev-manual/dev-manual.html" target="_top">Yocto Project Development Tasks Manual</a>@Yocto Project Development Tasks Manual@g
s@<a class="ulink" href="http://www.yoctoproject.org/docs/2.8/overview-manual/overview-manual.html" target="_top">Yocto Project Overview and Concepts Manual</a>@Yocto project Overview and Concepts Manual@g
s@<a class="ulink" href="http://www.yoctoproject.org/docs/2.8/sdk-manual/sdk-manual.html" target="_top">Yocto Project Application Development and the Extensible Software Development Kit (eSDK)</a>@Yocto Project Application Development and the Extensible Software Development Kit (eSDK)@g
s@<a class="ulink" href="http://www.yoctoproject.org/docs/2.8/bsp-guide/bsp-guide.html" target="_top">Yocto Project Board Support Package (BSP) Developer's Guide</a>@Yocto Project Board Support Package (BSP) Developer's Guide@g
s@<a class="ulink" href="http://www.yoctoproject.org/docs/2.8/profile-manual/profile-manual.html" target="_top">Yocto Project Profiling and Tracing Manual</a>@Yocto Project Profiling and Tracing Manual@g
s@<a class="ulink" href="http://www.yoctoproject.org/docs/2.8/kernel-dev/kernel-dev.html" target="_top">Yocto Project Linux Kernel Development Manual</a>@Yocto Project Linux Kernel Development Manual@g
s@<a class="ulink" href="http://www.yoctoproject.org/docs/2.8/toaster-manual/toaster-manual.html" target="_top">Toaster User Manual</a>@Toaster User Manual@g
s@<a class="ulink" href="http://www.yoctoproject.org/docs/3.1/bitbake-user-manual/bitbake-user-manual.html" target="_top">BitBake User Manual</a>@BitBake User Manual@g
s@<a class="ulink" href="http://www.yoctoproject.org/docs/3.1/dev-manual/dev-manual.html" target="_top">Yocto Project Development Tasks Manual</a>@Yocto Project Development Tasks Manual@g
s@<a class="ulink" href="http://www.yoctoproject.org/docs/3.1/overview-manual/overview-manual.html" target="_top">Yocto Project Overview and Concepts Manual</a>@Yocto project Overview and Concepts Manual@g
s@<a class="ulink" href="http://www.yoctoproject.org/docs/3.1/sdk-manual/sdk-manual.html" target="_top">Yocto Project Application Development and the Extensible Software Development Kit (eSDK)</a>@Yocto Project Application Development and the Extensible Software Development Kit (eSDK)@g
s@<a class="ulink" href="http://www.yoctoproject.org/docs/3.1/bsp-guide/bsp-guide.html" target="_top">Yocto Project Board Support Package (BSP) Developer's Guide</a>@Yocto Project Board Support Package (BSP) Developer's Guide@g
s@<a class="ulink" href="http://www.yoctoproject.org/docs/3.1/profile-manual/profile-manual.html" target="_top">Yocto Project Profiling and Tracing Manual</a>@Yocto Project Profiling and Tracing Manual@g
s@<a class="ulink" href="http://www.yoctoproject.org/docs/3.1/kernel-dev/kernel-dev.html" target="_top">Yocto Project Linux Kernel Development Manual</a>@Yocto Project Linux Kernel Development Manual@g
s@<a class="ulink" href="http://www.yoctoproject.org/docs/3.1/toaster-manual/toaster-manual.html" target="_top">Toaster User Manual</a>@Toaster User Manual@g
# Process a single, rouge occurrence of a linked reference to the Mega-Manual.
bb.fatal("The following required tools (as specified by HOSTTOOLS) appear to be unavailable in PATH, please install them in order to proceed:\n %s" % " ".join(notfound))
@@ -482,6 +477,7 @@ python () {
# If we're building a target package we need to use fakeroot (pseudo)
# 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):
r = bb.utils.vercmp((pkge, pkgv, pkgr), (last_pkge, last_pkgv, last_pkgr))
if r < 0:
msg = "Package version for package %s went backwards which would break package feeds from (%s:%s-%s to %s:%s-%s)" % (pkg, last_pkge, last_pkgv, last_pkgr, pkge, pkgv, pkgr)
msg = "Package version for package %s went backwards which would break package feeds (from %s:%s-%s to %s:%s-%s)" % (pkg, last_pkge, last_pkgv, last_pkgr, pkge, pkgv, pkgr)
# Warn if trying to use external bitbake and the ext SDK together
echo "(which bitbake > /dev/null 2>&1 && echo 'WARNING: attempting to use the extensible SDK in an environment set up to run bitbake - this may lead to unexpected results. Please source this script in a new shell session instead.') || true" >> $env_setup_script
if [ "$prepare_buildsystem" != "no" ]; then
if [ "$prepare_buildsystem" != "no" -a -n "${SDK_BUILDTOOLS_INSTALLER}" ]; then
printf "Preparing build system...\n"
# dash which is /bin/sh on Ubuntu will not preserve the
# current working directory when first ran, nor will it set $1 when
bb.fatal('The extensible SDK can currently only be built for the same architecture as the machine being built on - SDK_ARCH is set to %s (likely via setting SDKMACHINE) which is different from the architecture of the build machine (%s). Unable to continue.' % (d.getVar('SDK_ARCH'), d.getVar('BUILD_ARCH')))
return "Unable to execute tar --version, exit code %d\n%s\n" % (e.returncode, e.output)
version = result.split()[3]
if LooseVersion(version) < LooseVersion("1.24"):
return "Your version of tar is older than 1.24 and has bugs which will break builds. Please install a newer version of tar.\n"
return "Your version of tar is older than 1.24 and has bugs which will break builds. Please install a newer version of tar (1.28+).\n"
if LooseVersion(version) < LooseVersion("1.28"):
return "Your version of tar is older than 1.28 and does not have the support needed to enable reproducible builds. Please install a newer version of tar (you could use the projects buildtools-tarball from our last release).\n"
return None
# We use git parameters and functionality only found in 1.7.8 or later
# In other words, these tests run once in a given build directory and then
# never again until the sanity version or host distrubution id/version changes.
# Check the python install is complete. glib-2.0-natives requries
# xml.parsers.expat
# Check the python install is complete. Examples that are often removed in
# minimal installations: glib-2.0-natives requries # xml.parsers.expat and icu
# requires distutils.sysconfig.
try:
import xml.parsers.expat
except ImportError:
status.addresult('Your python is not a full install. Please install the module xml.parsers.expat (python-xml on openSUSE and SUSE Linux).\n')
import stat
import distutils.sysconfig
except ImportError as e:
status.addresult('Your Python 3 is not a full install. Please install the module %s (see the Getting Started guide for further information).\n' % e.name)
status.addresult('SDKMACHINE is set, but SDK_ARCH has not been changed as a result - SDKMACHINE may have been set too late (e.g. in the distro configuration)\n')
# If SDK_VENDOR looks like "-my-sdk" then the triples are badly formed so fail early
sdkvendor = d.getVar("SDK_VENDOR")
if not (sdkvendor.startswith("-") and sdkvendor.count("-") == 1):
status.addresult("SDK_VENDOR should be of the form '-foosdk' with a single dash\n")
@@ -113,7 +113,7 @@ COMPATIBLE_MACHINE[doc] = "A regular expression that resolves to one or more tar
COMPLEMENTARY_GLOB[doc] = "Defines wildcards to match when installing a list of complementary packages for all the packages installed in an image."
CONFFILES[doc] = "Identifies editable or configurable files that are part of a package."
CONFIG_SITE[doc] = "A list of files that contains autoconf test results relevant to the current build. This variable is used by the Autotools utilities when running configure."
CONFLICT_DISTRO_FEATURES[doc] = "When a recipe inherits the distro_features_check class, this variable identifies distribution features that would be in conflict should the recipe be built."
CONFLICT_DISTRO_FEATURES[doc] = "When a recipe inherits the features_check class, this variable identifies distribution features that would be in conflict should the recipe be built."
CORE_IMAGE_EXTRA_INSTALL[doc] = "Specifies the list of packages to be added to the image. You should only set this variable in the conf/local.conf file in the Build Directory."
COREBASE[doc] = "Specifies the parent directory of the OpenEmbedded Core Metadata layer (i.e. meta)."
CONF_VERSION[doc] = "Tracks the version of local.conf. Increased each time build/conf/ changes incompatibly."
@@ -346,7 +346,7 @@ QMAKE_PROFILES[doc] = "Specifies your own subset of .pro files to be built for u
RCONFLICTS[doc] = "The list of packages that conflict with another package. Note that the package will not be installed if the conflicting packages are not first removed."
RDEPENDS[doc] = "Lists a package's runtime dependencies (i.e. other packages) that must be installed for the package to be built. They must be the names of other packages as listed in the PACKAGES variable, not recipe names (PN)."
REQUIRED_DISTRO_FEATURES[doc] = "When a recipe inherits the distro_features_check class, this variable identifies distribution features that must exist in the current configuration in order for the OpenEmbedded build system to build the recipe."
REQUIRED_DISTRO_FEATURES[doc] = "When a recipe inherits the features_check class, this variable identifies distribution features that must exist in the current configuration in order for the OpenEmbedded build system to build the recipe."
RM_WORK_EXCLUDE[doc] = "With rm_work enabled, this variable specifies a list of packages whose work directories should not be removed."
ROOTFS[doc] = "Indicates a filesystem image to include as the root filesystem."
ROOTFS_POSTPROCESS_COMMAND[doc] = "Added by classes to run post processing commands once the OpenEmbedded build system has created the root filesystem."
"action":"Get a not previously installed RPM package or build one on local machine, which should have run-time dependency.For example, \"mc\" (Midnight Commander, which is a visual file manager) should depend on \"ncurses-terminfo\". \n\n$ bitbake mc \n\n\n",
"expected_results":""
},
"2":{
"action":"Copy the package into a system folder (for example /home/root/rpm_packages). \n\n\n",
"expected_results":""
},
"3":{
"action":"Run \"rpm -ivh package_name\" and check the output, for example \"rpm -ivh mc.rpm*\" should report the dependency on \"ncurses-terminfo\".\n\n\n\n",
"expected_results":"3 . rpm command should report message when some RPM installation depends on other packages."
"action":"Plug USB stick, it should be mount in /run/media/sd(x) If X-window system does not start and show USB device, then use the terminal to mount it, following the next steps: \na. Locate the usb stick (usually it is on /dev/sdb) \nb. Create a directory with \"mkdir stick\" (so you will have such a path as: /home/root/stick). \nc. Run the command \"mount /dev/sdb /home/root/stick\" to mount USB device on it. \n\n",
"expected_results":"USB device should be mounted in /run/media/sd(x) \nor in /home/root/stick \n\n"
},
"3":{
"action":"Then you can access USB stick (/home/root/stick) via Terminal or GUI and try various commands and actions like \"cp\", \"mv\", \"touch\" and \"rm\". Type \"dmesg\" command and check for recent mounted devices.",
"expected_results":"Basic commands work properly. The system sends a notification in \"dmesg\" command, showing that the USB stick is accessible and the device is mounted ."
}
},
"summary":"USB_-_mount"
}
},
{
"test":{
"@alias":"bsps-hw.bsps-hw.USB_-_read_files",
"author":[
{
"email":"alexandru.c.georgescu@intel.com",
"name":"alexandru.c.georgescu@intel.com"
}
],
"execution":{
"1":{
"action":"boot system",
"expected_results":"view/copy successfully"
},
"2":{
"action":"plug usb stick",
"expected_results":""
},
"3":{
"action":"view files in usb by file browser",
"expected_results":""
},
"4":{
"action":"copy some files from usb to local hardware",
"expected_results":""
}
},
"summary":"USB_-_read_files"
}
},
{
"test":{
"@alias":"bsps-hw.bsps-hw.USB_-_umount",
"author":[
{
"email":"alexandru.c.georgescu@intel.com",
"name":"alexandru.c.georgescu@intel.com"
}
],
"execution":{
"1":{
"action":"boot system",
"expected_results":"usb directory in file browser automatically missed"
},
"2":{
"action":"plug usb stick",
"expected_results":""
},
"3":{
"action":"view files in usb by file browser \n4.unplug usb",
"expected_results":""
}
},
"summary":"USB_-_umount"
}
},
{
"test":{
"@alias":"bsps-hw.bsps-hw.USB_-_write_files",
"author":[
{
"email":"alexandru.c.georgescu@intel.com",
"name":"alexandru.c.georgescu@intel.com"
}
],
"execution":{
"1":{
"action":"boot system",
"expected_results":"create/copy successfully"
},
"2":{
"action":"plug usb stick",
"expected_results":""
},
"3":{
"action":"create files in usb \n4.copy some files from local hardware to usb",
"action":"Build a kernel with KVM enabled \n\nIn Local.conf add \n\nQEMU_USE_KVM = \"${@ '1' if os.access('/dev/kvm', os.R_OK|os.W_OK) else '0' }\" \n\n ",
"expected_results":""
},
"2":{
"action":"Start qemu with option \"kvm\" with runqemu \n a. If you start qemu with kvm failed, maybe it is because host not install kvm and vhost_net module. Follow below link to install them. \n b. vhost_test refer: https://wiki.yoctoproject.org/wiki/Running_an_x86_Yocto_Linux_image_under_QEMU_KVM \n c. kvm refer: https://wiki.yoctoproject.org/wiki/How_to_enable_KVM_for_Poky_qemu",
"expected_results":""
},
"3":{
"action":"Check if qemu starts up and if kvm_intel module is used",
"expected_results":""
},
"4":{
"action":"If kvm_intel module is not used when starting qemu, it will show 0 in \"Used by\" column when you run \"lsmod | grep kvm_intel\" ",
"expected_results":"KVM enabled with qemu \nExecute \"lsmod | grep kvm_intel\" from your host twice, before and after you \nstart the qemu with kvm option. Before start, the number should be 0, \nafter start, the number should bigger than 0."
"action":"Download the poky source and set environment \n",
"expected_results":"The /var/log/postinstall.log should exist in the first boot. The content of this log is like below: \n\nRunning postinst /etc/rpm-postinsts/man... \nList directory to check the output log \nbin \nboot \ndev \netc \nhome \nlib \nlost+found \nmedia \nmnt \nproc \nrun \nsbin \nsys \ntmp \nusr \nvar \nList nonexist directory to check the stderr redirection log \nls: /nonexist: No such file or directory "
},
"2":{
"action":"Add the following lines to a .bb file. For expample, meta/recipes-connectivity/openssh/openssh_6.2p2.bb: \n\npkg_postinst_ontarget_${PN} () { \n #!/bin/sh -e \n if [ x\"$D\" = \"x\" ]; then \n echo \"List directory to check the output log\" \n ls / \n echo \"List nonexist directory to check the stderr redirection log\" \n ls /nonexist \n else \n exit 1 \n fi \n} \n\nMake sure the feature \"debug-tweaks\" is added in conf/local.conf \n",
"expected_results":""
},
"3":{
"action":"Add ssh-server-openssh to EXTRA_IMAGE_FEATURES in local.conf \n",
"expected_results":""
},
"4":{
"action":"Build core-image-minimal \n",
"expected_results":""
},
"5":{
"action":"Boot up the image and check the /var/log/postinstall.log ",
"action":"Download the poky source and set the environment \n\n",
"expected_results":"No error during image building procedure. \n"
},
"2":{
"action":"Add the following lines in conf/local.conf \n\nINHERIT += \"extrausers\" \n\nEXTRA_USERS_PARAMS = \"\\ \nuseradd -s /bin/sh -P 'tester3' tester3;\\ \n\" \n\nThe above settings do the following things: \na. Add a user tester3 with cleartext password 'tester3' ",
"expected_results":"Image can boot up \n"
},
"3":{
"action":"Build the image\n ",
"expected_results":"Login with user name \"tester3\" and password \"tester3\" "
"action":"Get a not previously installed RPM package or build one on local machine, which should have run-time dependency.For example, \"mc\" (Midnight Commander, which is a visual file manager) should depend on \"ncurses-terminfo\". \n\n$ bitbake mc \n\n\n",
"expected_results":""
},
"2":{
"action":"Copy the package into a system folder (for example /home/root/rpm_packages). \n\n\n",
"expected_results":""
},
"3":{
"action":"Run \"rpm -ivh package_name\" and check the output, for example \"rpm -ivh mc.rpm*\" should report the dependency on \"ncurses-terminfo\".\n\n\n\n",
"expected_results":"3 . rpm command should report message when some RPM installation depends on other packages."
"action":"Get some rpm or other kind of installation packages. \n\n",
"expected_results":"Steps 1- 4 (more than 2.3) \nEach file will occupy around 10MB, and there should be some method to keep rpm log in a small size. (the size of the db of RPMs must not be taking so much space) \nStep 5 (less than or equal to 2.3)\nThe size on /var/lib/rpm/ must keep around 30MB"
},
"2":{
"action":"After system is up, check the size of log file named as \"log.xxxxxx\" on /var/lib/rpm/log \n\n",
"expected_results":""
},
"3":{
"action":"After several install/removal of packages, with either of the install/removal commands (rpm/smart/zypper/dnf install/removal), check again the size of log file. \n\n",
"expected_results":""
},
"4":{
"action":"For packages installation, there will be some database files under /var/lib/rpm/, named as \"__db.xxx\" and there will be some log files \nunder /var/lib/rpm/log, named as \"\"log.xxxxxx\"\". \n\nNote: You will only see the log.xxxx on /var/lib/rpm/log mentioned above if the poky version is minor than 2.3.For poky 2.3 or major versions this has been modified and the package RPM4 does not show the logs.xxxx. if major, follow the next step. \n\n",
"expected_results":""
},
"5":{
"action":"Repeat steps (1 and 3) and check the size of /var/lib/rpm/ \n\nMore info: https://bugzilla.yoctoproject.org/show_bug.cgi?id=9259",
"action":"Execute the crashme test with below command \n\n./opt/ltp/runltp f crashme",
"expected_results":"The stress testing should not make the target crash. Check CPU usage and basic functionality of the system after the tests are over. "
"action":"Create the trace_open.stp script as follows in the host machine: \n\n\nprobe syscall.open \n\n{ \n\n\n printf (\"%s(%d) open (%s)\\n\", execname(), pid(), argstr) \n\n} \n\n\n\nif the above failed, then create the below instead. \n\nprobe syscall.open \n{ \n printf (\"%s(%d) open\\n\", execname(), pid()) \n\n} \n \n",
"expected_results":""
},
"2":{
"action":"Add 'tools-profile' and 'ssh-server-openssh' to EXTRA_IMAGE_FEATURES in local.conf \n\n\n",
"expected_results":""
},
"3":{
"action":"Build a core-image-minimal image, build systemtap-native. Start the image under qemu. \n\n",
"expected_results":""
},
"4":{
"action":"Make sure that the ssh service is started on the Qemu machine. \n\n",
"expected_results":""
},
"5":{
"action":"From the host machine poky build_dir, run \"crosstap root@192.168.7.2 trace_open.stp\".",
"expected_results":""
},
"6":{
"action":"In QEMU, try to open some applications, such as open a terminal, input some command, \n\n",
"expected_results":""
},
"7":{
"action":"Check the host machine, \"crosstap\" has related output. \n\n\n\nNOTE: Do not build the kernel from shared state(sstate-cache) for this to work.",
"expected_results":"The script should successfully connect to the qemu machine and there \nshould be presented a list of services(pid, process name) which run on \nthe qemu machine. "
"expected_results":"In step 2, will list available pkgs which have PACKAGECONFIG flags: \nPACKAGE NAME (or RECIPE NAME) PACKAGECONFIG FLAGS \n============================================================== \nalsa-tools-1.0.26.1 defaultval gtk+ \navahi-ui-0.6.31 defaultval python \nbluez4-4.101 alsa defaultval pie \n"
"expected_results":"In step 3, will list available PACKAGECONFIG flags and all affected pkgs \nPACKAGECONFIG FLAG PACKAGE NAMES (or RECIPE NAMES) \n==================================== \n3g connman-1.16 \n \navahi cups-1.6.3 pulseaudio-4.0 \nbeecrypt rpm-5.4.9 rpm-native-5.4.9 \n"
'Test requires package-management to be in IMAGE_FEATURES')
@skipIfNotDataVar('IMAGE_PKGTYPE','ipk',
'IPK is not the primary package manager')
@skipIfFeature('read-only-rootfs',
'Test does not work with read-only-rootfs in IMAGE_FEATURES')
@OEHasPackage(['opkg'])
deftest_opkg_install_from_repo(self):
self.setup_source_config_for_package_install()
Some files were not shown because too many files have changed in this diff
Show More
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.