oe-selftest's devtool tests have been broken since commit 2457cd57
(oe-selftest: devtool: avoid parallel races by using temporary copy of
core) if meta is a symbolic link.
(From OE-Core rev: daba6c5a991b370709d17e51305334f55a3858ec)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This ensures that we default to latest go recipes
1.9 is not supported anymore
(From OE-Core rev: d48c8148eae41e613448d78c26516538244cd9c9)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Create a new systemd-conf recipe to contain the specific system/machine
configuration items. This new package is now machine specific.
Without doing this trying to create a single system with multiple BSPs,
one of which was qemu based, would result in the systemd -and- everything that
dependend upon systemd to have their hash changed. The hash changing means
lots of rebuilds, but worse if it's a package based system each different
machine ends with a new PR value and a newly generated package.
(From OE-Core rev: d3395418758ed414eee3e95e13d2d8bc5dca88cc)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The removed patches are all upstream.
Adjusted two patches due to rebase.
Guard against __GLIBC_PREREQ for musl libc
(From OE-Core rev: 37841ec56d7756ec9ee00e2a2005681b220f6f5d)
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Copying files from the read-only root filesystem to the tmpfs
providing the volatile directories can be slow and waste memory.
If the kernel supports the overlay filesystem, use it to mount
a writable tmpfs on top of the read-only directory from the
rootfs and avoid copies.
Analogous to the modification made to initscripts's
read-only-rootfs-hook in 370fda1b2e8d5dc011522131bba4106de26bfb19.
(From OE-Core rev: b4976f3cf8cd028f165100b67867adb862da4d7f)
Signed-off-by: Matt Hoosier <matt.hoosier@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
OpenSSL supports out-of-tree builds so we should use them. This makes builds
more reliable, and makes it easier to reduce the size of the ptest package.
(From OE-Core rev: e028b4457781f60d8491a99a23011996fa913013)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previously the ptest installation was simply a copy of the entire build tree,
which is terribly ugly.
Instead copy just the pieces we need, symlink to /usr as appropriate, and add
missing dependencies. Remove PRIVATE_LIBS as we don't ship copies of the
libraries now.
Also remember to do 'set -x' in run-ptest, so if the tests fail the runner
knows!
[ YOCTO #12965 ]
[ YOCTO #12967 ]
(From OE-Core rev: 7831d2d3a1069b9d3a8d32e41f0a292e1add56ba)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The node binary searches for packages in a number of locations, the last
of which is $PREFIX/lib/node (here: /usr/lib/node) from the list of
GLOBAL_FOLDERS [1]. Change the installation directory for all packages
depending on npm.bbclass to that location. This removes the need to
define the NODE_PATH variable to the non-standard /usr/lib/node_modules
value.
While the Tips for Package Managers [2] discusses installing packages to
/usr/lib/node_modules/<name>/<version>, this has several drawbacks:
* it does not work for the REPL as mentioned in the documentation
* it also does not work for any code _not_ installed as a global
package under /usr/lib/node_modules (e.g. /usr/share/foo.js will not
find any packages below /usr/lib)
* using the non-default location and then having to set NODE_PATH
barely saves any time: there are only two file-system lookups (to the
legacy $HOME/.node_modules and $HOME/.node_libraries) directories
before the library would be found
And the suggestion was made in the context of deduping the node_modules
tree by installing all packages in a flat hierarchy and using symlinks
to the correct version of each dependency. This is not what OpenEmbedded
does, so none of those benefits (deduping, cleaner packages) are being
had by shifting the installation directory to /usr/lib/node_modules.
[1]: https://nodejs.org/api/modules.html#modules_loading_from_the_global_folders
[2]: https://nodejs.org/api/modules.html#modules_addenda_package_manager_tips
(From OE-Core rev: 2036137151929b541293154ff529475071cd92b0)
Signed-off-by: Olaf Mandel <o.mandel@menlosystems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For conditonally applied patches based on SRC_URI overrides, the
devtool-source class would try to create a new branch for each override
assignment as a postfunc to do_patch, but if the same override was used
multiple times, it would try to create the same branch multiple times,
causing errors like
> Exception: bb.process.ExecutionError: Execution of
\ 'git checkout f0f0f0f0f0ff0f0f0f0f0f0f0f0f0f0f0ff0f0f0 -b devtool-override-foo'
\ failed with exit code 128:
> fatal: A branch named 'devtool-override-foo' already exists.
This change makes sure that the devtool-source bbclass will only create
one branch per override.
(From OE-Core rev: 95a921959d340f74b5604df57737c1eeaad0023e)
Signed-off-by: Olof Johansson <olofjn@axis.com>
Reviewed-by: Peter Kjellerstedt <pkj@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fedora28 repackages rpcgen program to rpcgen
package and the program will no longer be
part of the glibc-common package.
fedora 28:
$ rpm -qf /usr/bin/rpcgen
rpcgen-1.3.1-4.fc28.x86_64
fedora 27:
$ rpm -qf /usr/bin/rpcgen
glibc-common-2.26-27.fc27.x86_64
Once build a project on fedora28 host without
installing the extra rpcgen package, there
comes below error:
ERROR: Unable to start bitbake server
ERROR: Last 10 lines of server log for this session (/yocto/builds/upgrade2/bitbake-cookerdaemon.log):
self.cooker = bb.cooker.BBCooker(self.configuration, self.featureset)
File "/yocto/poky/bitbake/lib/bb/cooker.py", line 197, in __init__
self.initConfigurationData()
File "/yocto/poky/bitbake/lib/bb/cooker.py", line 356, in initConfigurationData
self.databuilder.parseBaseConfiguration()
File "/yocto/poky/bitbake/lib/bb/cookerdata.py", line 317, in parseBaseConfiguration
raise bb.BBHandledException
bb.BBHandledException
ERROR: The following required tools (as specified by HOSTTOOLS) appear to be unavailable in PATH, please install them in order to proceed:
rpcgen
So add nativesdk-rpcsvc-proto to provide the
program rpcgen to fix the gap.
(From OE-Core rev: 52fbf46a32f03266e31811fde7d4466e7ef85fc8)
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop 1.10 recipes in favor of 1.11
we have had reports of 1.10 not being quite
functional wth OE
(From OE-Core rev: 1cf3aee0ba0fb0c2e8b82f403384a1928a9b03f4)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport a patch to fix the following CVE.
CVE: CVE-2018-1000802
(From OE-Core rev: c0343f1035af98cb451eea0de94c16fe89ffdf48)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As of today there's no port of Valgrind for ARC so disabling it.
(From OE-Core rev: c1a98853f90857a735bacf75ccbdd6f2f7094ccf)
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Even on multilib systems, /usr/lib is where systemd expects the
os-release file to live.
(From OE-Core rev: b7b476efee8c959a0227905e40bd9b5ef493632d)
Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These are also provided by toybox in its default configuration,
and can be turned on in busybox.
(From OE-Core rev: 33c8dc08c9b160a0bb1d71d8b421a99de6e6eeee)
Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
On a builder which has /tmp mounted nexec, the ARM64 generation of
the sycall table will fail:
[snip]
|perf-1.0/tools/perf/arch/arm64/entry/syscalls//mksyscalltbl:
/tmp/create-table-6VGPSt: Permission denied
[snip]
To avoid the permission denied error, we must instruct the perf build
to place temporary files in an appropriate directory (versus always
using /tmp). To do this, we need both a kernel source change to perf,
and a recipe change to pass the temp directory in by a TMPDIR variable.
The linux-yocto has a reference kernel change: [perf arm64: Fix generate
system call table failed with /tmp mounted with noexec], that has also
been submitted upstream mailing list linux-perf-users@vger.kernel.org
(From OE-Core rev: d819e7fa76e2b732aa7c33ab0e9a834781090824)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Reviewed-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added specific wildcarding support descriptions for all related
variables and file panthnames.
(From yocto-docs rev: 543e398c4ae1bce38517a88cd91c957a583a2892)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a variable has a _remove applied to it but that variable is in turn
'renamed' through OVERRIDES, the removal gets lost with the current code.
TEST = "foo"
TEST_someval = "bar"
TEST_someval_remove = "bar"
OVERRIDES = "someval"
currently gives "bar" for TEST but should give "".
This fixes the code to track the removal and adds a test case to ensure this
doesn't regress again.
(Bitbake rev: 8f55010c18057be040f073d8bcb4c5c2c311d809)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If you try to build a system with multiple BSPs, one of which is qemux86
or qemux86-64, the gstreamer package will change. This will trigger
anything using gstream to also be rebuilt.
For a package based system, the PR values will also be incremented each
time. The end result will be an ever growing set of PR values as well as
being unable to tell which configured version of the multimedia components
are really being deployed.
These therefore belong in the machine configuration.
(From OE-Core rev: 112775995158cf6c504fd6beef345ee446f4f11d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use dhcpd6.conf for DHCP IPv6 and dhpcd.conf for DHCP IPv4.
(From OE-Core rev: 0772ed9acf96c53b05e6ac19e1af78bbb1192a3b)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The kernel mounts /proc and /sys with the mode 555. Fedora explicitly
sets this value in its filesystem setup package. Debian doesn't seem
to set it explictly. Having them be 755 causes permission issues on
upgrades inside a container where the guest does not have the
permission to change the modes of the mount points.
So, just bite the bullet and force them to be 555.
(From OE-Core rev: 7e311b0c7222fa9127a96945c9ded7bee5e40eb3)
Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
toybox by default has a priority of 60, and busybox of 50. Bump kmod's
priority so that it beats both toybox and busybox.
(From OE-Core rev: b17ae3e13dea4b12f1720170237142e04d5ab578)
Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
MPFR has a couple of things implemented in assembly and in case of
ARC those parts were written long ago when ARC GCC port was not yet
upstreamed. On upstreaming of GCC some constraints were changed and
so we can no longer build MPFR for ARC with up-to-date tools seeing
something like that:
| In file included from ../../mpfr-4.0.1/src/mpfr-impl.h:112,
| from ../../mpfr-4.0.1/src/mul.c:24:
| ../../mpfr-4.0.1/src/mul.c: In function 'mpfr_mul':
| ../../mpfr-4.0.1/src/mpfr-longlong.h:415:3: error: impossible constraint in 'asm'
| __asm__ ("add.f\t%1, %4, %5\n\tadc\t%0, %2, %3" \
| ^~~~~~~
(From OE-Core rev: 887a062ca139014ae6dfd1919e0ff9a5ef4db35e)
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If you try to build a system with multiple BSPs, one of which is qemux86
or qemux86-64, the overall system configuration will change and all of the
graphics packages will end up being rebuilt each time.
For a package based system, the PR values will also be incremented each
time. The end result will be an ever growing set of PR values as well as
being unable to tell which configured version of the graphics components
are really being deployed.
The solution was to always include the virgl gallium driver when an x86
based target is used. This may end up wasting some space, but solves the
hash issue.
(From OE-Core rev: 37e9465b342f6075ce13479dfed59cd2a7cc46ae)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Refactor the original _getDetailsNotPassed method to return
testresult details (test status and log), which will be reused
by future OEQA code to write json testresult.
Take the opportunity to consolidate and simplify the logic used
to gather test status and log within the TestResult instance.
(From OE-Core rev: 79ee7d1c371a86edeb61c99679985118da657e5d)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The __pycache__ is created based on python3 version in the build machine
and isn't a garantee to be useful on the system that runs exported tests.
(From OE-Core rev: 405e822e9da4b53ec9ee8019364fdcb13ccc2587)
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix the situation where the task do_package_write_rpm ends up in
"liblzma: memory allocation failed". This happens if the host
environment has set a limit on virtual_memory for the user with
'ulimit -v' for packages with a lot of binary packages, e.g. glibc-locale.
(From OE-Core rev: a937cff2746073d1dea37d85e7305d8d6705ff28)
Signed-off-by: Peter Bergin <peter@berginkonsult.se>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If remove() is called with an empty package list, ensure we do nothing instead
of calling the underlying package manager with an invalid command line.
[ YOCTO #12900 ]
(From OE-Core rev: 715ec20c433cb4ed5fde938c33a42b2a296e4e56)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This adds some basic tests for task checksums to ensure that the
checksums:
* change when variables change
* change when active _remove operators are present
* don't change when the _remove operators are not active
* change when an active contains() expression is present
* dont' change a contains() expression isn't active
There is a lot of other functionality which should be added to this
test but its a start.
(Bitbake rev: 5463c16e3619d324aed137f47f93f0997a227d29)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
By creating a standalone function, we can add better functional testing
of this code.
(Bitbake rev: 796a20d24dc18479de1975a37b9e52a5ac75c73f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently remove operations are not being accounted for in the task
checksums. This is a fairly serious oversight and needs to be fixed.
To do so, we need internal data from getVarFlag combined with the
expanded variable data so that only "active" remove operators are
accounted for in the task checksum. We can get this from the new
optional removes attribute in the returned parser object.
The code can then use the data on active remove operators to account
for the removals in task checksum but only when the removal is active.
We have to be careful here not to reference any expanded data since this
may for example contain build paths. This means we can only map back
and reference the unsplit (and hence unexpanded) remove string which may
expand to multiple removal values.
[YOCTO #12913]
(Bitbake rev: 57d2ee17ae83a139a37081eb082e6184fa883581)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The contents of the expand_cache is meant to match the return value of
getVarFlag() but the implementation was mostly in expandWithRefs(). If
an incorrect key was passed to expandWithRefs(), or a variable was only
partially expanded with no remove processing, the cache could become
corrupted.
Move the code to getVarFlag making the data lifecycle very clear, meaning
other calls to expandWithRefs() cannot corrupt the cache.
The expand_cache reset code needs to be moved ahead of any remote data
connectors too, since the expand_cache is now on the local side of the
connection.
(Bitbake rev: a039052f9b680eae53f3f12b7381b945f1d69253)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This brings _remove handling into line with _append/_prepend with regard
to the parsing flag to getVarFlag.
This is an internal flag and the only times this is used is through getVar
during renameVar operations and when processing ?= operations to see if
a variable is set. In either case we don't need to process remove operations.
Therefore take the minor speedup and skip processing for parsing=True.
[YOCTO #10945]
(Bitbake rev: 6d19eb3226b59922c0f888e33b28443635151501)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Calling getVarFlag with flag=None makes no sense, don't do it. Bitbake
used to silently ignore this, it now warns so avoid the warning.
(Bitbake rev: a68de8ace62eaba23856bfb301efbbe1824322aa)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Contrary to what the manual said, BB_RUNTASK does include the do_
prefix, unlike BB_CURRENTTASK.
(Bitbake rev: 3f4968c77129252e8d0833fbd683372fca243a90)
Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Provide more information in the case the sources are not found in the
unpack step.
(Bitbake rev: 27a2214bf6f2e7c61bfc422a20959a55f7e0d25d)
Signed-off-by: Urs Fässler <urs.fassler@bbv.ch>
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A user friendly error is throw when neither the clonedir nor
fullshallow exist. Without the check, a difficult to interpret error
is throw from within the fetch command.
(Bitbake rev: 30cf2506007d25162f0805051212f54c39034ff3)
Signed-off-by: Urs Fässler <urs.fassler@bbv.ch>
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For better readability and future use, we extract the function which
ensures that a given symlink exists.
(Bitbake rev: 5e69ca56533666a097bb23d09ab673e5c862051c)
Signed-off-by: Urs Fässler <urs.fassler@bbv.ch>
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The mapping of the URLs to the local shallow tarballs is not obvious. For
easier understanding, we add this tests to explicitly showing the mapping.
(Bitbake rev: 05f2ac8e19a027d103921b5ae0070db609a83042)
Signed-off-by: Urs Fässler <urs.fassler@bbv.ch>
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The mapping of the URLs to the local tarballs is not obvious. For easier
understanding, we add this tests to explicitly showing the mapping.
(Bitbake rev: c604d9402b4c9ad7eb5c794ab24f2f348d9719a9)
Signed-off-by: Urs Fässler <urs.fassler@bbv.ch>
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The mapping of the URLs to the local directory is not obvious. For easier
understanding, we add this tests to explicitly showing the mapping.
(Bitbake rev: 5f92682389fee437d6df2ff7718c571b7444e179)
Signed-off-by: Urs Fässler <urs.fassler@bbv.ch>
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some recent changes broke SRCPV and workaround was introduced
to avoid circular dependency if SRCPV is in PV.
However there is still the same error if SRCPV is in PR.
(Bitbake rev: 05ee4845f925b8528a7ce9cffb4bae425b8fa1e9)
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Searching in the task explorer requires one to focus the task list. A
readily visible and focused search bar makes searching intuitive.
(Bitbake rev: 43f8a23d56995f552f98a666e86b6cc124e235a4)
Signed-off-by: Tobias Olausson <tol@hms.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In the list_obj function, we can't check if the requested object is 'in',
the index data -- as it's actually an attribute of the object. Move to hasattr.
The remaining items were incorrect usages of 'type' for class type comparison.
Instead move to 'isinstance'. Remaing 'type' comparisons are still valid. The
code was also reordered slightly to avoid a lot of:
if not isinstance(x, y):
...
else:
...
reordering it removes the not and makes the code slightly easier to read.
(Bitbake rev: cddea4282820ef10ad4863d87327891ea9383916)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The "buildimport.py" script is missing the "import shutil" line,
which causes a project import page failure.
[YOCTO #12959]
(Bitbake rev: 0bfbcc786fd67bd40153160db7fcd41cd9295234)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The version of django in the 2.6 release got bumped to 1.11.14.
The toaster requirements file needs to be updated to accept it.
[YOCTO #12958]
(Bitbake rev: b081b78a330fee30b172c2c8bdc9c196a65be9af)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The distro source path link is missing "conf/distro/", and the
display is using the machine link instead of the distro link.
[YOCTO #12957]
(Bitbake rev: e43ff061b03878057e49c44aa3ee2e4c7a5d5503)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We have some slightly odd behaviours with the current implementation of
_remove operations. For example:
TEST = " A B"
TEST_remove = "C"
would trigger TEST to become "A B" even thought it doesn't contain "C".
In particular, this means that an inactive remove operator added in a
bbappend could change the task checksum which is not desireable.
Fix the operation to preserve whitespace, adding new tests to make this
explict and test further corner cases. Also update the manual to match.
(Bitbake rev: c0a23dd9155c50a6b7df796980bc7b612cac7994)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently when a variable is renamed, all the variable history is lost.
This makes it hard for users to understand/debug where values came from.
Improve the code so that history is preserved across renamed variables.
(Expanded variable key names are a special case of variable renaming)
(Bitbake rev: 11722c989077a8751a5d0653c523760bf91e6efa)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
ERROR: systemtap-4.0-r0 do_package: QA Issue: systemtap:
Files/directories were installed but not shipped in any package:
/lib
/lib/systemd
/lib/systemd/system
/lib/systemd/system/stap-exporter.service
Please set FILES such that these items are packaged. Alternatively if
they are unneeded, avoid installing them or delete them within
do_install.
systemtap: 4 installed and not shipped files. [installed-vs-shipped]
(From OE-Core rev: d31212bcfe9232e7f6ac9efb4fad0be175a9ca00)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
opkg has supported the --add-exclude option to install since 0.3.0, so use it to
implement support for PACKAGE_EXCLUDE.
(From OE-Core rev: 6cc99d48c57cb22104980d0d758540e06cb7b80d)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Static libraries are not included in rootfs, it means, that sources are
not going into debug rootfs. This option enables to install additional
packages even if the standard package is not installed.
(From OE-Core rev: 708fe1df3d3e22dd693ae7bbfdd3e5af1a1b0bdc)
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The alternative setting for switch_root belongs to the util-linux-switch-root
package instead of the util-linux package. Fix this problem to avoid
a dangling symlink:
/usr/bin/switch_root-> /usr/bin/switch_root.util-linux
on target and in the sdk.
(From OE-Core rev: b8366a7057da8b880ca36c38999ef658594f4fde)
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg -stable updates that comprise the following commits:
0b46ce3e3423 Linux 4.14.76
c03f0ab15f3b ath10k: fix scan crash due to incorrect length calculation
711b942ae3be virtio_balloon: fix increment of vb->num_pfns in fill_balloon()
7f42eada5e3f virtio_balloon: fix deadlock on OOM
251bc1f44c33 rds: rds_ib_recv_alloc_cache() should call alloc_percpu_gfp() instead
4c925efc2230 ubifs: Check for name being NULL while mounting
5656b7354183 ucma: fix a use-after-free in ucma_resolve_ip()
3a7a9fb68c97 f2fs: fix invalid memory access
dfe96e30b5a5 perf utils: Move is_directory() to path.h
75fc05a20f5f crypto: chelsio - Fix memory corruption in DMA Mapped buffers.
b5dcd4ab8e6c ARC: clone syscall to setp r25 as thread pointer
af1a8101794d powerpc/lib: fix book3s/32 boot failure due to code patching
609fbeddb24c powerpc: Avoid code patching freed init sections
4e43fbc8ef25 powerpc/lib/code-patching: refactor patch_instruction()
0f6e2f4e06be nvme_fc: fix ctrl create failures racing with workq items
1b2ad48a85c4 ath10k: fix kernel panic issue during pci probe
8146256b7dcd ath10k: fix use-after-free in ath10k_wmi_cmd_send_nowait
327400b3a708 perf tools: Fix python extension build for gcc 8
ec727693a9ef perf annotate: Use asprintf when formatting objdump command line
79f87e09bcb2 of: unittest: Disable interrupt node tests for old world MAC systems
171f90d4ae84 tty: Drop tty->count on tty_reopen() failure
c92e73b11ed1 usb: cdc_acm: Do not leak URB buffers
821c42e7d5ea USB: serial: simple: add Motorola Tetra MTP6550 id
35123e64a168 usb: xhci-mtk: resume USB3 roothub first
c096f5c4a8bc xhci: Add missing CAS workaround for Intel Sunrise Point xHCI
ec6ae632e04b dm cache: fix resize crash if user doesn't reload cache table
f11a6abfdb41 dm cache metadata: ignore hints array being too small during resize
1364055c96c5 PM / core: Clear the direct_complete flag on errors
9047696cb3f8 mac80211: fix setting IEEE80211_KEY_FLAG_RX_MGMT for AP mode keys
8ebd65583375 PCI: Reprogram bridge prefetch registers on resume
25bc6e80f9d6 x86/vdso: Fix vDSO syscall fallback asm constraint regression
1194e838b879 x86/vdso: Only enable vDSO retpolines when enabled and supported
64ff5747e2af selftests/x86: Add clock_gettime() tests to test_vdso
30500cc74a36 x86/vdso: Fix asm constraints on vDSO syscall fallbacks
71a0556255de drm/syncobj: Don't leak fences when WAIT_FOR_SUBMIT is set
0c0dd182adae drm/amdgpu: Fix vce work queue was not cancelled when suspend
309a1c5cfc59 xen-netback: fix input validation in xenvif_set_hash_mapping()
f66d89483bb3 fbdev/omapfb: fix omapfb_memory_read infoleak
887361696fb9 clocksource/drivers/timer-atmel-pit: Properly handle error cases
8e2e2192eb35 blk-mq: I/O and timer unplugs are inverted in blktrace
87a9d1cc2e8f KVM: x86: fix L1TF's MMIO GFN calculation
5178716b55c4 mm/vmstat.c: skip NR_TLB_REMOTE_FLUSH* properly
a2e0493f99e6 mm, thp: fix mlocking THP page with migration enabled
5f4f5b1f4491 mm: migration: fix migration of huge PMD shared pages
ab18409cf05f perf/core: Add sanity check to deal with pinned event failure
8e6a9240b191 Linux 4.14.75
4e7ea65127ac dm thin metadata: fix __udivdi3 undefined on 32-bit
07f79b39d474 ixgbe: check return value of napi_complete_done()
de0e2a92ccc5 ocfs2: fix locking for res->tracking and dlm->tracking_list
f8566a92ab75 proc: restrict kernel stack dumps to root
4de0fb95a287 tools: hv: fcopy: set 'error' in case an unknown operation was requested
1d24e2609002 Drivers: hv: vmbus: Use get/put_cpu() in vmbus_connect()
119bf9470be9 gpiolib: Free the last requested descriptor
1df517a4cafd crypto: caam/jr - fix ablkcipher_edesc pointer arithmetic
3b1a8535b8e1 crypto: mxs-dcp - Fix wait logic on chan threads
90ecb700345c crypto: qat - Fix KASAN stack-out-of-bounds bug in adf_probe()
a5bb359c078a ALSA: hda/realtek - Cannot adjust speaker's volume on Dell XPS 27 7760
06f93e40f939 iommu/amd: Clear memory encryption mask from physical address
dcdb2262d389 smb2: fix missing files in root share directory listing
b420b7b7923b sysfs: Do not return POSIX ACL xattrs via listxattr
fa7d75f64b80 ovl: fix format of setxattr debug
8d75ecc13fdc ovl: fix memory leak on unlink of indexed file
be406434737b ovl: fix access beyond unterminated strings
aa41fb9593af xen: fix GCC warning and remove duplicate EVTCHN_ROW/EVTCHN_COL usage
a502165dae09 xen: avoid crash in disable_hotplug_cpu
4e1494794ebc xen/manage: don't complain about an empty value in control/sysrq node
dfb29d69e4d8 cifs: read overflow in is_valid_oplock_break()
7d60f98cde7a s390/qeth: don't dump past end of unknown HW header
d5afd6b6eae5 s390/qeth: use vzalloc for QUERY OAT buffer
ad297898159f r8169: Clear RTL_FLAG_TASK_*_PENDING when clearing RTL_FLAG_TASK_ENABLED
f7b86faf0bd1 drm/amdgpu: fix error handling in amdgpu_cs_user_fence_chunk
f2c9d68ed3c2 arm64: jump_label.h: use asm_volatile_goto macro instead of "asm goto"
7a2df42a5371 hexagon: modify ffs() and fls() to return int
2eb3072b2785 arch/hexagon: fix kernel/dma.c build warning
1484d4ff2770 dm thin metadata: try to avoid ever aborting transactions
1e9054e75d22 perf/x86/intel: Add support/quirk for the MISPREDICT bit on Knights Landing CPUs
36918e899e3c net: ena: fix missing calls to READ_ONCE
3e2cc5bd61fe net: ena: fix driver when PAGE_SIZE == 64kB
a5bdc726e5ff fs/cifs: suppress a string overflow warning
3941dbe190ba dm raid: fix rebuild of specific devices by updating superblock
112d65a51f2b drm/nouveau/disp: fix DP disable race
1a255bf1e749 drm/nouveau/TBDdevinit: don't fail when PMU/PRE_OS is missing from VBIOS
34d54566ae4a net/mlx5: Consider PCI domain in search for next dev
f36f3ebdf1e1 nvmet-rdma: fix possible bogus dereference under heavy load
a90a52c51ad4 USB: yurex: Check for truncation in yurex_read()
2c423318f07c HID: sensor-hub: Restore fixup for Lenovo ThinkPad Helix 2 sensor hub report
d4da71220317 RDMA/ucma: check fd type in ucma_migrate_id()
60ea8815d6e8 Revert "iio: temperature: maxim_thermocouple: add MAX31856 part"
1173678a4f4a netfilter: nf_tables: release chain in flushing set
c00f01c40211 perf probe powerpc: Ignore SyS symbols irrespective of endianness
4095fd29fee7 perf util: Fix bad memory access in trace info.
9d7bc329c123 perf evsel: Fix potential null pointer dereference in perf_evsel__new_idx()
8b98b7eeb45d scsi: qedi: Add the CRC size within iSCSI NVM image
dd44c35cc16c scsi: iscsi: target: Set conn->sess to NULL when iscsi_login_set_conn_values fails
b6515e0f915b HID: hid-saitek: Add device ID for RAT 7 Contagion
81c823c22355 usb: gadget: fotg210-udc: Fix memory leak of fotg210->ep[i]
b6cc0ba2cbf4 HID: add support for Apple Magic Keyboards
b969656b4662 netfilter: xt_cluster: add dependency on conntrack module
10fdfea70d46 bpf: 32-bit RSH verification must truncate input before the ALU op
dcc89aaf5a8d mm: madvise(MADV_DODUMP): allow hugetlbfs pages
ee0516c4a1fe tools/vm/page-types.c: fix "defined but not used" warning
5cbf015b971c tools/vm/slabinfo.c: fix sign-compare warning
27c4ad84fd01 mac80211: shorten the IBSS debug messages
e132eb09fdd2 mac80211: don't Tx a deauth frame if the AP forbade Tx
8788737af389 mac80211: Fix station bandwidth setting after channel switch
37cdc7e35ae4 mac80211: fix a race between restart and CSA flows
4fa55f6d29fd cfg80211: fix a type issue in ieee80211_chandef_to_operating_class()
43a01409ef4c mac80211: fix an off-by-one issue in A-MSDU max_subframe computation
25cb8544342a fs/cifs: don't translate SFM_SLASH (U+F026) to backslash
8590e6fecb5e net: cadence: Fix a sleep-in-atomic-context bug in macb_halt_tx()
b08d15cc921f i2c: uniphier-f: issue STOP only for last message or I2C_M_STOP
82fc9c6b7b9a i2c: uniphier: issue STOP only for last message or I2C_M_STOP
da26e5729c04 RAID10 BUG_ON in raise_barrier when force is true and conf->barrier is 0
36fadeb87be8 md/raid5-cache: disable reshape completely
dc492842b700 ARC: atomics: unbork atomic_fetch_##op()
7e259a0537be gpio: Fix crash due to registration race
3b83a52796cd tools/kvm_stat: fix handling of invalid paths in debugfs provider
52614f7bf1b5 tools/kvm_stat: fix python3 issues
0d66ce687869 mac80211: always account for A-MSDU header changes
2592adfe326b mac80211: do not convert to A-MSDU if frag/subframe limited
b22a5d20aab1 cfg80211: nl80211_update_ft_ies() to validate NL80211_ATTR_IE
e7577a1f1a65 net: hns: add netif_carrier_off before change speed and duplex
7fd11a1ad542 net: hns: add the code for cleaning pkt in chip
bdd29365a74c gpiolib-acpi: Register GpioInt ACPI event handlers from a late_initcall
73bfec0a6bde gpiolib: acpi: Switch to cansleep version of GPIO library call
9a5d353908db mac80211: avoid kernel panic when building AMSDU from non-linear SKB
79448960e3d7 mac80211: mesh: fix HWMP sequence numbering to follow standard
34bec4daf88c gpio: adp5588: Fix sleep-in-atomic-context bug
0081e67083ed mac80211_hwsim: correct use of IEEE80211_VHT_CAP_RXSTBC_X
7c209ebc7f15 mac80211: correct use of IEEE80211_VHT_CAP_RXSTBC_X
6054817c5e07 scsi: csiostor: add a check for NULL pointer after kmalloc()
4e380c50cf12 btrfs: btrfs_shrink_device should call commit transaction at the end
9e685bec07ae KVM: PPC: Book3S HV: Don't truncate HPTE index in xlate function
381538ae75cf mac80211_hwsim: require at least one channel
4ae9a73be7ac mac80211: Run TXQ teardown code before de-registering interfaces
3a738e7f734c tools/power turbostat: fix possible sprintf buffer overflow
cdb2d37d345d serial: mvebu-uart: Fix reporting of effective CSIZE to userspace
a17e2a72e714 drm/amdgpu: add another ATPX quirk for TOPAZ
d9e61345652b drm/amd/pp: initialize result to before or'ing in data
e6abbe80c883 Linux 4.14.74
d61ba3417e4f media: v4l: event: Prevent freeing event subscriptions while accessed
fcaca557760f arm64: KVM: Sanitize PSTATE.M when being set from userspace
4fff53acff15 x86/pti: Fix section mismatch warning/error
23210d92f617 i2c: i801: Allow ACPI AML access I/O ports not reserved for SMBus
647b6d4ff699 arm/arm64: smccc-1.1: Handle function result as parameters
826d8678cde2 arm/arm64: smccc-1.1: Make return values unsigned long
75b3054d6807 ARM: dts: omap4-droid4: Fix emmc errors seen on some devices
d11237bdcf95 nvme-fcloop: Fix dropped LS's to removed target port
516b72e36ded ata: ftide010: Add a quirk for SQ201
46cb720a8a3e drm/amdgpu: Update power state at the end of smu hw_init.
50850b432cc5 drm/amdgpu: Enable/disable gfx PG feature in rlc safe mode
9190a7ea313f Revert "ARM: dts: imx7d: Invert legacy PCI irq mapping"
d3ddd8e16cab hwmon: (adt7475) Make adt7475_read_word() return errors
0647ce03bd48 hwmon: (ina2xx) fix sysfs shunt resistor read access
59f5838cc950 crypto: cavium/nitrox - fix for command corruption in queue full case with backlog submissions.
243af256387c e1000: ensure to free old tx/rx rings in set_ringparam()
716865940461 e1000: check on netif_running() before calling e1000_up()
e8baff89bc3f net: hns: fix skb->truesize underestimation
333f26129fd9 net: hns: fix length and page_offset overflow when CONFIG_ARM64_64K_PAGES
92935e1c2a7e bpf: sockmap: write_space events need to be passed to TCP handler
f0a8c1257fc3 tls: possible hang when do_tcp_sendpages hits sndbuf is full case
97ee8505c637 isofs: reject hardware sector size > 2048 bytes
083be6fbfdcb thermal: of-thermal: disable passive polling when thermal zone is disabled
308206bd2770 qed: Avoid sending mailbox commands when MFW is not responsive
583f866501c1 qed: Prevent a possible deadlock during driver load and unload
73046b822c4c qed: Wait for MCP halt and resume commands to take place
33906ae926e0 qed: Wait for ready indication before rereading the shmem
38d070f9090a arm64: KVM: Tighten guest core register access from userspace
d428e43eb684 serial: imx: restore handshaking irq for imx1
016d4aae9d84 drm/i915: Remove vma from object on destroy, not close
d134e9170417 ovl: hash non-dir by lower inode for fsnotify
105470069de3 RDMA/uverbs: Atomically flush and mark closed the comp event queue
693536a7ce39 IB/hfi1: Fix context recovery when PBC has an UnsupportedVL
412a4b4db1a6 IB/hfi1: Invalid user input can result in crash
d9e49e9ed8d6 IB/hfi1: Fix SL array bounds check
fcbe49c82b82 IB/srp: Avoid that sg_reset -d ${srp_device} triggers an infinite loop
3011b91478ff Input: elantech - enable middle button of touchpad on ThinkPad P72
9691f745e17a USB: remove LPM management from usb_driver_claim_interface()
be2360ed2d22 Revert "usb: cdc-wdm: Fix a sleep-in-atomic-context bug in service_outstanding_interrupt()"
ec6dc4b61c33 USB: usbdevfs: restore warning for nonsensical flags
25a8d4825165 USB: usbdevfs: sanitize flags more
67d8e231759f media: uvcvideo: Support realtek's UVC 1.5 device
1ddc0781c0ce slub: make ->cpu_partial unsigned int
e75c01761a11 usb: musb: dsps: do not disable CPPI41 irq in driver teardown
5b6717c6a3c0 USB: handle NULL config in usb_find_alt_setting()
4253abe6a3aa USB: fix error handling in usb_driver_claim_interface()
5eaaa5e9bd56 regulator: fix crash caused by null driver data
b6adc1f24bb3 spi: rspi: Fix interrupted DMA transfers
082e34f367a5 spi: rspi: Fix invalid SPI use during system suspend
6074b71d617d spi: sh-msiof: Fix handling of write value for SISTR register
d120858fca5f spi: sh-msiof: Fix invalid SPI use during system suspend
429773341c34 spi: tegra20-slink: explicitly enable/disable clock
dc89d37f9098 intel_th: Fix device removal logic
247cc73cd8f5 serial: cpm_uart: return immediately from console poll
2b7ba104769b tty: serial: lpuart: avoid leaking struct tty_struct
4fe780c1baec x86/mm: Expand static page table for fixmap space
04bc4dd86d0f floppy: Do not copy a kernel pointer to user memory in FDGETPRM ioctl
f88e50ea0300 ARM: dts: dra7: fix DCAN node addresses
99795ed0c62d iio: 104-quad-8: Fix off-by-one error in register selection
a82a772da750 Input: xen-kbdfront - fix multi-touch XenStore node's locations
91e30cae8903 fs/lock: skip lock owner pid translation in case we are in init_pid_ns
0c4439c44416 EDAC: Fix memleak in module init error path
a4f7bea87887 nfsd: fix corrupted reply to badly ordered compound
de6ccdbd7734 gpio: Fix wrong rounding in gpio-menz127
5bcbbadf6ac5 module: exclude SHN_UNDEF symbols from kallsyms api
05f78b1a0e0c ASoC: dapm: Fix potential DAI widget pointer deref when linking DAIs
3fd534a5480e EDAC, i7core: Fix memleaks and use-after-free on probe and remove
c96c2f2b11b6 scsi: megaraid_sas: Update controller info during resume
a56b97a2fc2d iomap: complete partial direct I/O writes synchronously
13ab355240a9 scsi: bnx2i: add error handling for ioremap_nocache
d5963fae7f36 perf/x86/intel/lbr: Fix incomplete LBR call stack
85222eb56f2a MIPS: boot: fix build rule of vmlinux.its.S
b8e30b822d08 HID: hid-ntrig: add error handling for sysfs_create_group
69cb15d6596d arm: dts: mediatek: Add missing cooling device properties for CPUs
5ef7a3782de8 ARM: mvebu: declare asm symbols as character arrays in pmsu.c
e87efc44dd36 wlcore: Add missing PM call for wlcore_cmd_wait_for_event_or_timeout()
dad01c56989a brcmsmac: fix wrap around in conversion from constant to s16
62bd8064fa88 rndis_wlan: potential buffer overflow in rndis_wlan_auth_indication()
3c7f6b2cf6d6 ath10k: transmit queued frames after processing rx packets
c1283a6270a2 drm/sun4i: Fix releasing node when enumerating enpoints
3f7056e1822d net: phy: xgmiitorgmii: Check phy_driver ready before accessing
accb431813bf ath10k: protect ath10k_htt_rx_ring_free with rx_ring.lock
0f4ca55e441c net: phy: xgmiitorgmii: Check read_status results
8d9fd12b1eef ALSA: hda: Add AZX_DCAPS_PM_RUNTIME for AMD Raven Ridge
0ebe95dee2f2 media: tm6000: add error handling for dvb_register_adapter
0091a4ede783 drivers/tty: add error handling for pcmcia_loop_config
3af342f5ddbd staging: android: ashmem: Fix mmap size validation
1b16d06a9e27 media: omap3isp: zero-initialize the isp cam_xclk{a,b} initial data
daefaacc6e02 media: soc_camera: ov772x: correct setting of banding filter
381f8d235dd8 media: s3c-camif: ignore -ENOIOCTLCMD from v4l2_subdev_call for s_power
85d3dbd8e7f2 ALSA: snd-aoa: add of_node_put() in error path
3e3f075f72bd posix-timers: Sanitize overrun handling
a05bd4ba655f posix-timers: Make forward callback return s64
cf373da10039 iio: accel: adxl345: convert address field usage in iio_chan_spec
8cbb2f74c093 mtd: rawnand: atmel: add module param to avoid using dma
a838008bb11f s390/extmem: fix gcc 8 stringop-overflow warning
33cd135ebc97 s390/scm_blk: correct numa_node in scm_blk_dev_setup
98a34e26d93d s390/dasd: correct numa_node in dasd_alloc_queue
a4dbaf7c2de0 alarmtimer: Prevent overflow for relative nanosleep
9374ffc6f3d3 s390/sysinfo: add missing #ifdef CONFIG_PROC_FS
8deb5801f154 powerpc/powernv/ioda2: Reduce upper limit for DMA window size
45d3d58f9739 ath10k: sdio: set skb len for all rx packets
b31f41e02c80 ath10k: sdio: use same endpoint id for all packets in a bundle
149f530334f0 usb: wusbcore: security: cast sizeof to int for comparison
ebee32dd8f04 scsi: target: Avoid that EXTENDED COPY commands trigger lock inversion
336b73754169 scsi: ibmvscsi: Improve strings handling
1390c37d1670 scsi: klist: Make it safe to use klists in atomic context
bdfc40bc1b09 scsi: target/iscsi: Make iscsit_ta_authentication() respect the output buffer size
2cbead46fd4e ARM: dts: ls1021a: Add missing cooling device properties for CPUs
8430918a04e3 x86/entry/64: Add two more instruction suffixes
8e90c7ef50e2 ARM: hwmod: RTC: Don't assume lock/unlock will be called with irq enabled
0a29ab00339e x86/tsc: Add missing header to tsc_msr.c
23e4ab4069d1 media: staging/imx: fill vb2_v4l2_buffer field entry
6fd38ba41e34 media: fsl-viu: fix error handling in viu_of_probe()
769ae06e4442 powerpc/kdump: Handle crashkernel memory reservation failure
333cb98f393b IB/mlx4: Test port number before querying type.
1f94cf4c81cb media: exynos4-is: Prevent NULL pointer dereference in __isp_video_try_fmt()
0ca45668ecdb IB/core: type promotion bug in rdma_rw_init_one_mr()
eca859882359 RDMA/i40w: Hold read semaphore while looking after VMA
e862ab6b69c4 RDMA/bnxt_re: Fix a couple off by one bugs
e0ccd2360a47 md-cluster: clear another node's suspend_area after the copy is finished
e70f938a605a power: remove possible deadlock when unregistering power_supply
1117e411a46c s390/mm: correct allocate_pgste proc_handler callback
bc4ce060b305 iommu/msm: Don't call iommu_device_{,un}link from atomic context
96e878907c90 6lowpan: iphc: reset mac_header after decompress to fix panic
410534a34315 USB: serial: kobil_sct: fix modem-status error handling
90de5688afc3 Bluetooth: Add a new Realtek 8723DE ID 0bda:b009
834a9ef5f831 iommu/amd: make sure TLB to be flushed before IOVA freed
c7e653a24c18 power: vexpress: fix corruption in notifier registration
c1a630680c8b uwb: hwa-rc: fix memory leak at probe
72bad20e9316 serial: sh-sci: Stop RX FIFO timer during port shutdown
0470189cd9b9 misc: sram: enable clock before registering regions
914b4daa9b6d power: supply: axp288_charger: Fix initial constant_charge_current value
2efa4bd5aa9a staging: rts5208: fix missing error check on call to rtsx_write_register
6ecd10b1aa22 x86/numa_emulation: Fix emulated-to-physical node mapping
127cd4e23323 vmci: type promotion bug in qp_host_get_user_memory()
4804f372b53f tsl2550: fix lux1_input error in low light
db12e7d3e9bc iio: adc: ina2xx: avoid kthread_stop() with stale task_struct
29db2772349d crypto: skcipher - Fix -Wstringop-truncation warnings
3b65f403d7d0 Linux 4.14.73
97513162cd6d spi: Fix double IDR allocation with DT aliases
ed5e9462f661 tick/nohz: Prevent bogus softirq pending warning
3a411a04be4e iw_cxgb4: only allow 1 flush on user qps
956fa50745b3 vmw_balloon: include asm/io.h
23ac2a32b2f8 PCI: aardvark: Size bridges before resources allocation
fe87d18b1471 sched/fair: Fix vruntime_normalized() for remote non-migration wakeup
0d09307bc242 ext4: show test_dummy_encryption mount option in /proc/mounts
3dc006d212e3 ext4: don't mark mmp buffer head dirty
ba48e66e3f53 ext4: fix online resizing for bigalloc file systems with a 1k block size
6a4d7b584d38 ext4: fix online resize's handling of a too-small final block group
22654a3b4a30 ext4: recalucate superblock checksum after updating free blocks/inodes
779af00b3fa3 ext4: avoid arithemetic overflow that can trigger a BUG
3f9eafe8772f ext4: avoid divide by zero fault when deleting corrupted inline directories
31343d27f18f ext4: check to make sure the rename(2)'s destination is not freed
4334a6ae867a tty: vt_ioctl: fix potential Spectre v1
57c806be0160 drm/amdgpu: add new polaris pci id
5575041b09cd drm: udl: Destroy framebuffer only if it was initialized
c70d8a488a41 drm/vc4: Fix the "no scaling" case on multi-planar YUV formats
35e48a086071 drm/nouveau/drm/nouveau: Prevent handling ACPI HPD events too early
0f966da783a3 drm/nouveau/drm/nouveau: Use pm_runtime_get_noresume() in connector_detect()
409af02c200e drm/nouveau/drm/nouveau: Fix bogus drm_kms_helper_poll_enable() placement
9ac837e079a0 drm/nouveau/drm/nouveau: Don't forget to cancel hpd_work on suspend/unload
42387d8e4aef drm/nouveau: Fix deadlocks in nouveau_connector_detect()
7c1ca8fb8633 ocfs2: fix ocfs2 read block panic
1d7e23f9068f Revert "ubifs: xattr: Don't operate on deleted inodes"
44383139a39c scsi: target: iscsi: Use bin2hex instead of a re-implementation
755e45f3155c scsi: target: iscsi: Use hex2bin instead of a re-implementation
50ec69edf3f0 Revert "uapi/linux/keyctl.h: don't use C++ reserved keyword as a struct member name"
13d216167d3d Revert "rpmsg: core: add support to power domains for devices"
6447b34fc270 mm: shmem.c: Correctly annotate new inodes for lockdep
7eba38a3f65d ring-buffer: Allow for rescheduling when removing pages
0e5cdbac0303 Revert "PCI: Add ACS quirk for Intel 300 series"
f3765abb60c7 spi: fix IDR collision on systems with both fixed and dynamic SPI bus numbers
5ca87a38202e xen/x86/vpmu: Zero struct pt_regs before calling into sample handling code
7eced4478f4e xen/netfront: don't bug in case of too many frags
e2d5285b98ef platform/x86: alienware-wmi: Correct a memory leak
ff6805037d83 ALSA: oxfw: fix memory leak of private data
08f4f8b93809 ALSA: oxfw: fix memory leak of discovered stream formats at error path
996899a9cbd8 ALSA: oxfw: fix memory leak for model-dependent data at error path
d9929097176d ALSA: fireworks: fix memory leak of response buffer at error path
40e2596f06b0 ALSA: firewire-tascam: fix memory leak of private data
933f20a61e26 ALSA: firewire-digi00x: fix memory leak of private data
70165a445b00 ALSA: fireface: fix memory leak in ff400_switch_fetching_mode()
352701c288c1 ALSA: emu10k1: fix possible info leak to userspace on SNDRV_EMU10K1_IOCTL_INFO
7c4881d64ed7 ALSA: bebob: use address returned by kmalloc() instead of kernel stack for streaming DMA mapping
16b8c03864b7 ALSA: bebob: fix memory leak for M-Audio FW1814 and ProjectMix I/O at error path
c7cf0304d41f ASoC: rsnd: fixup not to call clk_get/set under non-atomic
a388e6d7a822 ASoC: cs4265: fix MMTLR Data switch control
6ead7a8a4ec1 NFC: Fix the number of pipes
4a16b3cd084d NFC: Fix possible memory corruption when handling SHDLC I-Frame commands
18fef87e05d3 tls: clear key material from kernel memory when do_tls_setsockopt_conf fails
0c0334299a7e tls: zero the crypto information from tls_context before freeing
10cacaf13189 tls: don't copy the key out of tls12_crypto_info_aes_gcm_128
ee547ed7dee4 net/sched: act_sample: fix NULL dereference in the data path
b13f721a3409 udp6: add missing checks on edumux packet processing
ff64a1a2ca3d neighbour: confirm neigh entries when ARP packet is received
0f6f77f3b8f4 udp4: fix IP_CMSG_CHECKSUM for connected sockets
6f5ec16ee02b qmi_wwan: set DTR for modems in forced USB2 mode
f3aa1f3a1113 pppoe: fix reception of frames with no mac header
c0f2c063abc8 net: hp100: fix always-true check for link up state
9951e17efd05 net/appletalk: fix minor pointer leak to userspace in SIOCFINDIPDDPRT
bba90d3686fd ipv6: fix possible use-after-free in ip6_xmit()
13a47054f0b2 gso_segment: Reset skb->mac_len after modifying network header
(From OE-Core rev: 62c7a970de40e8c4d57cb6d3feebbfbcae089b27)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg -stable updates that comprise the following commits:
e7d199e92956 Linux 4.18.14
91da9ba7bbbd ath10k: fix scan crash due to incorrect length calculation
7903dacfc64e rds: rds_ib_recv_alloc_cache() should call alloc_percpu_gfp() instead
ef37df3b8284 ubifs: Check for name being NULL while mounting
09fbdca26741 ucma: fix a use-after-free in ucma_resolve_ip()
9753a6f7497d tipc: call start and done ops directly in __tipc_nl_compat_dumpit()
4a04224bbd1a f2fs: fix invalid memory access
50231468deda ARC: clone syscall to setp r25 as thread pointer
f4a856d4ca30 powerpc/lib: fix book3s/32 boot failure due to code patching
2025ef74e8c4 powerpc: Avoid code patching freed init sections
e4f71e6ae0cb of: unittest: Disable interrupt node tests for old world MAC systems
a09a553b1693 tty: Drop tty->count on tty_reopen() failure
274a367121ae usb: cdc_acm: Do not leak URB buffers
6f0a2f6649b7 USB: serial: option: add two-endpoints device-id flag
0fcb2fb9731a USB: serial: option: improve Quectel EP06 detection
883f14f7302a USB: serial: simple: add Motorola Tetra MTP6550 id
7cea0a2e8c59 usb: xhci-mtk: resume USB3 roothub first
67c8b9c6c59c xhci: Add missing CAS workaround for Intel Sunrise Point xHCI
226c5c8a540a dm cache: fix resize crash if user doesn't reload cache table
f10b1cdb6190 dm cache metadata: ignore hints array being too small during resize
75e4e2fae0fe dm mpath: fix attached_handler_name leak and dangling hw_handler_name pointer
a92f4488357e PM / core: Clear the direct_complete flag on errors
3561037582ae mac80211: fix setting IEEE80211_KEY_FLAG_RX_MGMT for AP mode keys
e9d0ba506ea8 PCI: Reprogram bridge prefetch registers on resume
db68b064bb73 x86/vdso: Fix vDSO syscall fallback asm constraint regression
54f54a2b7fb3 x86/vdso: Only enable vDSO retpolines when enabled and supported
1af2998c34e1 selftests/x86: Add clock_gettime() tests to test_vdso
e7e1889390a4 x86/vdso: Fix asm constraints on vDSO syscall fallbacks
7ac2c7dcc1a0 drm: fix use-after-free read in drm_mode_create_lease_ioctl()
a2cef7d049f0 drm/syncobj: Don't leak fences when WAIT_FOR_SUBMIT is set
3361789e57ec drm/amdgpu: Fix vce work queue was not cancelled when suspend
b67f9b6ab232 mac80211: allocate TXQs for active monitor interfaces
6b1adad3348a mmc: slot-gpio: Fix debounce time to use miliseconds again
7cf3272144b9 mmc: core: Fix debounce time to use microseconds
7e62c2fbc1fe xen-netback: fix input validation in xenvif_set_hash_mapping()
9b01f16ed9b9 fbdev/omapfb: fix omapfb_memory_read infoleak
771df4eea402 clocksource/drivers/timer-atmel-pit: Properly handle error cases
45a156123ce4 pstore/ram: Fix failure-path memory leak in ramoops_init
b82610b5bad9 blk-mq: I/O and timer unplugs are inverted in blktrace
fe65bf7b541f KVM: VMX: check for existence of secondary exec controls before accessing
fe7790c37cf1 KVM: x86: fix L1TF's MMIO GFN calculation
7d7e3202b7ef mm/vmstat.c: skip NR_TLB_REMOTE_FLUSH* properly
6b9c2cc710f5 mm, thp: fix mlocking THP page with migration enabled
0af5b07d2e62 mm: migration: fix migration of huge PMD shared pages
f5a6974616b4 perf/core: Add sanity check to deal with pinned event failure
04a3fbba60ae Linux 4.18.13
d9ef158adf04 Revert "drm/amd/pp: Send khz clock values to DC for smu7/8"
aad46f77ece0 dm thin metadata: fix __udivdi3 undefined on 32-bit
5319425024ab ixgbe: check return value of napi_complete_done()
2083ef10dedd HID: i2c-hid: disable runtime PM operations on hantick touchpad
f52ab5277368 ocfs2: fix locking for res->tracking and dlm->tracking_list
2b89f7ad519d proc: restrict kernel stack dumps to root
6a2cfcdd7b6e tools: hv: fcopy: set 'error' in case an unknown operation was requested
549498802024 Drivers: hv: vmbus: Use get/put_cpu() in vmbus_connect()
116337deb270 gpiolib: Free the last requested descriptor
277f800a2186 crypto: caam/jr - fix ablkcipher_edesc pointer arithmetic
b6479a45bd29 crypto: mxs-dcp - Fix wait logic on chan threads
27dff727876e crypto: chelsio - Fix memory corruption in DMA Mapped buffers.
18b4a538497d crypto: qat - Fix KASAN stack-out-of-bounds bug in adf_probe()
23b043d513e3 ALSA: hda/realtek - Cannot adjust speaker's volume on Dell XPS 27 7760
6abd14f40148 iommu/amd: Clear memory encryption mask from physical address
8cdcd02d9985 smb2: fix missing files in root share directory listing
17e5fb7f93f8 cpufreq: qcom-kryo: Fix section annotations
5105f039ef26 firmware: Always initialize the fw_priv list object
aa26105b73b0 firmware: Fix security issue with request_firmware_into_buf()
8b84e8d275d8 b43: fix DMA error related regression with proprietary firmware
23917913b671 sysfs: Do not return POSIX ACL xattrs via listxattr
51da3fc5cbce ovl: fix format of setxattr debug
1c7949a5f637 ovl: fix memory leak on unlink of indexed file
c33def1bb3aa ovl: fix access beyond unterminated strings
a6aa74c2ad61 ovl: set I_CREATING on inode being created
90f06e1b81b9 vfs: don't evict uninitialized inode
d08d1bb535f4 new primitive: discard_new_inode()
87a50a5e94e3 x86/APM: Fix build warning when PROC_FS is not enabled
dd618fe2ffa1 xen: fix GCC warning and remove duplicate EVTCHN_ROW/EVTCHN_COL usage
b207598b0abe xen: avoid crash in disable_hotplug_cpu
58d77fd26f83 xen/manage: don't complain about an empty value in control/sysrq node
20d06facfd2f asm-generic: io: Fix ioport_map() for !CONFIG_GENERIC_IOMAP && CONFIG_INDIRECT_PIO
80e4d9a51376 cifs: read overflow in is_valid_oplock_break()
e8dcd7866638 s390/qeth: don't dump past end of unknown HW header
31ae67ad9ed6 s390/qeth: use vzalloc for QUERY OAT buffer
d3a7c76eb490 r8169: Clear RTL_FLAG_TASK_*_PENDING when clearing RTL_FLAG_TASK_ENABLED
5113d730a1ee drm/amdgpu: fix error handling in amdgpu_cs_user_fence_chunk
e76f7b7df846 arm64: jump_label.h: use asm_volatile_goto macro instead of "asm goto"
ed14acd316ba drm/amdgpu: Fix SDMA hang in prt mode v2
7389051d3c63 hexagon: modify ffs() and fls() to return int
cbbb852e4556 arch/hexagon: fix kernel/dma.c build warning
41b2bc509cda netfilter: xt_hashlimit: use s->file instead of s->private
419033c32a82 netfilter: nfnetlink_queue: Solve the NFQUEUE/conntrack clash for NF_REPEAT
e63d53f2835d dm thin metadata: try to avoid ever aborting transactions
7c995133d035 sched/topology: Set correct NUMA topology type
52017328fa15 perf/x86/intel: Add support/quirk for the MISPREDICT bit on Knights Landing CPUs
1080c0f57e00 net: ena: fix missing calls to READ_ONCE
968759747e95 net: ena: fix missing lock during device destruction
cfa70f3c46f1 net: ena: fix potential double ena_destroy_device()
023ae1b4c025 net: ena: fix device destruction to gracefully free resources
3953e192748f net: ena: fix driver when PAGE_SIZE == 64kB
0728c271d518 net: ena: fix surprise unplug NULL dereference kernel crash
3a035b70eb92 fs/cifs: suppress a string overflow warning
07d1b1058aea r8169: set TxConfig register after TX / RX is enabled, just like RxConfig
8a100be2813a dm raid: fix RAID leg rebuild errors
659cd50c8ace dm raid: fix rebuild of specific devices by updating superblock
895fe22aa4d6 dm raid: fix stripe adding reshape deadlock
00063fa09bc1 drm/nouveau/disp/gm200-: enforce identity-mapped SOR assignment for LVDS/eDP panels
6978b0eb61c0 drm/nouveau/disp: fix DP disable race
c65768326592 drm/nouveau/TBDdevinit: don't fail when PMU/PRE_OS is missing from VBIOS
e4a75379e8eb drm/nouveau/mmu: don't attempt to dereference vmm without valid instance pointer
5f0e9912e82c drm/nouveau: fix oops in client init failure path
d097790cec56 dm raid: fix reshape race on small devices
816f7c26eee3 HID: i2c-hid: Don't reset device upon system resume
bfe18751bf8a net/mlx5: Consider PCI domain in search for next dev
3029f6d6608d bnxt_re: Fix couple of memory leaks that could lead to IOMMU call traces
80b6e9d53846 nvmet-rdma: fix possible bogus dereference under heavy load
1d44f7f5bc07 USB: yurex: Check for truncation in yurex_read()
e6ecfa261ae6 usb: host: xhci-plat: Iterate over parent nodes for finding quirks
3f97eca3c822 HID: sensor-hub: Restore fixup for Lenovo ThinkPad Helix 2 sensor hub report
027f315487ef riscv: Do not overwrite initrd_start and initrd_end
59db47dd566b RDMA/ucma: check fd type in ucma_migrate_id()
d77c7de489ff iio: imu: st_lsm6dsx: take into account ts samples in wm configuration
86716fd6b985 Revert "iio: temperature: maxim_thermocouple: add MAX31856 part"
c296c887f743 netfilter: nf_tables: release chain in flushing set
7e8fc7dcb4d6 netfilter: kconfig: nat related expression depend on nftables core
c3501b899ff9 perf annotate: Fix parsing aarch64 branch instructions after objdump update
3cc1b441a4b9 perf probe powerpc: Ignore SyS symbols irrespective of endianness
6f8073072f7b perf util: Fix bad memory access in trace info.
56b4732271c7 perf evsel: Fix potential null pointer dereference in perf_evsel__new_idx()
4ac14f4b3179 perf annotate: Properly interpret indirect call
dbd0ea4cfa2a scsi: qedi: Add the CRC size within iSCSI NVM image
319949c5e4a8 scsi: iscsi: target: Fix conn_ops double free
27fbee89e119 scsi: iscsi: target: Set conn->sess to NULL when iscsi_login_set_conn_values fails
820c01bcca82 HID: hid-saitek: Add device ID for RAT 7 Contagion
3f2822e4dadd usb: gadget: fotg210-udc: Fix memory leak of fotg210->ep[i]
386562cba8c2 HID: add support for Apple Magic Keyboards
11c069b7eb84 HID: intel-ish-hid: Enable Sunrise Point-H ish driver
3403eaa94cfc netfilter: xt_checksum: ignore gso skbs
1d569211070e netfilter: xt_cluster: add dependency on conntrack module
11b165210c72 bpf: 32-bit RSH verification must truncate input before the ALU op
f69ad066fb2b mm: madvise(MADV_DODUMP): allow hugetlbfs pages
53df63ddc599 afs: Fix cell specification to permit an empty address list
784ce43a54fa firmware: arm_scmi: fix divide by zero when sustained_perf_level is zero
131a6926fa4d ceph: avoid a use-after-free in ceph_destroy_options()
e5f09c519ea0 nds32: linker script: GCOV kernel may refers data in __exit
20107ca73afe tools/vm/page-types.c: fix "defined but not used" warning
9f62a57c6670 tools/vm/slabinfo.c: fix sign-compare warning
8474b701d459 nds32: fix build error because of wrong semicolon
392a9a4a1c1e nds32: Fix get_user/put_user macro expand pointer problem
447ec6add595 nds32: Fix empty call trace
76d9688fbebb nds32: add NULL entry to the end of_device_id array
2b847f91abb8 nds32: fix logic for module
5bdcac88df0b net/ibm/emac: wrong emac_calc_base call was used by typo
a06e07ce6f61 fsnotify: fix ignore mask logic in fsnotify()
5ce55b0915e7 mac80211: shorten the IBSS debug messages
3bcf74fdbd50 mac80211: don't Tx a deauth frame if the AP forbade Tx
7cd6df93a292 mac80211: Fix station bandwidth setting after channel switch
07715e528d18 mac80211: fix a race between restart and CSA flows
040695971ce1 mac80211: fix WMM TXOP calculation
71f1b196fb29 cfg80211: fix a type issue in ieee80211_chandef_to_operating_class()
39bcc4406f83 mac80211: fix an off-by-one issue in A-MSDU max_subframe computation
05166cf09a6e fs/cifs: don't translate SFM_SLASH (U+F026) to backslash
43160392b3eb net: cadence: Fix a sleep-in-atomic-context bug in macb_halt_tx()
26c9b6f0c196 i2c: uniphier-f: issue STOP only for last message or I2C_M_STOP
182ae0d8643f i2c: uniphier: issue STOP only for last message or I2C_M_STOP
abb518640aaf bpf: avoid misuse of psock when TCP_ULP_BPF collides with another ULP
23fa01c0fcb5 bpf: Fix bpf_msg_pull_data()
7e2069153a58 ibmvnic: Include missing return code checks in reset function
005caa1288d9 selftests: pmtu: detect correct binary to ping ipv6 addresses
ec0029c2aca1 selftests: pmtu: maximum MTU for vti4 is 2^16-1-20
d65d1dd8be05 RAID10 BUG_ON in raise_barrier when force is true and conf->barrier is 0
34ff707ac863 md/raid5-cache: disable reshape completely
561deb108ca4 Revert "blk-throttle: fix race between blkcg_bio_issue_check() and cgroup_rmdir()"
8dbbc215f2ba ARC: atomics: unbork atomic_fetch_##op()
29c9e7e73dda gpio: Fix crash due to registration race
e8f38e4e2216 tools/kvm_stat: fix updates for dead guests
52ff1e423ec9 tools/kvm_stat: fix handling of invalid paths in debugfs provider
a9ffbadacc94 tools/kvm_stat: fix python3 issues
58ec0839af0d mac80211: always account for A-MSDU header changes
511edc415c6c mac80211: do not convert to A-MSDU if frag/subframe limited
6f01b1a3c4ad cfg80211: nl80211_update_ft_ies() to validate NL80211_ATTR_IE
aadc5d1ee02d tc-testing: add test-cases for numeric and invalid control action
468bcedcd850 net: mvpp2: initialize port of_node pointer
4abef73b0770 sh_eth: Add R7S9210 support
4440af5a7e45 net: hns: add netif_carrier_off before change speed and duplex
f97a366fdbad net: hns: add the code for cleaning pkt in chip
7d3acb1372f6 tipc: switch to rhashtable iterator
cf09d1f5a507 bpf: fix sg shift repair start offset in bpf_msg_pull_data
89826ce1bbca bpf: fix shift upon scatterlist ring wrap-around in bpf_msg_pull_data
0920815e24f0 bpf: fix msg->data/data_end after sg shift repair in bpf_msg_pull_data
34930327c610 gpio: dwapb: Fix error handling in dwapb_gpio_probe()
6c5cdd4730b1 gpiolib-acpi: Register GpioInt ACPI event handlers from a late_initcall
13db4478a11e gpiolib: acpi: Switch to cansleep version of GPIO library call
06a62b7a0c5e mac80211: avoid kernel panic when building AMSDU from non-linear SKB
d935ea54dbd8 mac80211: mesh: fix HWMP sequence numbering to follow standard
a1f9ac32509a gpio: adp5588: Fix sleep-in-atomic-context bug
3f84a6c18fce bpf: fix several offset tests in bpf_msg_pull_data
bd266daa9fe1 nl80211: Pass center frequency in kHz instead of MHz
5955b8ec20d7 nl80211: Fix nla_put_u8 to u16 for NL80211_WMMR_TXOP
03950ebc945c mac80211_hwsim: Fix possible Spectre-v1 for hwsim_world_regdom_custom
bfcb6097e5f3 cfg80211: make wmm_rule part of the reg_rule structure
9df4febf5e91 mac80211_hwsim: correct use of IEEE80211_VHT_CAP_RXSTBC_X
3d0d794ca9ef mac80211: correct use of IEEE80211_VHT_CAP_RXSTBC_X
36de3d48270d bpf: sockmap, decrement copied count correctly in redirect error case
7feb1f2b5d8d bpf, sockmap: fix psock refcount leak in bpf_tcp_recvmsg
427e7707d932 bpf, sockmap: fix potential use after free in bpf_tcp_close
0dcf1bcde827 scsi: aacraid: fix a signedness bug
c08d2054307f scsi: libata: Add missing newline at end of file
4f3e708120f3 scsi: csiostor: fix incorrect port capabilities
74a301701659 scsi: csiostor: add a check for NULL pointer after kmalloc()
c31c8008c757 btrfs: btrfs_shrink_device should call commit transaction at the end
0d6ba1ecba26 cfg80211: remove division by size of sizeof(struct ieee80211_wmm_rule)
1f0f925f98b4 KVM: PPC: Book3S HV: Don't truncate HPTE index in xlate function
9e07d06651bc Btrfs: fix unexpected failure of nocow buffered writes after snapshotting when low on space
32c7667fbcbd mac80211_hwsim: require at least one channel
2466b26094bc mac80211: Run TXQ teardown code before de-registering interfaces
3964f22686a6 rseq/selftests: fix parametrized test with -fpie
7da07a3216a0 Linux 4.18.12
c483061d4610 media: v4l: event: Prevent freeing event subscriptions while accessed
926415e1e4c9 arm64: KVM: Sanitize PSTATE.M when being set from userspace
5fddc4cd7aec powerpc/pseries: Fix unitialized timer reset on migration
7f3a5baeacdf powerpc/pkeys: Fix reading of ibm, processor-storage-keys property
4faeadc4f7b5 powerpc: fix csum_ipv6_magic() on little endian platforms
31d2bff9f696 KVM: PPC: Book3S HV: Fix guest r11 corruption with POWER9 TM workarounds
8379aa480e95 x86/pti: Fix section mismatch warning/error
0f40f4a21a10 clk: x86: Set default parent to 48Mhz
d948acce9a0c i2c: i801: Allow ACPI AML access I/O ports not reserved for SMBus
31b5f66e90b2 arm/arm64: smccc-1.1: Handle function result as parameters
c1baf3699d84 arm/arm64: smccc-1.1: Make return values unsigned long
8ad1f551f802 drm/amdgpu: Need to set moved to true when evict bo
68327465ccdb ARM: dts: omap4-droid4: Fix emmc errors seen on some devices
b32e647a8375 nvme-fcloop: Fix dropped LS's to removed target port
22670e847f7c ata: ftide010: Add a quirk for SQ201
65c96da9c684 drm/amdgpu: Update power state at the end of smu hw_init.
21a73b809735 drm/amdgpu: Enable/disable gfx PG feature in rlc safe mode
4adf34c33950 Revert "ARM: dts: imx7d: Invert legacy PCI irq mapping"
78dabdae8108 hwmon: (adt7475) Make adt7475_read_word() return errors
e41ea7c77cb2 hwmon: (ina2xx) fix sysfs shunt resistor read access
aada57693e81 crypto: cavium/nitrox - fix for command corruption in queue full case with backlog submissions.
19f2fedf4f43 crypto: chtls - fix null dereference chtls_free_uld()
ff53d5051675 i40e: fix condition of WARN_ONCE for stat strings
be97150c4a54 i40e: Fix for Tx timeouts when interface is brought up if DCB is enabled
4ef71783033a ixgbe: fix driver behaviour after issuing VFLR
3e8566205e04 e1000: ensure to free old tx/rx rings in set_ringparam()
f9b0af8f9ad5 e1000: check on netif_running() before calling e1000_up()
1ca43c80d80f ice: Fix potential return of uninitialized value
0753c86efc6c ice: Fix a few null pointer dereference issues
939817cd00d2 tools: bpftool: return from do_event_pipe() on bad arguments
1dec7a1e6a54 ice: Set VLAN flags correctly
1c83a5aa0f26 ice: Use order_base_2 to calculate higher power of 2
1dd0b6ce76ee ice: Fix bugs in control queue processing
9289b179fc4e ice: Clean control queues only when they are initialized
32d99e3e63c7 ice: Report stats for allocated queues via ethtool stats
c0f20df3b1fc ice: Fix multiple static analyser warnings
1801431dc7aa net: hns3: fix page_offset overflow when CONFIG_ARM64_64K_PAGES
374eb417162b net: hns: fix skb->truesize underestimation
2d4a79238686 net: hns: fix length and page_offset overflow when CONFIG_ARM64_64K_PAGES
d96820d46bc3 tcp_bbr: in restart from idle, see if we should exit PROBE_RTT
e5e63d2bb9b2 tcp_bbr: add bbr_check_probe_rtt_done() helper
a66193f585eb net/ncsi: Fixup .dumpit message flags and ID check in Netlink handler
9d028c09d1cf amdgpu: fix multi-process hang issue
8824ceb2580c drm/amdgpu: fix preamble handling
8483f3b7f424 drm/amdgpu: fix VM clearing for the root PD
a5c7547b45b4 bpf: sockmap: write_space events need to be passed to TCP handler
9c3d97879505 tls: possible hang when do_tcp_sendpages hits sndbuf is full case
a0be77d6d940 bpf, sockmap: fix sock hash count in alloc_sock_hash_elem
efed642bc585 bpf, sockmap: fix sock_hash_alloc and reject zero-sized keys
0a9fd2a9875b ARM: dts: omap4-droid4: fix vibrations on Droid 4
f7468a7160e1 bus: ti-sysc: Fix no_console_suspend handling
b8f4b96768c0 mmc: android-goldfish: fix bad logic of sg_copy_{from,to}_buffer conversion
d02aee5cf4ea mmc: atmel-mci: fix bad logic of sg_copy_{from,to}_buffer conversion
1a7a1ad290d4 isofs: reject hardware sector size > 2048 bytes
2da832f43da5 thermal: of-thermal: disable passive polling when thermal zone is disabled
6a3f378b7614 qed: Avoid sending mailbox commands when MFW is not responsive
c36724c64780 qed: Prevent a possible deadlock during driver load and unload
1e85fc417c11 qed: Wait for MCP halt and resume commands to take place
c91ab927a8b7 qed: Wait for ready indication before rereading the shmem
67eb28b0f832 bus: ti-sysc: Fix module register ioremap for larger offsets
3609bd6105c1 ARM: OMAP2+: Fix module address for modules using mpu_rt_idx
1fcd5e01d26e ARM: OMAP2+: Fix null hwmod for ti-sysc debug
4435064439c6 arm64: KVM: Tighten guest core register access from userspace
12a7e915c506 RDMA/uverbs: Atomically flush and mark closed the comp event queue
cbbb9f08566e ACPI / hotplug / PCI: Don't scan for non-hotplug bridges if slot is not bridge
0c7898792c9a IB/hfi1: Fix destroy_qp hang after a link down
b34ba9e02408 IB/hfi1: Fix context recovery when PBC has an UnsupportedVL
bcc5f9f5e11e IB/hfi1: Invalid user input can result in crash
2cced23e5483 IB/hfi1: Fix SL array bounds check
fa22f4874e94 IB/srp: Avoid that sg_reset -d ${srp_device} triggers an infinite loop
ebc51114fa51 Input: elantech - enable middle button of touchpad on ThinkPad P72
f44f3d0a9e9f filesystem-dax: Fix use of zero page
7ebfc8f69a37 ext2, dax: set ext2_dax_aops for dax files
2436ce1bad9e uaccess: Fix is_source param for check_copy_size() in copy_to_iter_mcsafe()
dc38ebde8a52 USB: remove LPM management from usb_driver_claim_interface()
de425c9ae7bf Revert "usb: cdc-wdm: Fix a sleep-in-atomic-context bug in service_outstanding_interrupt()"
8badb9b1af73 USB: usbdevfs: restore warning for nonsensical flags
b5376ef73d33 USB: usbdevfs: sanitize flags more
8e2842a2e175 usb: musb: dsps: do not disable CPPI41 irq in driver teardown
608677656ac2 usb: core: safely deal with the dynamic quirk lists
7b169e33a3bc usb: roles: Take care of driver module reference counting
95b273c4038c USB: handle NULL config in usb_find_alt_setting()
f3a6a40b3793 USB: fix error handling in usb_driver_claim_interface()
2c2860d0e876 regulator: Fix 'do-nothing' value for regulators without suspend state
ad023c0c3613 regulator: fix crash caused by null driver data
bc9f63756ac8 spi: rspi: Fix interrupted DMA transfers
f9ca5597ab70 spi: rspi: Fix invalid SPI use during system suspend
2469b01fa514 spi: sh-msiof: Fix handling of write value for SISTR register
38274415d118 spi: sh-msiof: Fix invalid SPI use during system suspend
a2b928011352 spi: tegra20-slink: explicitly enable/disable clock
825e12a2ed63 intel_th: Fix resource handling for ACPI glue layer
c3b92e93b23a intel_th: Fix device removal logic
98e1a83c338e serial: cpm_uart: return immediately from console poll
e91bf9073b44 serial: mvebu-uart: Fix reporting of effective CSIZE to userspace
5d554763aaac serial: imx: restore handshaking irq for imx1
98ecfdf49ff7 tty: serial: lpuart: avoid leaking struct tty_struct
fdbbdfeeb699 x86/mm: Expand static page table for fixmap space
41a770d90b88 block: fix deadline elevator drain for zoned block devices
0051646c2cc2 floppy: Do not copy a kernel pointer to user memory in FDGETPRM ioctl
acee207b7cc9 gpio: tegra: Fix tegra_gpio_irq_set_type()
dbb2a1e3bb37 perf tests: Fix indexing when invoking subtests
6b07342e2596 drm/vc4: plane: Expand the lower bits by repeating the higher bits
c94ce4bf1aff ARM: dts: dra7: fix DCAN node addresses
e80225d36dca drm/vc4: Add missing formats to vc4_format_mod_supported().
70b914929ad7 iio: 104-quad-8: Fix off-by-one error in register selection
b6b75c81c31a Input: xen-kbdfront - fix multi-touch XenStore node's locations
31a92226a5d5 ath10k: fix memory leak of tpc_stats
5f2391032c06 fs/lock: skip lock owner pid translation in case we are in init_pid_ns
00b438869cbe ath10k: snoc: use correct bus-specific pointer in RX retry
06c21f7423e7 ath10k: fix incorrect size of dma_free_coherent in ath10k_ce_alloc_src_ring_64
10db0e22fb8c staging: pi433: fix race condition in pi433_ioctl
fff64d9fb381 EDAC, altera: Fix an error handling path in altr_s10_sdram_probe()
0855e6e1ac14 EDAC: Fix memleak in module init error path
6e67b33dbe43 nfsd: fix corrupted reply to badly ordered compound
af4b12c54b3b gpio: Fix wrong rounding in gpio-menz127
8463cd689be0 module: exclude SHN_UNDEF symbols from kallsyms api
163ac07ff0b2 ASoC: dapm: Fix potential DAI widget pointer deref when linking DAIs
2edaabf0e58d EDAC, i7core: Fix memleaks and use-after-free on probe and remove
1e4b176959fb ASoC: rsnd: SSI parent cares SWSP bit
8d07efbdf84f ASoC: rt1305: Use ULL suffixes for 64-bit constants
3e28a96b87f6 ASoC: Intel: bytcr_rt5640: Fix Acer Iconia 8 over-current detect threshold
ebce61bb2c86 scsi: megaraid_sas: Update controller info during resume
b38977a36625 spi: orion: fix CS GPIO handling again
d731684c4496 scsi: hisi_sas: Fix the conflict between dev gone and host reset
2f7b94ebaa19 iomap: complete partial direct I/O writes synchronously
939dd916dc25 scsi: bnx2i: add error handling for ioremap_nocache
074e4687846e perf/x86/intel/lbr: Fix incomplete LBR call stack
09468e65ec7d drm/v3d: Take a lock across GPU scheduler job creation and queuing.
dbdef3dff35b arm64: dts: renesas: Fix VSPD registers range
56984081650a MIPS: boot: fix build rule of vmlinux.its.S
d0f7fbdb1cf9 HID: i2c-hid: Use devm to allocate i2c_hid struct
46066a10dd7a HID: hid-ntrig: add error handling for sysfs_create_group
d79cdff57285 arm: dts: mediatek: Add missing cooling device properties for CPUs
65470af8b10d perf/hw_breakpoint: Split attribute parse and commit
7f22023170f7 Documentation/process: fix reST table border error
53b56e401d93 RDMA/uverbs: Don't overwrite NULL pointer with ZERO_SIZE_PTR
1da59841eea9 ARM: mvebu: declare asm symbols as character arrays in pmsu.c
3fc862c26744 drm/omap: gem: Fix mm_list locking
f7867f358bfe wlcore: Add missing PM call for wlcore_cmd_wait_for_event_or_timeout()
13c4f14d8cf2 bitfield: fix *_encode_bits()
1ae0268dc54e brcmsmac: fix wrap around in conversion from constant to s16
af1c6a743c98 rndis_wlan: potential buffer overflow in rndis_wlan_auth_indication()
35ba78548948 mt76x2: fix mrr idx/count estimation in mt76x2_mac_fill_tx_status()
882791abd11d ath10k: transmit queued frames after processing rx packets
9f81b08ad8ea drm/sun4i: Fix releasing node when enumerating enpoints
900812a0d318 net: phy: xgmiitorgmii: Check phy_driver ready before accessing
d0a4b7b3792f drm/sun4i: Enable DW HDMI PHY clock
c247a4bf53b6 ath10k: protect ath10k_htt_rx_ring_free with rx_ring.lock
fcd12823cd57 net: phy: xgmiitorgmii: Check read_status results
6cdfe3ed6c9d ALSA: hda: Add AZX_DCAPS_PM_RUNTIME for AMD Raven Ridge
3dc220c5253e ASoC: qdsp6: qdafe: fix some off by one bugs
49fc6188cdb6 media: tm6000: add error handling for dvb_register_adapter
6c695a374b0b staging: mt7621-dts: Fix remaining pcie warnings
7a887d2a1f91 serial: pxa: Fix an error handling path in 'serial_pxa_probe()'
e8db58e3d80b arm64: dts: renesas: salvator-common: Fix adv7482 decimal unit addresses
e65f712ea936 drivers/tty: add error handling for pcmcia_loop_config
5208cebb4ca3 staging: mt7621-eth: Fix memory leak in mtk_add_mac() error path
6cbaed5c50ac media: ov772x: allow i2c controllers without I2C_FUNC_PROTOCOL_MANGLING
47da213433ae staging: android: ashmem: Fix mmap size validation
20d705e92eb7 media: ov772x: add checks for register read errors
eab10433598a media: omap3isp: zero-initialize the isp cam_xclk{a,b} initial data
870878d2c941 media: soc_camera: ov772x: correct setting of banding filter
39a372355b5a media: s3c-camif: ignore -ENOIOCTLCMD from v4l2_subdev_call for s_power
8086828bed84 ath10k: use locked skb_dequeue for rx completions
11750fe66e26 selftests: forwarding: Tweak tc filters for mirror-to-gretap tests
a4c7557bc547 ALSA: snd-aoa: add of_node_put() in error path
5f6b9cd5c5f2 posix-timers: Sanitize overrun handling
c0d08296a291 posix-timers: Make forward callback return s64
90f955af43fe iio: accel: adxl345: convert address field usage in iio_chan_spec
f1915d5162a9 mtd: rawnand: atmel: add module param to avoid using dma
ff9ac7d9bdda s390/extmem: fix gcc 8 stringop-overflow warning
6143a4525c3e s390/scm_blk: correct numa_node in scm_blk_dev_setup
0c6df6d17ab4 s390/dasd: correct numa_node in dasd_alloc_queue
04937aaaf8c7 alarmtimer: Prevent overflow for relative nanosleep
4add6942e51e s390/sysinfo: add missing #ifdef CONFIG_PROC_FS
ab0fd80d8747 ACPI / button: increment wakeup count only when notified
f2514c04f556 platform/x86: asus-wireless: Fix uninitialized symbol usage
677b34aa38ed powerpc/powernv/ioda2: Reduce upper limit for DMA window size
ee1df10ae020 ath10k: sdio: set skb len for all rx packets
bd9b4e606902 ath10k: sdio: use same endpoint id for all packets in a bundle
420c37a784a7 usb: wusbcore: security: cast sizeof to int for comparison
90c00dd1798d scsi: target: Avoid that EXTENDED COPY commands trigger lock inversion
d08b7218cea0 scsi: ibmvscsi: Improve strings handling
7369c88b59a9 scsi: klist: Make it safe to use klists in atomic context
9d6b653c0509 thermal: i.MX: Allow thermal probe to fail gracefully in case of bad calibration.
92e96ad168ea scsi: target/iscsi: Make iscsit_ta_authentication() respect the output buffer size
6cf7be0267f7 ARM: dts: ls1021a: Add missing cooling device properties for CPUs
f0c6c6ec02a1 x86/entry/64: Add two more instruction suffixes
06f91031931a ARM: hwmod: RTC: Don't assume lock/unlock will be called with irq enabled
11a88b9218e7 x86/tsc: Add missing header to tsc_msr.c
2bffdc28ee60 include/rdma/opa_addr.h: Fix an endianness issue
b40f2ec52bf5 IB/mlx5: Fix GRE flow specification
c26fc717b13b media: staging/imx: fill vb2_v4l2_buffer field entry
0bd77cd5c2da vhost_net: Avoid tx vring kicks during busyloop
af58a41db9cc media: fsl-viu: fix error handling in viu_of_probe()
ec0e373a6214 powerpc/kdump: Handle crashkernel memory reservation failure
4fd56423854c IB/mlx4: Test port number before querying type.
76e2bf1d322a media: exynos4-is: Prevent NULL pointer dereference in __isp_video_try_fmt()
203ae10a4713 IB/core: type promotion bug in rdma_rw_init_one_mr()
16fc25226707 RDMA/bnxt_re: Fix a bunch of off by one bugs in qplib_fp.c
6a4d21a7664b RDMA/i40w: Hold read semaphore while looking after VMA
5ae7031fea6a RDMA/bnxt_re: Fix a couple off by one bugs
be853349a4a9 cxgb4: Fix the condition to check if the card is T5
69b921bdab4b md-cluster: clear another node's suspend_area after the copy is finished
dd5ac3dcb22e drm/amd/display: fix use of uninitialized memory
e21238f1be65 drm/amd/display/dc/dce: Fix multiple potential integer overflows
9fa1c8f4b9b2 power: remove possible deadlock when unregistering power_supply
ff8aa171ef8c s390/mm: correct allocate_pgste proc_handler callback
596ee3e366eb iommu/msm: Don't call iommu_device_{,un}link from atomic context
c4ea4d6928bd 6lowpan: iphc: reset mac_header after decompress to fix panic
d3f86dceb54c USB: serial: kobil_sct: fix modem-status error handling
41086956a32b Bluetooth: Add a new Realtek 8723DE ID 0bda:b009
9032c7d6d57f iommu/amd: make sure TLB to be flushed before IOVA freed
8ae46971d69e power: vexpress: fix corruption in notifier registration
3c8527e5a6e4 uwb: hwa-rc: fix memory leak at probe
cb39b07bf5f9 serial: sh-sci: Stop RX FIFO timer during port shutdown
741b2c3b62cf misc: sram: enable clock before registering regions
919618d23234 power: supply: axp288_charger: Fix initial constant_charge_current value
df09a796560a staging: rts5208: fix missing error check on call to rtsx_write_register
e3deb9b3c252 x86/numa_emulation: Fix emulated-to-physical node mapping
bb2ca3d777d9 net: hns3: Fix get_vector ops in hclgevf_main module
6739fc895c80 net: hns3: Fix warning bug when doing lp selftest
87dbcb1ce9c2 net: hns3: Fix for mac pause not disable in pfc mode
4a659cb2f0fd net: hns3: Fix for mailbox message truncated problem
1bb1252b4e78 siox: don't create a thread without starting it
e83bd606a14e vmci: type promotion bug in qp_host_get_user_memory()
46ba8d1156e7 misc: ibmvmc: Use GFP_ATOMIC under spin lock
1d3de3d5e274 tsl2550: fix lux1_input error in low light
c9bcfbebca40 iio: adc: ina2xx: avoid kthread_stop() with stale task_struct
d08aa810ddd1 crypto: skcipher - Fix -Wstringop-truncation warnings
2f411a0873a9 Linux 4.18.11
e5bd6aca70ef spi: Fix double IDR allocation with DT aliases
4fda8face67c iw_cxgb4: only allow 1 flush on user qps
61b5194808f4 vmw_balloon: include asm/io.h
ac586a2ffe31 sched/fair: Fix vruntime_normalized() for remote non-migration wakeup
ec215095ac28 ext4, dax: set ext4_dax_aops for dax files
e2dd3371bfd1 ext4, dax: add ext4_bmap to ext4_dax_aops
d60e0a56ac37 ext4: show test_dummy_encryption mount option in /proc/mounts
da7a6e25fe8e ext4: don't mark mmp buffer head dirty
705bcb551648 ext4: fix online resizing for bigalloc file systems with a 1k block size
d47e119158ec ext4: fix online resize's handling of a too-small final block group
2d0cd272e096 ext4: recalucate superblock checksum after updating free blocks/inodes
a4cb1bf267a6 ext4: avoid arithemetic overflow that can trigger a BUG
976eeff67a3a ext4: avoid divide by zero fault when deleting corrupted inline directories
fdad4e17dc61 ext4: check to make sure the rename(2)'s destination is not freed
52ef74c21c27 tty: vt_ioctl: fix potential Spectre v1
5a5338e45009 drm/amdgpu: add new polaris pci id
4cd5d680d815 drm: udl: Destroy framebuffer only if it was initialized
934df3d13fc6 drm/vc4: Fix the "no scaling" case on multi-planar YUV formats
21fb862e0e3c drm/nouveau/drm/nouveau: Prevent handling ACPI HPD events too early
99aa61fb35ed drm/nouveau/drm/nouveau: Use pm_runtime_get_noresume() in connector_detect()
9c7443a7aa64 drm/nouveau/drm/nouveau: Fix deadlock with fb_helper with async RPM requests
563f482029d4 drm/nouveau/drm/nouveau: Fix bogus drm_kms_helper_poll_enable() placement
0f756495557c drm/nouveau/drm/nouveau: Don't forget to cancel hpd_work on suspend/unload
86393a7e3315 drm/nouveau: Fix deadlocks in nouveau_connector_detect()
573eeddd4538 drm/nouveau: Remove duplicate poll_enable() in pmops_runtime_suspend()
aed4ca2690c2 drm/nouveau: Only write DP_MSTM_CTRL when needed
04393d257207 drm/nouveau: Reset MST branching unit before enabling
1f4401ece98b drm/i915/bdw: Increase IPS disable timeout to 100ms
1e0be23859b9 ocfs2: fix ocfs2 read block panic
23fe9688228c libata: mask swap internal and hardware tag
f8b35f82a252 Revert "ubifs: xattr: Don't operate on deleted inodes"
94403d71bb9e scsi: target: iscsi: Use bin2hex instead of a re-implementation
8e31c95fe085 scsi: target: iscsi: Use hex2bin instead of a re-implementation
31426b50594c Revert "uapi/linux/keyctl.h: don't use C++ reserved keyword as a struct member name"
bc35488686c3 bpf/verifier: disallow pointer subtraction
909828a2920b Revert "rpmsg: core: add support to power domains for devices"
946f8052f7ee mm: shmem.c: Correctly annotate new inodes for lockdep
4cdb6f01e9e5 mm: disable deferred struct page for 32-bit arches
3299a0eead68 fork: report pid exhaustion correctly
30938d20eb1a crypto: x86/aegis,morus - Do not require OSXSAVE for SSE2
d73ccd8bb732 ring-buffer: Allow for rescheduling when removing pages
6bed4f10277b Revert "PCI: Add ACS quirk for Intel 300 series"
6d8911403d99 spi: fix IDR collision on systems with both fixed and dynamic SPI bus numbers
1318b2c26b78 xen/x86/vpmu: Zero struct pt_regs before calling into sample handling code
b73a161e9bef xen/netfront: don't bug in case of too many frags
5e17a1ecc44b platform/x86: alienware-wmi: Correct a memory leak
8879342a67a4 platform/x86: dell-smbios-wmi: Correct a memory leak
0639ddca2c8c mtd: rawnand: denali: fix a race condition when DMA is kicked
f11b8aad34fa mtd: devices: m25p80: Make sure the buffer passed in op is DMA-able
1501a0f2e14e ALSA: oxfw: fix memory leak of private data
9d07f491db95 ALSA: oxfw: fix memory leak of discovered stream formats at error path
82567fb09846 ALSA: oxfw: fix memory leak for model-dependent data at error path
8e54fc8910f3 ALSA: fireworks: fix memory leak of response buffer at error path
e5301d45d01c ALSA: firewire-tascam: fix memory leak of private data
7c57a806be78 ALSA: firewire-digi00x: fix memory leak of private data
e9355495975d ALSA: fireface: fix memory leak in ff400_switch_fetching_mode()
cedfb9f8a588 ALSA: emu10k1: fix possible info leak to userspace on SNDRV_EMU10K1_IOCTL_INFO
c143935a34a5 ALSA: bebob: use address returned by kmalloc() instead of kernel stack for streaming DMA mapping
28114caeb0ab ALSA: bebob: fix memory leak for M-Audio FW1814 and ProjectMix I/O at error path
30100a475167 ASoC: uapi: fix sound/skl-tplg-interface.h userspace compilation errors
341ff629a2e9 ASoC: rsnd: fixup not to call clk_get/set under non-atomic
9e6a69b06575 ASoC: tas6424: Save last fault register even when clear
df231dbe93eb ASoC: cs4265: fix MMTLR Data switch control
401e975e5950 ASoC: wm9712: fix replace codec to component
58be75ff0878 NFC: Fix the number of pipes
0ad778eeee6d NFC: Fix possible memory corruption when handling SHDLC I-Frame commands
18b8a9c5dab3 net: rtnl_configure_link: fix dev flags changes arg to __dev_notify_flags
1b46979978c0 net: mvpp2: let phylink manage the carrier state
001e4e5537d8 net/ipv6: do not copy dst flags on rt init
1328a5a40fde ipv6: use rt6_info members when dst is set in rt6_fill_node
b5fc7f300cdb bnxt_en: Fix VF mac address regression.
8ac22b327cc2 tls: fix currently broken MSG_PEEK behavior
17eef150f66b socket: fix struct ifreq size in compat ioctl
263baf63bdfb net: dsa: mv88e6xxx: Fix ATU Miss Violation
4188aa049107 hv_netvsc: fix schedule in RCU context
9f2489640a57 net/sched: act_sample: fix NULL dereference in the data path
1708cc7ed059 udp6: add missing checks on edumux packet processing
c0d10c5d5d71 neighbour: confirm neigh entries when ARP packet is received
77971ea816ba tls: clear key material from kernel memory when do_tls_setsockopt_conf fails
13d1bdc70bc2 tls: zero the crypto information from tls_context before freeing
d8e6fc73d2eb tls: don't copy the key out of tls12_crypto_info_aes_gcm_128
6d7a3fd5cfae udp4: fix IP_CMSG_CHECKSUM for connected sockets
a02ff7df6a3b qmi_wwan: set DTR for modems in forced USB2 mode
89721b836972 pppoe: fix reception of frames with no mac header
b411479d5268 net: hp100: fix always-true check for link up state
6a9c934f04e6 net/appletalk: fix minor pointer leak to userspace in SIOCFINDIPDDPRT
6b4d14c57381 ipv6: fix possible use-after-free in ip6_xmit()
288942f4a669 gso_segment: Reset skb->mac_len after modifying network header
183348489d36 Linux 4.18.10
52b732648371 crypto: ccp - add timeout support in the SEV command
d6c9bc664918 mei: bus: type promotion bug in mei_nfc_if_version()
920b0e3c5e24 clk: tegra: bpmp: Don't crash when a clock fails to register
fdf0d6477376 pinctrl: qcom: spmi-gpio: Fix pmic_gpio_config_get() to be compliant
5d10592e292f pinctrl: msm: Fix msm_config_group_get() to be compliant
bbcdd75166d9 blk-mq: avoid to synchronize rcu inside blk_cleanup_queue()
864e90ed4a8f blk-mq: only attempt to merge bio if there is rq in sw queue
83459da8e319 IB/mlx5: fix uaccess beyond "count" in debugfs read/write handlers
53a1ee238c84 block/DAC960.c: fix defined but not used build warnings
dc78a980f995 staging: fsl-dpaa2/eth: Fix DMA mapping direction
8d425fae2cf6 dmaengine: sh: rcar-dmac: avoid to write CHCR.TE to 1 if TCR is set to 0
93b100ddda3b drm/amd/pp: Send khz clock values to DC for smu7/8
0cbb058be904 arm64: perf: Disable PMU while processing counter overflows
b89c077eff7c drm/panel: type promotion bug in s6e8aa0_read_mtp_id()
252cdf1f5db5 ASoC: rt5651: Fix workqueue cancel vs irq free race on remove
6c9e72d66dbf selftest: timers: Tweak raw_skew to SKIP when ADJ_OFFSET/other clock adjustments are in progress
6e36e98ecb0a remoteproc: qcom: q6v5-pil: fix modem hang on SDM845 after axis2 clk unvote
435962f3beaa scsi: lpfc: Fix panic if driver unloaded when port is offline
074263d61eed scsi: lpfc: Fix NVME Target crash in defer rcv logic
84159b84f331 scsi: libfc: fixup 'sleeping function called from invalid context'
f7ee7f7b0618 ALSA: pcm: Fix snd_interval_refine first/last with open min/max
0fce3c91ba68 selftests/android: initialize heap_type to avoid compiling warning
330e11b03099 selftests: vDSO - fix to return KSFT_SKIP when test couldn't be run
04ea31a181d3 rtc: bq4802: add error handling for devm_ioremap
1950f800faa1 drm/amdkfd: Fix error codes in kfd_get_process
4841f051b32c drm/amdkfd: Fix kernel queue 64 bit doorbell offset calculation
b1373b80f9ec input: rohm_bu21023: switch to i2c_lock_bus(..., I2C_LOCK_SEGMENT)
ae8247766d56 mfd: 88pm860x-i2c: switch to i2c_lock_bus(..., I2C_LOCK_SEGMENT)
f40d90dd5567 rcutorture: Use monotonic timestamp for stall detection
7961182ace13 net: mvpp2: make sure we use single queue mode on PPv2.1
466ec0c2ba2d net: gemini: Allow multiple ports to instantiate
382ca1b7ca79 gpiolib: Mark gpio_suffixes array with __maybe_unused
a35951e982eb gpio: pxa: Fix potential NULL dereference
c6bc7c725409 staging: bcm2835-audio: Don't leak workqueue if open fails
28929ceced7d lightnvm: pblk: enable line minor version detection
7785ada57436 lightnvm: pblk: assume that chunks are closed on 1.2 devices
070b164edc30 ASoC: qdsp6: q6afe-dai: fix a range check in of_q6afe_parse_dai_data()
b0442208f62f drm/amd/display: support access ddc for mst branch
67a281a8bee9 tools/testing/nvdimm: Fix support for emulating controller temperature
22df0497e104 f2fs: do checkpoint in kill_sb
6e530bf7d202 coresight: ETM: Add support for Arm Cortex-A73 and Cortex-A35
8da6cd501998 coresight: tpiu: Fix disabling timeouts
d0fb01bb8ed9 coresight: Handle errors in finding input/output ports
b3cf69dd8a2b sched/fair: Fix util_avg of new tasks for asymmetric systems
a9093ae70197 parport: sunbpp: fix error return code
cc55678dd2f8 tls: Fix zerocopy_from_iter iov handling
88b8d17d3ab0 drm/nouveau: tegra: Detach from ARM DMA/IOMMU mapping
e293c3e0e60b drm/nouveau/debugfs: Wake up GPU before doing any reclocking
3c266a692dda drm/nouveau: Fix runtime PM leak in drm_open()
5d421dae2364 mmc: sdhci: do not try to use 3.3V signaling if not supported
566b4caf1143 mmc: tegra: prevent HS200 on Tegra 3
5f366ee1f1ff mmc: sdhci-of-esdhc: set proper dma mask for ls104x chips
442f4d1e9aa6 tty: fix termios input-speed encoding
859a99742a95 tty: fix termios input-speed encoding when using BOTHER
24d7347116ba serial: 8250: of: Correct of_platform_serial_setup() error handling
cc04d14157b8 ASoC: hdmi-codec: fix routing
179dbd5fc4f1 gpu: ipu-v3: csi: pass back mbus_code_to_bus_cfg error codes
b720a10bf407 liquidio: fix hang when re-binding VF host drv after running DPDK VF driver
af62ca55dc1f ARM: hisi: check of_iomap and fix missing of_node_put
c55e49df5371 net: hns3: Fix return value error in hns3_reset_notify_down_enet
7c3197ac7034 ARM: hisi: fix error handling and missing of_node_put
34330aee6948 ARM: hisi: handle of_iomap and fix missing of_node_put
cef4231adf55 net: hns3: Fix for reset_level default assignment probelm
4d23263a5a8e net: hns3: Reset net device with rtnl_lock
ddf5261f9068 efi/esrt: Only call efi_mem_reserve() for boot services memory
c1424ee6462b sched/core: Use smp_mb() in wake_woken_function()
5c4a6af4c694 arm64: dts: mt7622: update a clock property for UART0
5471c19b92f8 pinctrl: rza1: Fix selector use for groups and functions
cb5b08a8ec5f pinctrl: mt7622: Fix probe fail by misuse the selector
b07bfd045c5f configfs: fix registered group removal
e75b2324e385 MIPS: loongson64: cs5536: Fix PCI_OHCI_INT_REG reads
d5d7da805a06 KVM: PPC: Book3S: Fix matching of hardware and emulated TCE tables
7974b0c64934 PM / devfreq: use put_device() instead of kfree()
81ce15b06c0f security: check for kstrdup() failure in lsm_append()
91c26cb2293f KVM: PPC: Book3S HV: Add of_node_put() in success path
6a69ccd2ec68 evm: Don't deadlock if a crypto algorithm is unavailable
f4a6c71481e3 Bluetooth: Use lock_sock_nested in bt_accept_enqueue
b4a9422266f2 spi: dw: fix possible race condition
f90ccc03b438 bpf: fix rcu annotations in compute_effective_progs()
5e1002ab5c9b vfs: fix freeze protection in mnt_want_write_file() for overlayfs
d466b2d4e4e7 mtdchar: fix overflows in adjustment of `count`
babc65c641b1 audit: fix use-after-free in audit_add_watch
a9fb28b40a36 arm64: dts: uniphier: Add missing cooling device properties for CPUs
f48256986e0f net/mlx5: Add missing SET_DRIVER_VERSION command translation
3caf6c73c0b4 binfmt_elf: Respect error return from `regset->active'
6eb8c64e9afd mmc: meson-mx-sdio: fix OF child-node lookup
0c6e2a79715a of: add helper to lookup compatible child node
8bfbd71c1146 NFSv4.1 fix infinite loop on I/O.
a12ad4f33e6f NFSv4: Fix a tracepoint Oops in initiate_file_draining()
afaef9ba4486 x86/EISA: Don't probe EISA bus for Xen PV guests
05a993198ded of: fix phandle cache creation for DTs with no phandles
1f3cb0604f0f perf tools: Fix maps__find_symbol_by_name()
a543f61a2775 perf/core: Force USER_DS when recording user stack data
b205f931b0c0 xtensa: ISS: don't allocate memory in platform_setup
f63dbd23e8a7 cifs: integer overflow in in SMB2_ioctl()
6565bd3e63d3 CIFS: fix wrapping bugs in num_entries()
bf1c05755d45 cifs: prevent integer overflow in nxt_dir_entry()
8c7488864bdf Revert "cdc-acm: implement put_char() and flush_chars()"
c705bfe3c3d6 usb: cdc-wdm: Fix a sleep-in-atomic-context bug in service_outstanding_interrupt()
cb55532b9e64 USB: yurex: Fix buffer over-read in yurex_write()
48f17ac733c6 USB: serial: ti_usb_3410_5052: fix array underflow in completion handler
8a74265c0a05 usb: misc: uss720: Fix two sleep-in-atomic-context bugs
9bf71499046e USB: serial: io_ti: fix array underflow in completion handler
97180428d24b USB: net2280: Fix erroneous synchronization change
bfe24fcf1fb0 usb: gadget: udc: renesas_usb3: fix maxpacket size of ep0
23256d450acc USB: add quirk for WORLDE Controller KS49 or Prodipe MIDI 49C USB controller
c6346e3fbb18 usb: host: u132-hcd: Fix a sleep-in-atomic-context bug in u132_get_frame()
066bfee7ec75 usb: Avoid use-after-free by flushing endpoints early in usb_set_interface()
13b6b8a90cab usb: uas: add support for more quirk flags
cba0cba54741 USB: Add quirk to support DJI CineSSD
59efbbc9a611 dm verity: fix crash on bufio buffer that was allocated with vmalloc
f5f0f2ad7099 mei: bus: need to unlink client before freeing
a1a8326f891c mei: bus: fix hw module get/put balance
93f03d6dcbb6 mei: ignore not found client in the enumeration
4c3af2149535 usb: mtu3: fix error of xhci port id when enable U3 dual role
3f081e53ccd0 usb: xhci: fix interrupt transfer error happened on MTK platforms
3d7a00c4f0aa usb: Don't die twice if PCI xhci host is not responding in resume
87d948fe3a27 xhci: Fix use after free for URB cancellation on a reallocated endpoint
9ed3ad68de71 misc: hmc6352: fix potential Spectre v1
094302a07e89 misc: ibmvsm: Fix wrong assignment of return code
662b1033af66 Tools: hv: Fix a bug in the key delete code
d5995b9a926e vmbus: don't return values for uninitalized channels
4585b79971f7 ovl: fix oopses in ovl_fill_super() failure paths
617afda7f5d9 ipmi: Fix I2C client removal in the SSIF driver
31364b2e1fb1 ipmi: Move BT capabilities detection to the detect call
288bd736c8a0 ipmi: Rework SMI registration failure
53c7bb8b93d0 mmc: omap_hsmmc: fix wakeirq handling on removal
8cddf23b74d6 s390/crypto: Fix return code checking in cbc_paes_crypt()
3e6bba18b8ef IB/ipoib: Avoid a race condition between start_xmit and cm_rep_handler
9c58e39e3736 xen/netfront: fix waiting for xenbus state change
d0028f48b330 pstore: Fix incorrect persistent ram buffer mapping
40a31b8c9b90 RDMA/cma: Protect cma dev list with lock
367c9cb26e65 xen-netfront: fix warn message as irq device name has '/'
08012969004d PCI/AER: Honor "pcie_ports=native" even if HEST sets FIRMWARE_FIRST
12f21ddaf49d x86/mm/pti: Add an overflow check to pti_clone_pmds()
19700e6c1d40 x86/pti: Check the return value of pti_user_pagetable_walk_pmd()
a9edba8f5f3c x86/pti: Check the return value of pti_user_pagetable_walk_p4d()
7763d301d75d crypto: sharah - Unregister correct algorithms for SAHARA 3
4d18bcc6ec97 dmaengine: mv_xor_v2: kill the tasklets upon exit
7c14a171825c iommu/ipmmu-vmsa: IMUCTRn.TTSEL needs a special usage on R-Car Gen3
d655b0e7d1a5 regulator: qcom_spmi: Fix warning Bad of_node_put()
9611efe67019 regulator: qcom_spmi: Use correct regmap when checking for error
4a5dfbca3e03 drm/amd/pp: Set Max clock level to display by default
283ca5fd5b94 i2c: aspeed: Fix initial values of master and slave state
ee4fa1801dfb drivers/base: stop new probing during shutdown
8a1df288fc7d KVM: arm/arm64: Fix vgic init race
77a7d97a4aad platform/x86: toshiba_acpi: Fix defined but not used build warnings
dacc647eb982 s390/qeth: reset layer2 attribute on layer switch
8f93a540b618 s390/qeth: fix race in used-buffer accounting
b72b40d5dacf soc: qcom: smem: Correct check for global partition
ed3ee622cda9 ARM: dts: qcom: msm8974-hammerhead: increase load on l20 for sdhci
3679b8e9af6d arm64: dts: qcom: db410c: Fix Bluetooth LED trigger
9ac72cec7e58 xen-netfront: fix queue name setting
87fe89ddbf57 nfp: avoid buffer leak when FW communication fails
6da3c7c96e0a ALSA: usb-audio: Generic DSD detection for Thesycon-based implementations
78fcf13d0235 efi/arm: preserve early mapping of UEFI memory map longer for BGRT
e505be5d53e0 reset: imx7: Fix always writing bits as 0
cf29c5b3d339 arm64: fix possible spectre-v1 write in ptrace_hbp_set_event()
e635ed205ad8 wan/fsl_ucc_hdlc: use IS_ERR_VALUE() to check return value of qe_muram_alloc
5573ec7a7114 Smack: Fix handling of IPv4 traffic received by PF_INET6 sockets
f5b4d1cce4a2 mac80211: restrict delayed tailroom needed decrement
e19f90c90555 MIPS: jz4740: Bump zload address
4105a80d60c0 ASoC: rt5514: Fix the issue of the delay volume applied
ad60f993f3ec staging: bcm2835-camera: handle wait_for_completion_timeout return properly
3360648a723d staging: bcm2835-camera: fix timeout handling in wait_for_completion_timeout
acd8e75056b8 perf script: Show correct offsets for DWARF-based unwinding
41870d0faa92 powerpc/powernv: opal_put_chars partial write fix
575f58226b31 KVM: arm/arm64: vgic: Fix possible spectre-v1 write in vgic_mmio_write_apr()
3e8433730a7c nvme-rdma: unquiesce queues when deleting the controller
ab79cc228cce nvmet: fix file discard return status
b42c221e6c6f perf powerpc: Fix callchain ip filtering
7871bdd93e26 ARM: exynos: Clear global variable on init error path
01a16afcdd8e omapfb: rename omap2 module to omap2fb.ko
8c448f47bf01 fbdev: Distinguish between interlaced and progressive modes
8fc18a9186d1 video: fbdev: pxafb: clear allocated memory for video modes
0c664f04c204 perf powerpc: Fix callchain ip filtering when return address is in a register
e04ab6fae461 fbdev/via: fix defined but not used warning
4cecf931f72e video: goldfishfb: fix memory leak on driver remove
6619761e5594 perf tools: Fix struct comm_str removal crash
3bc6debeee75 fbdev: omapfb: off by one in omapfb_register_client()
3340ab9770ee perf tests: Fix record+probe_libc_inet_pton.sh to ensure cleanups
a036a42625e5 perf tests: Fix record+probe_libc_inet_pton.sh when event exists
7909633281bf perf tests: Fix record+probe_libc_inet_pton.sh for powerpc64
aee426d18f8b perf tools: Synthesize GROUP_DESC feature in pipe mode
6779c908d67a gfs2: Don't reject a supposedly full bitmap if we have blocks reserved
4d63cecf086c perf test: Fix subtest number when showing results
2bcb521130c6 media: ov5645: Supported external clock is 24MHz
105b0d0e07c5 mtd/maps: fix solutionengine.c printk format warnings
10edff95113a IB/ipoib: Fix error return code in ipoib_dev_init()
b5781a323ac8 block: allow max_discard_segments to be stacked
ded17a42ebf5 IB/rxe: Drop QP0 silently
e41669ba0dcf media: videobuf2-core: check for q->error in vb2_core_qbuf()
b37f1ffead9a MIPS: ath79: fix system restart
11091b725238 dmaengine: pl330: fix irq race with terminate_all
7549795df383 media: tw686x: Fix oops on buffer alloc failure
e8b53e57272c kbuild: do not update config when running install targets
69383cdcb314 kbuild: add .DELETE_ON_ERROR special target
d3847b6449a0 clk: clk-fixed-factor: Clear OF_POPULATED flag in case of failure
825568027a58 clk: core: Potentially free connection id
36c234a7d639 Input: pxrc - fix freeing URB on device teardown
10acffe4e6af clk: mvebu: armada-37xx-periph: Fix wrong return value in get_parent
62d658666e16 clk: imx6sll: fix missing of_node_put()
404280dc8655 clk: imx6ul: fix missing of_node_put()
3ace27266f11 gfs2: Special-case rindex for gfs2_grow
cffab62aa38c iwlwifi: cancel the injective function between hw pointers to tfd entry index
aca7943ece90 nfp: don't fail probe on pci_sriov_set_totalvfs() errors
38c65d4ed86c amd-xgbe: use dma_mapping_error to check map errors
7ac07ffd7a1d xfrm: fix 'passing zero to ERR_PTR()' warning
912e58471dc4 ALSA: usb-audio: Fix multiple definitions in AU0828_DEVICE() macro
e87ce12cce31 ALSA: usb-audio: Add support for Encore mDSD USB DAC
14b41aea20aa ALSA: msnd: Fix the default sample sizes
071929af7183 iommu/io-pgtable-arm: Fix pgtable allocation in selftest
6bd162fc88d2 iommu/io-pgtable-arm-v7s: Abort allocation when table address overflows the PTE
129a7aebd133 iommu/arm-smmu-v3: sync the OVACKFLG to PRIQ consumer register
602b80704322 usb: dwc3: change stream event enable bit back to 13
9739856df45d net/mlx5: Use u16 for Work Queue buffer fragment size
032fcd76b6b1 net/mlx5: Fix possible deadlock from lockdep when adding fte to fg
7da7294ce303 net/mlx5: Fix not releasing read lock when adding flow rules
60486fee29bb tcp: really ignore MSG_ZEROCOPY if no SO_ZEROCOPY
87754d1856ac erspan: return PACKET_REJECT when the appropriate tunnel is not found
a4eae12522a5 erspan: fix error handling for erspan tunnel
17c7263eea85 net/mlx5: Fix debugfs cleanup in the device init/remove flow
645e035edefe net/mlx5: Check for error in mlx5_attach_interface
b800b7ef44b5 net/tls: Set count of SG entries if sk_alloc_sg returns -ENOSPC
c73238573dea net/mlx5: E-Switch, Fix memory leak when creating switchdev mode FDB tables
73da60476f94 tipc: orphan sock in tipc_release()
de83178fddfb rds: fix two RCU related problems
d34b61509c18 net: qca_spi: Fix race condition in spi transfers
9a22310f122b net/mlx5: Fix use-after-free in self-healing flow
da0e36fa0942 be2net: Fix memory leak in be_cmd_get_profile_config()
(From OE-Core rev: d81dd54365838ab63615c241adf3bef207ff8843)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following kernel config cleanups:
2c4eb01d57fd media-radio.cfg: change CONFIG_RADIO_SI470X to m
3d38c0dbb0f4 usb-typec: enable CONFIF_TYPEC
ae6272d621dd iio: rename CONFIG_TSL2x7x to CONFIG_TSL2772
10c18d643dea iio: change CONFIG_AD5686 to CONFIG_AD5686_SPI
f06703a4c55e media-rc: CONFIG_LIRC is now a bool
a8cbad4a0533 media-i2c: remove configs selected by zoran drivers
9c43f6157a44 media-pci-capture: remove zoran configs
(From OE-Core rev: 72e9ad0f24a31693b5f06df6d1e6da23e30e1627)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The latest -stable updates broke 4.14 -rt with some rtmutex
issues. We sync with the rt-stable tree to pickup the fix.
(From OE-Core rev: 8a172a8ac87cc63d6f89ff0f584a75fe7fcd10dd)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There was one missing fixup in the recent -rt referesh of 4.18,
this SRCREV bump picks up the gic changes that were missing.
(From OE-Core rev: b23f6e12b1a0809e0fb89bc7a77350c37beaeffc)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Without this the build fails for armv6t targets due to invalid
assembler instructions in thumb mode.
[YOCTO #12929]
(From OE-Core rev: 801141be68e5c754f2cd1d80d13982f037fc03e5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4.0 adds systemd support but installs the unit files in the wrong location.
Fix this in do_install and inherit systemd to package them correctly.
Also fix ownership of files manually copied in to root:root to avoid QA warnings.
(From OE-Core rev: 74833a612cc383679bb5516e98c7508da47b0767)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upgrade systemtap from 3.3 to 4.0: Removed backported patch.
Very short summary of major changes from SystemTap 4.0
announcement by Frank Ch. Eigler <fche@redhat.com>:
> prometheus exporter network service; ebpf support extensions including
> strings and implementation of traditional log(), sprintf() functions;
> rebuilt rich tapset coverage for 4.17+ syscalls and for
> tracepoint-based syscalls; script language tweaks for supporting
> machine-generated scripts
Fixes [YOCTO #12950]
(From OE-Core rev: d7f828223f3fabdadcff974c1ed6f8f74e438405)
Signed-off-by: Victor Kamensky <kamensky@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Only look in recipes-* folders for patches, to stop finding patches in
e.g. meta/lib/oeqa/manual.
(From OE-Core rev: ed912e10c61ea9d45ca648e03eebafeebcf7e9b0)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This reverts commit aa6def606f which I
posted myself.
The Problem is rtmpdump, not the gstreamer1.0-plugins-bad recipe.
The correct to fix this is to patch rtmpdump to work with OpenSSL 1.1.
(From OE-Core rev: 9b7c1d7ac9b2cbd3744776328386bfb4c90c1afc)
Signed-off-by: Florian Wickert <fw@javox-solutions.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
add -f into postinst OPT to fix run postinst scriptlet fail
problem during do rootfs, while INITSCRIPT_PARAMS set to remove.
+ type update-rc.d
+ '[' -n qemux86_64-poky-linux/core-image-sato/1.0-r0/rootfs ']'
+ OPT='-r qemux86_64-poky-linux/core-image-sato/1.0-r0/rootfs'
+ update-rc.d -r work/qemux86_64-poky-linux/core-image-sato/1.0-r0/rootfs keepalived remove
update-rc.d: work/qemux86_64-poky-linux/core-image-sato/1.0-r0/rootfs/etc/init.d/keepalived exists during rc.d purge (use -f to force)
D: %post(keepalived-1.4.2-r0.core2_64): waitpid(305974) rc 305974 status 100
(From OE-Core rev: 45224526edbe65012a846c066d2b539a360f0c51)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It appends TCLIBCAPPEND to TMPDIR in meta/conf/distro/defaultsetup.conf:
TMPDIR .= "${TCLIBCAPPEND}"
It affects some oe selftest cases in sstatetests.py. Reset TCLIBCAPPEND
for these cases.
(From OE-Core rev: 4549c9dd96be8db69d520f66f4507939df9e9587)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The comment here stated that openssl is dual-licensed, but that would
mean that either of the two licenses could be used which is *not* the
case [1]. However LICENSE = "openssl" *is* correct because in OE that
maps to a generic license file which includes both licenses, which
makes sense because there isn't really any such thing as OpenSSL that
would be covered by the "OpenSSL license" and not the "SSLeay license".
Correct the comment to avoid any confusion.
[1] https://www.openssl.org/source/license.html
(From OE-Core rev: 6c821ce6ecae789320b31ec55c83907d6dd78359)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Mips will return EINVAL instead of ENOMEM as expected
if the range [addr + len) exceeds TASK_SIZE.
Linux kernel code: arch/mips/mm/mmap.c
if (flags & MAP_FIXED) {
/* Even MAP_FIXED mappings must reside within TASK_SIZE */
if (TASK_SIZE - len < addr)
return -EINVAL;
Relax the condition and accept both ENOMEM and EINVAL
as expected outcome.
(From OE-Core rev: ff1d158fb15f7a8bc7bca542baac6f9873a58f68)
Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some tests, like the one that compares the hashes for a list of files
against those stored in a .dat file, don't make sense for downstream
distros packaging perl.
Backport a patch from upstream that allows skipping of these tests at
runtime. Also remove the local patch trying to keep hashes up-to-date
for one of those tests.
Fixes [YOCTO #12787]
(From OE-Core rev: 557f4618b75b8739a647e46054ab587ae2bbdc25)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since commit [9524330 gobject-introspection: fix multilib install
file conflicts] applied in oe-core, while multilib enabled, gir
files will be installed to `${libdir}'.
Refer above commit, modify gobject-introspection.bbclass to
split gir to package correctly.
(From OE-Core rev: e0cc1dc6f1c14babe29a29a7211dc1c69d782b95)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It fails to build multilib image such as lib32-core-image-minimal with
wic by set 'IMAGE_FSTYPES = "wic"':
| ERROR: Couldn't find correct bootimg_dir, exiting
When multilib is enabled, STAGING_DATADIR is expanded with MLPREFIX. But
dependencies of images such as syslinux is still populated to nonarch
STAGING_DATADIR.
Search nonarch STAGING_DATADIR to fix the error.
(From OE-Core rev: dbae9a6f9a1c6cc7d4dd680d7bbda3dfa40f3491)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the name of the last user being part of the group had a name that
was a prefix of the user being added, then perform_groupmems() would
treat it as if the user already existed in the list of users and not
add it.
Reported-by: Peter Henricsson <peter.henricsson@axis.com>
(From OE-Core rev: 3bab0416f20366e75444be9b65fb1369643f103a)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Nothing should be in this package, so remove it entirely to be sure nothing does
end up in there.
(From OE-Core rev: b4ea23adf58d664f3cc5abe6d04b507fc000426e)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We want to allow the main recipe to extend RDEPENDS directly, so don't wipe
RDEPENDS when reading the manifest.
This fixes the missing python-misc dependency from python-modules.
As the wiping was having the good side-effect of removing the PN-dev dependency
on PN (which doesn't exist), clear RDEPENDS_${PN}-dev.
(From OE-Core rev: fe3727af217dce4488f1fc6aab3f66232cf11fea)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The generated key file should try to have bind group so that if
the named daemon is started via '-u bind' option, which is the
default in OE core, we will not get startup failure because of
'permission denied' error.
(From OE-Core rev: fc4c4f40dbcf558a48058d944eef21e588d64aa0)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This does not work and is unsupported so lets compile glibc in ARM mode
always on armv6 SOCs
Fixes [YOCTO #12929]
(From OE-Core rev: de01490695c70ae29b4f2f82aecbffaf5667449e)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Checking the requirements for each volatiles file in the
populate-volatiles script can be very slow when there are a large number
of volatiles files, easily consuming over 80% of the processing time.
These checks don't usually uncover any problems so concatenate all the
volatiles files together and process them as one large file for a "fast
path" option. This ensures that the penalty for checking the
requirements is only incurred once. In the event that checking the
requirements for the unified file fails, fall back to the slow process
of checking each one individually so that the offending one can be
skipped.
The core file is handled separately because it is responsible for
creating the temp directory used by check_requirements and thus must
always run first and without having its requirements checked.
[YOCTO #12949]
(From OE-Core rev: f380fac8a43a75861f3157777b12a317b985a5e1)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some of the tests need perl, so add it to the RDEPENDS.
(From OE-Core rev: 3095fbee4b46e9bb2aa9c7355bdb554331df201c)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Copy the Python 2 run-ptest script to execute the Python 3 test suite.
(From OE-Core rev: d371ff04628bdf7bac66341aeb9a66d145f66416)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
commit c5629268b0f8ae0a425c98337d13e8dc83107e13:
[
python: set PYTHONHOME for nativesdk
This ensures that the nativesdk python functions correctly without needing to
set PYTHONHOME in the sdk environment setup script.
]
it's also needed for python3.
(From OE-Core rev: b0cbd9efc30289bb4838dcaa43beba2c0c372ab2)
Signed-off-by: Cheuk Wing Leung <cwleung@kth.se>
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Python uses AC_RUN_IFELSE to determine the byte order for floats and doubles,
and falls back onto "I don't know" if it can't run code. This results in
crippled floating point numbers in Python, and the regression tests fail.
Instead of running code, take a macro from autoconf-archive which compiles C
with a special double in which has an ASCII representation, and then greps the
binary to identify the format.
This is essentially a backport of the Python 3 patch in oe-core 1781b87.
(From OE-Core rev: 94cea72a23a374eb616d5642977b45172537beac)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As the manifest handling is done differently now, just inherit ptest with the
other inherits.
test_shutil needs unzip so add to RDEPENDS.
Instead of using a patched Makefile, call test.regrtest directly.
(From OE-Core rev: 84f34ad223b1e3f36cab2ac12246eb90efc919bc)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1. The building openssl requires to install perl Text::Template module(>=1.46),
but Text::Template is a non core Perl module, openssl chooses to bundle
Text::Template 1.46 into the source, for convenience.
8ff2af5483
2. While Text::Template < 1.46, the produced build files are gravely faulty.
https://github.com/openssl/openssl/pull/6682
3. If host has installed Text::Template < 1.46 (such as CentOS-7.5 has Text::
Template 1.45). The mismatched old module was used although the right one in
openssl source.
So set PERL5LIB to use deterministic perl Text::Template module bundled
by openssl source and ignore the one of host
(From OE-Core rev: 5e7a75c226d4df0c066f04eaea014b8888c6bed2)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It uses certutil from nss to create a blank certificate. But the
checksum of database file key4.db changes every time:
$ certutil -N -d sql:. --empty-password
$ md5sum *
f9dac2cfcb07cc8ca6db442a9a570906 cert9.db
b892c5ff7c1977d4728240b0cf628377 key4.db
7b9136cb03f07ae62eb213a5239fda71 pkcs11.txt
$ rm *
$ certutil -N -d sql:. --empty-password
$ md5sum *
f9dac2cfcb07cc8ca6db442a9a570906 cert9.db
405d55178e866a115c1aa975fccfa764 key4.db
7b9136cb03f07ae62eb213a5239fda71 pkcs11.txt
Provide pre-created databases with a blank certificate to fix
non-determinism issue. And these database files are from nss qemux86-64
build.
(From OE-Core rev: e64a30f7af87fa960b012ace92c51b88e8abae68)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
unfs3 has an old defect that it can not change the timestamps of a
symlink file because it only uses utime(), which will follow the
symlink. This will not cause an error if the symlink points to an
existent file but can be triggered with rpm workflows.
Making unfs3 support lutimes() addresses this problem.
(From OE-Core rev: 244a5be0eab31310b8717ab6b713c2902def4e0c)
Signed-off-by: Rui Wang <rui.wang@windriver.com>
Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
nativesdk-flex is needed for kernel development inside traidtional
SDK environment, more particularly, `make scripts' under /usr/src/kernel.
So add it to nativesdk-packagegroup-sdk-host.
(From OE-Core rev: 6f8b2a9e03f4e54befe4df0fcfca24e676aef7b5)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We are having the following error when using 'tar' from tar
recipe to decompress .tar.bz2 files.
tar (child): bzip2: Cannot exec: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
The tar package is introduced by these two packagegroups into image.
>From the README file from tar's source codes:
"""
** gzip and bzip2.
GNU tar uses the gzip and bzip2 programs to read and write compressed
archives. If you don't have these programs already, you need to
install them.
"""
So we'd better cluster gzip and bzip2 with tar. These two packagegroups
already get 'gzip', so we also add 'bzip2'.
(From OE-Core rev: ca69d793e4b987bd5202e1359ff82c515ad65a5a)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The current error message is like:
kobject-example.kodoesn't exist
Add a space so that it looks like:
kobject-example.ko doesn't exist
(From OE-Core rev: 30f2cdd0a3ee0874bebd135e35ab591f630e8adc)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This test need to check config.h, so install it
to fix below err msg:
grep: ../lib/config.h: No such file or directory
./test/f_detect_junk/script: line 3: [: : integer expression expected
f_detect_junk: detect non-fs file data: ok
(From OE-Core rev: 53f2ad2ec54fd69d91c2445c4ae20585b836e2ea)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Running wic commands on Debian 10 systems fail in
scripts/lib/wic/engine.py:get_partitions() due to new stderr output captured
when trying to parse the output from /sbin/parted as a non-root user.
The parted command calls the dmidecode utility, which produces this error
as a non-root user:
/sys/firmware/dmi/tables/smbios_entry_point: Permission denied
/dev/mem: Permission denied
scripts/lib/wic/engine.py:get_partitions() calls misc.py:exec_cmd(),
a subprocess wrapper which returns a combined stderr and sdtdout.
These messages to stderr confuse the partition table parser in
get_partitions().
This patch has the partition table parser ignore lines before the expected
"BYT;" header string.
Running wic in Debian 9 does not have this issue.
(From OE-Core rev: d6936301d7598b7a783beaae95109555faf6cc17)
Signed-off-by: Geoff Parker <geoffhp@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Copying files from the read-only /var/lib to tmpfs can be slow and waste
memory. If the kernel supports the overlay file system, use it to mount
a writable tmpfs on top of the read-only /var/lib and avoid the file
copy.
(From OE-Core rev: 370fda1b2e8d5dc011522131bba4106de26bfb19)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since commit d297f7ebf3f6 [fribidi: use Meson instead of autotools]
build failures have been observed with this package. The immediate
issue was related to improperly named #defines per
https://github.com/fribidi/fribidi/commit/46f52d588ab5, however, the
root cause was FRIBIDI_SIZEOF_INT getting a value of "-1".
After searching the meson logs the following was found:
Could not run: /tmp/tmp2fxe6ha1/output.exe (error: [Errno 13] Permission denied)
Checking for size of "int": -1
Which pointed to the real root cause being /tmp mounted with noexec, a
common configuration on Redhat and other distros. This issues has been
raised in the meson community:
https://github.com/mesonbuild/meson/issues/2972 but is yet to be
addressed.
Using the discussion from issue#2972 and the fact that the underlying
code makes use of python 'tempfile' we can simply create a 'tmp'
directory and make use of TMPDIR to avoid this issue.
(From OE-Core rev: 9800daf59d2235bc492d1aeb600e46ad62303510)
Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
without diffutils, diff from busybox will be used, diff of
busybox cause diff result different with expect file under test.
The diff result generated by 2 /usr/bin/diff is different.
change to use diff under diffutils to fix it
(From OE-Core rev: 35baffb28a4598f385a6ab7765427db683146c1b)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The alternative setting for unshare belongs to the util-linux-unshare
package instead of the util-linux package. Fix this problem to avoid
a dead symlink /usr/bin/unshare -> /usr/bin/unshare.util-linux on target.
(From OE-Core rev: 5c4922d5a3bc4a5aaa807d9e65210d0c01c9bdef)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
reboot is provided by busybox too. Add ALTERNATIVE to ensure that there
are no conflicts when both are installed.
(From OE-Core rev: a27a197ad4bb32fa93aa95e685e9e70ffe755811)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
reboot is needed for initramfs where no init manager is set. This
partially reverts:
commit b6fbb3f3d4
Author: Chen Qi <Qi.Chen@windriver.com>
Date: Mon Jul 30 17:41:57 2018 +0800
busybox: move init related configs to init.cfg
Move init related configs to init.cfg.
These config items do not make much sense unless busybox is selected
as the init manager. They should belong to init.cfg.
We would need to set up ALTERNATIVES for reboot in this case.
(From OE-Core rev: 239a4fc1db530f201e1f7069b2045135699a85a7)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Let users know that the installation was successful and that pressing
Enter would lead to a reboot.
(From OE-Core rev: a5993d9afab060d07213c14c0188422c9e258693)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The info->resolvetls might be NULL according to src/prelink.c:
[snip]
/* Dynamic linker does not depend on any other library,
all symbols resolve to themselves with the exception
of SHN_UNDEF symbols which resolve to 0. */
if (info->symtab[r_sym].st_shndx == SHN_UNDEF)
{
info->resolveent = NULL;
info->resolvetls = NULL;
[snip]
So we must check it before use its members, otherwise, there might be
Segmentation fault error.
Fixed:
MACHINE = "qemumips"
IMAGE_INSTALL_append = " qemu"
$ bitbake core-image-minimal
[snip]
| /path/to/qemumips-poky-linux/core-image-minimal/1.0-r0/temp/run.prelink_image.1000: line 111: 1010 Segmentation fault (core dumped)
[snip]
(From OE-Core rev: 7f5d6f6b70cb1eb486d3ff5c029fc3c6202fc826)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The iputils-ping6 was dropped since the 'ping6' command had been merged
into ping command. Backport patch from upstream to let both 'ping6' and
'ping -6' work.
(From OE-Core rev: 7257f209e317db62f92279fc2ff7d6d1e5eddf75)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The .gir files from gobject-introspection are configured to install to
${libdir}/gir-1.0 when multilib is enabled. Update vapigen-wrapper accordingly.
(From OE-Core rev: 78df4225cc12ba59466ae398b3860b207758e652)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix multilib isntall file conflicts for gobject-introspection.
* use multilib_script.bbclass to handle ${bindir}/g-ir-annotation-tool
and ${bindir}/g-ir-scanner
* add configure option to install .gir files to an alternative path and
only set it when multilib is enabled
(From OE-Core rev: efd91da5230ea27f5c554c3fe51d4c009b85705d)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It fails to run g-ir-scanner from package gobject-introspection that
missing python modules 'xml' and 'pickle'. Add them to rdepends.
(From OE-Core rev: fa1bad8d96f7f0b8bf5fd2b85ad10b783ff2d303)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently only the dnf package manager tests are automatically added to the
list of tests to run. Improve the code to handle automatic addition of
the apt and opkg tests too.
(From OE-Core rev: c9169e4d1fa67289d5beb0e1f8fb5c54153c4242)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Building an image takes time and isn't necessary to test taskexp,
we can drop this step.
(From OE-Core rev: 298eb27037172925a83b37541e5955bbf3b7d2fb)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The autobuilder runs bitbake-selftest already so we don't need
to execute this manually.
(From OE-Core rev: f223f49b7e3d3f6ef07915edea1a6233ae9869e2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As part of the solution to replace Testopia, manual test cases
need to be migrated to OEQA. These manual test case json files
will serve two use cases.
Use case#1: as input to the future commandline-based manual test
runner script, where this script will display actions and expected
result information in user friendly text, then it will capture
user input for test result and log, finally it will write test
result and log into existing standardize test result json format
from OEQA framework for automated tests.
Use case#2: QA will open and read these json file manually for
planning manual test execution. Any reader interested in
understanding manual test cases will open and read these files.
(From OE-Core rev: dcaf843878e9adcb3fab025d54cd5d9ceb6c2fce)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
After allarch was disabled in multilib, this test broke. Fix the test to account
for that change.
(From OE-Core rev: 6f692d86c2c6742c67aba93fa24b930af02d8e85)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the opkg/apt tests are run without a package-index they will fail.
Trigger this here for now as a dependency until the code can be improved.
(From OE-Core rev: 7805eec0f522da2d2b6a08c8a07a9243e26c014a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The current qemuall override overwrites other dependencies unintentionally.
Tweak the code to avoid this by appending to the variable.
(From OE-Core rev: fc8df45e6b27dd7a26b7bf88a06ffa831fcf075c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Append '\n' to the non-empty formatted string before return. If you
write it to the (manifest) file, it will ensure file ends with a newline.
Many GNU utilities have problems processing the last line of a file
if it is not '\n' terminated. E.g. if the last line is not terminated
by a newline character, then "read" will read it but return false,
leaving the broken partial line in the read variable(s).
It can also break or adversely affect some text processing tools,
that operate on the file.
(From OE-Core rev: ee4d0c879713ba50dc6cc3300f44647faebee2e0)
Signed-off-by: grygorii tertychnyi <gtertych@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The configuration option is WITH_KDE now, as it supports both KDE4 and KDE5.
(From OE-Core rev: 2a5d1db6643482dd06a456e303c6f6bc88059813)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix out of bounds read on empty string filename for guntar, pax and v7tar
(From OE-Core rev: 459506272b8800604886f6bd3bc32ee09d7bb906)
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fetch the test tar ball to a subdirectory in ${S}. This avoids the
following error after having done `devtool modify libxml2`:
| DEBUG: Executing shell function do_configure
| find: ‘.../build/tmp/work/mips32r2el-nf-poky-linux/libxml2/2.9.4-r0/xmlconf/’: No such file or directory
(From OE-Core rev: d0d55add6cb01252a46d829ade75666920b676fa)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Make the unpack task do nothing if externalsrc is in use. This avoids
the following error after having done `devtool modify lsof`:
ERROR: lsof-4.91-r0 do_unpack: Unpack failure for URL:
'file://.../builds/qemux86-64/tmp/work/core2-64-poky-linux/lsof/4.91-r0/lsof_4.91/lsof_4.91_src.tar'.
Unpack command PATH="..." tar x --no-same-owner -f
.../builds/qemux86-64/tmp/work/core2-64-poky-linux/lsof/4.91-r0/lsof_4.91/lsof_4.91_src.tar
failed with return value 2
(From OE-Core rev: 51f9a0e58d7b996c4589566963a5853ed93814f7)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Make the subdir fetch path for configure.ac relative. This avoids the
following error after having done `devtool modify acl`:
ERROR: acl-2.2.52-r0 do_unpack: Unpack failure for URL:
'file://configure.ac;subdir=.../builds/qemux86-64/workspace/sources/acl'.
subdir argument isn't a subdirectory of unpack root
.../builds/qemux86-64/tmp/work/core2-64-poky-linux/acl/2.2.52-r0
(From OE-Core rev: 8a12bb7349bce29403077e18875563a9b0770838)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The test suite skips several tests if the required locales are not found, so add
them as dependencies of glib-2.0-ptest.
(From OE-Core rev: b9317997bd4527b7873eb4f903cc4890b5b3580f)
(From OE-Core rev: f1c122fdc14624a659f8d4b07e1ff1f21e472e50)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This test suite has hard-coded strings which don't match the new translations in
glibc 2.28, so update the test suite.
(From OE-Core rev: e1fa8611de2df3a1a15ae795c34f32e4e7fdbc79)
(From OE-Core rev: fe3eb823cded89acb123308e56a5c888ffa1409b)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The environment was being cleared before the UI imports occurred which
caused problems for graphical UIs like taskexp. The full environment was
intended to be available to UI clients and it was only meant to be cleared
for the server/cooker, so tweak the code order so this is the case.
This fixes problems reported for taskexp.
[YOCTO #12670]
(Bitbake rev: ac15028391fdcc3fec2dd0e64a4f763ce63e5449)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
They can't be built without opengl in DISTRO_FEATURES.
[snip]
|webkitgtk-2.20.3/Source/WebCore/platform/graphics/OpenGLShims.h:23:10:
fatal error: GL/gl.h: No such file or directory
[snip]
Some sort of GL is needed yes. We indicate that with opengl loosely in OE
The epiphany depends on webkitgtk, add opengl to REQUIRED_DISTRO_FEATURES also.
(From OE-Core rev: 059af47ecd75d6b733ba893e000749bf3d89d413)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Let users to use custom toolchain template files instead of overloading
the whole function.
(From OE-Core rev: d4d5fdadaf2f671559326ab594fb596995846ca4)
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Replace the remaining hardcoded '/lib' in kernel firmware installation
path with ${nonarch_base_libdir}.
(From OE-Core rev: b5d01558cfb5e65ef8f08eef70fa64ea6782dda5)
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
gptfdisk uses a simple Makefile with no automatic detection of
external library support. Use PACKAGECONFIG_CONFARGS and pass
the make targets in EXTRA_OEMAKE.
(From OE-Core rev: 9bed9927ef92f5fbd17aacf3c4bd56bec7bf023e)
Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Make grep quiet for prevent to write information into logs.
(From OE-Core rev: f9f150fa38b188b279b65886cad187b15bae0ce6)
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
linux-yocto-dev has been upreved to v4.19. This patch backports a patch from
upstream to make lttng-modules sync up with linux-yocto-dev and later
linux-yocto, and fix the following do_compile error.
| tmp/work/qemux86_64-poky-linux/lttng-modules/2.10.7-r0/lttng-modules-2.10.7/probes/../probes/lttng-tracepoint-event-impl.h:143:6: error: conflict
ing types for 'trace_sock_exceed_buf_limit'
| void trace_##_name(_proto);
| ^~~~~~
(From OE-Core rev: d06b7fd291076a423a83b9630471baeaef9d4f43)
Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The sigchld handler in runqemu can raise a SystemExit when qemu shuts down.
Rather than backtracing, accept this as a successful test result.
ERROR: runqemu.QemuTest.test_qemu_can_shutdown (subunit.RemotedTestCase)
testtools.testresult.real._StringException: Traceback (most recent call last):
File "/home/pokybuild/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/selftest/cases/runqemu.py", line 183, in test_qemu_can_shutdown
qemu_shutdown_succeeded = self._start_qemu_shutdown_check_if_shutdown_succeeded(qemu, shutdown_timeout)
File "/home/pokybuild/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/selftest/cases/runqemu.py", line 175, in _start_qemu_shutdown_check_if_shutdown_succeeded
time.sleep(1)
File "/home/pokybuild/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/utils/qemurunner.py", line 100, in handleSIGCHLD
raise SystemExit
SystemExit
(From OE-Core rev: 417245923c1c2c35a60d6db29cbe5a78548860d2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The qemu shutdown can race with the signal handler removal leading to
confusing tracebacks on slower/loaded systems.
Remove the signal handler first before shutting down.
(From OE-Core rev: 1b63ce7bb83134f84bf07d1075d5ca0d5466ed3d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Let automake use parallel test harness which ensures that appropriate
environment variables are actually used.
* Copy generated config.h as part of ptest package and define a variable
in tests Makefile to control the name of target that we'd like to
invoke for tests instead of relying on default value.
* configure relies on tools that are not available in release tarballs
resulting in warnings and failed tests. Get the required information
from available files instead.
* Reduces the count of failing tests to 18 from 35. The rest of
tests fail or get skipped mostly because of missing syscalls. Number of
tests getting skipped can probably be reduced further.
Fixes [YOCTO #12948]
(From OE-Core rev: dcd674181f31a12c100f91cf6a1c3f3d52b775a2)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
busybox may also provide a fsfreeze and nsenter implementation,
so use u-a to allow installing them side by side.
If one installs both, busybox and util-linux, one gets the following error
(seen on a populate-sdk run):
| ERROR: Postinstall scriptlets of ['busybox'] have failed. If the intention is to defer them to first boot,
| then please place them into pkg_postinst_ontarget_${PN} ().
| Deferring to first boot via 'exit 1' is no longer supported.
And the coresponding do_populate_sdk extract:
| ...
| update-alternatives: Error: not linking ...sdk/image/usr/local/oecore-x86_64/sysroots/armv7at2hf-neon-angstrom-linux-gnueabi/usr/sbin/fsfreeze
| to /bin/busybox.nosuid /bin/busybox.nosuid since ...sdk/image/usr/local/oecore-x86_64/sysroots/armv7at2hf-neon-angstrom-linux-gnueabi/usr/sbin/fsfreeze
| exists and is not a link
| ...
(From OE-Core rev: 94e3fdff76452d3acde42b164d3ffa6b72540a40)
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
busybox may also provide a partprobe implementation, so use u-a to allow
installing them side by side.
If one installs both, busybox and parted, one gets the following error:
| ERROR: image do_rootfs: Postinstall scriptlets of ['busybox'] have failed. If the intention is to defer them to first boot,
| then please place them into pkg_postinst_ontarget_${PN} ().
| Deferring to first boot via 'exit 1' is no longer supported.
And the coresponding log.do_rootfs extract:
| ...
| update-alternatives: Error: not linking ...image/rootfs/usr/sbin/partprobe to /bin/busybox.nosuid since ...image/rootfs/usr/sbin/partprobe exists and is not a link
| ...
(From OE-Core rev: 99b74d1ff23ef91c84dc81ecf6437ad3bc37fb64)
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Passing --with-mpfr and --with-mpc when compiling the cross compiler
appears to be at best unnecessary, and at worst can cause build failures.
Firstly, the paths passed in gcc-cross-canadian are using the undefined
${layout_exec_prefix}. This results in configure passing
-I${STAGING_DIR_HOST}/include twice to the compiler when it's doing its
test builds. This is mostly pointless since that directory doesn't exist
with the default oe-core configuration - the correct path would be
-I${STAGING_DIR_HOST}/usr/include.
The path for mpfr passed in gcc-cross is correct, but unnecessary since it
is just the sysroot default.
I've gone back through the history, and it seems that these lines (or
similar ones) were originally added way back in
8800d8be25 for GCC 4.1.1 in 2006! I asked[1]
if anyone knew why this was necessary but received no response, so I can
only assume that no-one knows.
I've successfully built for various targets with this patch applied and
observed no problems.
[1] http://lists.openembedded.org/pipermail/openembedded-core/2018-September/155971.html
(From OE-Core rev: 2f9f02d5fda9884ccf9ae22ceb00d59b99036a49)
Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Make sure that we don't create images that have QA problems with their
package files by adding do_package_qa to do_rootfs[recrdeptask].
(From OE-Core rev: 4ee2f87f0c9540c7e2c866dbc9739e21a618bddf)
Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Support explicit use of pigz when compressing the package contents by
setting:
OPKGBUILDCMD = "opkg-build -Z pigz"
(From OE-Core rev: 631e7bb7d02ca9cb9cb66e6b8395b197525cda55)
Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The LICENSES file contains references to source files with other
licenses than GPL/LGPL that stipulate that they shall be mentioned in
any documentation accompanying a product including this library.
License-Update: Add missing LICENSES file
(From OE-Core rev: 67bc0b3babd922c800a03c1370d6d33a75f273c1)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For some reason, the copyright part was left out of the license
information for pcre in LIC_FILES_CHKSUM, preventing it from being
used in, e.g., documentation to satisfy the requirements of the
license.
Also drop pcre/COPYING from LIC_FILES_CHKSUM as it does not really
contain any licensing information, it only refers to a LICENSE file
that does not exist.
License-Update: Include the complete license information for pcre
(From OE-Core rev: 2f5a7e7a04cbdc75d1b9607903889b1fd6c5e1ba)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For some reason, the copyright part was left out of the license
information included in LIC_FILES_CHKSUM, preventing it from being
used in, e.g., documentation to satisfy the requirements of the
license.
License-Update: Include the complete license information
(From OE-Core rev: ec3eb678b15d91a450adf82f38e1c1d6d81fed9b)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For some reason, the copyright part was left out of the license
information included in LIC_FILES_CHKSUM, preventing it from being
used in, e.g., documentation to satisfy the requirements of the
license.
License-Update: Include the complete license information
(From OE-Core rev: 390becd2dcf4fe791ec3715a74e34a46bd457e7a)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For nativesdk, symlinks created by do_install contain ${SDKPATHNATIVE}.
This is a problem with SDKs that include nativesdk-binutils and nativesdk-gcc.
When extracting such an SDK dangling symlinks are created, because
relocate_sdk.py does not adjust symlinks. As a result gcc ends up calling the
host binutils.
Use the os.path.relpath function to obtain shorter relative paths, which do not
contain ${SDKPATHNATIVE}.
(From OE-Core rev: 3d6372aa2d9f752eac0e4943d1bde04f0f1924a0)
Signed-off-by: Achille Fouilleul <achille.fouilleul@gadz.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
gold crashes when linking, so use bfd linker here, another option is to
use --disable-asm but then we loose performance.
(From OE-Core rev: 4015f3279aaced1c5d9ae8a6e666c9fba42558df)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The case of sigwaitinfo related to sigwaitinfo API failed.
glibc commit
8b0e795aaa44 ("Simplify Linux sig{timed}wait{info} implementations")
changed sigwaitinfo to call sigtimedwait, which calls rt_sigtimedwait
syscall directly.
So, an invalid pointer no longer crashes child process and test
reports failure. Fix it by accepting either crash or EFAULT.
(From OE-Core rev: bfd32c0d1c335e9c9cf8340f999e15054917577e)
Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It's likely that the certificate root chain is needed if python3-crypt is
installed, so recommend it.
Also remove the redundant nativesdk-python3-crypt assignment, as the general
form is sufficient when class-extended.
(From OE-Core rev: dd644ee9991e953474d41dbbf713a7e33b4c9141)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Freeze-breaking upgrade for a security bug fix involving cookie URLs, and a
number of static analysis fixes.
Drop CVE-2018-12910.patch as this is merged in 2.62.3.
(From OE-Core rev: a8098782fab87498026a09c06716b631c77c5ad6)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
devtool doesn't like patches without subjects, so add meaningful subjects.
(From OE-Core rev: 3056a2e5d8b7e7285fd9680073a5ab613a4066e4)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These patches are all upstream now, so mark as Backport.
(From OE-Core rev: 9a84114a279000329c2878a35f197a09217cd1fc)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Current run-ptest script prints nothing, when stress tests fail.
Fix it in new implementation, discarding external dependency on sed.
Also leave in place all stress output, just add standard ptest result.
Fixes: 3f0106bf2e41 ("libusb: Add ptest")
(From OE-Core rev: cd05029c78dea48c20f9acb2c5fee56b19193f22)
Signed-off-by: Maksym Kokhan <maksym.kokhan@globallogic.com>
Reviewed-by: Andrii Bordunov <andrii.bordunov@globallogic.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
BB_DONT_CACHE was not set for non-virtual recipes where PN != BPN, such
as quilt-native. Recipes that do not set BBCLASSEXTEND should always
have BB_DONT_CACHE set by externalsrc.
(From OE-Core rev: 4eff427a0ee629a1541a420a9591411648569a97)
Signed-off-by: Ola x Nilsson <olani@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The CMakeLists.txt of piglit uses pkgconfig internally.
This makes sure pkgconfig-native is available in any case.
(From OE-Core rev: ac8f27b441b9e8cee969e06e22759d49e05e1b11)
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Builds include host /usr/include as the wrong wayland variable was used.
The issue only surfaces if CMAKE_SYSROOT is properly set.
(From OE-Core rev: d4b942c97831f6717b34caaaf2402efdffa227ba)
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport two and pick some other in-review patches from Ubuntu to fix
ssl test failures because of OpenSSL 1.1.x changes.
Fixes [YOCTO #12788]
(From OE-Core rev: 4f4bbb936231dd30c3745ef573993f1062937ffd)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch associated with the CVE-2017-8872 report was never merged into
libxml2, but a slightly different patch for the same problem was. Cherry-pick
that as a backport, which also fixes the failing test suite.
(From OE-Core rev: 512869aea6dde1bb2374601f7c4d793ac9edaa42)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some repositories may specify a relative submodule path. If this happens,
it is our responsibility to use the parents URL (ud) and handle any relative
processing ourselves.
(Bitbake rev: fd9893c338df7828b2c01f1d548aa86dfcf7c50a)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The new fetcher did not run 'git submodule update' recursively.
(Bitbake rev: 377ed943357b6d47d41d84edbf971741f44affa9)
Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The new gitsm fetcher assumed that submodules were living directly in
the 'modules' directory, whereas they can be arbitrarily nested inside
subdirectories.
Solve it by first creating the parent of the destination directory for
the symlink and copy steps.
(Bitbake rev: 3dbc84e9c572f43209b79f3656d7dc35a6d982ba)
Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When creating custom image recipes, the layer add for new layers
needs missing xhrLayerUrl data. Also, code is needed to check
and inform user if the newly added layer has not been cloned yet,
and provide helpful error message instead of the current frozen
dialog.
[YOCTO #12887]
(Bitbake rev: b310031972a53d0881a87a627f07bdcf7d9c6b79)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Toaster users behind firewalls that block "git" access usually
require developers to add remap rules in their "~/.gitconfig"
to remap GIT accesses to HTTP* access. However, there is a
"git remote" test in Toaster that is not aware of such remaps,
resulting in a false error.
For now, disable this nice-to-have check to support this release,
and re-enable when we can add remapping accommodations for this
test.
[YOCTO #12944]
(Bitbake rev: abccd40536b366a418802c5ba8427454c2e3bb2c)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The method 'store_log_event' in 'buildinfohelper.py' always puts log
messages from CLI builds into the backlog but never takes them out.
The "close" method now forces all backlogged CLI events to be registered.
[YOCTO #12813]
(Bitbake rev: 6458cc4234337f551dfe189b6f8800d8da886c24)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The shallow_tarball check is never true due a check on the caller side.
The tarball check is not related to the code on the caller side.
(Bitbake rev: 086eddcf8c7520ff5c52ce2a11ca9bf5b5fe5d7e)
Signed-off-by: Urs Fässler <urs.fassler@bbv.ch>
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To improve the readability we extract the different scenarios of why
the clonedir needs an update.
(Bitbake rev: 9038e029f4f0ab413727de76c74248cbb3cdc9ea)
Signed-off-by: Urs Fässler <urs.fassler@bbv.ch>
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #12924]
Naming convention does not apply to the second recipe-creation
method described in this class. I have moved the note about that
to be under the applicable method (i.e. the first bullet).
Fixed the syntax reversal of the sample name in the example.
(From yocto-docs rev: f7f1a89043156527fa4b426c0322ad225a9f2ff1)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The bullet item describing what the LAYERSERIES_COMPAT variable was
written poorly (ending in a preposition). I fixed the sentence to
read more clearly.
(From yocto-docs rev: 35d09727ab527df7d54ac1316c8e825f586ebc9a)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added the "debug-with-srcpkg" option for the PACKAGE_DEBUG_SPLIT_STYLE
variable.
(From yocto-docs rev: 05c51e53059bf7c999a448402d60d0b16d62341b)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Created a new section to show how to handle dependencies when
you are doing a multiple configuration build. Put it in the
"Examples" section.
(Bitbake rev: fa42212a6cb7b64add4d6ca0f723a95c908c6b87)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The BBMULTICONFIG variable is a variable used for BitBake and was
not documented in the BitBake Manual glossary. I added the
definition. I also added the variable to the example in the section
describing how to execute builds for multiple configurations.
(Bitbake rev: 836f994ec530ba82c935cb41e006d1f128885dc2)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Created a new example. Also added a figure for the separate
configuration file hierarchy
(Bitbake rev: f2d432674b187685591f60cec3b2980b377c63fe)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove usage of a specific amount of memory and let it be controlled by
users. This was the default behaviour before it was changed by commit
3b79d9a78 that switched the wks file to be used for qemux86.
Also fixes the bitbake parsing issues seen because of memory starvation
using build appliance images.
Fixes [YOCTO #12894]
(From OE-Core rev: 18d6b668c52dc881cff7b107420e0de527eecce4)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
GitLab returns a redirect from /foo to /foo.git which older releases of Git
don't handle when cloning. These tests don't clone so the redirect works, but
let's be consistant with the structure of these URLs and add the .git suffix.
(Bitbake rev: d47febbae4ff24be259037f12bafbc14b9e2d6a8)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add os-release to NON_MULTILIB_RECIPES in multilib.conf that do not do
multilib expand for os-release.
(From OE-Core rev: 361382ca16c276e1e404eab58c0956a2b6d23d7e)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The first line of output of '$CC --version' is written to check_stdint.h
as a comment line. It causes multilib install file conflict.
Do not echo compiler version info to check_stdint.h to fix the issue.
(From OE-Core rev: f9db6ac8044495f9299fb0e962d3d6838bbce08f)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The first line of config file man_db.conf is the package name. It causes
multilib install file conflict. So add a patch to remove the line.
(From OE-Core rev: d138b1ec4aef88a3b0c4f1d698ed2a224c93b889)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A comment line of conf file cups-files.conf refers to var @CUPS_SERVERBIN@
is ${libdir} related and then it causes multilib install file conflict.
Remove @CUPS_SERVERBIN@ from the comment line to avoid the conflict.
(From OE-Core rev: ac4df3f83fccfa7dd75d6a913b7ab75e49a7b986)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When execute in multiple layers like meta-openembedded the execution is
aborted when some sublayer fails to get world signatures, so mark it as
an error and continue the execution in the remaining sublayers.
(From OE-Core rev: c8ab558b4fdc77ab54fbb130078c78d43740b4b8)
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Musl started blocking dlopen of libs with initial-exec references into
dynamic TLS area, via
5c2f46a214
prior to that commit, musl was loading it and silently letting
subsequent TLS accesses via the miscompiled code clobber memory that
didn't belong to them
This was wrong behavior and it relied on additional space reserved by
libc in TLS space to adjust fo such broken libs, but it also fails
with glibc if the reserved space was already used up
Right fix is that mesa should be patched to remove all the
initial-exec hacks and use real TLS, and -mtls-dialect=gnu2 (TLSDESC)
should be used on archs it's supported on (i386, x86_64, and aarch64)
to make up for the lost performance, but mesa hardcodes the initial-exec,
so there must be a reason that probably is better known to mesa devs.
but we 'fixed' it for musl by adding --disable-glx-tls for mesa in OE,
which uses pthread_getspecific instead and makes is lot slower.
this caused additional problems with security flags on, it get textrels
in .text segment. Therefore this is 'second fix' to get us through this
warning.
Cause is some unknown part of mesa's x86 assembly code is broken by
readonly text segments
[ YOCTO #12918 ]
(From OE-Core rev: 27c25de38aacc98fe376422bbbee417b2b45a98e)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Don't use the 'ptest' DISTRO_FEATURE because whilst that can be on,
PTEST_ENABLED could have been overwritten.
(From OE-Core rev: 57e41b6178bf1d88a901cda862e3e054148e86ac)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
By explicitly disabling debugging we get *no* safety checks: the GLib asserts
and checks are all disabled. This is fine for absolute performance but
something that should be opt-in.
This also breaks the test suite, which relies upon the asserts to work.
(From OE-Core rev: 191f7e2b2fe09ff3276efb68ca91c853291d41f8)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The upstreamable include-tweaking patches contained fragments that should be in
the not-upstreamable musl-specific res_ninit replacement, so move them to the
right patch.
(From OE-Core rev: 18fd5bc97e6b061eec4be0738f20fcbace6bdafe)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently the dnf command inside SDK does not work. We will
get error message like below:
ImportError: No module named 'dnf'
So remove it from nativesdk-packagegroup-sdk-host, otherwise,
users will get unpleasant experience if they are working inside
SDK environment on some distros like Fedora.
(From OE-Core rev: a7005a4fc5f29db796b1d258b7c259b9433848ce)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The case in ptest use `nm -Pg libcrypto.so' to check symbol presence,
if library is stripped or debug split, the case will fail.
The test case needs debug symbols then we just disable that test.
(From OE-Core rev: 28d3a4cb1ffb508018faebf088eabfd14bcf3113)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bison is needed when building kernel. Add it to nativesdk-packagegroup-sdk-host
and set BISON_PKGDATADIR for bison to use its components.
(From OE-Core rev: 8aa27e4eb2f08281329ca1a1da421c6fc376bc8d)
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>
Backport fix from gitlab.com/libtiff/libtiff.
nvd.nist.gov does not yet reference this patch.
(From OE-Core rev: f72c8af3f2c1ec9e4d9ffcf0cc6e7fdf572b21b9)
Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently for non-IA platforms, glibc is not reproducible as host system
paths are being injected into target binaries. These spread through
all target binaries on the system which link to the libc.
Add a patch which injects .file directives into the assembly pieces
and works around this issue until a better solution can be found.
(From OE-Core rev: 4d6fd8178da75f9a1870db290bbe24de5af752c9)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Include cmake as part of build tree toolchain so that it is populated
into meta-ide-support's recipe-sysroot-native which is prepended to
$PATH, this ensures cmake-native is picked up first before host cmake.
(From OE-Core rev: 0b51e0b2ac6f3cc95af4061253dc76a91df91349)
Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* drop one patch already applied in upstream
* this is still only partial fix for issues with -O0 and the bigger
issue might be detected in runtime as described in:
https://sourceware.org/glibc/wiki/FAQ#Why_do_I_get:.60.23error_.22glibc_cannot_be_compiled_without_optimization.22.27.2C_when_trying_to_compile_GNU_libc_with_GNU_CC.3Fhttps://sourceware.org/bugzilla/show_bug.cgi?id=19444
and tested in glibc build:
https://sourceware.org/git/?p=glibc.git;a=blob;f=include/libc-symbols.h;h=8b9273c13a19f2658105c7997267d9086adae716;hb=HEAD#l74
* restore the anonymous python to trigger fatal error when -O0 is
used (but don't restore the notes for -O, -O1, -Os
* git log --oneline 3c03baca37fdcb52c3881e653ca392bba7a99c2b..044c96f0d5595aeb0bb4e79355081c5a7f4faca5 | tee
044c96f0d5 Fix misreported errno on preadv2/pwritev2 (BZ#23579)
3a67c72c15 Fix stack overflow in tst-setcontext9 (bug 23717)
2339d6a55e i386: Use ENTRY and END in start.S [BZ #23606]
0ef2f4400c Fix strstr bug with huge needles (bug 23637)
a55e109709 Fix tst-setcontext9 for optimized small stacks.
307d04334d misc: New test misc/tst-gethostid
e7d22db29c Linux gethostid: Check for NULL value from gethostbyname_r [BZ #23679]
1fe2b9ca8a Fix segfault in maybe_script_execute.
0b79004569 regex: Add test tst-regcomp-truncated [BZ #23578]
58559f1443 regex: fix uninitialized memory access
aa8a3e4cde pthread_cond_broadcast: Fix waiters-after-spinning case [BZ #23538]
c87b5bab24 Improve ChangeLog message.
66fdfd57fe Regen RISC-V rvd ULPs
b0aa03dfff RISC-V: Fix rounding save/restore bug.
2f498f3d14 nss_files: Fix file stream leak in aliases lookup [BZ #23521]
bfcfa22589 nscd: Deallocate existing user names in file parser
d05b05d157 error, error_at_line: Add missing va_end calls
4b25485f03 Linux: Rewrite __old_getdents64 [BZ #23497]
726e1554ce hurd: Avoid PLTs for __pthread_get/setspecific
7f11842e74 hurd: Add missing symbols for proper libc_get/setspecific
* update 0031-sysdeps-ieee754-prevent-maybe-uninitialized-errors-w.patch
based on review comments in upstream and extend it to cover PPC based
on:
http://lists.openembedded.org/pipermail/openembedded-core/2018-September/156258.html
* update 0032-sysdeps-ieee754-soft-fp-ignore-maybe-uninitialized-w.patch
based on review comments in upstream
* add 0033-locale-prevent-maybe-uninitialized-errors-with-Os-BZ.patch
with a fix for aarch64 build with -Os
* build tested with qemuarm, qemuarm64, qemux86, qemux86-64, qemuppc,
qemumips, qemumips64 with -O, -O1, -Os.
(From OE-Core rev: f1f38df91975f9b53933c2d2fbdca291d1872d5f)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When in configured mode the archive will re-run configure itself, but that
doesn't work if there are other tasks that need to run such as cmake's
generate_toolchain_file.
Instead of hard-coding a list of classes and tasks, obtain the list of tasks
preceeding do_configure, filter out ones we don't want to re-run such as
do_patch and do_prepare_recipe_sysroot, and run those too.
(From OE-Core rev: fe26382f94d8cb7d2453d9937aee451b757252b8)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some recipes don't have do_configure, or have them but are marked as noexec.
Check for their existance before hooking up dependencies.
[ YOCTO #12868 ]
(From OE-Core rev: 5c8aa1f41f04519a8ba3997c0d8e3a71fe270fae)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It doesn't make much sense to expand them to multilib, and there is an error on
qemuarm64 since grub-efi supports arm64, but doesn't support armv7a or armv7ve:
* Fixed:
MACHINE = "qemuarm64"
require conf/multilib.conf
MULTILIBS = "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32 = "armv7a"
MACHINE_FEATURES_append = " efi"
$ bitbake lib32-core-image-minimal
Also introduced a variable NON_MULTILIB_RECIPES in multilib.conf, so that we
can easily add other recipes, such as syslinux if needed.
(From OE-Core rev: 25f7c6c329038b443d36074fff45a30ba3712f7a)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Explicitly disable sndio to avoid inconsistent result on different
hosts having or not having libsndio.
This must be done if we take into consideration of eSDK.
I built eSDK on Ubuntu 14.04 which has libsndio installed, and then
installed the eSDK on Fedora 27, which does not have libsndio. In
fact, on Fedora 27, I even cannot find libsndio in its repo.
The problem happens when trying to use `devtool runqemu'. The qemu
binary built on Ubuntu 14.04 needs to link to libsndio, and thus
the following error.
runqemu - ERROR - Failed to run qemu: /path/to/qemu-system-x86_64:
error while loading shared libraries: libsndio.so.6.1:
cannot open shared object file: No such file or directory
So explicitly disable sndio for libsdl2 to avoid the above problem.
(From OE-Core rev: 72c37b06b034e97e7dd7e1a20fb0ff5f96088440)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
lib32-packagegroup-anaconda-support have RDEPENDS to kernel-image,
but kernel-image don't have lib32, so skip it.
ERROR: QA Issue: lib32-packagegroup-anaconda-support package
lib32-packagegroup-anaconda-support - suspicious values 'kernel-image'
in RDEPENDS [multilib]
(From OE-Core rev: 24b8c61bf7dd13f7f371d3a910947a1fac062c6b)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It adds ${libdir} to linker options in scripts bind9-config and
isc-config.sh. And then causes install file conflicts when install bind
andl ib32-bind both.
Inherit multilib_script.bbclass to fix this issue.
(From OE-Core rev: d3baeaf09d5d3e7548e5b2ea1b565880ea6ce994)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Perl scripts ${bindir}/{gpinyin, groffer, grog} are ${libdir} related
and cause multilib install file conflicts:
| Error: Transaction check error:
| file /usr/bin/gpinyin conflicts between attempted installs of groff-1.22.3-r0.core2_64 and lib32-groff-1.22.3-r0.x86
| file /usr/bin/groffer conflicts between attempted installs of groff-1.22.3-r0.core2_64 and lib32-groff-1.22.3-r0.x86
| file /usr/bin/grog conflicts between attempted installs of groff-1.22.3-r0.core2_64 and lib32-groff-1.22.3-r0.x86
Inherit multilib_script.bbclass to fix the errors.
(From OE-Core rev: df90cb1f4ee8918b0bc2a281b2d77444a0d037e7)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The module was accidentally included in python-misc.
Also re-run create_manifest to update the dependencies of python-sqlite3,
causing some whitespace changes.
[ YOCTO #12933 ]
(From OE-Core rev: 9c2b1a0bfc8783052b5dda344cc334b9c13736f5)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We manually maintain the tests package's content and dependencies, so mark is as
special (matching create_manifest3.py).
(From OE-Core rev: b4bd4e7e26bb79223129abb9fb6e22e9045e3707)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
sqlite3/__init__.py was accidentally included in python3-misc.
(From OE-Core rev: 4e397e16996662bce51608cf5e20448b9803c476)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Other recipes, such as meta-networking inetutils may also provide a man page
for syslogd.8. Use the alternatives mechanism to select the man page to
display.
This is a partial revert of commit: 988aad01b20c18a8850db0ad6dc547525d94116c
The syslogd tool itself is provided by both recipes in their respective runtime
packages. In the inet case, it is inetutils-syslogd, which has an appropriate
RCONFLICTS with the syslogd version. Only one or the other will be installed.
This is the conflict resolution the original commit of
"988aad01b20c18a8850db0ad6dc547525d94116c" was referring to.
HOWEVER, both syslogd and inetutils each only have a singular 'doc' package.
(As do most packages it seems.) Since this is the case, if both syslogd and
inetutils (not syslogd part) is requested for a configuration -- AND ---
doc-pkgs are configured in, you get an error of conflicting files.
Now does the documentation match whichever package was installed, maybe not...
but this isn't a big deal as it turns out, since most syslogd share a common set
of arguments and those are the things a run-time user would query from the man
pages.
The only alternative is to start spliting up the docs into their relevant
subpackages, as we have the runtime items. But this then complicates the
doc-pkgs processing and related...
(From OE-Core rev: 55ba9dc1f8698e23d6f59937c1494a91057b165d)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Prepare for release and drop sumo for the compatible list of layer names.
This will mean other layers need updating to continue to indicate compatibility
with master but that is intentional at this part of the release cycle, we want
layers to indicate compatibility and show they're up to date.
(From OE-Core rev: 9ec5a8a0f86510f7aae572dfb79e8bda73d4e0fc)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In case the baselib is lib64 we would want to delete /usr/lib
after removing the /usr/lib/locale dir and the implementation
wanted to do that earlier as well but the fault was checking
an already removed dir (/usr/lib/locale) before trying to
remove /usr/lib as that check would always fail.
Now we simply try to delete /usr/lib after deleting
/usr/lib/locale to make sure it deletes cleanly and is empty
at the time of deletion.
(From OE-Core rev: 4dad1568f8f84ec9de4bf7235822f77a8ee6a413)
Signed-off-by: Awais Belal <awais_belal@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Apply point release patches from upstream which includes a fix for
indefinitely spinning process and a zombie by a simple $() statement
in a long running script.
(From OE-Core rev: eb39670fb2fe9735a1a0434c63b64ec66599f850)
Signed-off-by: Jeroen Hofstee <jhofstee@victronenergy.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For now, the RECIPE_SYSROOT of nativesdk recipes is ${WORKDIR}/recipe-sysroot
if multilib is disabled and ${WORKDIR}/nativesdk-recipe-sysroot if multilib
is enabled. And it's causing chaos. Problems I've met include:
1) 'File Exists' error when doing extend_recipe_sysroot
2) Rebuilding failure about cmake based nativesdk recipes if toggling multilib
In nativesdk.bbclass, We've set MULTILIBS to be "", and we've changed MLPREFIX
to be 'nativesdk-', I think we should also set consistent RECIPE_SYSROOT to be
${WORKDIR}/recipe-sysroot.
Below is an example showing why previous settings will cause do_prepare_recipe_sysroot
failure.
e.g.
A -> C
B -> C
A's RECIPE_SYSROOT is .../recipe-sysroot and B's RECIPE_SYSROOT is
.../nativesdk-recipe-sysroot.
As extend_recipe_sysroot function uses shared manifest, i.e., the same
manifest of C for both A and B, then there must be one of them having
the wrong manifest. And the wrong manifest results in RECIPE_SYSROOT
not cleaned up before installing new components, thus the following error.
Exception: FileExistsError: [Errno 17] File exists: xxx -> xxx
This happens when toggling multilib and also between nativesdk recipes and
crosssdk, cross-canadian recipes. The latter situation also explains
why choosing ${WORKDIR}/recipe-sysroot instead of ${WORKDIR}/nativesdk-recipe-sysroot.
If we use 'nativesdk-recipe-sysroot', we still need to modify the extend_recipe_sysroot
function to treat crosssdk and cross-canadian as special cases. Using
'recipe-sysroot' does not have this problem.
(From OE-Core rev: 665934a506cc560bfbc469f5ed095e7d54e353a5)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Even if the do_populate_sysroot have had set-up noexec flag, populate_sdk's
tasks were trying to find .populate_sysroot manifest file. Change noexec
flag settings to delete appreciated task.
WARNING: core-image-minimal-1.0-r0 do_sdk_depends: Manifest
build/tmp/sstate-control/manifest-x86_64_x86_64-nativesdk-kernel-devsrc.populate_sysroot
not found in qemuarm armv5te armv5e armv5t armv5 armv4t armv4 arm allarch x86_64_x86_64-nativesdk (variant '')?
WARNING: core-image-minimal-1.0-r0 do_populate_sdk_ext: Manifest
build/tmp/sstate-control/manifest-x86_64_x86_64-nativesdk-kernel-devsrc.populate_sysroot
not found in qemuarm armv5te armv5e armv5t armv5 armv4t armv4 arm allarch x86_64_x86_64-nativesdk (variant '')?
(From OE-Core rev: fd74848c3c06901a77057ca03f7c01aff08ee34a)
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Below commit has added the unshare to alternatives but did not fix the
packaging of the changed file.
,----[ Offending commit ]
| commit 147da8fe7458a38598845958cb358bb094eba57b
| Author: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
| Date: Thu Jul 5 11:57:19 2018 +0300
|
| util-linux.inc: add fallocate & unshare to alternatives
|
| These binaries can be provided by busybox triggering a conflict in
| do_rootfs so update-alternatives needs to know about them to properly
| create the symlinks.
|
| Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
| Signed-off-by: Ross Burton <ross.burton@intel.com>
`----
(From OE-Core rev: a68f1cacb560632382f8f8ff0c7e03e39a891b29)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The prior fetcher did not know how to work with MIRRORS, and did not
honor BB_NO_NETWORK and similar.
The new fetcher approach recursively calls 'gitsm' download on each
submodule detected. This ensures that it will go throug the
standard download process.
Each downloaded submodule is then 'attached' to the original download in
the 'modules' directory. This mimics the behavior of:
git submodule init
but there is no chance it will contact the network without permission.
It then corrects upstream reference URIs.
The unpack steps simply copies the items from the downloads to the destdir.
Once copied the submodules are connected and we then run:
git submodule update
According to the git documentation, git submodule init can and will modify
the project configuration and may connect to the network. Doing the
work manually prevents this. (This manual process is allowed based
on my reading of the documentation.)
See: https://git-scm.com/book/en/v2/Git-Tools-Submodules
The small change to the existing test is due to this new code always assuming
the code is from a remote system, and not a 'local' repository. If this
assumption proves to be incorrect -- code will need to be added to deal
with local repositories without an upstream URI.
(Bitbake rev: 9c6b39adf9781fa6745f48913a97c859fa37eb5b)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Change the way the network related tests are skipped, based on how the
fetch tests are handled. We introduce a 'skipIfNoNetwork()' function that
will report skipped tests through the standard unit test reporting system.
[YOCTO #12928]
(Bitbake rev: 7d5af23d560b38fb5558d4ac51c3c9611d6d904f)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The test case was changing the current directory, but was never restoring it
to the original location. This causes occasional failures in later test cases.
(Bitbake rev: 8c222c45148d1f21c2390d66ddd9d3e33b397f05)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The test case needs to access test case files. Different versions of python
may return absolute or relative locations in __file__. Use the same approach
as other test cases in determining the location of the test files.
(Bitbake rev: 80fe44889a858bddaca230c2d49ccabfcbc236a3)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When cross-compiling for arm architecture, bjam fails to properly
detect the abi, which causes a failed conditional to omit the
assembly code that supports the platform.
(From OE-Core rev: 920f2c479c3cf30d92f79dc9098e5915c05cc5e1)
Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bump to the latest stable kernel for 4.14 and 4.18.
(From meta-yocto rev: f7d36129adfeb0d0d5fe26675e2668c49573a32d)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A nasty corner case leads to a hang when utils.lockfile is called from
oe-core's package-manager:deploy_dir_lock (in turn called from
rootfs:_create further up the call stack) with "name" owned by root
and the user running bitbake has no write access.
Because this code runs under pseudo, the UID and EUID of the bitbake
worker process are 0, so the os.access(dirname, os.W_OK) returns True
i.e. it thinks the path is writable when in fact it's not writable.
Only later when trying to open the file an Exception it thrown because
the OS prohibits writing, but the Exception is ignored and the open is
retried leading to an infinite loop.
So this fix is to not ignore the "Permission Denied" exception.
An alternative fix would be to replace the os.access() call with an
try: open() except() at the beginning of the function.
(Bitbake rev: 0cb64d0f85b41b2fa764baf6ff7ea1b13f95004e)
Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When the source packages are created, they need to be included in the
debug image created when IMAGE_GEN_DEBUGFS = "1" for it to be usable for
debugging.
[YOCTO #12930]
(From OE-Core rev: 5fc7fbc10bbd3a54df16db275ecd6080bc58f19e)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a function siteinfo_data_for_machine to look up the data for any arch/os
pair, not just HOST_ARCH-HOST_OS.
(From OE-Core rev: 7429ed8d2a6e48cb3415113ef62348ae211aa189)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These two patches are only relevant for builds inside OpenEmbedded, so make them
native-specific.
(From OE-Core rev: 63c89efde45b4aef873e2086b201cad538e42044)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove the previous attempt at this from
0001-gtkdoc-fix-issues-that-arise-when-cross-compiling.patch as it wasn't quite
right, and the rest of the patch is adding the currently not upstreamable runner
option.
Add two new patches to fix both gobject-introspection and gtk-doc using native
flags for target compiles.
(From OE-Core rev: bf41247f52ffd40d91d94d1fc983f8a831b80e48)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With the goal of autoconf-compatibility Meson respects $CFLAGS et al in builds.
In cross-compiled build the cross file is the one true source of flags and the
environment isn't used, but in a native build the environment will still be
respected.
As this can lead to target flags being used in the build for native binaries
(including a single native binary inside a target recipe), export
CFLAGS=${BUILD_CFLAGS) et al.
(From OE-Core rev: 4ca0002860dca771836c0ce1c7a92b79a5f2db3f)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Meson doesn't care for the value of the endian field, but packages may want to
use it and Meson master now validates the value.
Use siteinfo to obtain the endianism and write the correct value.
(From OE-Core rev: 2f9adf05efdddf8dae9c58976ae56cf32d9e57f0)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of one patch to change a warning into an exception and another to change
the message, squash the patches together as neither of the are acceptable
upstream.
(From OE-Core rev: d9e5308ebfe376814f383d61ed00b50e8bad526b)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backporting the following fixes from 4.18 to 4.14 to remove beaglebone
configuration warnings:
1fb0b0379fb5 beaglebone: Clean up the cfg file
4176e7ded8e1 beaglebone: Drop the needless unsetting of the kernel options
65c209da574d beaglebone: Drop the obsolete kernel options
(From OE-Core rev: 2adec315b44dad0f99ad55e04b4e3b6608613147)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The previous logic assumed that if $BUILD_IMAGES_FROM_FEEDS=1 then a
complete set of ipk feeds from which to build the image is already
present under $IPK_FEED_URIS at do_rootfs runtime.
$IPK_FEED_URIS usually contains "file://${DEPLOY_DIR_IPK}" which
renders the above assumption bad because some recipes in the current
build can contain code like do_install[nostamp] = "1" which will cause
rebuilds bumping $PR and invalidating the index.
Even when the index is manually re-created before an image build
("bitbake package-index"), the nostamp will cause failures because the
dependency gets rebuilt before do_rootfs in the "bitbake <image>" call.
So make the opkg rootfs index logic the same as for rpm/deb, to always
update the index in $DEPLOY_DIR_IPK to fix the above nostamp failure.
Feeds outside $DEPLOY_DIR_IPK added to $IPK_FEED_URIS continue to work
as usual, for eg. by using a http:// URI.
(From OE-Core rev: bce90f48d1cc136fdfdf98b3830f5d99e381271b)
Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The configure script ended up creating Makefile with
LIBDIR=/lib
which got leaked into various places including all
pkg-config .pc files where lines like (note the
double slash //):
libdir=${exec_prefix}//lib
...
Libs: -L${libdir} -lcrypto
which causes pkg-config --libs to include the full absolute path
to the recipe specific sysroot. This isn't a big problem
until something like CMake projects start generating
their own .cmake modules using this absolute path and exposing
them to sysroots of other bitbake recipes thus escaping
their recipe specific sysroots.
Then the fun begins when these users of the .cmake module start
to randomly fail builds with error messages like:
/home/builder/src/base/build/tmp/work/corei7-64-linux/package/1.0-r0/recipe-sysroot-native/usr/bin/x86_64-linux/../../libexec/x86_64-linux/gcc/x86_64-linux/7.3.0/ld: cannot find /lib/libpthread.so.0
/home/builder/src/base/build/tmp/work/corei7-64-linux/package/1.0-r0/recipe-sysroot-native/usr/bin/x86_64-linux/../../libexec/x86_64-linux/gcc/x86_64-linux/7.3.0/ld: cannot find /usr/lib/libpthread_nonshared.a
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
WARNING: exit code 1 from a shell command.
As luck has it, this problem goes away by recompiling the recipes
alone but repeats with multiple recipes here and there when full
images are build.
A careful inspection of multi page linker command lines shows
that some linker paramaters point to libraries in a different
recipes sysroot than what bitbake was building when the task
failed.
So, fix is to remove this one extra slash from openssl
library path configuration option. This changes openssl
Makefile to have:
LIBDIR=lib
and all users of LIBDIR variable in the Makefile are already
adding slashes as path separators if that is needed.
With this the generated .pc files have:
libdir=${exec_prefix}/lib
and pkg-config --libs knows to strip the already default
sysroot path away.
This then fixes the generated .cmake files to not include
these absolute paths and fixes the random build failures
when building images.
Thanks to Thomas, Michael and Ross for debugging support!
(From OE-Core rev: d286e91bbdcecef16153313fe5e1e0e0cb469612)
Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Cc: Thomas Witt <thomas.witt@bmw.de>
Cc: Michael Ho <michael.ho@bmw.de>
Cc: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream implemented an equivalent fix in:
c672fcc0a8d6 ("gunixmounts: Allow root to display mounts under /run/media/$username")
As a result, this change is completely broken when running as root, as
user_name is unitialised when testing strcmp(user_name, "root") so just
segfaults.
(From OE-Core rev: 547e81b678a616ebbdf2e5cc86e918966fafb894)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed a race issue when compile libhtml-parser-perl and others who use MakeMaker:
[snip]
chmod 755 blib/arch/auto/HTML/Parser/Parser.so
chmod 644 "Parser.bs"
[snip]
The rule INST_DYNAMIC removes '.bs' file which are generated by BOOTSTRAP, but
the have no dependencies, so there is a race issue:
BOOTSTRAP:
touch foo.bs
chmod 755 foo.bs
INST_DYNAMIC:
rm -fr foo.bs
The error would happen when INST_DYNAMIC removes foo.bs after BOOTSTRAP touched
it but before chmod on it.
(From OE-Core rev: f33d7124cd07f776e8b05a26703f6d551357ae09)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The current handling of SIGTERM is incorrect as the process pid returned
by Popen call with shell setting to True is actualy the shell instead of
the qemu process. So use shlex to split cmd so that we can avoid using
shell=True. This ensures the child process is the actual qemu process.
Also, as we install a SIGTERM handler, we need handle the situation of
qemu terminated by SIGTERM, otherwise we will get ERROR message in such
case.
Besides, we have a problem that after running qemu, the terminal's behavior
is incorrect regarding long lines or long commands. Long commands or long
outputs should appear in multiple lines, but they appear in the same line,
overriding previous output. Use `tput smam' to fix this problem.
(From OE-Core rev: e8acef383767cfd1ef0c3d3c45d9d6eb1c83b3e7)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Note further tests needed after encountering issues.
(From OE-Core rev: ab7b7e222b88e40f2a5011fc16bbd784e6be55e5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
@@ -38,7 +38,7 @@ from bb.main import bitbake_main, BitBakeConfigParameters, BBMainException
if sys.getfilesystemencoding() != "utf-8":
sys.exit("Please use a locale setting which supports UTF-8 (such as LANG=en_US.UTF-8).\nPython can't change the filesystem locale after loading so we need a UTF-8 when Python starts or things won't work.")
bb.error("When reparsing %s, the basehash value changed from %s to %s. The metadata is not deterministic and this needs to be fixed."%(k,self.basehash[k],datahash))
bb.error("When reparsing %s, the basehash value changed from %s to %s. The metadata is not deterministic and this needs to be fixed."%(k,self.basehash[k],basehash[k]))
@@ -177,8 +177,11 @@ class LocalhostBEController(BuildEnvironmentController):
try:
localremotes=self._shellcmd("git remote -v",
localdirname,env=git_env)
ifnotgiturlinlocalremotesandcommit!='HEAD':
raiseBuildSetupException("Existing git repository at %s, but with different remotes ('%s', expected '%s'). Toaster will not continue out of fear of damaging something."%(localdirname,", ".join(localremotes.split("\n")),giturl))
# NOTE: this nice-to-have check breaks when using git remaping to get past firewall
# Re-enable later with .gitconfig remapping checks
#if not giturl in localremotes and commit != 'HEAD':
# raise BuildSetupException("Existing git repository at %s, but with different remotes ('%s', expected '%s'). Toaster will not continue out of fear of damaging something." % (localdirname, ", ".join(localremotes.split("\n")), giturl))
<fieldtype="TextField"name="helptext">Toaster will run your builds using the tip of the <a href=\"http://cgit.openembedded.org/openembedded-core/log/\">OpenEmbedded master</a> branch.</field>
<fieldtype="TextField"name="helptext">Toaster will run your builds using the tip of the <a href=\"http://cgit.openembedded.org/openembedded-core/log/?h=rocko\">OpenEmbedded Rocko</a> branch.</field>
<fieldtype="TextField"name="helptext">Toaster will run your builds using the tip of the <a href=\"http://cgit.openembedded.org/openembedded-core/log/?h=thud\">OpenEmbedded Thud</a> branch.</field>
<fieldtype="TextField"name="helptext">Toaster will run your builds using the tip of the <a href="http://git.yoctoproject.org/cgit/cgit.cgi/poky/log/?h=rocko">Yocto Project Rocko branch</a>.</field>
<fieldtype="TextField"name="helptext">Toaster will run your builds using the tip of the <a href="http://git.yoctoproject.org/cgit/cgit.cgi/poky/log/?h=thud">Yocto Project Thud branch</a>.</field>
@@ -25,6 +25,8 @@ function newCustomImageModalInit(){
varduplicateNameMsg="An image with this name already exists. Image names must be unique.";
varduplicateImageInProjectMsg="An image with this name already exists in this project."
varinvalidBaseRecipeIdMsg="Please select an image to customise.";
varmissingParentRecipe="The parent recipe file was not found. Cancel this action, build any target (like 'quilt-native') to force all new layers to clone, and try again";
varunknownError="Unexpected error: ";
// set button to "submit" state and enable text entry so user can
// enter the custom recipe name
@@ -62,6 +64,7 @@ function newCustomImageModalInit(){
{% if 'None' not in data.get_vcs_distro_file_link_url %}<a href="{{data.get_vcs_distro_file_link_url}}" target="_blank"><span class="glyphicon glyphicon-new-window"></i></a>{% endif %}'''
self.add_column(title="Distro file",
hidden=True,
static_data_name="templatefile",
static_data_template=wrtemplate_file_template)
static_data_template=distro_file_template)
self.add_column(title="Select",
help_text="Sets the selected distro to the project",
do_populate_sdk[depends] += "${@' '.join([x + ':do_populate_sysroot' for x in d.getVar('SDK_DEPENDS').split()])} ${@d.getVarFlag('do_rootfs', 'depends', False)}"
"action":"Build a kernel with KVM enabled \n\nIn Local.conf add \n\nQEMU_USE_KVM = \"${@ 'intel-corei7-64 intel-core2-32 qemux86 qemux86-64' if os.access('/dev/kvm', os.R_OK|os.W_OK) else '' }\" \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":"IMPORTANT NOTE: The firsts 5 steps refer to configuration of the environment to run the rest of the steps. These only apply for CROPS-eSDK. \n\n\n\n",
"expected_results":""
},
"2":{
"action":" Initiate your Crops-esdk environment as it says in wiki https://github.com/crops/docker-win-mac-docs/wiki \n\n",
"expected_results":""
},
"3":{
"action":"Create the following tree of files <crops-esdk-workdir-workspace>/sdkext/files/myapp <crops-esdk-workdir-workspace>/sdkext/files/myapp_cmake \n\n\n",
"expected_results":""
},
"4":{
"action":" Create the following files withing the myapp directory myapp.c and the Makefile. Write the following inside of each file: \n---------------------------------------- \nMakefile should contain \n\nall: myapp \n\nmyapp: myapp.o \n\t$(CC) $(LDFLAGS) $< -o $@ \n\nmyapp.o: myapp.c \n\t$(CC) $(CFLAGS) -c $< -o $@ \n\nclean: \n\trm -rf myapp.o myapp \n\n----------------------------- \nmyapp.c shold contain \n\n\n#include <stdio.h> \n\nint \nmain(int argc, char *argv[]) \n{ \n\tprintf(\"Hello world\\n\"); \n \n\treturn 0; \n} \n------------------------------------ \n\n",
"expected_results":"be sure that the indentations on the makefile are tabs not spaces. \n\n"
},
"5":{
"action":" Create the following files within the myapp_cmake directory CMakeLists.txt and myapp.c. Write the following inside each file: \n\n------------------------------------ \nCMakeLists.txt should contain: \n\ncmake_minimum_required (VERSION 2.6) \nproject (myapp) \n# The version number. \nset (myapp_VERSION_MAJOR 1) \nset (myapp_VERSION_MINOR 0) \n\n# add the executable \nadd_executable (myapp myapp.c) \n\ninstall(TARGETS myapp \nRUNTIME DESTINATION bin) \n\n------------------------------------------ \nmyapp.c should contain: \n\n#include <stdio.h> \n\nint \nmain(int argc, char *argv[]) \n{ \n\tprintf(\"Hello world\\n\"); \n\n\treturn 0; \n} \n------------------------------------------------- \n\n",
"expected_results":"Be sure that the indentations on CMakeLists.txt is tabs not spaces."
"expected_results":"This should output a message that says SDK environment now set up; additionally you may now run devtool to perform development tasks etc etc ... \n\n"
},
"7":{
"action":" run command which devtool \n\n",
"expected_results":"this should output the directory of the devtool script and it should be within the sdk workdir you are working in. \n\n "
},
"8":{
"action":"devtool add myapp <directory>(this is myapp dir) \n\n\n",
"expected_results":"The directory you should input is the myapp directory. This should automatically create the recipe myapp.bb under <crops-esdk-workdir-workspace>/recipes/myapp/myapp.bb"
},
"9":{
"action":" devtool build myapp \n\n",
"expected_results":"This should compile an image"
},
"10":{
"action":" devtool reset myapp ",
"expected_results":"This cleans sysroot of the myapp recipe, but it leaves the source tree intact. meaning it does not erase."
"action":"IMPORTANT NOTE: The firsts 5 steps refer to configuration of the environment to run the rest of the steps. These only apply for CROPS-eSDK. \n\n\n\n",
"expected_results":""
},
"2":{
"action":" Initiate your Crops-esdk environment as it says in wiki https://github.com/crops/docker-win-mac-docs/wiki \n\n",
"expected_results":""
},
"3":{
"action":" Create the following tree of files <crops-esdk-workdir-workspace>/sdkext/files/myapp/ \n <crops-esdk-workdir-workspace>/sdkext/files/myapp_cmake \n\n",
"expected_results":""
},
"4":{
"action":" Create the following files withing the myapp directory myapp.c and the Makefile. Write the following inside of each file: \n---------------------------------------- \nMakefile should contain \n\nall: myapp \n\nmyapp: myapp.o \n\t$(CC) $(LDFLAGS) $< -o $@ \n\nmyapp.o: myapp.c \n\t$(CC) $(CFLAGS) -c $< -o $@ \n\nclean: \n\trm -rf myapp.o myapp \n\n----------------------------- \nmyapp.c shold contain \n\n#include <stdio.h> \n\nint \nmain(int argc, char *argv[]) \n{ \n\tprintf(\"Hello world\\n\"); \n \n\treturn 0; \n} \n------------------------------------ \n\n",
"expected_results":"be sure that the indentations on the makefile are tabs not spaces. \n\n"
},
"5":{
"action":" Create the following files within the myapp_cmake directory CMakeLists.txt and myapp.c. Write the following inside each file: \n\n------------------------------------ \nCMakeLists.txt should contain: \n\ncmake_minimum_required (VERSION 2.6) \nproject (myapp) \n# The version number. \nset (myapp_VERSION_MAJOR 1) \nset (myapp_VERSION_MINOR 0) \n\n# add the executable \nadd_executable (myapp myapp.c) \n\ninstall(TARGETS myapp \nRUNTIME DESTINATION bin) \n\n------------------------------------------ \nmyapp.c should contain: \n\n#include<stdio.h> \n\nint \nmain(int argc, char *argv[]) \n{ \n\tprintf(\"Hello world\\n\"); \n\n\treturn 0; \n} \n------------------------------------------------- \n\n",
"expected_results":"Be sure that the indentations on CMakeLists.txt is tabs not spaces. \n\n"
"expected_results":"This should output a message that says SDK environment now set up; additionally you may now run devtool to perform development tasks etc etc ... \n\n"
},
"7":{
"action":" run command which devtool \n\n",
"expected_results":" this should output the directory of the devtool script and it should be within the sdk workdir you are working in. \n\n"
},
"8":{
"action":" devtool add myapp <directory> (this is myapp dir) \n\n",
"expected_results":" The directory you should input is the myapp directory. This should automatically create the recipe myapp.bb under <crops-esdk-workdir-workspace>/recipes/myapp/myapp.bb \n\n"
},
"9":{
"action":" devtool package myapp \n\n",
"expected_results":" you should expect a package creation of myapp and it should be under the /tmp/deploy/ \n\n"
},
"10":{
"action":" devtool reset myapp ",
"expected_results":"This cleans sysroot of the myapp recipe, but it leaves the source tree intact. meaning it does not erase.\n</package_format>"
"action":"IMPORTANT NOTE: The firsts 5 steps refer to configuration of the environment to run the rest of the steps. These only apply for CROPS-eSDK. \n\n\n\n",
"expected_results":""
},
"2":{
"action":" Initiate your Crops-esdk environment as it says in wiki https://github.com/crops/docker-win-mac-docs/wiki \n\n",
"expected_results":""
},
"3":{
"action":" Create the following tree of files <crops-esdk-workdir-workspace>/sdkext/files/myapp \n <crops-esdk-workdir-workspace>/sdkext/files/myapp_cmake \n\n",
"expected_results":""
},
"4":{
"action":" Create the following files withing the myapp directory myapp.c and the Makefile. Write the following inside of each file: \n---------------------------------------- \nMakefile should contain \n\nall: myapp \n\nmyapp: myapp.o \n\t$(CC) $(LDFLAGS) $< -o $@ \n\nmyapp.o: myapp.c \n\t$(CC) $(CFLAGS) -c $< -o $@ \n\nclean: \n\trm -rf myapp.o myapp \n\n----------------------------- \nmyapp.c shold contain \n\n#include <stdio.h> \n\nint \nmain(int argc, char *argv[]) \n{ \n\tprintf(\"Hello world\\n\"); \n \n\treturn 0; \n} \n------------------------------------ \n\n",
"expected_results":"be sure that the indentations on the makefile are tabs not spaces. \n\n"
},
"5":{
"action":" Create the following files within the myapp_cmake directory CMakeLists.txt and myapp.c. Write the following inside each file: \n\n------------------------------------ \nCMakeLists.txt should contain: \n\ncmake_minimum_required (VERSION 2.6) \nproject (myapp) \n# The version number. \nset (myapp_VERSION_MAJOR 1) \nset (myapp_VERSION_MINOR 0) \n\n# add the executable \nadd_executable (myapp myapp.c) \n\ninstall(TARGETS myapp \nRUNTIME DESTINATION bin) \n\n------------------------------------------ \nmyapp.c should contain: \n\n#include \n\nint \nmain(int argc, char *argv[]) \n{ \n\tprintf(\"Hello world\\n\"); \n\n\treturn 0; \n} \n------------------------------------------------- \n\n",
"expected_results":"Be sure that the indentations on CMakeLists.txt is tabs not spaces. \n\n"
"expected_results":"This should output a message that says SDK environment now set up; additionally you may now run devtool to perform development tasks etc etc ... \n\n"
},
"7":{
"action":" run command which devtool \n\n",
"expected_results":"this should output the directory of the devtool script and it should be within the sdk workdir you are working in. \n\n"
},
"8":{
"action":" devtool add myapp <directory> (this is myapp_cmake dir) \n\n",
"expected_results":"The directory you should input is the myapp_cmake directory. This should automatically create the recipe myapp.bb under <crops-esdk-workdir-workspace>/recipes/myapp/myapp.bb \n\n"
},
"9":{
"action":" devtool build myapp \n\n",
"expected_results":"This should compile an image \n\n"
},
"10":{
"action":" devtool reset myapp ",
"expected_results":"This cleans sysroot of the myapp recipe, but it leaves the source tree intact. meaning it does not erase. "
"action":"IMPORTANT NOTE: The firsts 2 steps refer to configuration of the environment to run the rest of the steps. These only apply for CROPS-eSDK. \n\n\n\n",
"expected_results":""
},
"2":{
"action":"Initiate your Crops-esdk environment as it says in wiki https://github.com/crops/docker-win-mac-docs/wiki \n\n",
"expected_results":" This should output a message that says SDK environment now set up; additionally you may now run devtool to perform development tasks etc etc ... \n\n"
},
"4":{
"action":"run command which devtool \n\n",
"expected_results":"this should output the directory of the devtool script and it should be within the sdk workdir you are working in. \n\n"
},
"5":{
"action":"devtool sdk-install -s libxml2 \n\n",
"expected_results":"this should install libxml2 \n\n"
"action":"IMPORTANT NOTE: The firsts 2 steps refer to configuration of the environment to run the rest of the steps. These only apply for CROPS-eSDK. \n\n\n",
"expected_results":""
},
"2":{
"action":" Initiate your Crops-esdk environment as it says in wiki https://github.com/crops/docker-win-mac-docs/wiki \n\n",
"expected_results":"This should output a message that says SDK environment now set up; additionally you may now run devtool to perform development tasks etc etc ... \n \n"
},
"4":{
"action":"run command which devtool \n\n",
"expected_results":"this should output the directory of the devtool script and it should be within the sdk workdir you are working in. \n\n"
"expected_results":"This should automatically create the recipe v4l2loopback-driver.bb under <crops-esdk-workdir-workspace>/recipes/v4l2loopback-driver/v4l2loopback-driver.bb "
"action":"IMPORTANT NOTE: The firsts 2 steps refer to configuration of the environment to run the rest of the steps. These only apply for CROPS-eSDK. \n\n\nlets say variable npm = npm://registry.npmjs.org;name=winston;version=2.2.0 \n\n",
"expected_results":""
},
"2":{
"action":"Initiate your Crops-esdk environment as it says in wiki https://github.com/crops/docker-win-mac-docs/wiki \n\n",
"expected_results":"This should output a message that says SDK environment now set up; additionally you may now run devtool to perform development tasks etc etc ... \n\n"
},
"4":{
"action":"run command which devtool \n\n",
"expected_results":"this should output the directory of the devtool script and it should be within the sdk workdir you are working in. \n\n"
},
"5":{
"action":" 4a) git clone git://git.openembedded.org/meta-openembedded in layers/build directory \n \n4b) Add meta-openembedded/meta-oe in bblayer.conf as mentioned below: ${SDKBASEMETAPATH}/layers/build/meta-openembedded/meta-oe \\ \n\n4c) devtool add \"npm://registry.npmjs.org;name=npm;version=2.2.0\" \n\n",
"expected_results":" This should automatically create the recipe npm.bb under /recipes/npm/npm.bb \n\n"
},
"6":{
"action":"devtool build npm \n\n",
"expected_results":"This should compile an image \n\n"
},
"7":{
"action":" devtool reset npm",
"expected_results":"This cleans sysroot of the npm recipe, but it leaves the source tree intact. meaning it does not erase."
"action":"In Eclipse, swich to Remote System Explorer to create a connention baseed on SSH, input the remote target IP address as the Host name, make sure disable the proxy in Window->Preferences->General->Network Connection, set Direct as Active Provider field. ",
"expected_results":"the connection based on SSH could be set up."
},
"2":{
"action":"Configure connection from Eclipse: Run->Run Configurations->C/C++ Remote Application\\ ->New Connection->General->SSH Only ",
"expected_results":""
},
"3":{
"action":"Then right click to connect, input the user ID and password. ",
"expected_results":""
},
"4":{
"action":"expand the connection, it will show the Sftp Files etc. \nNOTE. Might need to change dropbear to openssh and add the packagegroup-core-eclipse-debug recipe",
"expected_results":" Qemu can be lauched normally."
},
"3":{
"action":"(a)Point to the Toolchain: \n \nIf you are using a stand-alone pre-built toolchain, you should be pointing to the /opt/poky/{test-version} directory as Toolchain Root Location. This is the default location for toolchains installed by the ADT Installer or by hand. If ADT is installed in other location, use that location as Toolchain location.\nIf you are using a system-derived toolchain, the path you provide for the Toolchain Root Location field is the Yocto Project's build directory. \n \n E.g:/home/user/yocto/poky/build \n",
"expected_results":""
},
"4":{
"action":"(b)Specify the Sysroot Location: \nSysroot Location is the location where the root filesystem for the target hardware is created on the development system by the ADT Installer (SYSROOT in step 2 of the case ADT installer Installation). \n \n Local : e.g: /home/user/qemux86-sato-sdk \nUsing ADT : e.g :/home/user/test-yocto/qemux86 \n\n",
"expected_results":""
},
"5":{
"action":"(c)Select the Target Architecture: \n \nThe target architecture is the type of hardware you are going to use or emulate. Use the pull-down Target Architecture menu to make your selection. \n \n\n",
"expected_results":""
},
"6":{
"action":"(d) QEMU: \nSelect this option if you will be using the QEMU emulator. Specify the Kernel matching the QEMU architecture you are using. \n wget autobuilder.yoctoproject.org/pub/releases//machines/qemu/qemux86/bzImage-qemux86.bin \n e.g: /home/$USER/yocto/adt-installer/download_image/bzImage-qemux86.bin \n\n",
"expected_results":""
},
"7":{
"action":"(e) select OK to save the settings. \n\n\n1: In the Eclipse toolbar, expose the Run -> External Tools menu. Your image should appear as a selectable menu item. \n2: Select your image in the navigation pane to launch the emulator in a new window. \n3: If needed, enter your host root password in the shell window at the prompt. This sets up a Tap 0 connection needed for running in user-space NFS mode. \n",
"action":"Launch a QEMU of target enviroment.(Reference to case \"ADT - Launch qemu by eclipse\") ",
"expected_results":""
},
"2":{
"action":"Select File -> New -> Project.",
"expected_results":""
},
"3":{
"action":"Double click C/C++.",
"expected_results":""
},
"4":{
"action":"Click C or C++ Project to create the project.",
"expected_results":""
},
"5":{
"action":"Expand Yocto ADT Project.",
"expected_results":""
},
"6":{
"action":"Select Hello World ANSI C Autotools Project.",
"expected_results":""
},
"7":{
"action":"Put a name in the Project name. Do not use hyphens as part of the name. \n \n",
"expected_results":""
},
"8":{
"action":"Click Next.",
"expected_results":""
},
"9":{
"action":"Add information in the Author and Copyright notice fields. \n1",
"expected_results":""
},
"10":{
"action":"Click Finish. \n1",
"expected_results":""
},
"11":{
"action":"If the \"open perspective\" prompt appears, click \"Yes\" so that you open the C/C++ perspective. \n1",
"expected_results":""
},
"12":{
"action":"In the Project Explorer window, right click the project -> Reconfigure project. \n1",
"expected_results":""
},
"13":{
"action":"In the Project Explorer window, right click the project -> Build project. \n1",
"expected_results":"Under the Project files, a new folder appears called Binaries. This indicates that the compilation have been successful and the project binary have been created. \n"
},
"14":{
"action":"Right click it again and Run as -> Run Configurations. \n\t\t\tUnder Run Configurations expand \"C/C++ Remote Application\". A configuration for the current project should appear. Clicking it will display the configuration settings. \n\t\t\tin \"C/C++ Application\" field input Remote Absolute File path for C/C++ Application. e.g.: /home/root/myapplication \n\t\t\tIn \"Connection\" drop-down list make sure a TCF connection is set up for your target. If not, create a new one by clicking the New button. \n1",
"expected_results":"step 14 to step 16 -> Build succeed and the console outputs Hello world, you can also check the output on target."
},
"15":{
"action":"After all settings are done, select the Run button on the bottom right corner \n\n1",
"expected_results":""
},
"16":{
"action":"Repeat the steps 14-15, but instead of using Run Configurations use Debug Configurations: \nRight click it again and Debug as -> Debug Configurations \nUnder Debug Configurations expand \"C/C++ Remote Application\". A configuration for the current project should appear. Clicking it will display the configuration settings. \nin \"C/C++ Application\" field input Remote Absolute File path for C/C++ Application.\ne.g.: /home/root/myapplication \nIn \"Connection\" drop-down list make sure a TCF connection is set up for your target. If not, create a new one by clicking the New button \n1",
"expected_results":""
},
"17":{
"action":"After all settings are done, select the Debug button on the bottom right corner",
"action":"Launch a QEMU of target enviroment.(Reference to case \"ADT - Launch qemu by eclipse\") ",
"expected_results":""
},
"2":{
"action":"Select File -> New -> Project. ",
"expected_results":""
},
"3":{
"action":"Double click C/C++. ",
"expected_results":""
},
"4":{
"action":"Click C or C++ Project to create the project. ",
"expected_results":""
},
"5":{
"action":"Expand Yocto ADT Project. ",
"expected_results":""
},
"6":{
"action":"Select Hello World ANSI C++ Autotools Project. ",
"expected_results":""
},
"7":{
"action":"Put a name in the Project name. Do not use hyphens as part of the name. \n \n",
"expected_results":""
},
"8":{
"action":"Click Next.",
"expected_results":""
},
"9":{
"action":"Add information in the Author and Copyright notice fields.",
"expected_results":""
},
"10":{
"action":"Click Finish. \n1",
"expected_results":""
},
"11":{
"action":"If the \"open perspective\" prompt appears, click \"Yes\" so that you open the C/C++ perspective. \n1",
"expected_results":""
},
"12":{
"action":"In the Project Explorer window, right click the project -> Reconfigure project. \n1",
"expected_results":""
},
"13":{
"action":"In the Project Explorer window, right click the project -> Build project. \n\n1",
"expected_results":"under the Project files, a new folder appears called Binaries. This indicates that the compilation have been successful and the project binary have been created. \n"
},
"14":{
"action":"Right click it again and Run as -> Run Configurations. \n\t\t\tUnder Run Configurations expand \"C/C++ Remote Application\". A configuration for the current project should appear. Clicking it will display the configuration settings. \n\t\t\tin \"C/C++ Application\" field input Remote Absolute File path for C/C++ Application. e.g.: /home/root/myapplication \n\t\t\tIn \"Connection\" drop-down list make sure a TCF connection is set up for your target. If not, create a new one by clicking the New button. \n1",
"expected_results":"step 14 to step 16 -> Build succeed and the console outputs Hello world, you can also check the output on target."
},
"15":{
"action":"After all settings are done, select the Run button on the bottom right corner \n\n1",
"expected_results":""
},
"16":{
"action":"Repeat the steps 14-15, but instead of using Run Configurations use Debug Configurations: \n\t\tRight click it again and Debug as -> Debug Configurations \n\t\tUnder Debug Configurations expand \"C/C++ Remote Application\". A configuration for the current project should appear. Clicking it will display the configuration settings. \n\t\tin \"C/C++ Application\" field input Remote Absolute File path for C/C++ Application. \n\t\te.g.: /home/root/myapplication \n\t\tIn \"Connection\" drop-down list make sure a TCF connection is set up for your target. If not, create a new one by clicking the New button \n1",
"expected_results":""
},
"17":{
"action":"After all settings are done, select the Debug button on the bottom right corner",
"expected_results":"Eclipse plugin is successfully installed \n\nDocumentation is there. For example if you have release yocto-2.0.1 you will found on http://autobuilder.yoctoproject.org/pub/releases/yocto-2.0.1/eclipse-plugin/mars/ archive with documentation like org.yocto.doc-development-$date.zip \n \n"
"expected_results":"After plugin is build you must have 4 archive in foder scripts from eclipse-poky: \n - org.yocto.bc - mars-master-$date.zip \n - org.yocto.doc - mars-master-$date.zip --> documentation \n - org.yocto.sdk - mars-master-$date.zip \n - org.yocto.sdk - mars-master-$date.-archive.zip --> plugin "
},
"3":{
"action":"Move to scripts/ folder. \n\n",
"expected_results":""
},
"4":{
"action":"Run ./setup.sh \n\n",
"expected_results":""
},
"5":{
"action":"When the script finishes, it prompts a command to issue to build the plugin. It should look similar to the following: \n\n$ ECLIPSE_HOME=/eclipse-poky/scripts/eclipse ./build.sh /&1 | tee -a build.log \n\nHere, the three arguments to the build script are tag name, branch for documentation and release name. \n\n",
"expected_results":""
},
"6":{
"action":"On an eclipse without the Yocto Plugin, select \"Install New Software\" from Help pull-down menu \n\n",
"expected_results":""
},
"7":{
"action":"Select Add and from the dialog choose Archive... Look for the *archive.zip file that was built previously with the build.sh script. Click OK. \n\n",
"expected_results":""
},
"8":{
"action":"Select all components and proceed with Installation of plugin. Restarting eclipse might be required.\n",
"action":"Install SDK \n\ta)Download https://autobuilder.yocto.io/pub/releases//toolchain/x86_64/poky-glibc-x86_64-core-\timage-sato-i586-toolchain-.sh \n\tb)Run the SDK installer and accept the default installation directory ",
"expected_results":""
},
"2":{
"action":"Install \"Eclipse IDE for C/C++ Developers\" Oxygen release (4.7.0) \n\ta) Go to https://www.eclipse.org/downloads/packages/all, click \"Oxygen R\" \n\tb) Click to download the build for your OS \n\tc) Click \"Download\" button to download from a mirror \n\td) Run \"tar xf\" to extract the downloaded archive ",
"expected_result":""
},
"3":{
"action":"Install \"Eclipse IDE for C/C++ Developers\" Oxygen release (4.7.0) (Continue) \n\te) Run \"eclipse/eclipse\" to start Eclipse \n\tf) Optional step for host machine within Intel network: In Eclipse workbench window, go to \"Window\" menu -> \"Preferences...\". \n\tg) In \"Preferences\" dialog, go to \"General\" -> \"Network Connections\", set \"Active Provider\" to \"Manual\". In \"Proxy \tentries\" table, select HTTP and click \"Edit\" and enter host \"proxy-chain.intel.com\" port 911, click OK. Repeat for HTTPS with port 912 \nClick OK to close \"Preferences\" dialog. \n\th) Go to \"File\" menu -> \"Restart\" to restart Eclipse for proxy settings to take effect. ",
"expected_result":""
},
"4":{
"action":"Install Eclipse Poky plugins \n\ta) Download https://autobuilder.yocto.io/pub/releases/<yocto-version>/eclipse-plugin/<eclipse-version>/org.yocto.sdk-development-<date>-archive.zip \n\tb) In Eclipse workbench window, go to \"Help\" menu -> \"Install New Software...\" \n\tc) In \"Install\" dialog, click \"Add...\" button \n\td) In \"Add Repository\" dialog, enter \"Eclipse Poky\" for (repository) Name, click \"Archive...\" ",
"expected_results":""
},
"5":{
"action":"Install Eclipse Poky plugins (continue) \n\te) In \"Repository archive\" browse dialog, select the downloaded Eclipse Poky repository archive \n\tf) Back in \"Add Repository\" dialog, click \"OK\" \n\tg) Back in \"Install\" dialog, make sure \"Work with:\" is set to \"Eclipse Poky\" repository, tick \"Yocto Project \tDocumentation Plug-in\" and \"Yocto Project SDK Plug-in\", click \"Next >\" and verify plugins/features name/version, \tclick \"Next >\" and accept license agreement, click \"Finish\" \n\th) If \"Security Warning\" dialog appears, click \"OK\" to install unsigned content. \n\ti) In \"Software Updates\" dialog, click \"Yes\" to restart Eclipse to complete Eclipse Poky plugins installation. ",
"expected_results":""
},
"6":{
"action":"Setup Eclipse Poky to use SDK \n\ta) In Eclipse workbench window, go to \"Window\" menu -> \"Preferences\". \n\tb) In \"Preferences\" window, go to \"Yocto Project SDK\", in \"Cross Compiler Options\" frame, select \"Standalone pre-\tbuilt toolchain\". ",
"expected_results":"Eclipse Poky plugins installed and running successfully, e.g. observe that \"Yocto Project Tools\" menu is available on Eclipse workbench window."
"action":"Follow the Set Up procedure to complete the common and specific prerequisites for this test case. https://wiki.yoctoproject.org/wiki/Kernel_Development_Test_Cases#Setup https://wiki.yoctoproject.org/wiki/Kernel_Development_Test_Cases#Prerequisites_7 ",
"expected_results":""
},
"2":{
"action":"Execute the test case steps asdocumented on the \"Kernel Development Test Cases\" wiki. https://wiki.yoctoproject.org/wiki/Kernel_Development_Test_Cases#Steps_7",
"expected_results":"Review expected results on thethe \"Kernel Development Test Cases\"wiki. https://wiki.yoctoproject.org/wiki/Kernel_Development_Test_Cases#Expected_Results_7"
"action":"Follow the Set Up procedure to complete the common and specific prerequisites for this test case. https://wiki.yoctoproject.org/wiki/Kernel_Development_Test_Cases#Setup https://wiki.yoctoproject.org/wiki/Kernel_Development_Test_Cases#Prerequisites_8 ",
"expected_results":""
},
"2":{
"action":"Execute the test case steps asdocumented on the \"Kernel Development Test Cases\" wiki. https://wiki.yoctoproject.org/wiki/Kernel_Development_Test_Cases#Steps_8",
"expected_results":"Review expected results on thethe \"Kernel Development Test Cases\"wiki. https://wiki.yoctoproject.org/wiki/Kernel_Development_Test_Cases#Expected_Results_8"
"action":"Follow the Set Up procedure to complete the common and specific prerequisites for this test case. https://wiki.yoctoproject.org/wiki/Kernel_Development_Test_Cases#Setup https://wiki.yoctoproject.org/wiki/Kernel_Development_Test_Cases#Prerequisites ",
"expected_results":""
},
"2":{
"action":"Execute the test case steps asdocumented on the \"Kernel Development Test Cases\" wiki. https://wiki.yoctoproject.org/wiki/Kernel_Development_Test_Cases#Steps",
"expected_results":"Review expected results on thethe \"Kernel Development Test Cases\"wiki. https://wiki.yoctoproject.org/wiki/Kernel_Development_Test_Cases#Expected_Results"
"action":"Follow the Set Up procedure to complete the common and specific prerequisites for this test case. https://wiki.yoctoproject.org/wiki/Kernel_Development_Test_Cases#Setup https://wiki.yoctoproject.org/wiki/Kernel_Development_Test_Cases#Prerequisites_2 ",
"expected_results":""
},
"2":{
"action":"Execute the test case steps asdocumented on the \"Kernel Development Test Cases\" wiki. https://wiki.yoctoproject.org/wiki/Kernel_Development_Test_Cases#Steps_2",
"expected_results":"Review expected results on thethe \"Kernel Development Test Cases\"wiki. https://wiki.yoctoproject.org/wiki/Kernel_Development_Test_Cases#Expected_Results_2"
"action":"Follow the Set Up procedure to complete the common and specific prerequisites for this test case. https://wiki.yoctoproject.org/wiki/Kernel_Development_Test_Cases#Setup https://wiki.yoctoproject.org/wiki/Kernel_Development_Test_Cases#Prerequisites_3 ",
"expected_results":""
},
"2":{
"action":"Execute the test case steps asdocumented on the \"Kernel Development Test Cases\" wiki. https://wiki.yoctoproject.org/wiki/Kernel_Development_Test_Cases#Steps_3",
"expected_results":"Review expected results on thethe \"Kernel Development Test Cases\"wiki. https://wiki.yoctoproject.org/wiki/Kernel_Development_Test_Cases#Expected_Results_3"
"action":"Follow the Set Up procedure to complete the common and specific prerequisites for this test case. https://wiki.yoctoproject.org/wiki/Kernel_Development_Test_Cases#Setup https://wiki.yoctoproject.org/wiki/Kernel_Development_Test_Cases#Prerequisites_5 ",
"expected_results":""
},
"2":{
"action":"Execute the test case steps asdocumented on the \"Kernel Development Test Cases\" wiki. https://wiki.yoctoproject.org/wiki/Kernel_Development_Test_Cases#Steps_5",
"expected_results":"Review expected results on thethe \"Kernel Development Test Cases\"wiki. https://wiki.yoctoproject.org/wiki/Kernel_Development_Test_Cases#Expected_Results_5"
"action":"Follow the Set Up procedure to complete the common and specific prerequisites for this test case. https://wiki.yoctoproject.org/wiki/Kernel_Development_Test_Cases#Setup https://wiki.yoctoproject.org/wiki/Kernel_Development_Test_Cases#Prerequisites_6 ",
"expected_results":""
},
"2":{
"action":"Execute the test case steps asdocumented on the \"Kernel Development Test Cases\" wiki. https://wiki.yoctoproject.org/wiki/Kernel_Development_Test_Cases#Steps_6",
"expected_results":"Review expected results on thethe \"Kernel Development Test Cases\"wiki. https://wiki.yoctoproject.org/wiki/Kernel_Development_Test_Cases#Expected_Results_6"
"action":"Follow the Set Up procedure to complete the common and specific prerequisites for this test case. https://wiki.yoctoproject.org/wiki/Kernel_Development_Test_Cases#Setup https://wiki.yoctoproject.org/wiki/Kernel_Development_Test_Cases#Prerequisites_10 ",
"expected_results":""
},
"2":{
"action":"Execute the test case steps asdocumented on the \"Kernel Development Test Cases\" wiki. https://wiki.yoctoproject.org/wiki/Kernel_Development_Test_Cases#Setup_10",
"expected_results":"Review expected results on thethe \"Kernel Development Test Cases\"wiki. https://wiki.yoctoproject.org/wiki/Kernel_Development_Test_Cases#Expected_Results_10"
"action":"Follow the Set Up procedure to complete the common and specific prerequisites for this test case. https://wiki.yoctoproject.org/wiki/Kernel_Development_Test_Cases#Setup https://wikioproject.org/wiki/Kernel_Development_Test_Cases#Prerequisites_4 ",
"expected_results":""
},
"2":{
"action":"Execute the test case steps asdocumented on the \"Kernel Development Test Cases\" wiki. https://wiki.yoctoproject.org/wiki/Kernel_Development_Test_Cases#Steps_4",
"expected_results":"Review expected results on thethe \"Kernel Development Test Cases\"wiki. https://wiki.yoctoproject.org/wiki/Kernel_Development_Test_Cases#Expected_Results_4"
"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"
"action":"Once menuconfig launches, use the interface to navigate through the selections and \n enable option \"64-bit kernel\" \n\n",
"expected_results":""
},
"8":{
"action":"Save changes and set name of the file as \"test.config\" ",
"expected_results":"Open file: \n \npoky/build//tmp/work/qemux86-poky-linux/linux-yocto/4.X.X+*/linux-qemux86-standard-build/test.config \n \n \n\nand verify that changes are present in the file as follows: \n \nCONFIG_64BIT=y \n \nCONFIG_X86_64=y"
}
},
"summary":"Test_bitbake_menuconfig"
}
},
{
"test":{
"@alias":"oe-core.bitbake.test_bitbake_devshell",
"author":[
{
"email":"jose.perez.carranza@intel.com",
"name":"jose.perez.carranza@intel.com"
}
],
"execution":{
"1":{
"action":"clone poky ",
"expected_results":""
},
"2":{
"action":"cd poky ",
"expected_results":""
},
"3":{
"action":"source oe-init-build-env && cd build ",
"expected_results":""
},
"4":{
"action":"bitbake matchbox-desktop ",
"expected_results":"Package was build correctly "
},
"5":{
"action":"bitbake matchbox-desktop -c devshell ",
"expected_results":"A terminal with a shell prompt within the OpenEmbedded build environment is opened "
},
"6":{
"action":"Verify that \"matchbox-desktop\" binary file is not created under\"src\" directory ",
"expected_results":""
},
"7":{
"action":"Run command:./configure && make ",
"expected_results":"Verify that \"matchbox-desktop\" binary file was created successfully under \"src/\" directory "
},
"8":{
"action":"Exit fromthe devshell terminal,exit ",
"expected_results":"Terminal back to the build directory"
"action":"bitbake -u taskexp -g core-image-full-cmdline \n\nNOTE: To execute the last command of this test, it's necessary that the machine is executing an X11 server, or if that's not the case (for example, if running the test on a headless server), it is required to enable ssh X11 forwarding on both, the server and the client, and have the X11 server running on the client. \n\nThe instructions to enable X11 forwarding vary between distributions. But for example, these are the steps to enable it between a server running openSUSE Leap 42.1 and a client with Fedora 24: \nA. On the server, make sure /home//.ssh/config contains the line: \n ForwardX11 yes \nB. On the server, make sure xauth is installed by running: \n which xauth \nC. On the client, connect to the server, enabling X11 forwarding, for example by using: \n ssh -X user@server \nNOTE 2: depexp was renamed to taskexp on 2.3 M4",
"expected_results":"Verify that a \"dependency explorer\" is opened and file \n dependencies are listed "
"action":"source oe-init-build-env && cd build \n \n",
"expected_results":""
},
"4":{
"action":"Add a invalid layer to conf/bblayers.conf \"<poky dir>/my-invalid-layer\" \n\t\n",
"expected_results":""
},
"5":{
"action":"bitbake core-image-minimal",
"expected_results":"Below error should be displayed:\n\"ERROR: Layer directory does not exist! Please check BBLAYERS in <poky dir>/<build dir>/conf/bblayers.conf\""
"action":"Download & install sdk toolchain from public autobuilder \n \ta. Goto https://autobuilder.yocto.io/pub/releases/<target_release>/toolchain/x86_64/ \n \tb. Download poky-glibc-x86_64-core-image-sato-sdk-<type-arch>-toolchain-<release-version>.sh \n \tc. Run command: poky-glibc-x86_64-core-image-sato-sdk-<type-arch>-toolchain-<release-version>.sh",
"expected_results":""
},
"3":{
"action":"Extract rootfs twice into two images \n \ta. Run 2 commands below: \n runqemu-extract-sdk core-image-sato-sdk-qemux86.tar.bz2 qemux86_rootfs_image1 \n runqemu-extract-sdk core-image-sato-sdk-qemux86.tar.bz2 qemux86_rootfs_image2",
"expected_results":""
},
"4":{
"action":" From the 2 terminals, start qemu to boot up both two images \n \ta. Run 2 commands below: \n runqemu core-image-sato-sdk-qemux86.qemuboot.conf qemux86_rootfs_image1 \n runqemu core-image-sato-sdk-qemux86.qemuboot.conf qemux86_rootfs_image2 ",
"expected_results":"Expect both qemu to boot up successfully."
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.