If an event handler for bb.event.BuildCompleted fails, we still need to
call finishAsyncCommand() or else BitBake will just exit immediately
without showing any error summary, or worse in the case of memory
resident mode BitBake will hang and if you Ctrl+C to break out, the
command won't be marked as finished which means that no further commands
will be able to be executed until the server is manually restarted.
(Bitbake rev: 5639faa3eef55cc476a82e810e61ca228cbdf221)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The main point of memory resident bitbake is to avoid loading data
unnecessarily on every bitbake invocation. Unfortunately the code that
updated options from the UI was simply treating the fact that either
of the "prefile" or "postfile" options were in the list of options
passed in as an indication that the configuration was invalid, which was
bad because these are always passed in. We only need to mark the
configuration as invalid and thus reload it (and thus reload the cache)
if the option value has actually changed.
At the same time, the recently handled "tracking" option needs to be
treated in a similar manner since the configuration needs to be reparsed
if that has changed. Also, add a few extra debug messages to aid
debugging this code in future.
(Bitbake rev: 18dfd144d0da6ff662308ce4f9d135dc11412133)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Differentiate between fn and taskfn in "execute".
This was somehow missed in "fakeroot" handling.
(Bitbake rev: d848bff7cf78f63986467b51f701a998a480eb25)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When a process terminates, some messages may still remain in stdout or
stderr and do not make it into the log file.
In addition, the messages that do make it to the log file may end up in
the log file in incorrect order.
This patch flushes all messages into the log file after the
process terminates. Some additional log flushing is also needed
to keep the various messages showing up in the log file in proper order.
[YOCTO#10785]
(Bitbake rev: 1f6e6aa8262369eafc3bbf9f01f8d981f90becdf)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is OE-specific customisation so set the status as such.
(From OE-Core rev: 059846662f1ea1c82804cfce5f91afcb2980ec8a)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* since this commit:
commit f5a1013ffa9815f22e13989e2bcb83f966e7ce2c
Author: Ross Burton <ross.burton@intel.com>
Date: Tue Apr 18 16:19:12 2017 +0100
package_manager: don't race on a file when installing complementary
packages
the file isn't closed before oe-pkgdata-util uses it and this
temporary file might look empty to oe-pkgdata-util, because it
wasn't flushed yet. Which resulted in almost empty debugfs tarballs
and no locale packages in regular rootfs.
* without this change:
124K May 30 07:41 core-image-full-cmdline-raspberrypi3-64-20170530054003-dbg.rootfs.tar.gz
* with this change:
173M May 30 07:29 core-image-full-cmdline-raspberrypi3-64-20170530052715-dbg.rootfs.tar.gz
(From OE-Core rev: 877d38db08aa7060d16405443cf70539c559fe82)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This achieves the same goal as the same change to bitbake.conf itself,
but because the class gets added later as part expanding INHERIT, this
new approach is less likely to run into problems when DISTRO_FEATURES
contains complex code.
Another difference is that the class currently does not get inherited
by default and thus is completely absent from a build unless some
layer or include file adds it to INHERIT.
Compared to the earlier code in bitbake.conf and a similar class in
intel-iot-refkit, additional overrides now get sorted. This makes the
final OVERRIDES more deterministic.
The lessons learned about unintentionally depending on OVERRIDES are
documented in the class because such problems are more likely to show
up as unexpected signature differences when using this class.
(From OE-Core rev: e982ca7f2d4fb0aef3fedc00af1e90f613e7b5ee)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This reverts commit 3b3ae91a22d6f685e804df4f32cdeebe1bd6bd88.
It turned out that the code which expands DISTRO_FEATURES early during
base config parsing can fail because some entries in DISTRO_FEATURES
might call Python functions like base_conditional() from base.bbclass
which aren't defined yet.
A different solution will be needed.
(From OE-Core rev: 0c6e4a14ba8d9d9701ec16ffe46d618f41633571)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* the /usr/lib/python3.5/_compression.py file is possibly incorrectly included
in python3-misc. This runtime dependency is needed in order to use e.g. gzip.py in runtime:
>>> import tarfile, zlib, gzip
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3.5/gzip.py", line 12, in <module>
import _compression
ImportError: No module named '_compression'
* at least python3-tests and lzma and bz2 still in python3-misc are using this as well:
$ grep -R import.*_compression tmp-glibc/work/aarch64-oe-linux/python3/3.5.2-r1.0/packages-split/
tmp-glibc/work/aarch64-oe-linux/python3/3.5.2-r1.0/packages-split/python3-compression/usr/lib/python3.5/gzip.py:import _compression
tmp-glibc/work/aarch64-oe-linux/python3/3.5.2-r1.0/packages-split/python3-misc/usr/lib/python3.5/lzma.py:import _compression
tmp-glibc/work/aarch64-oe-linux/python3/3.5.2-r1.0/packages-split/python3-misc/usr/lib/python3.5/bz2.py:import _compression
tmp-glibc/work/aarch64-oe-linux/python3/3.5.2-r1.0/packages-split/python3-tests/usr/lib/python3.5/test/test_bz2.py:import _compression
tmp-glibc/work/aarch64-oe-linux/python3/3.5.2-r1.0/packages-split/python3-tests/usr/lib/python3.5/test/test_lzma.py:import _compression
and python3-tests are using it as well, so add new runtime dependency
on python3-compression
(From OE-Core rev: 987363c3c720b3764f4d64976d7455f6b0bae99c)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If you attempt to build an image with both attr(-doc) and man-pages
packages your rootfs might fail to assemble. The error will be
something like:
Error: Transaction check error:
file /usr/share/man/man2/fgetxattr.2 from install of \
attr-doc-2.4.47-r0.core2_64 conflicts with file from \
package man-pages-4.11-r0.core2_64
(the error is usually only seen on builders which don't have manpages
installed, if you have /usr/share/man/man1/man.1.gz your build will
complete but you will have duplicate manpages, just one zipped and one
not)
Backporting changes from upstream attr removes the conflicted files in
favour of those in the man-pages package.
(From OE-Core rev: 5e6595ef42807c8d2a100da3d9862152daf68d3d)
Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If these are set to URLs then the errors produced are not helpful.
(From OE-Core rev: 946b6623154e748a0d75ff498802a720aeec27a6)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Goes down to 40 seconds from over 4 minutes :)
Note that there is no control over the amount of shell jobs; on my machine
this is not a problem, but if it's a problem on less capable hardware,
we can add some kind of limiter.
(From OE-Core rev: cd9af17028c069f52fb0616074170093dd63c143)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
runqemu uses stty to change terminal settings to give users
better control to qemu. However, stty does not work when
runqemu is run directly or indirectly via oe-selftest in
a Docker container (presumably some problems with Docker's
pseudo-tty implementation).
The error reported is:
stty: 'standard input': Inappropriate ioctl for device
As runqemu recently moved to subprocess.check_call() for
stty calls we now get thrown an error and all runqemu
runs fail.
sys.stdin.isatty() does proper job in detecting if the stty
calls can work so we use that check before running the stty
subprocess operations.
(From OE-Core rev: 06742ed59092530aedf03f65c3c9542c24ff7ac3)
Signed-off-by: Mikko Ylinen <mikko.ylinen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added leading space to vardeps to avoid flag value to be
added to the existing value without a separator.
(From OE-Core rev: f582773c2b1e8db441f397867d3c9665fd265cec)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Replaced setVarFlag calls to appendVarFlag to allow
modification of prefuncs, postfuncs and subimages flags
in inherited image classes.
[YOCTO #11372]
(From OE-Core rev: 6690f3ab43c04fa7cff7215d4a5d8d639e41aed8)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Replaced repeated expression "do_image_%s" % t with
a variable 'task' to simplify the code and increase
readability.
(From OE-Core rev: d24dd95f2c1c7f773875454bee3f2016c4e7553c)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The function is "sysroot_strip" instead of "split_and_strip_files".
(From OE-Core rev: f2d349887710dcae05db09dc2277223e85fa1c19)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
connman fails to start in systemd based read-only images while creating links:
Jun 08 12:53:56 qemux86-64 systemd[1]: Starting Create Volatile Files
and Directories...
Jun 08 12:53:56 qemux86-64 systemd-tmpfiles[366]:
[[0;1;31msymlink(/var/run/connman/resolv.conf, /etc/resolv.conf) failed:
Read-only file system[[0m
Fix this failure and make connman co-exist with systemd-resolved.
(From OE-Core rev: 732e1f74bb9f5ecc98b29197f6bcab117710adab)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Enable systemd-resolved and systemd-networkd by default.
Make it co-exist with connman and Fix associated problems
in read-only rootfs.
Fixes [YOCTO #11331]
(From OE-Core rev: d9b6d538e3d81ab0d5e7b7b6adecef555d782217)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It was pointed out +1 is safer than -1 for systems with one processor.
(From OE-Core rev: 78041e20e43d9583448ff31f8b9b1c6157da8625)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove user-specific descrition files and config fragments from main machine
description file otherwise double patch/config inclusion may happen. These
files/fragments are already included on the SRC_URI (see poky commit 2db8f3),
so no need to reference these inside machine.scc files.
[YOCTO #11586]
(From meta-yocto rev: 86ab7ab6688f250bb5777371d2cbc28c770847d4)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It results in same link errors like armv4t
(From OE-Core rev: 7fb9648f7a055beef9c8a735850b1b51fd23ff1d)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix build with gcc7
clang can not compile it therefore mark it gcc only recipe
(From OE-Core rev: 835b705ee92900f0d73cee612ce790fde4b1e2a4)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11630]
The exhaustive list of useful links and references to other
YP documentation existed in the dev-manual. This is not the correct
place for this type of reference information. I have moved that
list to the ref-manual where it should be. The dev-manual now
simply provides a link into that section.
(From yocto-docs rev: eeceb597988134ced85aab4b9ddaeed923f17b03)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11630]
Reorganized the way the information about entering bugs using
Bugzilla is arranged in the documentation set. The dev-manual now
has a section that is purely procedural and steps the user through
the process of logging a new bug in the Bugzilla system. The
ref-manual has a conceptual section that introduces the YP
implementation of Bugzilla by simply telling the user what it is
and what what its purpose is.
(From yocto-docs rev: 4bfba345010be7bc2866b819b9754bb06f93c91f)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The introductory paragraph for this figure was a cut/paste
problem from previous devtool figures.
(From yocto-docs rev: c02a2a57889bbdcd7e83ab9e2458397189bbb980)
Signed-off-by: Kristi Rifenbark <kristi.rifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Warning in step 5 indicated the wrong location for config file.
Updated with new location and referenced an illustration to
show an example.
(From yocto-docs rev: e853e5b89f1dbd7399909064b50bc59e06302560)
Signed-off-by: Kristi Rifenbark <kristi.rifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This paragraph had some links to old stuff. Removed the whole
paragraph.
(From yocto-docs rev: 95c1f348ed018c697cc996bc962787ede056b94b)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This figure was a bit out of date. I updated a few of the file
names. Figure needs to reside in the Figures folder of both the
dev-manual and the mega-manual.
(From yocto-docs rev: 1e76477810b6be095f9ca190c9a8f0276ee4b8f9)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The section that describes how to create a patch and send it via
email is really an ordered procedure. I recast the list of steps
using numbers instead of bullets.
(From yocto-docs rev: c2d2256ca6d8c8b837bae87a5bd8a3118553935c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11600]
Removed the example. It was not needed.
(From yocto-docs rev: 402bb173b00a665fb55a8f740a4dbe60ead57f25)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11411]
Added a naming convention warning to the native.bbclass description
that is similar to the existing warning used in the description for
the nativesdk.bbclass.
(From yocto-docs rev: 2ceeb5416d439197e94640229e3685ab8b87e0fb)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11600]
"configure" and "cmake" are not do_* tasks of BitBake. I updated
the formatting of these programs and removed links that were to
the tasks in the reference manual.
(From yocto-docs rev: 2605c7378f6b4b49c2e2baaf159fd2c289d83a1a)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The figure that Scott Garman used for an old video cast is
much more appealing to the eye than the giant, square beast
the current manual was using. I have replaced the image.
The image is technically the same.
Because the mega-manual has to use a duplicate figure, I
put the new PNG files in the Figures directory for both the
yocto-project-qs and mega-manual books.
(From yocto-docs rev: ed64810e59110418d49fb6d3e61967fa62ab28c8)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The YP doc set was using a link to an out-dated video that
showed how to configure and run Eclipse. The video was very
old and Jessica suggested just removing it. So, I replaced
all occurrences of the link to the up-to-date appendix in the
SDK manual that provides information on the latest supported
version of the Eclipse IDE.
(From yocto-docs rev: b4af1a79078352df5558e20c0b9cfa97fa141abc)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The link to the section on how to set up Eclipse had been broken
for a while. I fixed the link so that it goes to the appropriate
section (appendix) in the SDK manual.
(From yocto-docs rev: 873c2c53f661b18936595068d75b954e07774621)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Sometimes there's a need to change existing UBOOT_CONFIG setting from a recipe,
distro or local config, such as an override or even switch back to UBOOT_MACHINE.
Unfortunately, there's no easy way to override or unset flags, so using them as
an error condition is rather heavy-handed. Change those conditions to check the
UBOOT_CONFIG variable itself, not its flags.
(From OE-Core rev: b51383e5268ff33e43a39862814e065afbbd10ca)
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Few of the perl scripts referring '#!/bin/sed' inside the script. But when
'usrmerge' feature is enabled this path would be /usr/bin/sed. So to satisfy
build dependency add '/bin/sed' to it's providers list.
(From OE-Core rev: 4f33950156c50aab68cbdf80fe52345eea6fb76c)
Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Most of the shell scripts refer to /bin/sh inside the script. When 'usrmege'
feature is enabled, this path would be /usr/bin/sh. Hence, to satisfy build
dependency add '/bin/sh' to it's providers list.
(From OE-Core rev: 1f6c14939c8daa5e09103789c3ff5031cc888d16)
Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Most of shell scripts refer to '#!/bin/{sh,bash}' inside the script. But when
'usrmege' feature is enabled this path will be /usr/bin/{sh, bash}.
so to satisify build dependency add '/bin/{sh,bash}' to its providers list.
(From OE-Core rev: 4759408677a4e60c5fa7131afcb5bc184cf2f90a)
Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta-micro puts headers in /include rather than /usr/include in the
sysroot. ${target_includedir} means that the correct path will be used
automatically.
(From OE-Core rev: 12abcc3791592035d99064262eb3d229fa5ef88c)
Signed-off-by: Mike Crowe <mac@mcrowe.com>
Acked-by: Phil Blundell <pb@pbcl.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added test case for "wic rm" functionality.
- remove file from vfat partition
- remove directory from vfat partition
(From OE-Core rev: fc42914d426ad2dad8c3026668726c003b3ab10b)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added support for removing directories using mdeltree
utility to Disk.del method
[YOCTO #11283]
(From OE-Core rev: a5fc61d8f290d370f4bc51d4e2a67a5580edb1b1)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added implementation of Disk.del method and wic_r
function that removes files from the vfat partition
using mdel utility.
[YOCTO #11283]
(From OE-Core rev: 4abf2d2643c58322d96d63d5f3ffaf52d62c6792)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added empty 'wic rm' command that does nothing.
The functionality will be added by the next commits.
[YOCTO #11283]
(From OE-Core rev: f8e42c13609c482359fbdb225fb16a45101ae9ae)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added wic_rm_help and wic_rm_usage variables to help.py.
These variables contain help content that will be used in
'wic rm help' and 'wic rm --help' output.
(From OE-Core rev: b6894538b2a426762a07c0e7b014a04f4e00266d)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added test case for "wic cp" functionality.
- copy file to vfat partition
- copy directory to vfat partition
(From OE-Core rev: cb416d1feea042bcdedc9f522d588fef2c4929bc)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added implementation of Disk.copy method and wic_cp
function that copies files/directories to the vfat partition
of the partitioned image.
[YOCTO #11283]
(From OE-Core rev: 416e4599960987f0ce31b3f16f3c6af0bf633a26)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This method copies partition image into the wic image.
It will be used in 'wic cp' and 'wic rm' subcommands
to copy changed partition back into wic image.
(From OE-Core rev: 7a7e6635e2e2ddfff2bca58c860634b7a199b0df)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed calculation of the dst file size using skip, seek and
length parameters. Current code does it incorrectly which
causes sparse_copy API to create unnecessary big output files.
(From OE-Core rev: e6d709a6382e4b913612f597e66ad07b0e351d5f)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If lenght parameter is provided to sparse_copy call
it's mandatory to check if the output file is fully
written after reading unmapped block from input file.
If it's not done then sparse_copy can write more data
than specified length.
(From OE-Core rev: 289b1767182982dfb6912e64481150697ba93e4d)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Renamed parameter offset->skip to match names of dd
parameters.
Changed affected sparse_copy calls.
Added explanation of the parameters to docstring.
(From OE-Core rev: 08e2f4e59816c5757686255b267b08cbc46fbd95)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added generic helper to use in property methods to
access commands in a lazy manner.
(From OE-Core rev: 4c1ded3ddbd04ad1640620ec1348831692a93dbe)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added empty 'wic cp' command that does nothing.
The functionality will be added by the next commits.
[YOCTO #11283]
(From OE-Core rev: f0dcf39d52185430422cb0c94c7fe99c12764acd)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added wic_cp_help and wic_cp_usage variables to
help.py. These variables contain help content that
will be used in 'wic cp help' and 'wic cp --help'
output.
[YOCTO #11283]
(From OE-Core rev: f3f0dadada1e297f2b54fa320bb817da7f755c1f)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add parser for 'wic cp' subcommand and a custom argument type.
(From OE-Core rev: df5152c834ef58036b41ad51b19eda6abecd9543)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Tested 'wic ls' functionality:
- list of image partitions
- list of directory content of vfat partition
(From OE-Core rev: 3b271f6a40d7ef93fff9700dd8ac98bddd92d581)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added empty 'wic ls' command that does nothing.
The functionality will be added by the next commits.
(From OE-Core rev: ba4613469cc2c3d3433be2e2f520f4fff6b3b333)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added wic_ls_help and wic_ls_usage variables to
help.py. These variables contain help content that
will be used in 'wic ls help' and 'wic ls --help'
output.
(From OE-Core rev: 5152f993777550e5e8a420db4d1f3c4370cd1d33)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Plugin code uses boot.img file name for an image file. If there are
two partitions that use bootimg-pcbios wic breaks with an error
"file already exists: boot.img"
Made image file name unique by adding wks like number to it to fix
the issue.
(From OE-Core rev: eec6e946cce36cba304851fa4a1c1d7bfd7b0bed)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added parameter 'length' to specify amount of data
to write into destination file. This is useful when only
part of source file should be written into destination file.
(From OE-Core rev: cc44e2eb3b5027a3531e6349937a23d73313b3c6)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed bug in processing 'skip' parameter:
don't read input file if end of bmap block is less than skip
Simplified logic of positioning to the start of data inside a
partially skipped bmap block.
(From OE-Core rev: c19f78a0713c8ac9d28b78f86c6d7b96157788f0)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Removed code that reads /etc/mtools.conf, /etc/default/mtools.conf,
/etc/mtools and /etc/default/mtools to ensure that mtools output
doesn't depend on the global host configs.
It's still possible to use ~/.mtoolsrc config or point MTOOLSRC
environment variable to any configuration file if user want
to configure mtools.
(From OE-Core rev: 868cb638c92f650a2f0bea9669b68c1e8aebabab)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A long time ago (6 years), this seemed like a good idea. The reality is
that OVERRIDES should not be being added to hashes and if it is, it likely
needs excluding in its own right. This was a nice workaround but we need
to fix the real underlying issues now. In some cases this means excluding
OVERRIDES from the variables dependency using the vardepsexclude flag however
caution is needed to ensure this is safe.
Variable values used to construct hashes are unexpanded but the values used
are computed after the application of OVERRIDES. The important detail is if
the end resulting unexpanded value changes, not the value of the OVERRIDES
used in the construction of that unexpanded value. This is why dependencies
on OVERRIDES itself shouldn't be in the hashes in general.
The recent DISTRO_FEATURES changes adding in override mappings for them
highlighted this issue. We have some good sstate tests which are effective
at highlighting where potential issues arrive with OVERRIDES contamination
(oe-selftest -r sstatetests.SStateTests).
(From OE-Core rev: b227781f9c59a7dfe30f3f1c0dcff87e29a1689b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since the processing code for signature generation is now threaded,
use higher thread values as examples in this code for better performance.
(From OE-Core rev: f68ec7191546474f0bd688e57d2381a8e92be617)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In common with the other package handling functions, don't depend on the
value of OVERRIDES. This means when we change MACHINE, we don't have to
repackage everything.
(From OE-Core rev: 6e24b4bbe708a25c827364a2d6d979b354ab3ef2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These have values set elsewhere and this code was overwriting them leading
to odd signature issues. Append instead preserving the original values.
(From OE-Core rev: b756fd12c28d1ce3ca60b328927db996c6a52424)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
"inherit" already allows inheriting more than one class in a single
statement. The same also makes sense for "include" and "require",
because then one can generate a list of files to be included
dynamically also for the case that more than one file needs to be
included.
(Bitbake rev: 8d0a76f5a595dddf16b7268bae2c00ef5f568316)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Writing .bbappends that only have an effect when some configuration
variable like DISTRO_FEATURES is changed becomes easier when allowing
"include" or "require" without a parameter. The same was already
allowed for "inherit".
Then one can write in a .bbappend:
require ${@bb.utils.contains('DISTRO_FEATURES', 'foo', 'bar.inc', '', d)}
(Bitbake rev: 8b39c6361758b96fce50a53a6dba8008cd7e6433)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The small module name was added to support run a whole suite that
has more that 3 levels in the test case name, but this broke the
behaviour for use a full test case name.
[YOCTO #11632]
(From OE-Core rev: 9ab20ceb5801bee8dd8b218b3928720da5e1d403)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The details of a test failure is upper on the unittest output
so don't log twice the actual failure.
[YOCTO #11622]
(From OE-Core rev: 0f2e81c2a4458ad0ec6bab2710952ac2c2bbf1af)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
0001-ip-Remove-unneed-header.patch is to fix build error
built with musl.
(From OE-Core rev: 2a6fe7c6c1e113d930ddc8e06717747a779b46f1)
Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This fixes a following error:
| recipe-sysroot-native/usr/lib/rpm/debugedit: error while loading shared libraries: \
| libbz2.so.1: cannot open shared object file: No such file or directory
(From OE-Core rev: 61ecda8f7977ee2d30f31d2f384f65f933971568)
Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- This matches the linker flags to compiler flags in purgatory
- Compile arm64 without PIC
(From OE-Core rev: 653299d8c31eac6147b8183d9ec7ef82b7202cab)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
musl unearthed a problem when building out of tree, config.h was being
used from $(srcdir) instead of generated config.h in $(builddir)
this assumed functions e.g. mallinfo() and more which are not in musl
as a result tests broke.
Also add fixes to build remaining tests when building on musl
pass -fno-pie as it cant use PIE especially in ptests/x86_64
(From OE-Core rev: 8ab1828f073b5eab606161681a5f260cc0e77bf1)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop patches to ChangeLog, they are in patch
header anyway
(From OE-Core rev: 0b0f545dbf16b0970c5a79975d451dc9d887c2a7)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
No need to skip textrel QA for x86 as it has
been fixed in 1.25.0
(From OE-Core rev: f635c097d0d43c88b00a00073b93712f1cc90fe0)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This greatly reduces build times when there is a large amount of small
rpm packages to produce. The patches are rather invasive,
and so will be submitted upstream.
(From OE-Core rev: 964a6eb4732df462008883c4bb003f801777dfad)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This reverts commit aea90e9ee6f34e7c1c08307080b1e29646668df6.
RP hadn't meant to merge this yet and its causing problems so delay it until its
ready.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
During the transition to dnf and rpm4, the functionality to
automatically make RPM determine dependencies was lost.
Before the transition, an OE specific tool called rpmdeps-oecore had
been added to the rpm suit. It was based on the rpmdeps tool that is
part of rpm. For each file specified on its command line, it would
output the provides and requires that RPM could determine.
During the transition to rpm4, rpmdeps-oecore was replaced with the
standard rpmdeps. However, what no one noticed was that unless rpmdeps
is given options, e.g., -P or -R, to tell it what it should output, it
will not output anything. Thus, it would do all the work to determine
the requirements, but would keep silent about it. And since no output
from rpmdeps is expected unless there are requirements, there were no
warnings indicating that everything was not working as expected.
Porting the old rpmdeps-oecore to work with rpm4 is not really
possible since it relied on being able to access internals of RPM that
are no longer available. However, it turned out that rpmdeps had a
debug option, --rpmfcdebug, that would output exactly the information
that we need, albeit in a different format and to stderr. To make this
usable, rpmdeps has now received a new option, --alldeps, which sends
the information we need to stdout.
(From OE-Core rev: aea90e9ee6f34e7c1c08307080b1e29646668df6)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This will send the output from rpmfcPrint() to stdout. This is an
alternative to using the --rpmfcdebug option, which will send the same
output to stderr. The two options have totally different use cases
though. While --alldeps is used when the output from rpmfcPrint() is
what is wanted, --rpmfcdebug can be used together with the other
output options, e.g., --requires, without affecting their output.
(From OE-Core rev: a58a0dc03398dcd9f81a9c8a6189ae13d90e0df7)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The tc.hasTargetPackage uses a re.search to see if gtk+3 is on
the manifest but + in regex means 1 or more causing the test
to be skipped.
(From OE-Core rev: 271cd99d00bde0b9f2aa27141acbe06812f34638)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The manifests for eSDK are generated using shared states so there is a
need to validate to different "packages names" into the test cases.
For example for perl:
SDK provides nativesdk-perl
eSDK provides perl-native
[YOCTO #9090]
(From OE-Core rev: 8db06dd1290dd53d626050879c9c306f95d76ac2)
Signed-off-by: Francisco Pedraza <francisco.j.pedraza.gonzalez@intel.com>
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add get_extra_sdk_info to reuse code in buildhistory
The functionalities to generate SDK and eSDK manifest files are different,
the SDK comes from package information and the eSDK comes from sstate artifacts.
Only execute write_sdk_{host, target}_manifest when is on populate_sdk class.
Adds new functions write_sdk{host, target}_ext_manifest to execute on postprocess
in populate_sdk_ext because at the end we have all the sstate artifacts to
generate the manifest.
[YOCTO #9038]
(From OE-Core rev: 25ad7ed6f7bb0c931b404bda09576323200d093d)
Signed-off-by: Francisco Pedraza <francisco.j.pedraza.gonzalez@intel.com>
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This function is going to be used for generating the target and host
manifest files packages for eSDK. Added some fixes for buildhistory.bblclass,
and docstring for get_extra_sdkinfo at oe.sdk
[YOCTO #9038]
(From OE-Core rev: f696b3bbe01969ce7ecb8174d63d3e1e172b473e)
Signed-off-by: Francisco Pedraza <francisco.j.pedraza.gonzalez@intel.com>
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This avoids the following warning:
warning: Ignoring invalid regex %{_docdir}
when runing `rpmdeps -R <file>`, since %{_docdir} is only defined when
parsing a spec file.
(From OE-Core rev: 7e0964e506506d20a25aac570104938759f9f70e)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There is nothing that requires, e.g., a DSO to be executable, but it
is still an ELF binary and should be identified as such.
(From OE-Core rev: 74d040f456269992a13850a626279b3b8e954847)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rather than trying to call rpmdeps with the correct arguments to work
with the sysroot as was done in package.bbclass, create a wrapper for
it like all the other native tools already had.
(From OE-Core rev: 124a6115af845fd892f53c8504db6ffd59f8bd45)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use a loop rather than calling create_wrapper for each individual
tool.
(From OE-Core rev: e299a396849acd515d51d377958d795e979e6262)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When using RPM, depends.dot may contain dependencies such as
"/bin/sh", which will confuse _toaster_load_pkgdatafile(). Ignore
them. While at it, also ignore dependencies that contain parentheses,
e.g., "libc.so.6(GLIBC_2.7)".
(From OE-Core rev: 3b42c400d2d7a6ebe37429a363e1d79200f87e9b)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
By using a single regular expression, the parsing of the depends.dot
file can be simplified a lot. This should also make it less
susceptible to formatting changes in that file.
(From OE-Core rev: 49a321d03e527ad15c3a7fcb9d94980577535ca3)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Convert incorrectly formatted dependencies such as:
"bar -> "foo" ">=" "1.2.3"
into dependencies with edge labels:
"bar -> "foo" [label=">= 1.2.3"]
* Remove rpmlib() and config() dependencies such as:
"foo" -> "rpmlib(CompressedFileNames)" [label="<= 3.0.4-1"]
and:
"base-files" -> "config(base-files)" [label="= 3.0.14-r89.49"]
* Remove the trailing semicolon that was added to each line. It fills
no purpose.
(From OE-Core rev: 37ea2c8b299483f0e12fad66efa789c6445571e0)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This makes the file-rdeps test support:
* versioned dependencies, e.g., "perl (>= 5.000)", and
* package dependencies among the file dependencies, e.g., "perl".
It also ignores all "perl(...)" dependencies since it is expected that
these are generated and handled by rpm itself and there is no reason
to second guess what it is doing.
(From OE-Core rev: 2cbeb6edbfcbd9378a5a79b17f7d31a49e0356ff)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since we go through the trouble of copying the Python tests, we may as
well actually run them...
This also avoids the following QA issue:
ERROR: libxml2-2.9.4-r0 do_package_qa: QA Issue:
/usr/lib/libxml2/ptest/python/tests/push.py contained in package
libxml2-ptest requires /usr/bin/python, but no providers found in
RDEPENDS_libxml2-ptest? [file-rdeps]
(From OE-Core rev: 65bc9fac6dc6ba5252bf105659724c768d65f9d9)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
During the transition to RPM4, the package names returned by
RpmPM.list_installed() changed from the expected names of the packages
that were installed into the image to some fictitious source RPM
names.
This restores the original functionality so that the
installed-packages.txt files produced by inheriting buildhistory yet
again contains a list of the names of the installed packages.
(From OE-Core rev: 25a36bcea4c02002d4895ba17f49ced09ae821c2)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bump to the latest stable kernel for 4.1, 4.4, 4,9 and 4.10.
(From meta-yocto rev: acedc2be541a29e33c5d44692aab75432e4d56a3)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This means mismatched layers are more clearly identified to the user in
cases where compatibility has not been tested.
(From meta-yocto rev: ca35ea46708e0514e4d5a20950880be0bf1d4147)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Enabling SSTATE_MIRRORS sometimes causes SRCREV values not
to be written/updated in the build history. This happens more
often if SRCREV is set to ${AUTOREV}
Explicitly writing SRCREVs when recipe history is being written
should fix this.
[YOCTO #10948]
(From OE-Core rev: df74b97599a789db742fc7588009783f5f37ebff)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
set() order is random and hence the filtered native/nativesdk DISTRO_FEATURES
could be set to random ordering. We've been lucky so far this tended not to
cause issues but some queued changes highedlighted this. Thrown in a sorted()
so the order is deterministic and we get consistent hash checksums between runs
and between machines.
(From OE-Core rev: 76391673754cf6a01d68eedbd4181e543fa2f427)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Following the lead from Fedora (as suggested by Rob Clark) always enable
--enable-texture-float for all gallium drivers, but then modify the code to
not enable it, at runtime, where the implementation isn't backed by hardware.
The patch comes from unpacking fedora-25's mesa-17.0.5-3.fc25.src.rpm from
https://dl.fedoraproject.org/pub/fedora/linux/updates/25/SRPMS/m/
Somewhere along the path from OpenGL ES 2.0 to OpenGL ES 3.0 are some
algorithms that are encumbered by patents. These algorithms are enabled
with mesa's --enable-texture-float configure flag. However, if hardware
acceleration is being used and the hardware supports --enable-texture-float,
it means the hardware vendor has paid for the patents.
Note that with this solution, non-hardware gallium drivers (e.g. swrast) can't
--enable-texture-float, which might cause issues with some piglit tests.
This solution was discussed and agreed-to on the mailing list:
http://lists.openembedded.org/pipermail/openembedded-core/2017-May/137233.html
(From OE-Core rev: 6fd63e24a1c6ac901edb393c9db8e245189a83e2)
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The main intention is to provide easy-to-use and read helper functions
for including files only when certain distro features are
set. Functionally they are the same as bb.utils.contains and
bb.utils.contains_any.
Distro features are part of the base configuration and thus safe to
use for conditional inclusion in recipes and bbappends, in contrast to
recipe variables which might still change during parsing. Therefore
the check is limited to DISTRO_FEATURES. This is the reason for having
this in OE-core instead of bitbake.
Default values are set so that no redundant parameters have to be
passed for conditional includes. As a secondary usage, the functions
can also be used in boolean checks.
(From OE-Core rev: 13024ce5aae453769b546d5fbe533443aec3d6fd)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As discussed in "[Openembedded-architecture] Yocto Compatible 2.0 +
signature changes", changes in .bbappend must depend on some explicit
configuration change, typically selecting a distro feature.
For _append and _remove, adding an override that is set only when the
corresponding entry is in DISTRO_FEATURES achieves that:
In local.conf:
DISTRO_FEATURES_append = " my-distro-feature"
In layer.conf:
DISTRO_FEATURES_OVERRIDES += "my-distro-feature"
In a .bbappend:
do_install_append_df-my-distro-feature () {
...
}
The subset of DISTRO_FEATURES that are made available as overrides
must be configured explicitly because using them this way should
be a conscious decision.
(From OE-Core rev: 3b3ae91a22d6f685e804df4f32cdeebe1bd6bd88)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
RPC ports (also known as rpc program numbers) are values:
- given to rpcbind (aka portmapper) to allow nfsv3 clients that don't
know the tcp/udp port number of nfsd and mountd to look it up the
tcp/udp port number, and to
- allow a single transport (ie: tcp/udp port) to provide multiple
sunrpc services.
OE has carried patches to nfsutils & linux for some time to support the
mountprog & nfsprog options.
In the case of runqemu-export-rootfs, we don't need to use custom rpc
program numbers because runqemu-export-rootfs tells unfsd not to
register with the portmapper, and unfsd runs the nfs and mount rpc
services on tcp/udp ports unfsd binds itself (iow: the tcp/udp ports are
not shared in the sunrpc sense).
Linux's nfs client does not query rpcbind when tcp/udp port numbers are
specified (in net/sunrpc/clnt.c, call_bind checks for the tcp/udp port
with xprt_bound() and skips the call to rpcbind if xprtsock.c's
xs_setup_udp() or xs_setup_tcp() has found a non-zero tcp/udp port).
The program numbers _are_ sent over the mount & nfs protocol (really,
over sunrpc), and checked to match at both ends. As a result, even when
rpcbind is unused, using different program numbers in unfsd vs linux
nfs client causes mounts to fail (and nfsroot mounts to timeout).
The result is that specifying custom program numbers in
runqemu-export-rootfs doesn't solve any conflicts, it simply requires
that users of runqemu-export-rootfs carry a kernel patch & adds 2 extra
parameters to the kernel command line unnecessarily.
Change runqemu-export-rootfs to use the default program numbers.
For now, I have not dropped the custom program number patches to linux,
nfs-utils, and unfsd just in case someone is using them in a
non-runqemu-export-rootfs context.
CC: Bruce Ashfield <bruce.ashfield@gmail.com>
CC: Mark Hatle <mark.hatle@windriver.com>
(From OE-Core rev: 9c91df324dfe58273f5a1d1d33dba1d34a180db7)
Signed-off-by: Cody P Schafer <dev@codyps.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When testing core-image-sato with hardening flags, it fails with
SIGSEGV in libc.so during relocation time
This is due to relocations in .text [textrel]
build QA points it out clearly during qemux86 build as well
AssertionError: 2 != 0 : Log: /mnt/a/oe/build/tmp/work/qemux86-bec-linux-musl/core-image-sato/1.0-r0/dmesg_output.log
-----------------------
Central error: [ 19.043597] rngd[525]: segfault at 80098bb7 ip b77b14fc sp bfe9b380 error 7 in libc.so[b774c000+97000]
(From OE-Core rev: 5770cd5bee1c9ad3025435426361f0e407d43ef8)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1. Upgrade gnutls from 3.5.9 to 3.5.13
2. Rebase the following patch file.
use-pkg-config-to-locate-zlib.patch
(From OE-Core rev: ba7e5f51327d9833776aa066f30c5e46606be374)
Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Note that this just removes a host path leakage: diffutils still
doesn't depend on coreutils so 'pr' might not actually be there
on image (this only breaks "diff -l" so no big deal).
(From OE-Core rev: 3f7fd738981752a8c34c6cf4a1f2d4c035b081ca)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The commit 51d32c6cd88ba0139c32793183fd6a236c1ef456 in
git://github.com/rpm-software-management/librepo.git
...
Author: Tomas Mlcoch <tmlcoch@redhat.com>
Date: Mon May 5 14:31:35 2014 +0200
Add LRO_SSLVERIFYPEER and LRO_SSLVERIFYHOST options (RhBug: 1093014)
...
It incorrectly setopt CURLOPT_SSL_VERIFYPEER for LRO_SSLVERIFYHOST.
Use CURLOPT_SSL_VERIFYHOST to correct.
(From OE-Core rev: 266545f5f5758be397a6c2cd4727d5c0895c924d)
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>
We put the bitbake command line in the buildhistory commit message for
informational purposes, but calling sys.argv to get that as we were
previously doesn't really work in memory resident mode - that gives you
the command used to start the bitbake server which is much less
interesting. Use the just-introduced BB_CMDLINE variable instead.
Part of the fix for [YOCTO #11634].
(From OE-Core rev: 1a6424ee4c865601ff324e9599a2f48c9e6723ee)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In order to be able to use dpkg-perl on a system various stock perl
modules must also be installed on the system. Create the list of
required modules based on a read of the code and testing with additional
utilities and list them in RDEPENDS_${PN}-perl.
(From OE-Core rev: 2e0044ed32485fe24e0cedd9354dd546cb9c47a5)
Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In order for the dpkg perl modules to be used the must reside in the
versioned perl library directory (as to be in the default include path).
Be explicit about this location in our FILES_${PN}-perl directive, so
that if this breaks in the future, the recipe will fail). We can now
drop the custom do_configure as it wasn't fixing this problem.
(From OE-Core rev: 05f6ff9a500bb97d8ef1f943eff1b9d90246651f)
Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It is possible for non-CPAN recipes to contain perl modules. These perl
modules must reside in the versioned perl library directory in order to
work in normal circumstances.. Export this logic to a separate class so
that it can be reused without the rest of the cpan logic.
Without this, dpkg will not export its perl code to the correct location
and will not be found by utilities that expect to use it.
(From OE-Core rev: f4edc200d3a9645f9674eae0f8d10926680ba4f8)
Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With these changes it is possible to have a .bbappend that
- sets SYSCONFDIR to some persistent storage
- modifies SYSCONFDIR/sshd_config to use ssh host keys from
the (writable) sysconfdir
(From OE-Core rev: 106b59d9f96f70d133fa1421091ad280d27a5b6a)
Signed-off-by: André Draszik <adraszik@tycoint.com>
Reviewed-by: Stephane Ayotte <sayotte@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is needed for avahi-autoipd, which attempts to
create a link-scope route as part of its work.
Without iproute scope support in busybox, the route is
not created due to an error message, and hence we
aren't accessible by, and can't access ourselves,
IP addresses outside the link-local scope
(169.254.0.0/16) unless we also have a proper
non link-local IP address, which somehow defeats the
purpose of zeroconf.
(From OE-Core rev: bd06a1cbe8e97b7f66979b12d4d248092379df4a)
Signed-off-by: André Draszik <adraszik@tycoint.com>
Reviewed-by: Stephane Ayotte <sayotte@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
RPM's default is single-threaded gz; the change greatly helps with
both buildtimes (when there is a small number of large-sized packages)
and disk space taken by resulting rpms.
(From OE-Core rev: f108c4d09926bd28e7a57b665fc8cb5373827780)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating the the latest 4.4 -stable release which comprises the
following commits:
4bbbc7696405 Linux 4.4.71
9d65be36a7cc xfs: only return -errno or success from attr ->put_listent
1b03d85a4f37 xfs: in _attrlist_by_handle, copy the cursor back to userspace
c56605c69ba6 xfs: fix unaligned access in xfs_btree_visit_blocks
9f7b5da0570f xfs: bad assertion for delalloc an extent that start at i_size
3ba13d7f5b2b xfs: fix indlen accounting error on partial delalloc conversion
1d41dd5c1fd6 xfs: wait on new inodes during quotaoff dquot release
9d97d6a15265 xfs: update ag iterator to support wait on new inodes
8e25af0dc5ad xfs: support ability to wait on new inodes
cf55c35974e1 xfs: fix up quotacheck buffer list error handling
a76647a71c8e xfs: prevent multi-fsb dir readahead from reading random blocks
8caa9a54b32b xfs: handle array index overrun in xfs_dir2_leaf_readbuf()
0ace12c11401 xfs: fix over-copying of getbmap parameters from userspace
fe705621b9b4 xfs: fix off-by-one on max nr_pages in xfs_find_get_desired_pgoff()
b9a7816997a3 xfs: Fix missed holes in SEEK_HOLE implementation
03489bfc7830 mlock: fix mlock count can not decrease in race condition
7e13bab109ea mm/migrate: fix refcount handling when !hugepage_migration_supported()
4e4b72c0ee3d drm/gma500/psb: Actually use VBT mode when it is found
14bfe118dd7d slub/memcg: cure the brainless abuse of sysfs attributes
023a8b0925be ALSA: hda - apply STAC_9200_DELL_M22 quirk for Dell Latitude D430
85ddc41a6c4a pcmcia: remove left-over %Z format
69877793e23d drm/radeon: Unbreak HPD handling for r600+
15de2e4c90b7 drm/radeon/ci: disable mclk switching for high refresh rates (v2)
3529600b1601 scsi: mpt3sas: Force request partial completion alignment
58b7cb10f6e2 HID: wacom: Have wacom_tpc_irq guard against possible NULL dereference
c0fd730b678d mmc: sdhci-iproc: suppress spurious interrupt with Multiblock read
2ca57fc82436 i2c: i2c-tiny-usb: fix buffer not being DMA capable
1b5286ba9f13 vlan: Fix tcp checksum offloads in Q-in-Q vlans
e989f9bf2a9d net: phy: marvell: Limit errata to 88m1101
605b6b2b4d8a netem: fix skb_orphan_partial()
338f665acb4b ipv4: add reference counting to metrics
97f54575ff57 sctp: fix ICMP processing if skb is non-linear
fe22b6005538 tcp: avoid fastopen API to be used on AF_UNSPEC
d7ed7fcecf20 virtio-net: enable TSO/checksum offloads for Q-in-Q vlans
8380f16d0702 be2net: Fix offload features for Q-in-Q packets
38f02f2ce0ca ipv6: fix out of bound writes in __ip6_append_data()
3a854210f9a5 bridge: start hello_timer when enabling KERNEL_STP in br_stp_start
b543ccc4f627 qmi_wwan: add another Lenovo EM74xx device ID
94c0bf3cbb99 bridge: netlink: check vlan_default_pvid range
f76d54a8882e ipv6: Check ip6_find_1stfragopt() return value properly.
017fabead5c2 ipv6: Prevent overrun when parsing v6 header options
640bfcf232a9 net: Improve handling of failures on link and route dumps
7ede5c90fcdd tcp: eliminate negative reordering in tcp_clean_rtx_queue
ffa551def59c sctp: do not inherit ipv6_{mc|ac|fl}_list from parent
704e6c6b8651 sctp: fix src address selection if using secondary addresses for ipv6
90e3f8a55871 tcp: avoid fragmenting peculiar skbs in SACK
182abc4e74a1 s390/qeth: avoid null pointer dereference on OSN
21b871582375 s390/qeth: unbreak OSM and OSN support
2ac37098ee3d s390/qeth: handle sysfs error during initialization
d1428ee54073 ipv6/dccp: do not inherit ipv6_mc_list from parent
5f67a1663c03 dccp/tcp: do not inherit mc_list from parent
b9978c27454c sparc: Fix -Wstringop-overflow warning
b409ba3b0535 Linux 4.4.70
837bfdb41337 drivers: char: mem: Check for address space wraparound with mmap()
52cf24769487 nfsd: encoders mustn't use unitialized values in error cases
da922dc48dcf drm/edid: Add 10 bpc quirk for LGD 764 panel in HP zBook 17 G2
bc428e94070e PCI: Freeze PME scan before suspending devices
5f36c8b4e4a3 PCI: Fix pci_mmap_fits() for HAVE_PCI_RESOURCE_TO_USER platforms
6384f782a69c tracing/kprobes: Enforce kprobes teardown after testing
d5fb96b955ff osf_wait4(): fix infoleak
e07db0d720d3 genirq: Fix chained interrupt data ordering
1736f2b3de62 uwb: fix device quirk on big-endian hosts
ca19dd15e7bb metag/uaccess: Check access_ok in strncpy_from_user
2d9b2e780832 metag/uaccess: Fix access_ok()
98d5e84363ea iommu/vt-d: Flush the IOTLB to get rid of the initial kdump mappings
cb89b1f9dff9 staging: rtl8192e: rtl92e_get_eeprom_size Fix read size of EPROM_CMD.
427907e599fa staging: rtl8192e: fix 2 byte alignment of register BSSIDR.
8b26f53bf026 mm/huge_memory.c: respect FOLL_FORCE/FOLL_COW for thp
f03484fd5a3a xc2028: Fix use-after-free bug properly
e0188a556da6 arm64: documentation: document tagged pointer stack constraints
06dd8281a7d3 arm64: uaccess: ensure extension of access_ok() addr
c23fee69f5b5 arm64: xchg: hazard against entire exchange variable
acbab784a9b6 ARM: dts: at91: sama5d3_xplained: not all ADC channels are available
6ae3be7167b7 ARM: dts: at91: sama5d3_xplained: fix ADC vref
1ab43a598996 powerpc/64e: Fix hang when debugging programs with relocated kernel
33c0c0f8edb9 powerpc/pseries: Fix of_node_put() underflow during DLPAR remove
a86b9ecf1158 powerpc/book3s/mce: Move add_taint() later in virtual mode
f3ffc64bf3dd cx231xx-cards: fix NULL-deref at probe
3208e455284b cx231xx-audio: fix NULL-deref at probe
bd14c18861c7 cx231xx-audio: fix init error path
f7c778fa707d dvb-frontends/cxd2841er: define symbol_rate_min/max in T/C fe-ops
e5a9ebb4387a zr364xx: enforce minimum size when reading header
a6e0caa34715 dib0700: fix NULL-deref at probe
a896652f6ad3 s5p-mfc: Fix unbalanced call to clock management
fc9753aa6ce9 gspca: konica: add missing endpoint sanity check
04f522476a26 ceph: fix recursion between ceph_set_acl() and __ceph_setattr()
0e9e19a66530 iio: proximity: as3935: fix as3935_write
8a5b15e198f1 ipx: call ipxitf_put() in ioctl error path
4ae1efc7cc98 USB: hub: fix non-SS hub-descriptor handling
af4e23402409 USB: hub: fix SS hub-descriptor handling
1e6e9c4c36f9 USB: serial: io_ti: fix div-by-zero in set_termios
4be0ae3d314c USB: serial: mct_u232: fix big-endian baud-rate handling
704f23f20c5e USB: serial: qcserial: add more Lenovo EM74xx device IDs
1c7f99aa2979 usb: serial: option: add Telit ME910 support
319be2ab4731 USB: iowarrior: fix info ioctl on big-endian hosts
1beae7405705 usb: musb: tusb6010_omap: Do not reset the other direction's packet size
5cbfae4ad360 ttusb2: limit messages to buffer size
9737909ff9d4 mceusb: fix NULL-deref at probe
f05c0dfd394f usbvision: fix NULL-deref at probe
14d0cafd3f95 net: irda: irda-usb: fix firmware name on big-endian hosts
ec0b553bd8df usb: host: xhci-mem: allocate zeroed Scratchpad Buffer
c0791b605fac xhci: apply PME_STUCK_QUIRK and MISSING_CAS quirk for Denverton
65ba07489dcd usb: host: xhci-plat: propagate return value of platform_get_irq()
ada79b5ecda7 sched/fair: Initialize throttle_count for new task-groups lazily
f01ae9cb0de2 sched/fair: Do not announce throttled next buddy in dequeue_task_fair()
ae3d7b8931eb fscrypt: avoid collisions when presenting long encrypted filenames
129a883b0191 f2fs: check entire encrypted bigname when finding a dentry
269d8211c400 fscrypt: fix context consistency check when key(s) unavailable
0aa3b8ef6975 net: qmi_wwan: Add SIMCom 7230E
22823e95193a ext4 crypto: fix some error handling
0a76f023e6f2 ext4 crypto: don't let data integrity writebacks fail with ENOMEM
f0486aa7bc80 USB: serial: ftdi_sio: add Olimex ARM-USB-TINY(H) PIDs
16ac61cf707c USB: serial: ftdi_sio: fix setting latency for unprivileged users
6a70a5833ecc pid_ns: Fix race between setns'ed fork() and zap_pid_ns_processes()
ddf9b92f12dd pid_ns: Sleep in TASK_INTERRUPTIBLE in zap_pid_ns_processes
060d2642682e iio: dac: ad7303: fix channel description
14323b731072 of: fix sparse warning in of_pci_range_parser_one
000959316365 proc: Fix unbalanced hard link numbers
d22b933fb8eb cdc-acm: fix possible invalid access when processing notification
e4add1cf6b41 drm/nouveau/tmr: handle races with hw when updating the next alarm time
9d78e40f5f41 drm/nouveau/tmr: avoid processing completed alarms when adding a new one
5e07724c28f4 drm/nouveau/tmr: fix corruption of the pending list when rescheduling an alarm
27f82df2f026 drm/nouveau/tmr: ack interrupt before processing alarms
3819271d8a5f drm/nouveau/therm: remove ineffective workarounds for alarm bugs
7d2d6022807a drm/amdgpu: Make display watermark calculations more accurate
349666cfbe76 drm/amdgpu: Avoid overflows/divide-by-zero in latency_watermark calculations.
670a7c5db22e ath9k_htc: fix NULL-deref at probe
8431037ba10b ath9k_htc: Add support of AirTies 1eda:2315 AR9271 device
c26190b5378d s390/cputime: fix incorrect system time
d1f8ea3bd095 s390/kdump: Add final note
de74aedd71c0 regulator: tps65023: Fix inverted core enable logic.
6d380f50113c KVM: X86: Fix read out-of-bounds vulnerability in kvm pio emulation
e9c9e7588ef5 KVM: x86: Fix load damaged SSEx MXCSR register
08e589a97d38 ima: accept previously set IMA_NEW_FILE
0c99c8a22cc4 mwifiex: pcie: fix cmd_buf use-after-free in remove/reset
e367d1b00f81 rtlwifi: rtl8821ae: setup 8812ae RFE according to device type
c5ff397f075e md: update slab_cache before releasing new stripes when stripes resizing
d3df9403c075 dm space map disk: fix some book keeping in the disk space map
1dc9fb3cc12e dm thin metadata: call precommit before saving the roots
ea4889d6f39d dm bufio: make the parameter "retain_bytes" unsigned long
4a9631ffe520 dm cache metadata: fail operations if fail_io mode has been established
8d8fb01a62f2 dm bufio: check new buffer allocation watermark every 30 seconds
5d1df36c9d2c dm bufio: avoid a possible ABBA deadlock
4df4bf1df916 dm raid: select the Kconfig option CONFIG_MD_RAID0
fa499b361bd4 dm btree: fix for dm_btree_find_lowest_key()
c04397351fe5 infiniband: call ipv6 route lookup via the stub interface
63450e38efe3 tpm_crb: check for bad response size
025e33ee387a ARM: tegra: paz00: Mark panel regulator as enabled on boot
b171ce6c5e41 USB: core: replace %p with %pK
cda5c7e625ce char: lp: fix possible integer overflow in lp_setup()
ea99c2248495 watchdog: pcwd_usb: fix NULL-deref at probe
ca157f64dc9c USB: ene_usb6250: fix DMA to the stack
b572de59915e usb: misc: legousbtower: Fix memory leak
8a7f9dfbd4ae usb: misc: legousbtower: Fix buffers on stack
bb56ca291305 Linux 4.4.69
35df2085ec02 ipmi: Fix kernel panic at ipmi_ssif_thread()
d4392269f7ce wlcore: Add RX_BA_WIN_SIZE_CHANGE_EVENT event
4b86b46ef410 wlcore: Pass win_size taken from ieee80211_sta to FW
8ef67e0078b3 mac80211: RX BA support for sta max_rx_aggregation_subframes
d13333edbcc7 mac80211: pass block ack session timeout to to driver
0fe94dd915fd mac80211: pass RX aggregation window size to driver
f85e0c5f592c Bluetooth: hci_intel: add missing tty-device sanity check
bf3feec82ce3 Bluetooth: hci_bcm: add missing tty-device sanity check
ff1c4cf24642 Bluetooth: Fix user channel for 32bit userspace on 64bit kernel
9bd2cc56a089 tty: pty: Fix ldisc flush after userspace become aware of the data already
814c2bac9032 serial: omap: suspend device on probe errors
a52e1012585f serial: omap: fix runtime-pm handling on unbind
605fa1a2aa03 serial: samsung: Use right device for DMA-mapping calls
db467fee7ffb arm64: KVM: Fix decoding of Rt/Rt2 when trapping AArch32 CP accesses
f08bc4d63377 padata: free correct variable
9f4ba9062c2c CIFS: add misssing SFM mapping for doublequote
9a4050669919 cifs: fix CIFS_IOC_GET_MNT_INFO oops
a8900a64eabf CIFS: fix mapping of SFM_SPACE and SFM_PERIOD
b85fa4129e7a SMB3: Work around mount failure when using SMB3 dialect to Macs
89d23005fd63 Set unicode flag on cifs echo request to avoid Mac error
7aad381af8c3 fs/block_dev: always invalidate cleancache in invalidate_bdev()
bb7031c7e50f ceph: fix memory leak in __ceph_setxattr()
eb04a7344c83 fs/xattr.c: zero out memory copied to userspace in getxattr
a3e6be0e9447 ext4: evict inline data when writing to memory map
ab7ebca418bb IB/mlx4: Reduce SRIOV multicast cleanup warning message to debug level
1ad689bdc12d IB/mlx4: Fix ib device initialization error flow
1360f4301c78 IB/IPoIB: ibX: failed to create mcg debug file
1549c883d39b IB/core: Fix sysfs registration error flow
d96bb545d6ff vfio/type1: Remove locked page accounting workqueue
341adf516842 dm era: save spacemap metadata root after the pre-commit
dcd4004ae521 crypto: algif_aead - Require setkey before accept(2)
21cb4dc57b3c block: fix blk_integrity_register to use template's interval_exp if not 0
cbaeca8251bb KVM: arm/arm64: fix races in kvm_psci_vcpu_on
7b268351860c KVM: x86: fix user triggerable warning in kvm_apic_accept_events()
a2d5dcf338ea um: Fix PTRACE_POKEUSER on x86_64
b8cd9dd513bf x86, pmem: Fix cache flushing for iovec write < 8 bytes
d34ecdc9712c selftests/x86/ldt_gdt_32: Work around a glibc sigaction() bug
e89233f53e3d x86/boot: Fix BSS corruption/overwrite bug in early x86 kernel startup
3d3ca81d5e35 usb: hub: Do not attempt to autosuspend disconnected devices
0b4dad7c2cf4 usb: hub: Fix error loop seen after hub communication errors
7cad8a47ca94 usb: Make sure usb/phy/of gets built-in
6c3785cca656 usb: misc: add missing continue in switch
d3c04901f750 staging: comedi: jr3_pci: cope with jiffies wraparound
7fc6659b19a2 staging: comedi: jr3_pci: fix possible null pointer dereference
5ac489a80ffb staging: gdm724x: gdm_mux: fix use-after-free on module unload
265500bf9802 staging: vt6656: use off stack for out buffer USB transfers.
9d3c45786f27 staging: vt6656: use off stack for in buffer USB transfers.
de9d2d297ebe USB: Proper handling of Race Condition when two USB class drivers try to call init_usb_class simultaneously
fcd9a083cd22 USB: serial: ftdi_sio: add device ID for Microsemi/Arrow SF2PLUS Dev Kit
af3c8bf0e06b usb: host: xhci: print correct command ring address
8e1a740a5d66 iscsi-target: Set session_fall_back_to_erl0 when forcing reinstatement
6cd0200a9554 target: Convert ACL change queue_depth se_session reference usage
de41b0e12d6e target/fileio: Fix zero-length READ and WRITE handling
a1c2b01c310a target: Fix compare_and_write_callback handling for non GOOD status
8e209a07b106 xen: adjust early dom0 p2m handling to xen hypervisor behavior
(From OE-Core rev: 2e7d1a42b14de6f47543186f7855658a2ec36397)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating to the latest 4.9 -stable which comprises the following
commits:
f1aa865ae5d4 Linux 4.9.31
11214bd292ec xfs: Fix off-by-in in loop termination in xfs_find_get_desired_pgoff()
75c5afd58d46 xfs: fix unaligned access in xfs_btree_visit_blocks
7fb8ab8f0a38 xfs: avoid mount-time deadlock in CoW extent recovery
e40c145c023d xfs: xfs_trans_alloc_empty
0e542792a046 xfs: bad assertion for delalloc an extent that start at i_size
f60d76efa91a xfs: BMAPX shouldn't barf on inline-format directories
53c44c236f21 xfs: fix indlen accounting error on partial delalloc conversion
54894ea3c542 xfs: fix use-after-free in xfs_finish_page_writeback
d457f822817f xfs: reserve enough blocks to handle btree splits when remapping
0ba833fe73d2 xfs: wait on new inodes during quotaoff dquot release
2ea882d8ebc7 xfs: update ag iterator to support wait on new inodes
e86b616b5b9e xfs: support ability to wait on new inodes
10f0b2c3c225 xfs: fix up quotacheck buffer list error handling
95487d4be1e9 xfs: prevent multi-fsb dir readahead from reading random blocks
93bd169845e5 xfs: handle array index overrun in xfs_dir2_leaf_readbuf()
99226b890d63 xfs: fix integer truncation in xfs_bmap_remap_alloc
4e2762878a59 xfs: drop iolock from reclaim context to appease lockdep
4e8163fc8159 xfs: actually report xattr extents via iomap
de417ea6b0a6 xfs: fix over-copying of getbmap parameters from userspace
c2ad2dc3d264 xfs: use dedicated log worker wq to avoid deadlock with cil wq
3890d83805fe xfs: fix kernel memory exposure problems
ca659e086fb7 xfs: rework the inline directory verifiers
815414e7648b xfs: verify inline directory data forks
11b485477285 xfs: fix off-by-one on max nr_pages in xfs_find_get_desired_pgoff()
9c795fff53f9 xfs: use ->b_state to fix buffer I/O accounting release race
c9eab63b9e62 xfs: Fix missed holes in SEEK_HOLE implementation
670821b9482d drm/gma500/psb: Actually use VBT mode when it is found
74b416367b4e mm/slub.c: trace free objects at KERN_INFO
c1bb2a899b5f slub/memcg: cure the brainless abuse of sysfs attributes
873f3b0ebbfe ksm: prevent crash after write_protect_page fails
d5ecb4ca0da7 x86/boot: Use CROSS_COMPILE prefix for readelf
d1cff2222071 RDMA/qib,hfi1: Fix MR reference count leak on write with immediate
292f70cd9649 mm: consider memblock reservations for deferred memory initialization sizing
1163e785b150 mlock: fix mlock count can not decrease in race condition
d494cab70697 mm/migrate: fix refcount handling when !hugepage_migration_supported()
7d8ef0e0bc1e ALSA: hda - apply STAC_9200_DELL_M22 quirk for Dell Latitude D430
da856d05645c pcmcia: remove left-over %Z format
ebd4c110fd0b drm/radeon: Fix vram_size/visible values in DRM_RADEON_GEM_INFO ioctl
acc771fdaec7 drm/radeon: Unbreak HPD handling for r600+
c8d25fcb5980 drm/radeon/ci: disable mclk switching for high refresh rates (v2)
9869fb485cc6 scsi: mpt3sas: Force request partial completion alignment
21f33b157721 nvme: avoid to use blk_mq_abort_requeue_list()
510b0ec7f60f nvme: use blk_mq_start_hw_queues() in nvme_kill_queues()
ae0578089242 nvme-rdma: support devices with queue size < 32
34808d76dd77 HID: wacom: Have wacom_tpc_irq guard against possible NULL dereference
69b1d90e6a0f ibmvscsis: Fix the incorrect req_lim_delta
80569d0e09ad ibmvscsis: Clear left-over abort_cmd pointers
49d33fd10070 iscsi-target: Always wait for kthread_should_stop() before kthread exit
ecbf0f48d65e mmc: sdhci-iproc: suppress spurious interrupt with Multiblock read
8735cf2291cd Revert "ACPI / button: Change default behavior to lid_init_state=open"
32d8077f1e9b acpi, nfit: Fix the memory error check in nfit_handle_mce()
68c83a379106 x86/MCE: Export memory_error()
4472887cbd13 crypto: skcipher - Add missing API setkey checks
63399974effb i2c: i2c-tiny-usb: fix buffer not being DMA capable
d3b2d9ca90c2 drivers/tty: 8250: only call fintek_8250_probe when doing port I/O
1d74fc36f3ec powerpc/spufs: Fix hash faults for kernel regions
68a056175512 fs/ufs: Set UFS default maximum bytes per file
1a658771d5e1 sparc/ftrace: Fix ftrace graph time measurement
45ceb845ef34 sparc: Fix -Wstringop-overflow warning
c1133c671a04 bpf: add bpf_clone_redirect to bpf_helper_changes_pkt_data
988b9792b856 ipv4: add reference counting to metrics
1de51502a025 sctp: fix ICMP processing if skb is non-linear
4b81271ed1c3 tcp: avoid fastopen API to be used on AF_UNSPEC
9e056584770b virtio-net: enable TSO/checksum offloads for Q-in-Q vlans
9c6cfd5811bd be2net: Fix offload features for Q-in-Q packets
5f595d529796 vlan: Fix tcp checksum offloads in Q-in-Q vlans
cc6773b51bf3 net: phy: marvell: Limit errata to 88m1101
4fb5fd27dec0 net/mlx5: Avoid using pending command interface slots
1730a2b9e5b5 bonding: fix accounting of active ports in 3ad
304b41014acb ipv6: fix out of bound writes in __ip6_append_data()
ee72e7e5c2b4 bridge: start hello_timer when enabling KERNEL_STP in br_stp_start
0d10ebbc835f qmi_wwan: add another Lenovo EM74xx device ID
2ea4221eb4ae bridge: netlink: check vlan_default_pvid range
3fa202ef74c8 ipv6: Check ip6_find_1stfragopt() return value properly.
a2c845e51a82 ipv6: Prevent overrun when parsing v6 header options
68647616fd53 net: Improve handling of failures on link and route dumps
0174b07408f2 tcp: eliminate negative reordering in tcp_clean_rtx_queue
ac3735bf97f0 net/mlx5e: Fix ethtool pause support and advertise reporting
1594973b8e07 net/mlx5e: Use the correct pause values for ethtool advertising
f79d3307c035 net/packet: fix missing net_device reference release
5e7d9f0b3f72 sctp: do not inherit ipv6_{mc|ac|fl}_list from parent
eb7f6d6989ad sctp: fix src address selection if using secondary addresses for ipv6
8d625242e86b tcp: avoid fragmenting peculiar skbs in SACK
a5db124dc2a4 net: fix compile error in skb_orphan_partial()
5d165daafc44 netem: fix skb_orphan_partial()
21e3113298f9 bpf, arm64: fix faulty emission of map access in tail calls
c1f3f197d650 s390/qeth: add missing hash table initializations
96a81eb6ad5a s390/qeth: avoid null pointer dereference on OSN
b68c2e387a23 s390/qeth: unbreak OSM and OSN support
25c1a1e4d891 s390/qeth: handle sysfs error during initialization
4bd8f5e38e5a ipv6/dccp: do not inherit ipv6_mc_list from parent
8f1f08be3974 driver: vrf: Fix one possible use-after-free issue
4eed44029507 dccp/tcp: do not inherit mc_list from parent
db3fd4527ed3 Linux 4.9.30
5a597b225d48 drm/i915/gvt: Disable access to stolen memory as a guest
1489183c2005 drivers: char: mem: Check for address space wraparound with mmap()
51d9c51523ec nfsd: encoders mustn't use unitialized values in error cases
ea465551af30 nfsd: fix undefined behavior in nfsd4_layout_verify
f2b6f508c541 NFS: Use GFP_NOIO for two allocations in writeback
a8c35e5c88de NFS: Fix use after free in write error path
88ac6b7e0c82 NFSv4: Fix a hang in OPEN related to server reboot
5438f8952906 drm/edid: Add 10 bpc quirk for LGD 764 panel in HP zBook 17 G2
5956b2815f90 mtd: nand: add ooblayout for old hamming layout
6639b27f5a4c mtd: nand: omap2: Fix partition creation via cmdline mtdparts
e437af936a49 mtd: nand: orion: fix clk handling
db6636416195 PCI: Freeze PME scan before suspending devices
9ad81ecb28d6 PCI: Only allow WC mmap on prefetchable resources
6bec009a2f69 PCI: Fix another sanity check bug in /proc/pci mmap
fa3bbb1c7f06 PCI: Fix pci_mmap_fits() for HAVE_PCI_RESOURCE_TO_USER platforms
87e7dc97c8a0 PCI: hv: Specify CPU_AFFINITY_ALL for MSI affinity when >= 32 CPUs
d1d63f97dd76 PCI: hv: Allocate interrupt descriptors with GFP_ATOMIC
dd0023d7105c tracing/kprobes: Enforce kprobes teardown after testing
cc0aa21de47c um: Fix to call read_initrd after init_bootmem
541c67844198 osf_wait4(): fix infoleak
07d8aabff490 MIPS: Loongson-3: Select MIPS_L1_CACHE_SHIFT_6
6d6a43a08611 nvme: unmap CMB and remove sysfs file in reset path
423f1752a028 genirq: Fix chained interrupt data ordering
3fe116563d5d uwb: fix device quirk on big-endian hosts
f157261b55a4 stackprotector: Increase the per-task stack canary's random range from 32 bits to 64 bits on 64-bit platforms
e8a8a6972c50 metag/uaccess: Check access_ok in strncpy_from_user
9fefcb947ec2 metag/uaccess: Fix access_ok()
21f2950f91ff iommu/vt-d: Flush the IOTLB to get rid of the initial kdump mappings
58e36d6f7f11 staging: rtl8192e: GetTs Fix invalid TID 7 warning.
93a46fe4eb41 staging: rtl8192e: rtl92e_get_eeprom_size Fix read size of EPROM_CMD.
d0226f9adaf8 staging: rtl8192e: fix 2 byte alignment of register BSSIDR.
f4205502948b staging: rtl8192e: rtl92e_fill_tx_desc fix write to mapped out memory.
e6b8f5ade305 arm64: documentation: document tagged pointer stack constraints
e817a7fb2f31 arm64: uaccess: ensure extension of access_ok() addr
4775fbcc92d7 arm64: armv8_deprecated: ensure extension of addr
f2e4f4e538f0 arm64: ensure extension of smp_store_release value
88675139a81d arm64: xchg: hazard against entire exchange variable
31a331c8cf26 arm64: dts: hi6220: Reset the mmc hosts
5ee1c675ab92 ARM: dts: imx6sx-sdb: Remove OPP override
03d8b264bcb9 ARM: dts: at91: sama5d3_xplained: not all ADC channels are available
086ea4b9510c ARM: dts: at91: sama5d3_xplained: fix ADC vref
9f6cea2e3bbd ARM: 8670/1: V7M: Do not corrupt vector table around v7m_invalidate_l1 call
3304f5a1cb87 ARM: 8662/1: module: split core and init PLT sections
ee773459557d KVM: arm: plug potential guest hardware debug leakage
0ba7e8e34193 arm: KVM: Do not use stack-protector to compile HYP code
d0fb4b7d00bb arm64: KVM: Do not use stack-protector to compile EL2 code
a685601f8533 powerpc/tm: Fix FP and VMX register corruption
018b91870856 powerpc/64e: Fix hang when debugging programs with relocated kernel
3915c566ea94 powerpc/iommu: Do not call PageTransHuge() on tail pages
5ba5685a26b1 powerpc/pseries: Fix of_node_put() underflow during DLPAR remove
a0da3e00df38 powerpc/book3s/mce: Move add_taint() later in virtual mode
222f1d668d00 powerpc/eeh: Avoid use after free in eeh_handle_special_event()
690f09eb52bc powerpc/mm: Ensure IRQs are off in switch_mm()
2338de43e234 cx231xx-cards: fix NULL-deref at probe
8ebb884009b6 cx231xx-audio: fix NULL-deref at probe
1b24b8c07023 cx231xx-audio: fix init error path
40616929f87e dw2102: limit messages to buffer size
e42a6715d26b digitv: limit messages to buffer size
28590f1bb601 dvb-frontends/cxd2841er: define symbol_rate_min/max in T/C fe-ops
64579fcc57fd zr364xx: enforce minimum size when reading header
466b45af50fd dib0700: fix NULL-deref at probe
074912daab55 s5p-mfc: Fix unbalanced call to clock management
4a9c54250492 gspca: konica: add missing endpoint sanity check
e2f95f88106f s5p-mfc: Fix race between interrupt routine and device functions
6bee0b1fe4ed iio: hid-sensor: Store restore poll and hysteresis on S3
a99462b13dff iio: proximity: as3935: fix as3935_write
820adccd0e3b ipx: call ipxitf_put() in ioctl error path
c67e87a22dd8 USB: hub: fix non-SS hub-descriptor handling
3e4a4e68df08 USB: hub: fix SS hub-descriptor handling
f9cd79e0ad1f USB: serial: io_ti: fix div-by-zero in set_termios
c3e024ff9180 USB: serial: mct_u232: fix big-endian baud-rate handling
d8fc44d67488 USB: serial: qcserial: add more Lenovo EM74xx device IDs
7e5407600663 usb: serial: option: add Telit ME910 support
ee0f3a89842e USB: iowarrior: fix info ioctl on big-endian hosts
dbb127332abf usb: musb: Fix trying to suspend while active for OTG configurations
08c735a15d5b usb: musb: tusb6010_omap: Do not reset the other direction's packet size
ff9177b158c3 usb: dwc3: gadget: Prevent losing events in event cache
653cd31a2ca5 dvb-usb-dibusb-mc-common: Add MODULE_LICENSE
4f93054d9b45 ttusb2: limit messages to buffer size
c71b5040632f mceusb: fix NULL-deref at probe
736f41a47442 usbvision: fix NULL-deref at probe
a3adb4721ae2 net: irda: irda-usb: fix firmware name on big-endian hosts
1046d6a51f57 usb: host: xhci-mem: allocate zeroed Scratchpad Buffer
219628bb0c05 xhci: apply PME_STUCK_QUIRK and MISSING_CAS quirk for Denverton
1a926919364f usb: host: xhci-plat: propagate return value of platform_get_irq()
374a3fb5c3b0 xhci: remove GFP_DMA flag from allocation
fa313fd6673e libnvdimm: fix clear length of nvdimm_forget_poison()
af9bd5218855 fscrypt: avoid collisions when presenting long encrypted filenames
8daed21dbce1 f2fs: check entire encrypted bigname when finding a dentry
b9c0da6219e1 USB: chaoskey: fix Alea quirk on big-endian hosts
545a3171d37f USB: serial: ftdi_sio: add Olimex ARM-USB-TINY(H) PIDs
038ccaa5d50e USB: serial: ftdi_sio: fix setting latency for unprivileged users
2ea2f891fa85 pid_ns: Fix race between setns'ed fork() and zap_pid_ns_processes()
6dc6a2700b6a pid_ns: Sleep in TASK_INTERRUPTIBLE in zap_pid_ns_processes
5e40ac3fbd0d IB/hfi1: Fix a subcontext memory leak
b894ea8263ca IB/hfi1: Return an error on memory allocation failure
dfb450b2b66e IIO: bmp280-core.c: fix error in humidity calculation
a03176f92a02 iio: dac: ad7303: fix channel description
05a36277a195 ibmvscsis: Do not send aborted task response
9907c838fc07 of: fdt: add missing allocation-failure check
80cdf2065bf0 of: fix "/cpus" reference leak in of_numa_parse_cpu_nodes()
ae5074ba9ef8 of: fix sparse warning in of_pci_range_parser_one
d10b21d6e562 proc: Fix unbalanced hard link numbers
168b2bfaa235 cxl: Route eeh events to all drivers in cxl_pci_error_detected()
393531299547 cxl: Force context lock during EEH flow
fc6b678ab1d4 ohci-pci: add qemu quirk
809ae061d998 cdc-acm: fix possible invalid access when processing notification
198ab4031873 gpio: omap: return error if requested debounce time is not possible
b77adf29b856 drm/nouveau/tmr: handle races with hw when updating the next alarm time
1ec3c712e231 drm/nouveau/tmr: avoid processing completed alarms when adding a new one
6445a49a8c59 drm/nouveau/tmr: fix corruption of the pending list when rescheduling an alarm
16e10490d260 drm/nouveau/tmr: ack interrupt before processing alarms
e8ee63059196 drm/nouveau/therm: remove ineffective workarounds for alarm bugs
d1f006efde1f drm/amdgpu: Add missing lb_vblank_lead_lines setup to DCE-6 path.
b334b3492888 drm/amdgpu: Avoid overflows/divide-by-zero in latency_watermark calculations.
ebf3cf5b9a67 drm/amdgpu: Make display watermark calculations more accurate
adc6647c4f0f ath9k_htc: fix NULL-deref at probe
c39bafb9ee7a ath9k_htc: Add support of AirTies 1eda:2315 AR9271 device
768ae64b2ab2 s390/cputime: fix incorrect system time
8c5157c1967e s390/kdump: Add final note
c849b4fa8e10 regulator: tps65023: Fix inverted core enable logic.
5b00d6c85a92 regulator: rk808: Fix RK818 LDO2
ae382caa96f7 x86: fix 32-bit case of __get_user_asm_u64()
54e385430e12 KVM: X86: Fix read out-of-bounds vulnerability in kvm pio emulation
c996ad7568c0 KVM: x86: Fix potential preemption when get the current kvmclock timestamp
b64ecb25b1d5 KVM: x86: Fix load damaged SSEx MXCSR register
91034255e42f ima: accept previously set IMA_NEW_FILE
ce7146cf9bdf mwifiex: pcie: fix cmd_buf use-after-free in remove/reset
385eb9b33e1d mwifiex: MAC randomization should not be persistent
444df795edf4 rtlwifi: rtl8821ae: setup 8812ae RFE according to device type
7e7897878783 md: MD_CLOSING needs to be cleared after called md_set_readonly or do_md_stop
fa9a4a9c6d6f md: update slab_cache before releasing new stripes when stripes resizing
f2bb8bcbc09d dm space map disk: fix some book keeping in the disk space map
cc681811a92c dm thin metadata: call precommit before saving the roots
eeaf13394d32 dm bufio: make the parameter "retain_bytes" unsigned long
e69242436b6b dm cache metadata: fail operations if fail_io mode has been established
042d8dbf69c6 dm mpath: split and rename activate_path() to prepare for its expanded use
e08047c90c8a dm bufio: check new buffer allocation watermark every 30 seconds
98e7b9d45bf4 dm bufio: avoid a possible ABBA deadlock
c5066c4c1b7e dm raid: select the Kconfig option CONFIG_MD_RAID0
4de8eceefbea dm btree: fix for dm_btree_find_lowest_key()
5db8f42b62da infiniband: call ipv6 route lookup via the stub interface
cb5cf8aaba2e mlx5: Fix mlx5_ib_map_mr_sg mr length
ece453e8b0ca ASoC: cs4271: configure reset GPIO as output
cc15d340ec6a tpm_crb: check for bad response size
0c150305212b tpm: add sleep only for retry in i2c_nuvoton_write_status()
40ca1fd38e11 tpm: msleep() delays - replace with usleep_range() in i2c nuvoton driver
568ea0dcc27e tpm_tis_spi: Add small delay after last transfer
c4b3779c9783 tpm_tis_spi: Remove limitation of transfers to MAX_SPI_FRAMESIZE bytes
d513cf24e240 tpm_tis_spi: Check correct byte for wait state indicator
daa432c1a65a tpm_tis_spi: Abort transfer when too many wait states are signaled
aad1e5c81cbb tpm_tis_spi: Use single function to transfer data
cc0f994c205d fanotify: don't expose EOPENSTALE to userspace
e8b6d43ce3ea ARM: tegra: paz00: Mark panel regulator as enabled on boot
0251f6affb11 ALSA: hda: Fix cpu lockup when stopping the cmd dmas
5c1bd0cb4992 tpm_tis_core: Choose appropriate timeout for reading burstcount
3888f62943bb USB: core: replace %p with %pK
5d263d94a870 char: lp: fix possible integer overflow in lp_setup()
7a2b8471ab12 watchdog: pcwd_usb: fix NULL-deref at probe
6e2078c10092 USB: ene_usb6250: fix DMA to the stack
7d96e4a404c1 usb: misc: legousbtower: Fix memory leak
810b7c559954 usb: misc: legousbtower: Fix buffers on stack
f5eea276d8de Linux 4.9.29
9ee8502bd2cc pstore: Shut down worker when unregistering
a4de93008625 pstore: Fix flags to enable dumps on powerpc
1a1029507258 libnvdimm, pfn: fix 'npfns' vs section alignment
c171b24fe508 libnvdimm, pmem: fix a NULL pointer BUG in nd_pmem_notify
5b6e7f353290 libnvdimm, region: fix flush hint detection crash
46ba11b007c1 ipmi: Fix kernel panic at ipmi_ssif_thread()
6e7de39ef9a4 Bluetooth: hci_intel: add missing tty-device sanity check
f2f6d77fabe2 Bluetooth: hci_bcm: add missing tty-device sanity check
518ca84479d7 Bluetooth: Fix user channel for 32bit userspace on 64bit kernel
89c91ea37581 tty: pty: Fix ldisc flush after userspace become aware of the data already
e38a4c3b0b4a serial: omap: suspend device on probe errors
f8d2751b0012 serial: omap: fix runtime-pm handling on unbind
c5689e0ab6e1 serial: samsung: Use right device for DMA-mapping calls
64a599ac5dcc fscrypt: fix context consistency check when key(s) unavailable
8dd114ef78c8 device-dax: fix cdev leak
6240377c574b padata: free correct variable
1c5d8b377e58 CIFS: add misssing SFM mapping for doublequote
6f3b2eed8c9a cifs: fix CIFS_IOC_GET_MNT_INFO oops
f13d96bf98c2 CIFS: fix oplock break deadlocks
411346640ccd cifs: fix CIFS_ENUMERATE_SNAPSHOTS oops
449a74439d15 cifs: fix leak in FSCTL_ENUM_SNAPS response handling
87c0604d860f CIFS: fix mapping of SFM_SPACE and SFM_PERIOD
8dd4e3ff1bfb SMB3: Work around mount failure when using SMB3 dialect to Macs
2ac2ad9fb045 Set unicode flag on cifs echo request to avoid Mac error
4f5e1c48e80b Fix match_prepath()
4e434d4fe28a mm: prevent potential recursive reclaim due to clearing PF_MEMALLOC
945d0ecdd9bd fs/block_dev: always invalidate cleancache in invalidate_bdev()
091784ae9738 ceph: fix memory leak in __ceph_setxattr()
9a6bb7b5637e fs/xattr.c: zero out memory copied to userspace in getxattr
1777e888bd40 orangefs: do not check possibly stale size on truncate
63907bb781e7 orangefs: do not set getattr_time on orangefs_lookup
59f496104112 orangefs: clean up oversize xattr validation
127adc188c62 orangefs: fix bounds check for listxattr
b2764f851db6 ext4: evict inline data when writing to memory map
7929b50dedd1 perf auxtrace: Fix no_size logic in addr_filter__resolve_kernel_syms()
e3cea38357ea IB/hfi1: Prevent kernel QP post send hard lockups
43c54927f6f4 IB/mlx4: Reduce SRIOV multicast cleanup warning message to debug level
9ae6b33dcbb4 IB/mlx4: Fix ib device initialization error flow
d20bfe223d3e IB/IPoIB: ibX: failed to create mcg debug file
7a227630ab89 IB/core: For multicast functions, verify that LIDs are multicast LIDs
ecb0ab0f89c7 IB/core: Fix sysfs registration error flow
377178321690 iov_iter: don't revert iov buffer if csum error
9f43f70dcc56 vfio/type1: Remove locked page accounting workqueue
1773131ec4b9 dm thin: fix a memory leak when passing discard bio down
f32e35bc3d54 dm rq: check blk_mq_register_dev() return value in dm_mq_init_request_queue()
f6ec18eb7425 dm era: save spacemap metadata root after the pre-commit
f8d05099ec72 crypto: ccp - Change ISR handler method for a v5 CCP
a0a232489c0f crypto: ccp - Change ISR handler method for a v3 CCP
93424b2b63e0 crypto: ccp - Disable interrupts early on unload
36dffff240d9 crypto: ccp - Use only the relevant interrupt bits
bcc70358396a crypto: algif_aead - Require setkey before accept(2)
9b2fb8ad5ba1 block: fix blk_integrity_register to use template's interval_exp if not 0
884ba252f3f1 arm64: KVM: Fix decoding of Rt/Rt2 when trapping AArch32 CP accesses
7b0d4391d0f4 KVM: arm/arm64: fix races in kvm_psci_vcpu_on
bdf1d5b4c129 KVM: x86: fix user triggerable warning in kvm_apic_accept_events()
f99985cdee64 perf/x86: Fix Broadwell-EP DRAM RAPL events
0750e8b865ee um: Fix PTRACE_POKEUSER on x86_64
e0c871792cc6 x86, pmem: Fix cache flushing for iovec write < 8 bytes
e65c6aa10860 selftests/x86/ldt_gdt_32: Work around a glibc sigaction() bug
acb6dc6aa744 x86/boot: Fix BSS corruption/overwrite bug in early x86 kernel startup
219a99dd2198 usb: hub: Do not attempt to autosuspend disconnected devices
181b0de7f7cc usb: hub: Fix error loop seen after hub communication errors
5a001a687f7c usb: Make sure usb/phy/of gets built-in
5c51e4b65fca usb: gadget: legacy gadgets are optional
af534bf9540e usb: misc: add missing continue in switch
a54ab7420ac7 staging: comedi: jr3_pci: cope with jiffies wraparound
2bdc2e8c29e9 staging: comedi: jr3_pci: fix possible null pointer dereference
55f9811b98f2 staging: gdm724x: gdm_mux: fix use-after-free on module unload
83f66c9a6026 staging: vt6656: use off stack for out buffer USB transfers.
3eff228fdd43 staging: vt6656: use off stack for in buffer USB transfers.
6312a84dc8b5 USB: Revert "cdc-wdm: fix "out-of-sync" due to missing notifications"
5ffe717f351d USB: Proper handling of Race Condition when two USB class drivers try to call init_usb_class simultaneously
c31ff3ceb326 USB: serial: ftdi_sio: add device ID for Microsemi/Arrow SF2PLUS Dev Kit
91cd8f900c75 usb: host: xhci: print correct command ring address
853469d53e86 usb: xhci: bInterval quirk for TI TUSB73x0
bb1f06f53bcb iscsi-target: Set session_fall_back_to_erl0 when forcing reinstatement
f788fa43d87a target/fileio: Fix zero-length READ and WRITE handling
a4e52cc7d81b target: Fix compare_and_write_callback handling for non GOOD status
f2b8de98f737 xen: adjust early dom0 p2m handling to xen hypervisor behavior
58cd97ff374b Linux 4.9.28
6a7620744e89 block: get rid of blk_integrity_revalidate()
48d9fa1ece5e drm/ttm: fix use-after-free races in vm fault handling
347d07bf3add wlcore: Add RX_BA_WIN_SIZE_CHANGE_EVENT event
bbd839a40dde wlcore: Pass win_size taken from ieee80211_sta to FW
5d7ab8339a9a xen: Revert commits da72ff5bfcb0 and 72a9b186292d
93862955cbf4 f2fs: sanity check segment count
265d382cc8db net: mdio-mux: bcm-iproc: call mdiobus_free() in error path
ced0a31e667f bpf: don't let ldimm64 leak map addresses on unprivileged
e37aab9c63b8 bnxt_en: allocate enough space for ->ntp_fltr_bmap
8795ee7bed24 ipv6: reorder ip6_route_dev_notifier after ipv6_dev_notf
ecbd3ed2ddfe ipv6: initialize route null entry in addrconf_init()
5d8e07740c69 rtnetlink: NUL-terminate IFLA_PHYS_PORT_NAME string
f19065308601 ipv4, ipv6: ensure raw socket message is big enough to hold an IP header
747a00193f26 tcp: do not inherit fastopen_req from parent
78f032b071c1 net: usb: qmi_wwan: add Telit ME910 support
0f4ac291a768 net: ipv6: Do not duplicate DAD on link up
91260baa9d67 tcp: fix wraparound issue in tcp_lp
493d0a7be31c bpf, arm64: fix jit branch offset related to ldimm64
7bca0a9702ed bpf: enhance verifier to understand stack pointer arithmetic
f3235cbd5be1 tcp: do not underestimate skb->truesize in tcp_trim_head()
3b0129d4111e macsec: dynamically allocate space for sglist
22d6b013ffcf sparc64: fix fault handling in NGbzero.S and GENbzero.S
7aa0e14336d9 ALSA: hda - Fix deadlock of controller device lock at unbinding
170e0abd886b staging: emxx_udc: remove incorrect __init annotations
d8e94d091376 staging: wlan-ng: add missing byte order conversion
47b7257fc20f staging/lustre/llite: move root_squash from sysfs to debugfs
0b77c687d4e0 brcmfmac: Make skb header writable before use
f73dfc29afa6 brcmfmac: Ensure pointer correctly set if skb data location changes
b0e2e3acfe8e MIPS: R2-on-R6 MULTU/MADDU/MSUBU emulation bugfix
2d652d0abd3c scsi: smartpqi: fix time handling
a46d03e35179 scsi: mac_scsi: Fix MAC_SCSI=m option when SCSI=m
76aa65a2c0fd scsi: qla2xxx: Fix crash in qla2xxx_eh_abort on bad ptr
71fd9a94bd3f serial: 8250_omap: Fix probe and remove for PM runtime
115fb7ec22b5 phy: qcom-usb-hs: Add depends on EXTCON
52dd14d76812 clk: rockchip: add "," to mux_pll_src_apll_dpll_gpll_usb480m_p on rk3036
6fa44d4ba212 USB: serial: io_edgeport: fix descriptor error handling
62b8b773ebde USB: serial: mct_u232: fix modem-status error handling
e17c48c3280e USB: serial: quatech2: fix control-message error handling
594c9b4b0acb USB: serial: ftdi_sio: fix latency-timer error handling
ca4e6525df05 USB: serial: ark3116: fix open error handling
94bbbfe21b5a USB: serial: ti_usb_3410_5052: fix control-message error handling
b07e930d1f49 USB: serial: io_edgeport: fix epic-descriptor handling
4d32e36d6262 USB: serial: ssu100: fix control-message error handling
9ca301067502 USB: serial: digi_acceleport: fix incomplete rx sanity check
84443215cf54 USB: serial: keyspan_pda: fix receive sanity checks
b6c17077e056 usb: chipidea: Handle extcon events properly
8eb8c9b16fdd usb: chipidea: Only read/write OTGSC from one place
4a36b6a7ee88 usb: host: ohci-exynos: Decrese node refcount on exynos_ehci_get_phy() error paths
8f50cb88d862 usb: host: ehci-exynos: Decrese node refcount on exynos_ehci_get_phy() error paths
30643b5ac754 usb: dwc2: host: use msleep() for long delay
d0ee36354f77 KVM: nVMX: do not leak PML full vmexit to L1
560a979735f4 KVM: nVMX: initialize PML fields in vmcs02
39058adebbb1 Revert "KVM: nested VMX: disable perf cpuid reporting"
b6cd52a0eeaf x86/platform/intel-mid: Correct MSI IRQ line for watchdog device
1eae95d4bc03 kprobes/x86: Fix kernel panic when certain exception-handling addresses are probed
c9f617223904 clk: Make x86/ conditional on CONFIG_COMMON_CLK
1f0c69cfb2ad x86/mpx: Re-add MPX to selftests Makefile
56e524a8c305 x86/pci-calgary: Fix iommu_free() comparison of unsigned expression >= 0
5ed26fad2d08 x86/ioapic: Restore IO-APIC irq_chip retrigger callback
3b141e2965a7 iwlwifi: mvm: writing zero bytes to debugfs causes a crash
1fb264cf7d54 iwlwifi: mvm: synchronize firmware DMA paging memory
495f91630205 iwlwifi: mvm: fix references to first_agg_queue in DQA mode
4d6f2ac95bc5 iwlwifi: mvm: fix pending frame counter calculation
48aa5ec292f3 iwlwifi: mvm/pcie: adjust A-MSDU tx_cmd length in PCIe
04dd401a5145 iwlwifi: mvm: Use aux queue for offchannel frames in dqa
a6fe39262c51 iwlwifi: mvm: fix reorder timer re-arming
20a9de99a0da iwlwifi: pcie: fix the set of DMA memory mask
562c868d94a8 iwlwifi: pcie: trans: Remove unused 'shift_param'
9c8655c0a860 iwlwifi: pcie: don't increment / decrement a bool
948634492b40 iwlwifi: mvm: overwrite skb info later
45dad03aca55 iwlwifi: mvm: don't restart HW if suspend fails with unified image
d0a8075ffe05 iwlwifi: fix MODULE_FIRMWARE for 6030
9291cabe094b mwifiex: Avoid skipping WEP key deletion for AP
dcdeaa743342 mwifiex: remove redundant dma padding in AMSDU
525fda9221a8 mwifiex: debugfs: Fix (sometimes) off-by-1 SSID print
1d61da618969 ARM: dts: sun7i: lamobo-r1: Fix CPU port RGMII settings
ebae7681697d ARM: OMAP5 / DRA7: Fix HYP mode boot for thumb2 build
f4bff2c44dc9 ARM: dts: NSP: GPIO reboot open-source
329607b4864d leds: ktd2692: avoid harmless maybe-uninitialized warning
f46fdb8a2611 arm64: Improve detection of user/non-user mappings in set_pte(_at)
aadb7e073e81 arm: dts: qcom: Fix ipq board clock rates
e33fb57428a1 arm64: dts: r8a7795: Mark EthernetAVB device node disabled
e7b34f4a74f6 power: supply: bq24190_charger: Handle fault before status on interrupt
7f2b4ad9c07a power: supply: bq24190_charger: Don't read fault register outside irq_handle_thread()
4b7dac0a23b7 power: supply: bq24190_charger: Call power_supply_changed() for relevant component
63e1acc84d28 power: supply: bq24190_charger: Install irq_handler_thread() at end of probe()
20e448f2251c power: supply: bq24190_charger: Call set_mode_host() on pm_resume()
d8d6aedd54ce power: supply: bq24190_charger: Fix irq trigger to IRQF_TRIGGER_FALLING
89e8bd3add69 perf/x86/intel/pt: Add format strings for PTWRITE and power event tracing
1641bb14e8be powerpc: Correctly disable latent entropy GCC plugin on prom_init.o
b47a6b40655b powerpc/ftrace: Fix confusing help text for DISABLE_MPROFILE_KERNEL
50e027728915 powerpc/powernv: Fix opal_exit tracepoint opcode
754a2bcfd8b1 powerpc/mm: Fixup wrong LPCR_VRMASD value
a19718bd0b19 cpupower: Fix turbo frequency reporting for pre-Sandy Bridge cores
4f39fcce99d7 power: supply: lp8788: prevent out of bounds array access
ccef31d22e80 crypto: caam - fix error path for ctx_dma mapping failure
819e3601d3c5 tmp: use pdev for parent device in tpm_chip_alloc
326f9b0a39d3 tpm: fix RC value check in tpm2_seal_trusted
a941f261c8f1 hwmon: (it87) Fix pwm4 detection for IT8620 and IT8628
898c6bbfc88d drm/sti: fix GDP size to support up to UHD resolution
f5ca890f138d 9p: fix a potential acl leak
(From OE-Core rev: d26a362b6bcee7e5e745b76bd6fb5ef94697bf22)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It is possible to inherit meta data for either patches + config
or for just config.
It is possible that the patch queue contains invalid (when
sourced) shell characters in the patch names, which throws a
syntax error and aborts processing.
The patch + config case was fixed some time ago, but we recently
stumbled onto the config-only case which was still not properly
quoted and hence safe.
This commit brings the config-only inherit in line with the
patch + config processing and we won't abort processing if
characters like () are in patch names.
(From OE-Core rev: ce7044be10597d53725e6917a2949f3ab3de0c96)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Making the following kernel configuration fragment changes available:
c9f07d79f01d nftables: add more configuration options.
8d3cf0ad6c0c common-pc-wifi.cfg: add CONFIG_MT7601U module
55c9bf749c6d ktypes/developer: Enable CONFIG_KEXEC in config
(From OE-Core rev: a0d24f69425716ffd2439b1fb9170c343eaca453)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If for any reason the parse_recipe fail in extract command
the process gets locked because Cooker is expecting the
finish event by tinfoil.
For example:
$ devtool extract remake /tmp/remake
ERROR: remake is unavailable:
remake was skipped: PREFERRED_PROVIDER_virtual/make set to make, not remake
(From OE-Core rev: 2c0062b59178fa668b26487b6d2f1e81a0d868e0)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently there was a restriction to only execute tests that's
inherits from OETestCase but in some circunstancies the features
from the OEQA framework isn't needed so we need to support
basic unittests.
[YOCTO #10828]
(From OE-Core rev: baac26f1b36e89e07637b738dd31ec7356f05a02)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Our filtering allows to specify which tests to run using,
<module_name>.[test_class].[test_name]
But the module name logic was restricted to only accept one level,
for example: runtime_test vs oelib.types, to support multiple
submodules use only the first part for filtering.
This allows to run the whole tests in a module with more than tree
levels.
Due to the ambiguity on the test filtering options with test cases
with more than tree levels the supported sytnax is,
<module>
or
<module>.[submoduleN].[test_class].[test_name]
[YOCTO #11632]
(From OE-Core rev: cf2ee12b007e5570959ccfbb643159b21d90426e)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To make it obvious what is lost when python is disabled, actually delete the
scripts so the user can't attempt to use them.
(From OE-Core rev: 25c8d738b904c8755df203122067afa0047b27ad)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These commands are not whitelisted by the HOSTTOOLS variable which
silently prevents the MBR disk signature from being written to the
image.
Reported-by: Michael Davis <michael.davis@essvote.com>
(From OE-Core rev: a58e53f55259acd79a98a0f8b8a435d2a5aef36e)
Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since do_rootfs depends on cve-check results of all recipes,
we need to recursively depend on recipe do_cve_check.
(From OE-Core rev: a1af526e43cb476472a6203882c12deef297f542)
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Sometimes there are control messages in cve-check-tool printed to
stderr. These lead to parsing error and thus failed build.
This can happen for instance when cve database needs to be
refreshed during build.
(From OE-Core rev: 6d8a17f4c50be292990e37de65630a6b84466ee6)
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If there is cve report for a recipe in previous build and there
is no result for current one, old cves are kept in CVE_CHECK_DIR.
This happens on version upgrade or when cve/recipe is whitelisted.
(From OE-Core rev: 85b4941c71a0e3c08a8c48d52a94dfe2897d2c92)
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The upstream init script uses SIGUSR2 to terminate that daemon because
SIGTERM is ignored. As the killproc function does not support specifying
a signal, switch to start-stop-daemon. Drop the retry loop because
SIGUSR2 is lethal for agent.
(From OE-Core rev: 7a47752f8223f3c0ed4354d5e39f1319071acf41)
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This means mismatched layers are more clearly identified to the user in
cases where compatibility has not been tested. This is perhaps not as
needed for the core repository (other than CORENAMES) but lets lead by
example.
(From OE-Core rev: cde66d5eac8e5c2821ba225dc4be4af4e0581652)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently, someone trying a master branch of any given layer may
or may not find it works with the version of OE-Core that they
have picked.
This patchset introduces LAYERSERIES_CORENAMES and
LAYERSERIES_COMPAT_<layername> with the intention of allowing layers
to indicate which versions of the core project they're compatible with.
In general the master branch will use the next release codename as
the value of LAYERSERIES_CORENAMES, meaning that the waterfall model
of layer releases is supported with layers updating their
LAYERSERIES_COMPAT_ values as they branch for release.
Both variables support multiple strings and a given layer is accepted
if there is overlap of any one value. This means a layer can be compatible
with multiple core versions.
Setting LAYERSERIES_COMPAT_ will be required by the Yocto Project
Compatible v2 standard but the system will not error if its not set at this
point.
This should make it clear when a given layer is unmaintained and untested
with new releaes of OE-Core, a common user pain point.
(Bitbake rev: 92c49b9b1a16dfd35444db8143bd4cae4cda70cc)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
tinfoil sets up its own logger by default, but if and when we initialise
the UI (by default knotty) will also set one up, leading to duplicated
messages specifically from tasks. To avoid this, rather than adding some
kind of parameter, just check if there is already a logger outputting to
stdout/stderr and if so, skip adding our own.
Part of the fix for [YOCTO #11275].
(Bitbake rev: 66d866745f35468d1540a793d07e3a401298b84b)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adding an additional logger in setup_bitbake() interacts poorly with the
logger we have added by default in tinfoil's constructor, with the
result that messages may be doubled or even tripled in tinfoil-using
scripts. Disable adding this one when calling setup_bitbake() from
tinfoil to avoid this problem.
Part of the fix for [YOCTO #11275].
(Bitbake rev: 8a5bae76f91f2411187c638a42fa3c762052cf11)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop a number of the commands and support functions that were created
solely to support functionality in the now-removed Hob UI. In most cases
we now have this functionality elsewhere e.g. to modify config files and
recipes we have bb.utils.edit_metadata_file() and friends, and in OE we
have oe.recipeutils.patch_recipe_file() and friends which build on top of
the former. Additionally, some of it represented pretty egregious
incursion of OE metadata-specific references into BitBake code.
For now I have left in the find*File functions and commands as they are
relatively generic and possibly still useful, but they might be removed
in future.
(Bitbake rev: a322f13183c66a28d93cc4bc3d839d95fc1d90f4)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In OpenEmbedded's buildhistory class we want access to the bitbake
command line that launched the build, and up to now we were simply using
sys.argv from within the event handler to get that. Unfortunately that
doesn't work in memory resident mode, since the event handler is
naturally executing within the server and thus will give you the command
that launched the bitbake server which is much less interesting. Add a
dynamic variable BB_CMDLINE to provide access to this, set from sys.argv
within the UI process in updateToServer().
(Note that BB_CMDLINE isn't currently passed through to the worker, so
this is only really readable from event handlers plus any explicit
getVariable calls - in theory an observe-only UI could read it for
example.)
Part of the fix for [YOCTO #11634].
(Bitbake rev: 8ad31a3eff5cfcb7b1c462578a582dafcbc426d4)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If we set these flags here then we can not only tidy up some of the code
that calls initConfigurationData() (and reset() which simply calls the
former), we also avoid calling initConfigurationData() an extra time
unnecessarily during startup (since setting baseconfig_valid = False in
updateConfigOpts() also resulted in initConfigurationData() being
called from updateCacheSync() at the end of the command.)
(Bitbake rev: 74d2ef99a920aa9e70470ba8e600ea973a3c672a)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If you build a recipe, modify one of the files referred to in SRC_URI,
then build it again, it should re-run do_fetch and the tasks that depend
upon it to incorporate the modified file. With memory resident mode this
was not working unless you restarted the server, because the mtime of
the file was cached and thus we never checked the actual file. Clear out
the mtime caches in buildTargets() to ensure this isn't an issue. I did
a minor refactoring to break this out to its own function since we were
already clearing out the build mtime cache here.
(The test I used for this was . ./oe-init-build-env-memres,
bitbake -c fetch mdadm, modify the comments at the top of one of the
patches referred to in the recipe, and then bitbake -c fetch mdadm again
and it should re-execute the fetch task ("... 0 didn't need to be
re-run".)
Fixes [YOCTO #10732].
(Bitbake rev: fe4f3487368bc35043a1ba464e1c69d2c9cbefc6)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
CookerConfiguration sets the "tracking" option to True when -e is
specified in order to have history tracking enabled in the datastore
so that we can show variable history (which isn't enabled by default for
performance reasons), however in memory resident mode this wasn't doing
anything because it was happening on the UI side only. We do have a
mechanism for updating the cooker configuration in the server, but the
tracking option wasn't being included in the list of options we updated,
so we just need to add this option to fix the issue.
Fixes [YOCTO #10730].
(Bitbake rev: 57d4977555cf892b15dd0302dfe261fe37d49327)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Using 1000000 memory address for kernel and a00000 for dtb
can cause kernel image to overwrite dtb when uncompressing
and u-boot crashing with:
ERROR: image is not a fdt - must RESET the board to recover.
Updated flashing instructions for the board to use addresses
1000000 and 2000000 to avoid this error.
Got rid of resetting loadaddr and ftdaddr u-boot variables.
(From meta-yocto rev: 05fc7fc19a9b43cab31ea873e5c38a2737c799cf)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The SMP kernel config presents issues on qemuarm because:
CONFIG_SMP=y
Dependencies Missing:
- CPU_V6K or CPU_V7:
These are selected by setting:
CONFIG_ARCH_MULTI_V7=y
or
CONFIG_ARCH_MULTI_V6=y
But our QEMU + ARM BSPs are based on armv4/v5 hence they are
incompatible with CONFIG_SMP.
This patch fixes the script, and avoids offering SMP to the user
when the created BSP is based on QEMU + ARM.
[YOCTO #11426]
(From meta-yocto rev: d63aa4acd20b2aa022701289e9ab7be7f551b0b2)
Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
BBFILES_DYNAMIC can be used to activate content only when some other
layers are present. The other layers are identified by the collections
that they define.
The main use case is to avoid .bbappends without the corresponding .bb
file in layers that want to modify other layers via .bbappends without
introducing a hard dependency on those other layers. .bb files could
also be handled via BBFILES_DYNAMIC.
Entries in BBFILES_DYNAMIC must have the form <collection
name>:<filename pattern>. Example usage:
BBFILES_DYNAMIC += " \
clang-layer:${LAYERDIR}/bbappends/meta-clang/*/*/*.bbappend \
core:${LAYERDIR}/bbappends/openembedded-core/meta/*/*/*.bbappend \
"
Parsing is aborted when invalid entries are found with an error
message like this:
ERROR: BBFILES_DYNAMIC entries must be of the form <collection name>:<filename pattern>, not:
/work/my-layer/bbappends/meta-security-isafw/*/*/*.bbappend
/work/my-layer/bbappends/openembedded-core/meta/*/*/*.bbappend
Based on a patch by Richard Purdie.
(Bitbake rev: 04f8bd50aa04b12cf91dd6a3154527ad2c24695c)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This vulnerability is also called "rpcbomb".
Backport upstream patch to fix this vulnerability.
CVE: CVE-2017-8779
(From OE-Core rev: d10edb97f0a7d6952adf9e0dbb6b4d5c0d168195)
Signed-off-by: Fan Xin<fan.xin@jp.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1. Upgrade libtiff from 4.0.7 to 4.0.8
2. Delete the following patch file due to CVE-2017-5225 has been fixed in 4.0.8
libtiff-CVE-2017-5225.patch
(From OE-Core rev: 825927e85933322e6f195f0d937359017a9a9b97)
Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1. Upgrade hdparm from 9.51 to 9.52
2. Update the checksum of LIC_FILES_CHKSUM
The following content is appended to LICENSE.TXT, the licence is still BSD & GPLv2.
The apt.c file is Copyright (c) 2009 Jan Friesse <jfriesse@gmail.com>.
You may use/distribute apt.c freely, under the terms of either
(your choice) the GNU General Public License version 2,
or a BSD style license.
(From OE-Core rev: 3cd7aa486527d34bf6d20dd37046fe683230a4b6)
Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is wrongly detected by configure since it only checks for
__sync_add_and_fetch and not __atomic_fetch_add, it decides
to let compiler emit references to atomic functions which
it expects to be provided by libgcc, but thats not the
case for armv5 arch
[YOCTO #11616]
(From OE-Core rev: 6866ad53c5d49781002470195b4aae1ad1afde5c)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix build when PIE is turned on. It tries to build
.so file using -pie and -shared flags together because
its doing compile and link in same step CFLAGS and LDFLAGS
are combined and does not work, ending in errors e.g.
| /mnt/a/oe/build/tmp/work/cortexa7t2hf-neon-vfpv4-bec-linux-musleabi/python-pygpgme/0.3-r0/recipe-sysroot/usr/l
ib/Scrt1.o: In function `_start_c':
| /usr/src/debug/musl/1.1.16+gitAUTOINC+179766aa2e-r0/git/crt/crt1.c:17: undefined reference to `main'
| collect2: error: ld returned 1 exit status
This error while cryptic is due to the fact that we are
building a shared library but also pass -pie flag to the link
step after specify LDHSARED ( which is -shared linker flags )
we can not use -pie when doing shared libs. This is true for all the python
modules inheriting setup tools
Disable the pie flags thusly for all modules using setuptools since
this setting is done in setuptools makefiles which are then used
during module compiles
(From OE-Core rev: 6a4e3b696d32809279f1550cc1d67bc6b9979a03)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This recipe explictly sets -DAO_USE_PTHREAD_DEFS on ARM, but with libunwind 1.2
this causes the linker to fail:
hidden symbol `__sync_synchronize' in libgcc.a(linux-atomic.o) is referenced by DSO
Removing these defines lets configure do the right thing and build libunwind.
(From OE-Core rev: f2efadab8b1ab1c50584a39908673e1a6717f753)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A following linking error was observed:
| ==========
| archival/lib.a(tar.o): In function `tar_main':
| archival/tar.c:1168: undefined reference to `unpack_Z_stream'
| archival/tar.c:1168: undefined reference to `unpack_Z_stream'
| ld: busybox_unstripped: hidden symbol `unpack_Z_stream' isn't defined
| ld: final link failed: Bad value
this happened with clang compiler, with the following configs:
| CONFIG_TAR=y
| # CONFIG_FEATURE_SEAMLESS_Z is not set
which can be fixed by adding IF_FEATURE_* checks in.
(From OE-Core rev: 789254b5ae983a94346f53de18286713b80eb5f2)
Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I got a following error when I run buildstats-diff against a invalid
buildstats file:
| Traceback (most recent call last):
| File "/poky/scripts/buildstats-diff", line 548, in <module>
| sys.exit(main())
| File "/poky/scripts/buildstats-diff", line 534, in main
| bs1 = read_buildstats(args.buildstats1, args.multi)
| File "/poky/scripts/buildstats-diff", line 222, in read_buildstats
| return read_buildstats_dir(path)
| File "/poky/scripts/buildstats-diff", line 165, in read_buildstats_dir
| os.path.join(recipe_dir, task))]
| File "/poky/scripts/buildstats-diff", line 124, in read_buildstats_file
| bs_task['elapsed_time'] = end_time - start_time
| UnboundLocalError: local variable 'end_time' referenced before assignment
the root cause is that a task was terminated by me on the terminal,
so the generated buildstats file was invalid, supposing that it would
make the buildstats.sh fail, but the script should give more graceful
error messages.
(From OE-Core rev: dee3c29071017b4d12c02b711c5e42ca96e0578d)
Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We are using a temp directory, use the realpath for output log
to store the results in the original BUILDDIR.
[YOCTO #11571]
(From OE-Core rev: 0addd079966ece97abc2e0ba3e7d6434d23692aa)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Modify “test_devtool_virtual_kernel_modify” to be executed with default
configuration defined on oe-selftest test suite. A shorter string was
added to the the header file to avoid overlapped sections when building
kernel for qemux86-64.
[Yocto #11300]
(From OE-Core rev: a8bda790fded43eac72b2ad76d47c27363f02070)
Signed-off-by: Jose Perez Carranza <jose.perez.carranza@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There were two completely different tests inside selftest.py,
and the only reason for them to be together was that both needed
the same mechanism to execute (run testimage from within selftest)
This fixes the design issue and error-prone situation by separating
these tests. In add a new module for dnf-runtime and also has an
extra time added to running the tests, but it is minimal since
the builds reuse data from previuous build.
[YOCTO #11436]
(From OE-Core rev: 2f6a506018973f0eaf1306555df3e74a3ab25680)
Signed-off-by: Humberto Ibarra <humberto.ibarra.lopez@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Getting ip address from DHCP server is much more convenient
than setting static ip. It allows to configure u-boot in
more generic way and to avoid hardcoding static ip in
u-boot configuration.
Enabled dhcp client functionality for Yocto reference
hardware MPC8315E-RDB.
(From OE-Core rev: fa3a157e437aefa24c473ec53736a26f7e9fd470)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Catching a possible exception when importing the git module,
allows us to skip test if the latter is missing on the host.
Also, import oe.buildhistory_analysis inside fuctions
because this module also needs git to work correctly.
[YOCTO #11620]
(From OE-Core rev: 186882ca62bf683b93cd7a250963921b89ba071f)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In the original implementation, "bitbake-layers add-layers <layer>"
succeeded without error checking. This will further introduce
failures in recipe parsing only when "bitbake" command is executed.
Adding a meta layer without its dependency layer(s) should failed
and exit the process gracefully.
Added extra argument "-F" to force add a layer without checking
layer dependency.
[YOCTO #10913]
(Bitbake rev: 705ab252e631903e6d2e46202b419a9e8adcd861)
Signed-off-by: Phoong Stanley Cheong Kwan <stanley.cheong.kwan.phoong@intel.com>
Signed-off-by: Chang Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Modify CFLAGS for several cases which will not compile otherwise.
Do not use the form CFLAGS_x_append because it will replace, not
append to CFLAGS for override x.
(From OE-Core rev: f8e63dff3eb807b07bd71f0e31f6e0cf18ecdb0c)
Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1. Upgrade lsbinitscripts from 9.68 to 9.72
2. Rebase the following patch file.
functions.patch
(From OE-Core rev: be117d6ea79882d10cce4c061385832e26d23bff)
Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
kmscube depends on virtual/libgles2, virtual/egl (provided
by mesa) and gstreamer1.0 which require opengl in DISTRO_FEATURES.
(From OE-Core rev: ae78eac950e209da430ca0d258656f616a2ef9d2)
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1. Upgrade libxml-namespacesupport-perl from 1.11 to 1.12
2. Update the checksum of licence file because the author and contributors's name list is deleted.
The content of licence has no change.
(From OE-Core rev: 6894a25d80358f48b3f503e5434f0e99354c9471)
Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1. Upgrade libxml-simple-perl from 2.22 to 2.24
2. Update the Licence checksum due to the address of Free Software Foundation changed.
The content of licence has no change.
(From OE-Core rev: 684dcc1c0d1aece28edfe18c89c27ffcf553a477)
Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1. Upgrade acpica from 20150515 to 20170303
2. Rebase the patch file for 20170303
(From OE-Core rev: c08ca9353fabb595de1011cf9d6db6ff6cc06ce3)
Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These patches fix a few building problems but are not being
taken into consideration at the moment, even though they have
been reviewed upstream with most of them merged (and accepted
already in OE-core master):
1.- CMake: define GBM_BO_MAP only when symbol is found
2.- util/egl: Honour Surfaceless MESA in get_default_display
3.- egl_mesa_platform_surfaceless: Don't use eglGetPlatformDisplay directly
4.- egl_mesa_platform_surfaceless: Use EXT functions for surfaces
(From OE-Core rev: 4322982346fb403bfd2c03b93bcad4c3d8694ea5)
Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1. Upgrade lzo from 2.09 to 2.10
2. Update the license checksum due to the date change, not license change.
3. Add a patch to fix the undefined error.
(From OE-Core rev: 874cf9e9ec72eb7235ef1997fdfea9c33b3628f6)
Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Also clean up the logic in the script to be more Pythonic.
(From OE-Core rev: fae66dd3633aa8a6aa633fcfd7c4b9a728dee7a4)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Also clean up the logic in the script to be more Pythonic.
(From OE-Core rev: e5ac43e1b549e637f1820a03dd0a633fbecd395c)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix build when PIE is turned on. It tries to build
.so file using -pie and -shared flags together because
its doing compile and link in same step CFLAGS and LDFLAGS
are combined and does not work, ending in errors e.g.
| /mnt/a/oe/build/tmp/work/cortexa7t2hf-neon-vfpv4-bec-linux-musleabi/python-pygpgme/0.3-r0/recipe-sysroot/usr/l
ib/Scrt1.o: In function `_start_c':
| /usr/src/debug/musl/1.1.16+gitAUTOINC+179766aa2e-r0/git/crt/crt1.c:17: undefined reference to `main'
| collect2: error: ld returned 1 exit status
This error while cryptic is due to the fact that we are
building a shared library but also pass -pie flag to the link
step after specify LDHSARED ( which is -shared linker flags )
we can not use -pie when doing shared libs. This is true for all the python
modules inheriting setup tools
Disable the pie flags thusly for all modules using setuptools since
this setting is done in setuptools makefiles which are then used
during module compiles
(From OE-Core rev: dc1c16e9df365871b2c40998f63f304ffa610447)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
do_ar_configured alters WORKDIR but also expects to be able to run do_configure,
so forcibly expand the paths to the sysroots as otherwise they'll point to a
non-existant directory in the temporary WORKDIR.
[ YOCTO #11584 ]
(From OE-Core rev: aa2240657b015d46e9ba4bcb6264709a82313d83)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Error:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ERROR: matchbox-desktop-2.1-r0 do_ar_original: Can not determine archive names
for original source because 'name' URL parameter is unset in more than one URL.
Add it to at least one of these: git://git.yoctoproject.org/matchbox-desktop-2
file://vfolders/%2A
ERROR: matchbox-desktop-2.1-r0 do_ar_original: Function failed: do_ar_original
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function do_ar_original, when recipes have more than one source, it added the
"name" URL parameter as suffix to identify the created tarball.
But the URL type "file://" that we always used to represent a series of patches,
it didn't have "name" parameter, so it failed.
So set "name" to the folder name to identify the created tarball, for example:
In matchbox-desktop bb file, the SRC_URI contains:
file://vfloders/*
We set "name" to "vfolders" to identify the created tarball.
In connman-gnome bb file, the SRC_URI contains:
file://images/*
We set "name" to "images" to identify the created tarball.
(From OE-Core rev: 0af636c635391b30c987dedeffe597ef4f8a1ed8)
Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
do_unpack_and_patch was not correctly run until recently
("archiver.bbclass: various fixes for original+diff mode") but
with the fix applied, the errors we get indicate the function
is not adapted to work with recipe specific sysroots.
do_unpack_and_patch sets WORKDIR to ARCHIVER_WORKDIR which
affects all path settings relative to WORKDIR, inluding the paths
to recipes' sysroots. IOW, when do_unpack and do_patch are run, they
cannot find the necessary native tools and files located in the
sysroot (e.g., quiltrc) because the paths point to ARCHIVER_WORKDIR.
Adapt do_unpack_and_patch to RSS by restoring the original
STAGING_DIR_NATIVE after WORKDIR is changed to ARCHIVER_WORKDIR.
(From OE-Core rev: db7d2cc5a4df3c2077ba874c7ae395c73fd9ed13)
Signed-off-by: Mikko Ylinen <mikko.ylinen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- systemd_boot.py: Use the new case class and change decorator for id
- __init__.py: Because isn't needed now
(From meta-yocto rev: 59b2135007d80b3b76ef1256bf5d5aa6076178bc)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
By default python logging module uses stderr as default stream
for output but is unix-like to use stdout instead, so change it.
(From OE-Core rev: 986452c410a958e339f31f8c05461c18a1a15eb5)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
After Python 3.5 the init method contains initialization of
_loading_packages set to avoid infinite loops in recursive
loading.
Fix,
Traceback (most recent call last):
File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/scripts/oe-selftest", line 70, in <module>
ret = main()
File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/scripts/oe-selftest", line 57, in main
results = args.func(logger, args)
File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/selftest/context.py", line 214, in run
rc = self._internal_run(logger, args)
File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/selftest/context.py", line 175, in _internal_run
self.tc.loadTests(self.module_paths, **self.tc_kwargs['load'])
File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/core/context.py", line 51, in loadTests
self.suites = self.loader.discover()
File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/core/loader.py", line 268, in discover
pattern='*.py', top_level_dir=path)
File "/usr/lib/python3.5/unittest/loader.py", line 341, in discover
tests = list(self._find_tests(start_dir, pattern))
File "/usr/lib/python3.5/unittest/loader.py", line 398, in _find_tests
full_path, pattern, namespace)
File "/usr/lib/python3.5/unittest/loader.py", line 473, in _find_test_path
self._loading_packages.add(name)
AttributeError: 'OETestLoader' object has no attribute '_loading_packages'
(From OE-Core rev: 17b832ba05d640570a773adbff2fa4e9ff83fce3)
Signed-off-by: Anibal Limon <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix build when PIE is turned on. It tries to build
.so file using -pie and -shared flags together because
its doing compile and link in same step CFLAGS and LDFLAGS
are combined and does not work, ending in errors e.g.
| /mnt/a/oe/build/tmp/work/cortexa7t2hf-neon-vfpv4-bec-linux-musleabi/python-pygpgme/0.3-r0/recipe-sysroot/usr/l
ib/Scrt1.o: In function `_start_c':
| /usr/src/debug/musl/1.1.16+gitAUTOINC+179766aa2e-r0/git/crt/crt1.c:17: undefined reference to `main'
| collect2: error: ld returned 1 exit status
This error while cryptic is due to the fact that we are
building a shared library but also pass -pie flag to the link
step after specify LDHSARED ( which is -shared linker flags )
we can not use -pie when doing shared libs. This is true for all the python
modules inheriting setup tools
Disable the pie flags thusly for all modules using setuptools since
this setting is done in setuptools makefiles which are then used
during module compiles
(From OE-Core rev: 4b5d55228ed2565570d0e93cfea4efa8cbb789ea)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In some cases, it may be useful to populate a volatile file from an
existing one, e.g. a file in a read-only rootfs that may be edited in a
read-write destination.
To provide this behavior, creation of volatile files has been updated to
copy a file which has been given in the <linksource> field. If set to
none, the current behavior is preserved.
(From OE-Core rev: d44816bedadeef420226dc5efb67065cfcda6634)
Signed-off-by: David Vincent <freesilicon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* I had some components where the MACHINE name was also included in PV of allarch recipe
which was tripping the script into saying that they have different signatures (because
for one MACHINE was the string in PV replaced with 'MACHINE' and not for other MACHINEs
(From OE-Core rev: 36e6abf387848d8c4383b4d506340811dd371c86)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Toolchains are required to be prepopulated in sysroot before
entering devshell.
[YOCTO #11464]
(From OE-Core rev: eb8a1cdf5106d119f77db76f9a690826af9fcda3)
Signed-off-by: Chang Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
New framework has different classes/decorators so adapt current test cases to
support these. Changes include changes on base classes and decorators.
Also include paths in selftest/__init__.py isn't needed because the
loader is the standard unittest one.
(From OE-Core rev: ddbbefdd124604d10bd47dd0266b55a764fcc0ab)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The new OEQA framework aims to re-use code into the different Test
components.
The previous oe-selftest implements it-self loading, run, and list test
cases in a non-standard way (unittest base) and other functionalities
like logging that is now on oeqa core. This ends on a compact oe-selftest
script.
All needed command line options was migrated but there are some of them
pending of implementation and others deprecated.
Deprecated options:
list-tags: The tag functionality into the old oeqa framework isn't
work, the selftest doesn't has tag decorators.
{run, list}-tests-by: Ambiguos options it accepts all the posibilites module,
class, name, id or tag.
Remaining to implement:
coverage: It enables covrage reports over a test run, currently isn't on
on use and some bugs [1], i filed a bug to add support to OEQA core module in
this way other Test components could enable it.
repository: It push XML results into a git repository and isn't in use,
i filed a bug to implement this into OEQA core module. [2]
[1] https://bugzilla.yoctoproject.org/show_bug.cgi?id=11582#c0
[2] https://bugzilla.yoctoproject.org/show_bug.cgi?id=11583#c0
(From OE-Core rev: 3b2a20eee4a39f40287bf67545839eaa09fc892d)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The test layer is added at init of selftest and is the same
across test runs so pass it as a attr in the context.
(From OE-Core rev: 8441da8fbc7ff2237d9ccd3a5c5117345f5c87b2)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The machine selection is an operation that needs to be made
in every test run, the best place to it is on the context
module.
Use self.tc.custommachine variable instead of use environment.
SIgned-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
(From OE-Core rev: f295b70ace0ffc28256140a21af5c3a8903297cb)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The oe-selftest creates include files to store custom configuration to
make specific tests, every class executes a different test and may be
uses custom configuration.
So move to case class in order to simplify oe-selftest script and later
implement later a build folder per class.
(From OE-Core rev: 1130b40c3dfa65e7ece08a95b3941e4d1d20bcf0)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Summary of the changes:
- Use OETestCase as base class instead of unittest.TestCase
- Remove LogResults decorator the new framework provides logging into
the core functionality.
- Logger is now self.logger instead of self.log
- Move comments into docstrings in several help methods
- Use get_test_layer() method instead of access monkey patched variable
in old oeSelfTest case class.
(From OE-Core rev: c38cab77893f9d8fd505f050cc880a15677b73db)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In order to maintain compatibility with oe-selftest, the
load_test_components needs to be re-used, so the script
executor needs to pass to only load components supported
by certain script (oe-test, oe-selftest).
(From OE-Core rev: d6b78ae711b93b4059690320cb8d821aaadd1684)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The test_recipetool_create_github test fetches HEAD of the repository so
upstream changes can (and do) break the test. Avoid these problems by passing
the rev= argument in the URL to lock the checkout to the same version that is
fetched in the github_tarball test.
Also pass the commands to runCmd() as a list instead of a string, the semicolon
in the URL needs more quotes if the shell is involved and passing a list
bypasses the shell entirely.
(From OE-Core rev: b35bedd209092432c560e998043b6a8c5c2e4d34)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These files should be removed as version 4.8 is no longer supported (6751dce4cf
and 1632f6623c) and errors may be produced when executing some commands.
For instance, "yocto-bsp list <karch> --property <property_name>" expects the
SRC_URI of the 4.8 kernel recipe, which doesn't exist anymore, throwing the
following exception:
$ yocto-bsp list arm --property existing_kbranch
Getting branches from remote repo None...
Traceback (most recent call last):
...
SyntaxError: function specified for 'gen' property returned nothing : input type:
"choicelist" name:"existing_kbranch" nameappend:"i386" gen:"bsp.kernel.all_branches"
branches_base:"standard" prio:"20" msg:"Please choose a machine branch to base this
BSP on:" default:"standard/base"
[YOCTO #9867]
(From meta-yocto rev: fb0ed1cdeac9e716d1eaa5b11c8262a209bf148e)
Signed-off-by: Daniela Plascencia <daniela.plascencia@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The loop for populating the depends of the tree data should use dep
instead of item.
(Bitbake rev: 37c298b27e3f72b21513124237cfeffb22c0e2f0)
Signed-off-by: Andy Voltz <andy.voltz@timesys.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Python function subprocess.call() returns the return value of the
executed process. If return values are not checked, errors may
go unnoticed and bad things can happen.
Change all callers of subprocess.call() which do not check for
the return value to use subprocess.check_call() which raises
CalledProcessError if the subprocess returns with non-zero value.
https://docs.python.org/2/library/subprocess.html#using-the-subprocess-module
All users of the function were found with:
$ git grep "subprocess\.call" | \
egrep -v 'if.*subprocess\.call|=\ +subprocess\.call|return.*subprocess\.call'
Tested similar patch on top of yocto jethro. Only compile tested
core-image-minimal on poky master branch.
(Bitbake rev: d2cf67bcaf001acb6be8fc5884fb450649849847)
Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The code in these two functions is meant to be equivlanet in behaviour
but isn't. Add in code to ensure files that don't exist are handled
consistently by both functions. Users did report being able to generate
tracebacks otherwise.
(Bitbake rev: c11b4832879354b387a8c9c6a3096f2d621afeac)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
KERNEL_IMAGETYPES lists all the kernel images that we want to build. in
cb17b6c2a7 (kernel.bbclass: support kernel image type of vmlinux.gz), some logic
was added to support vmlinux.gz which is not a target built by kernel
makefiles (only vmlinux). It is clear that the goal of this logic is only to
support vmlinux.gz and not others compressed format (such as Image.gz) which are
valid target for kernel makefiles.
For Image.gz we should rely on the kernel makefiles and not do the compression
in kernel class.
This patch updates the logic used to filter out non supported kernel target from
KERNEL_IMAGETYPES, and make vmlinux.gz a 'special case', instead of *.gz. If
more special cases are needed in the future, we could add them in a similar way.
This patch should be a no-op for anyone using vmlinux or vmlinux.gz, and on top
of that it is fixing the build for Image.gz which was not working until now.
(From OE-Core rev: cfc0c897656fe67e81a6a5dcd936dff785529f41)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a comment to fix build musl<->glibc switch while
using same TMPDIR
(From OE-Core rev: bc940753ee4af8c656f33d63e33c3d12d419446e)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There was a set of changes, those are:
- CMake now requires librhash for build and as there is no other
users in OE-Core we make it use its internal copy instead;
- Copyright.txt checksum has change due new contrubutors and 2017
year additions;
- Patch avoid-gcc-warnings-with-Wstrict-prototypes.patch was removed
as it is not need anymore;
- Patch 0001-KWIML-tests-Remove-format-security-from-flags.patch was
removed as it is included in this release.
(From OE-Core rev: cc75f693bde412edd0a1aa4fd4e92fb29b492b76)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updated poky.ent to use 2.4 variables and numbering
Updated mega-manual.sed to use "2.4" string for links
Updated all manual revision tables to use "2.4" and
"Usually October, 2017" string.
(From yocto-docs rev: 17ec7da6ab3fd450c2010812f7ad689288b12dcc)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11600]
Made some technical corrections to the PACKAGECONFIG_CONFARGS
variable description in the glossary.
(From yocto-docs rev: c422783984748f170943eab418bfa7d0111fa352)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11579]
Added a new description for the LAYERRECOMMENDS variable.
(From yocto-docs rev: 3004a5724c4ea7165e4f749f9c9237ee1fbd89f5)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11579]
The syntax for specifying a layer version was incorrect. I
have added an explanation for the correct syntax and provided
an example.
(From yocto-docs rev: 5703fb2f8b9d3df408c596603b8b8416597fc67a)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop patch support-out-of-tree-builds.patch:
Because the upstream has already contain it.
(From OE-Core rev: 2fd0757ae7fd63bc93a4ce8579c6ba0cdbb4c1cd)
Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Depend on gperf-native: The tarball used to include files generated
with gperf and this is no longer the case.
Use GIR_EXTRA_LIBS_PATH to fix introspection generation.
(From OE-Core rev: 028c398d0977b8f65a78f6a9ba2df8cc07dcc3cd)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Costmetic changes in license.html file required new MD5 hash
* Add PACKAGECONFIG option for libunwind support (new feature, disable by default)
* Rebased 0001-Use-wayland-scanner-in-the-path.patch
* Added zlib in DEPENDS, otherwise mesa no longer builds.
* Added 0001-util-rand_xor-add-missing-include-statements.patch, sent upstream
(From OE-Core rev: fa08267f1399904fed079277bc86ac1aa26c06dc)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Can compile in thumb1 and thumb2 modes now
AO_THUMB_GO_ARM, AO_THUMB_RESTORE_MODE are used
to guard swp instructions
Switch to github and use git for src_uri
(From OE-Core rev: 5d66e34f4be7dacf71251aefd303eb0fb721738e)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Noteworthy changes:
1. Introduced the ASN1_TIME_ENCODING_ERROR error code to indicate an invalid
encoding in the DER time fields.
2. Introduced flag ASN1_DECODE_FLAG_ALLOW_INCORRECT_TIME. This flag allows
decoding errors in time fields even when in strict DER mode.
3. Added safety check in asn1_find_node(). That prevents a crash when a very
long variable name is provided by the developer.
(From OE-Core rev: 61752a41f2f0abe61e805d2ef1292cec1e202c36)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bug fixes:
1. Fix a problem in REPLACE that can result in a corrupt database
containing two or more rows with the same rowid.
2. Fix a problem in PRAGMA integrity_check that was causing a subsequent
VACUUM to behave suboptimally.
3. Fix the PRAGMA foreign_key_check command so that it works correctly with
foreign keys on WITHOUT ROWID tables.
4. Disallow leading zeros in numeric constants in JSON.
5. Disallow control characters inside of strings in JSON.
6. Limit the depth of recursion for JSON objects and arrays in order to
avoid excess stack usage in the recursive descent parser.
7. Fix more bugs in the LEFT JOIN flattening optimization.
(From OE-Core rev: 3d4d025b1cc6668fd7baefa01ebb9664e805e83a)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Small update with mostly bug fixes.
Add a desktop file for rsvg thumbnailing (it points to
gdk-pixbuf-thumbnailer so there's no binary added).
(From OE-Core rev: 8ac6bd6144dab4b027b6c463fb542ce00db7e64d)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It is possible that frontends/kconfig is written to by sed before frontends/
exists, so add a mkdir to ensure the directory always exits.
[ YOCTO #11574 ]
(From OE-Core rev: ad915e9baa04c73981c4795a97da95cea40b50c2)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Error log will be logged into /var/log/message.
Added in more condition checking on the script. Check
/proc/tty/drivers and /proc/tty/driver/*
file system to retrieve active targeted serial.
Only establish getty with active serial in runtime.
[YOCTO #10844]
Reviewed-by: Saul Wold <sgw@linux.intel.com>
(From OE-Core rev: ac0e9541fe93e866e42914f65a0516b993f0cffe)
Signed-off-by: Choong YinThong <yin.thong.choong@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Python function subprocess.call() returns the return value of the
executed process. If return values are not checked, errors may
go unnoticed and bad things can happen.
Change all callers of subprocess.call() which do not check for
the return value to use subprocess.check_call() which raises
CalledProcessError if the subprocess returns with non-zero value.
https://docs.python.org/2/library/subprocess.html#using-the-subprocess-module
All users of the function were found with:
$ git grep "subprocess\.call" | \
egrep -v 'if.*subprocess\.call|=\ +subprocess\.call|return.*subprocess\.call'
Tested similar patch on top of yocto jethro. Only compile tested
core-image-minimal on poky master branch.
(From OE-Core rev: 031cf9c7834cd1cba8b03832673a3e3cfcbfae7c)
Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
isoimage-isohybrid plugin fails with this error when
trying to find initrd image:
initrd = glob.glob('%s/%s*%s.%s' % (initrd_dir, image_name, target_arch, image_type))[0]
IndexError: list index out of range
as it uses TRANSLATED_TARGET_ARCH value as part of the image.
This approach stopped to work due to changes in oe core code.
initrd file name is made using MACHINE variable. wic can't get value
of this variable as it's not included into bitbake -e output.
Used basename of deploy dir as MACHINE value to fix the breakage.
(From OE-Core rev: cfbb3cc1279ea88ca3e2867f8a409c5120aa1f05)
(From OE-Core rev: e26fa1c34c33ffdc678f8073dade0126aff08b40)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The package_qa_check_rdepends() in insane.bbclass has
incorrectly replace its localdata OVERRIDES value with
the package name. Fixing it by appending the package name
to the existing OVERRIDES value. This resolves RDEPENDS QA
error when setting PACKAGECONFIG using a pn- override at
local.conf.
[YOCTO #11374]
(From OE-Core rev: 60d28dd72daee235150ab6605cbf953f1ea691df)
Signed-off-by: Gan, Yau Wai <yau.wai.gan@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The remote script is run with `set -e`, so doing rm without -f on a
$file that is already gone will exit the whole script, failing any
redeployment. Assume a use case where packages sometimes produces
certain test binaries stored on volatile media (tmpfs), and where the
system is occasionally rebooted.
(From OE-Core rev: db54c9a22a9b66c673df8e836de5e47fc9edda0b)
Signed-off-by: Daniel Lublin <daniel@lublin.se>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Either both or none of the paths must be passed through
os.path.abspath or things like 'A//B', 'A/./B/', and 'A/B/' in S will
cause unintentional mismatches even when B = "${S}".
Using os.path.abspath for both seems more likely to be correct as that
will also handle the case where ${B} != ${S} but the abspaths are
equal.
(From OE-Core rev: 061f2aab40fecbfe0dcb928baa95d6b3a6b45eed)
Signed-off-by: Ola x Nilsson <olani@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
find may be provided by busybox, which might be compiled without support
for -exec.
(From OE-Core rev: 404e8e3661469175e1ea087ebfaf3a7867bf4df2)
Signed-off-by: Daniel Lublin <daniel@lublin.se>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Way back in OE-Core commit fba198ac7efe476a25c5761878ef2fcee97bf9f1 in
2012 we split committing to the repository, making a commit per
top-level directory. However, as we add more information it becomes
harder to see which commits belong to which build. Switch back to a
single commit per build to keep the history tidier.
To address the original concern, if you do want to see just the changes
for a particular subdirectory, git can filter that for you - just
specify that subdirectory as the last parameter on the git show / git
diff command line and that's all you will see.
(From OE-Core rev: b49a4a47783609fe9161fbc11cc7c7ff3ff4b6bb)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The recipe name needs to be escaped when using it in a regular expression so
that and special characters are treated literally
(From OE-Core rev: 53c8cceb744adda1bf899d62071d11b20a5dea98)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If ASSUME_PROVIDES contains libsdl-native, we need to add sdl-config
to HOSTTOOLS to allow access to the host sdl-config.
(From OE-Core rev: eeb248c1a017e07e36b6fbaafe45006e3869f41a)
Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In certain cases, it's valuable to be able to exert more control over what
history is removed, beyond srcrev+depth. As one example, you can remove most
of the upstream kernel history from a kernel repository, keeping predominently
the non-publically-accessible content. If the repository is private, the
history in that repo couldn't be restored via `git fetch --unshallow`, but
upstream history could be.
Example usage:
# Remove only these revs, not at a particular depth
BB_GIT_SHALLOW_DEPTH_pn-linux-foo = "0"
BB_GIT_SHALLOW_REVS_pn-linux-foo = "v4.1"
(Bitbake rev: 97f856f0455d014ea34c28b1c25f09e13cdc851b)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When we're building from a shallow mirror tarball, we don't want to do
anything with ud.clonedir, as it's not being used when we unpack. As such,
disable updating annex in that case. Also include annex files in the shallow
tarball.
(Bitbake rev: ca0dd3c95502b22c369fbf37f915f45e02c06887)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When we're building from a shallow mirror tarball, we don't want to do
anything with ud.clonedir, as it's not being used when we unpack. As such,
disable updating the submodules in that case. Also include the repositories in
.git/modules in the shallow tarball. It does not actually make the submodule
repositories shallow at this time.
(Bitbake rev: 6c0613f1f2f9d4f009545f82a9173e80396f9d34)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
By default, all unused refs (branches & tags) are removed from the repository,
as shallow processing scales with the number of refs it has to process. Add
the ability to explicitly specify additional refs to keep. This is
particularly useful for recipes with custom checkout processes, or whose
git-based versioning requires a tag be available (i.e. for `git describe
--tags`). The new `BB_GIT_SHALLOW_EXTRA_REFS` variable is a space-separated
list of refs, fully specified, and support wildcards.
Example usages:
BB_GIT_SHALLOW_EXTRA_REFS = "refs/tags/v1.0"
BB_GIT_SHALLOW_EXTRA_REFS += "refs/heads/*"
(Bitbake rev: 1771934cd9f8b5847c6fcae0a906fb99d6b0db16)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Allow the user to explicitly adjust the depth for named urls/branches. The
un-suffixed BB_GIT_SHALLOW_DEPTH is used as the default.
Example usage:
BB_GIT_SHALLOW_DEPTH = "1"
BB_GIT_SHALLOW_DEPTH_doc = "0"
BB_GIT_SHALLOW_DEPTH_meta = "0"
(Bitbake rev: 9dfc517e5bcc6dd203a0ad685cc884676d2984c4)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This adds support to the git fetcher for fetching, using, and generating
mirror tarballs of shallow git repositories. The external git-make-shallow
script is used for shallow mirror tarball creation.
This implements support for shallow mirror tarballs, not shallow clones.
Supporting shallow clones directly is not really doable for us, as we'd need
to hardcode the depth between branch HEAD and the SRCREV, and that depth would
change as the branch is updated.
When BB_GIT_SHALLOW is enabled, we will always attempt to fetch a shallow
mirror tarball. If the shallow mirror tarball cannot be fetched, it will try
to fetch the full mirror tarball and use that. If a shallow tarball is to be
used, it will be unpacked directly at `do_unpack` time, rather than extracting
it to DL_DIR at `do_fetch` time and cloning from there, to keep things simple.
There's no value in keeping a shallow repository in DL_DIR, and dealing with
the state for when to convert the clonedir to/from shallow is not worthwhile.
To clarify when shallow is used vs a real repository, a current clone is
preferred to either tarball, a shallow tarball is preferred to an out of date
clone, and a missing clone will use either tarball (attempting the shallow one
first).
All referenced branches are truncated to SRCREV (that is, commits *after*
SRCREV but before HEAD are removed) to further shrink the repository. By
default, the shallow construction process removes all unused refs
(branches/tags) from the repository, other than those referenced by the URL.
Example usage:
BB_GIT_SHALLOW ?= "1"
# Keep only the top commit
BB_GIT_SHALLOW_DEPTH ?= "1"
# This defaults to enabled if both BB_GIT_SHALLOW and
# BB_GENERATE_MIRROR_TARBALLS are enabled
BB_GENERATE_SHALLOW_TARBALLS ?= "1"
(Bitbake rev: 5ed7d85fda7c671be10ec24d7981b87a7d0d3366)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This script will be used by the git fetcher to create shallow mirror tarballs.
usage: git-make-shallow [-h] [--ref REF] [--shrink] REVISION [REVISION ...]
Remove the history of the specified revisions, then optionally filter the
available refs to those specified.
positional arguments:
REVISION a git revision/commit
optional arguments:
-h, --help show this help message and exit
--ref REF, -r REF remove all but the specified refs (cumulative)
--shrink, -s shrink the git repository by repacking and pruning
While git does provide the ability to clone at a specific depth, and fetch all
remote refs at a particular depth, the depth is across all branches/tags, and
doesn't provide the flexibility we need, hence this script.
Refs (branches+tags) can be filtered, as the process of history removal scales
up rapidly with the number of refs. Even the existing `git fetch --depth=` is
extremely slow on an upstream kernel repository with all the branches and tags
kept.
This uses the same underlying mechanism to implement the history removal which
git itself uses (.git/shallow), and the results, when configured similarly, are
in line with the results git itself produces with `fetch --depth`.
(Bitbake rev: 0254020f0e1911c0eaf99111b91828d2a74a4ee1)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove ud.mirrortarball in favor of ud.mirrortarballs. Each tarball will be
attempted, in order, and the first available will be used. This is needed for
git shallow mirror tarball support, as we want to be able to use either
a shallow or full mirror tarball.
(Bitbake rev: 02eebee6709e57b523862257f75929e64f16d6b0)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
By default, the xml runner class prints out the docstring for every
unit test but it order to keep the same format as the standard
runner, avoid docstring output setting descriptions to False.
(From OE-Core rev: 05b16219698fbd30ec76697e1b3be6d31e8f8878)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The OETestLoader.modules must be an iterable object, otherwise
checking presence of specific modules with the 'in' operator fails
with the following command/error:
% oe-test core
.. - core - INFO - Running bitbake -p
Traceback (most recent call last):
File "..poky2/scripts/oe-test", line 108, in <module>
ret = main()
File "..poky2/scripts/oe-test", line 93, in main
results = args.func(logger, args)
File "..poky2/meta/lib/oeqa/core/context.py", line 235, in run
self.tc.loadTests(self.module_paths, **self.tc_kwargs['load'])
File "..poky2/meta/lib/oeqa/core/context.py", line 53, in loadTests
self.suites = self.loader.discover()
File "..poky2/meta/lib/oeqa/core/loader.py", line 204, in discover
pattern='*.py', top_level_dir=path)
File "/usr/lib64/python3.4/unittest/loader.py", line 275, in discover
tests = list(self._find_tests(start_dir, pattern))
File "/usr/lib64/python3.4/unittest/loader.py", line 339, in _find_tests
yield self.loadTestsFromModule(module)
File "..poky2/meta/lib/oeqa/core/loader.py", line 266, in loadTestsFromModule
and module.__name__ in self.modules \
TypeError: argument of type 'NoneType' is not iterable
(From OE-Core rev: 2bb02cd3d6ec6c2c22ab6b567e2985015655fae6)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The OEQA framework has internal methods for provide functionality
in decorators so Test components aren't expected to override it.
Use the base unittest methods for setUp and tearDown.
(From OE-Core rev: 21df9f0f6d6272adc6131cdc113000a5e6ac9d46)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With the new filters by <module>.[class].[testname] the modules
arg is expected to be a list so use split into TEST_SUITES variable.
(From OE-Core rev: b588c5c65e55a31d61c86553158eef409cd71086)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This will enable only run certain module tests and filter by
class and test name.
(From OE-Core rev: 0f7531803aa6ffef2b7c5be9acee3efe7d2974ef)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A common operation is to list tests, currently only selftest
support it, this changes enables this functionality into the
core framework.
(From OE-Core rev: 7e803f1a855d3091a772b13efd3cc8e9c0c766e9)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add needed tests to validate the OEQA Threaded mode, the remaining
parts are tested by the OEQA without Threaded mode.
- test_loader.py: Add a test to validate rules when creating the
list of test suites.
- test_decorators.py: Add oetimeout test because the threaded mode
uses Timer instead of signal.
[YOCTO #11450]
(From OE-Core rev: fb9d91ca34c1b5d3e0034f5135e71f964fca5b82)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With the new OEQA thread support there are problems running
devtool twice at the same time because only one instance of
bitbake/devtool is allowed.
[YOCTO #11450]
(From OE-Core rev: 44254caaef131402629d01f01cdee6722718adba)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In python signals are only allowed to delivery into the main thread,
to support the threading mode test if the runner is threaded and
use threading.Timer instead.
There are some considerations like SIGALRM interrupts the execution
after N seconds but the Timer only starts a Thread to notice the
timeout and the exception will be raised when the test run ends.
[YOCTO #11450]
(From OE-Core rev: 8ab201612e22493dc2509ba339a8f07ade611a54)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The _skipTestDependency needs to know if the thread mode is
enabled because the _results are by thread.
[YOCTO #11450]
(From OE-Core rev: 257d9ef4531052ba8507771b58884c7d2b64143d)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This class sets the {loader,runner}Class to the threaded versions and
overrides loadTests method to be able specify the process_num.
[YOCTO #11450]
(From OE-Core rev: 3ec0d3825aa31219e0ccabc1f158d3a2f8adbda2)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The OETestRunnerThreaded overrides the run method of OETestRunner
it recieves a list of suites to be executed by a ThreadPool.
The new run method handles the ThreadPool creation and the
OETestResultThreaded fill.
[YOCTO #11450]
(From OE-Core rev: 48b7a407d692e6c49c41b16f2bd11e8c3f47a421)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The OETestResultThreadedInternal extends OETestResult to stores
results by Thread.
The OETestResultThreaded is a simple class that provides the
implementation of interfaces needed by outside like wasSuccesful,
stop, logSummary, logDetails.
[YOCTO #11450]
(From OE-Core rev: 8e71844fc4dd3fcc8a19f9d4c25aafb09c5525fe)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This method is to assign results into the TestContext, create
an internal one to support change implementation in Thread version.
[YOCTO #11450]
(From OE-Core rev: 8a6a9cb816d78e4cf71b79c35b579918d31053f2)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The OEStreamLoggerThreaded overrides OEStreamLogger to redirect
the PyUnit output to a logger.
Instead of log every line when comes the OEStreamLoggerThreaded
will buffer the PyUnit output and write everything at end of every
suite execution to don't have mixed suite outputs.
[YOCTO #11450]
(From OE-Core rev: 87d3e5b70c52e5c7439afe4af5aa002522043e81)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The threded module will implement Thread support into the OEQA
framework.
The OETestLoaderThreaded overrides discover to return a list of
suites every suite will be run by a separate Thread.
Some design considerations are:
- All the tests of a certain module needs to be run at one thread
because unittest framework needs to keep track of setUp{Module,
Class,} and tearDown{Module, Class,}.
- Tests that depends on other needs to be run at the same thread
because OEQA framework look at the status of dependant test to
decide if skip or not, this constraint can be change in the future
but a sync mechanishm is needed to implement between the Threads.
[YOCTO #11450]
(From OE-Core rev: b4ae730ee1d6003ff005148f741270e2878de484)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Those methods are used to write in the log the results so
it makes sense to have defined at OETestResult because
is a format of the result itself.
[YOCTO #11450]
(From OE-Core rev: 33a783f59ed4e232f41f8b09dfa7955f2ddc2f80)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I override this method before for keep track of results and forget
to remove it, now isn't need.
(From OE-Core rev: 63606ffaaac1b84ddcad8a1c1006f8110050e20e)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The OEStreamLogger class is used for redirect PyUnit output
to a certain logger so there is not need to expose at level
of OETestContext because only OETestRunner needs to know.
[YOCTO #11450]
(From OE-Core rev: 8787fba3df8acd9d2438669d20b1a5060caa9022)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The run() methods of a OETestContext's are expected to return the
results.
(From OE-Core rev: c45546b771c3158e66b2df504576d6dc1758ea75)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This import was at level of OESDKTestContext.register_commands
but OESDKTestContext.run method need it to raise exceptions.
(From OE-Core rev: 35efb419de1dbebd269d87895645934707130746)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
No functional changes, just use a consistent set of comments to
separate hard and soft float tuning options.
(From OE-Core rev: 4aa6cdfe9f069ecd976c1257702fe8ff28c57f07)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rename the mirror tarball to align with recipe name
and avoid clash if user have local svn version.
[YOCTO #11501]
(From OE-Core rev: 83a1fcabab5797fcad10bc24e9ddce519a6f1ea2)
Signed-off-by: Choong YinThong <yin.thong.choong@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adds development shell support for out-of-tree kernel modules by reproducing
the build environment of the compile task.
(From OE-Core rev: 08e366a386caab547e0dbcad2d4ee08f44814262)
Signed-off-by: Stefan Wiehler <stefan.wiehler@missinglinkelectronics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some EGL implementations do not actually ship all Khronos-
extensions. As it turns out, the Mali 450 driver does not
include any of the following symbols, used by the
egl_mesa_platform_surfaceless.c spec test:
* eglGetPlatformDisplay
* eglCreatePlatformPixmapSurface
* eglCreatePlatformWindowSurface
The Right Thing To Do was to obtain the implementation of
these functions (via eglGetProcAddress), as is provided
by their EXT counterparts. These are guaranteed to exist
since they are required by EGL_EXT_platform_base.
Upstream-Status: Submitted [piglit@lists.freedesktop.org]
(From OE-Core rev: 4f85500cfc76407fb4950bbb0df216577aea6bd7)
Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
[Piglit Bug #100978] -- https://bugs.freedesktop.org/show_bug.cgi?id=100978
When linking against Mali 450 r6, errors like the following
can be seen:
../../../../lib/libpiglitutil_gl.so.0: undefined reference to `gbm_bo_unmap'
../../../../lib/libpiglitutil_gl.so.0: undefined reference to `gbm_bo_map'
collect2: error: ld returned 1 exit status
make[2]: *** [bin/point-sprite] Error 1
This is due to gbm_bo_map() and gbm_bo_unmap() being recently
added but not yet implemented by all graphics drivers.
Instead of relying on GBM's version, actually try to link
against those symbols.
Upstream-Status: Submitted [piglit@lists.freedesktop.org]
(From OE-Core rev: 2e0c8a510ee60d4ca97e58184c48995cd88a823f)
Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
While building for Hikey using Mali 450 driver (r6p0), an
error like the following appears while linking:
[ 1%] Linking C shared library ../../../../lib/libpiglitutil.so
[...]
[...]/aarch64-linaro-linux/gcc/aarch64-linaro-linux/6.3.1/ld: cannot find -lEGL
collect2: error: ld returned 1 exit status
make[2]: *** [lib/libpiglitutil.so.0] Error 1
Mesa generally provides virtual/egl (along with virtual/libgl,
which satisfies Piglit's current DEPENDS) but that is not the
implementation to use with Mali.
(From OE-Core rev: 02857bd952191e30830af54e21a675522ee3f830)
Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updates in the new version:
37c86e6 : mmc-utils: Check for ext_csd_rev only once
c22a92f : mmc-utils: feature spec 5.0+, Pre EOL information
34a954b : mmc-utils: feature spec 5.0+, device life time estimation for MLC
and pSLC mode
(From OE-Core rev: 0a6f7707bfe0a6cef613e6b413a6d89c2f684a7e)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upgrade to a more recent kmscube commit from git. Tested on DB410c and DB820c
with s/w and h/w codecs (v4l2).
(From OE-Core rev: 71c109f19ff90f300e2c370d263d28bda0965070)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Build without threads for bind is inherited from legacy openembedded.
All libc's support proper threading on Linux now, so enable threads
support for bind.
It is also need to disable static library build which cause package dhcp
fail to build after enable bind threads support.
Options devpoll and epoll are configured to choose most preferable
multiplex method for unix socket. The priorities are: epoll > poll >
select. When set '--enable-epoll', it just defines a var and include
header file that is available for cross compile. So use epoll for bind.
Add PACKAGECONFIG 'urandom' that could use /dev/urandom as random device.
Update file/directory ownerships to fix daemon start failure.
(From OE-Core rev: 598e5da5a2af2bd93ad890687dd32009e348fc85)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When enable bind threads support, it fails to compile dhcp:
| tmp/work/armv5e-poky-linux-gnueabi/bind/9.10.3-P3-r0/build/lib/isc/pthreads/../../../
| ../bind-9.10.3-P3/lib/isc/pthreads/thread.c:64: undefined reference to `pthread_create'
Enable build shared libraries for bind and dhcp to fix the build
failure. And the patch is ported from Fedora.
Add sub-package dhcp-libs to package shared libraries.
(From OE-Core rev: dde83ec778c09557d28b4388258e594be653875c)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Included error output from qemu-system into the runqemu error message.
Made error output more visible by printing new line before it.
[YOCTO #11542]
(From OE-Core rev: 7fe5f5c29ca271ab718bbd1383e596f2ae61554c)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These m4 files need to be deleted so that the versions in the sysroot that we've
patched are used. Specifically, building documentation fails as the gtk-doc
checks fail.
(From OE-Core rev: 4292886ee3b2311902af2b5aaa5f53c5b36c6bee)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some distros might choose another syslogd provider like rsyslogd.
update-alternative will update the link from syslogd to the right
provider. However the syslogd feature is still present and enabled
in busybox.
This commit adds a new configuration fragment to make syslogd
optionnal in busybox.
(From OE-Core rev: 9732a2ba2edf2607e61ae4fe0d65a02b7918cfe7)
Signed-off-by: Romain Perier <romain.perier@collabora.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Move config-*/Makefile in libdir from misc package to dev package for
python3, because it is only needed in development process.
(From OE-Core rev: d715dc422ce1723c8d05af7ad4183eeeb36bc2ec)
Signed-off-by: Li Zhou <li.zhou@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Porting patch from
<409482251b>
to use _sysconfigdata.py to initialize distutils.sysconfig.
This patch makes that distutils.sysconfig doesn't need config-*/Makefile
in libdir any more. Next we can move it from python3-misc to python3-dev
package.
(From OE-Core rev: 659a80afc5894658f8b82fcd62ebe3562b441db9)
Signed-off-by: Li Zhou <li.zhou@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Having 'lsof' as a +s (setuid) binary could lead to security issues if
a compromise in the binary is found. It is better that it be -s by
default as a precaution.
(From OE-Core rev: 346c65dd6855106069d1861ca965d3121eb084d1)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As suggested by Khem, we can create a virtualbox configuration
fragment that helps to run XFCE under virtualization.
This can be enabled via KERNEL_FEATURES for targest that
require it, and may be enabled by default in the future.
(From OE-Core rev: a256addb330ec7b781c381894cc72cbd4a5005dd)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating the kernel meta data with the following configuration change:
When we set NR_CPUS to something > than 8, we also need to set
X86_BIGSMP
according to Kconfig:
config X86_BIGSMP
bool "Support for big SMP systems with more than 8 CPUs"
otherwise NR_CPU will end up being reset to 8
[YOCTO #10362]
(From OE-Core rev: 98278549d960a84605f01fec73aefe5d8792d4bb)
Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating the kernel meta-data to pick up a bluetooth configuration change:
BT_LE is nedded by BT_6LOWPAN
BT_BREDR is needed by:
BT_RFCOMM, BT_RFCOMM_TTY (secondary),
BT_BNEP, BT_BNEP_MC_FILTER (secondary), BNEP_PROTO_FILTER (secondary),
BT_CMTP, BT_HIDP
[YOCTO #10425]
(From OE-Core rev: 0457f08cce73ab8646f8a44e88884371e09f35b4)
Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Gna! project announced that the download site from gna.org HTTP server
will soon be closing down. We have verified that the site is no longer
accessible without network proxy cache. We need to update SRC_URI to
point to new alternative (nwl.cc HTTP server) in order to avoid fetcher
issues in future.
[YOCTO #11575]
(From OE-Core rev: dc8b21ae0ed3bceb9f3df4f6cd8f8f55b9c306fb)
Signed-off-by: Chang Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add package libpcap-native required by recipe daq-native in layer
meta-networking. And daq-native is added to fix snort start error.
(From OE-Core rev: 12373003cc3753421321d558813b1de95667c192)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This vulnerability is also called "rpcbomb".
Backport upstream patch to fix this vulnerability.
CVE: CVE-2017-8779
(From OE-Core rev: 7936c9451eb4c376a78a0ac7461d1b2430c7f1f3)
Signed-off-by: Fan Xin<fan.xin@jp.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
let gettext.bbclass provide the defaults they
are good for it.
What it needs it a dep on gettext-native for intltool-native
which now intltool-native expresses correctly
Helps compile when distros disable NLS
(From OE-Core rev: 0492eb8d781c49e29139d42973832593dd69cae5)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When setting USE_NLS="no" and building systemd-boot
(which DEPENDS on intltool), configure fails,
complaining about missing gettext:
configure: error: GNU gettext tools not found; required for intltool
This is caused because USE_NLS="no" makes the gettext class
add gettext-minimal-native to BASEDEPENDS instead of adding
gettext-native.
Since we still would like to set USE_NLS="no" and build systemd-boot,
we add gettext-native as a dependency to intltool-native, which makes it
available for the configure script of systemd-boot fixing the problem.
[YOCTO #11562]
(From OE-Core rev: 26bd53aebf3430f1b9ec459c6c6ab42c57d18319)
Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The secondary EFI partition is used when booting in EFI mode, and
without the configuration data we don't get any boot targets.
Partial fix to [YOCTO #11503].
(From OE-Core rev: 84aa7a00810e135fdad3f77bdb1da7d1f5fb8627)
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These are used with LTO enabled so it has to be
compiler specific, making it weak default, makes
clang to override them when enabled.
(From OE-Core rev: 23cfb8416fb13a32e42ec3860c419ee419e55734)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Commit d2eccccb70e809d482c493922f23aef4409cfd82 has changed suffixes for
all -crosssdk packages from SDK_ARCH to SDK_SYS, but missed one line with
binutils-crosssdk. This change fixes that omission.
(From OE-Core rev: 553d36ebbee364435e8c985961a7f829528658a4)
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
NIS functionality has been split out into independent
library from glibc
(From OE-Core rev: b73de31cbf58efb303006125f8cd22f130e21d8c)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* f9f686b7 have posix_spawnattr_setflags check for supported flags
* 77e895dc add no-op POSIX_SPAWN_USEVFORK to spawn.h
* 55550416 s390x: provide sigcontext struct definition
* bb439bb1 implement new posix_spawn flag POSIX_SPAWN_SETSID
* 58e2396a remove va_arg hacks in printf core with undefined behavior
* e1232f5b make ttyname[_r] return ENODEV rather than ENOENT
* 1a7fa5e5 fix regression in support for resolv.conf attempts option
* 8c44a060 fix scalbn when result is in the subnormal range
* 2577b1bc allow full-range file offsets to mmap on archs with 64-bit syscall args
* b3751c32 fix dl_iterate_phdr in static PIE binaries
* 1ca59755 fix read past end of buffer in getaddrinfo backend
(From OE-Core rev: 1aceb2dcf5bd671d90ec0517ed8f6fa817ea64c0)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Perf is a tool build from the kernel source, which is normally available
in /work-shared/..., but when devtool is used to modify the kernel
source code, perf is not buildable since it gets an error about being unable
to add a depends to a non-exisit task do_patch.
This patch removes do_patch from the SRCTREECOVEREDTASKS and creates an empty
do_patch task to enable the VarFlags code to have someplace to attach depends
information to.
[YOCT #11120]
(From OE-Core rev: 86c793595e560e7bc52e3cd2a2752746e6adcb76)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a demo application that draws a three-dimensional spinning cube
using EGL on top of KMS, via Mesa's GBM library. A rough counterpart to
glxgears, it is a useful tool for BSP makers to try the 3D rendering
functionality based on EGL and OpenGL ES in a KMS environment, without
having to set up Wayland or X11.
It is also interesting for Yocto-based projects that do not need any
windowing environment and instead render their visual output fullscreen
to KMS directly, since they can use it as a reference.
(From OE-Core rev: 399c0fdbaacf660750f874e5190dd9955ad9bb58)
Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Re-introduce the patch that was deemed to be not needed
but it infact is still needed with musl
(From OE-Core rev: 3ba88c72e84c8c2a142b990b7547aa221f564d82)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Current osselftest print confusing assertion message when using
self.assertTrue(os.path.exists(filepath)) to test file path,
example of confusing assertion message:
AssertionError: False is not true
Add the assertExists and assertNotExists to improve assertion
message and simplify coding, using selft.assertExists(filepath),
will print meaningful assertion message:
AssertionError: <filepath> does not exist
[YOCTO #11356]
(From OE-Core rev: b0a74554ef926ce05078494ca8e67178b56232f5)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
By exporting KBUILD_BUILD_USER with a pre-defined value we improve the
reproducibility of the kernel and remove the requirement for whoami in the
HOSTTOOLS.
KBUILD_BUILD_HOST also helps improve the reproducibility of the kernel.
For more kernel reproducibility options see:
https://lwn.net/Articles/437864/
(From OE-Core rev: a5a14edb5573e33667b63b1e34cb4e19d075e8e8)
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since recipe-specific sysroots were implemented, devtool add and devtool
upgrade operations that fetch from a URL that requires native sysroot
dependencies will fail to work as there is no recipe-specific sysroot
set up for them during fetching. An example was any URL pointing to a
tarball compressed with xz, e.g. devtool upgrade on gnutls.
The most expedient way to fix this is to set up a dummy recipe-specific
sysroot to use for the fetch/unpack operations. We do this in the same
manner as bitbake -b does, so we're just taking all of the sysroot
components available and creating a sysroot from those rather than
ensuring the correct dependencies are there - this means that we're
still going to have problems if e.g. xz-native hasn't been built yet,
but that issue will be trickier to solve and is tracked separately.
Fixes [YOCTO #11474].
(From OE-Core rev: 559151e783759af78b5cdd76cdbb9ce325a391e6)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating lz4 in oe-core required back porting 3d4cf7de48a from master,
as versioning scheme changed.
(From OE-Core rev: ba71820ea16f2ee990dfca98b390d4ff586b7a49)
Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Porting the mainline commit, to fix gcc7 builds:
474c90156c [give up on gcc ilog2() constant optimizations]
We also integrate the 4.1.39 -stable update to pick up additional
fixes.
(From OE-Core rev: f0effea8716faae749a7d15003647d68fa0cabf7)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If building for nativesdk the wrong rss sysroot is used leading the
following error message.
| ERROR: oe_runmake failed
| In file included from tools/imximage.c:13:0:
| include/image.h:1024:27: fatal error: openssl/evp.h: No such file or directory
| # include <openssl/evp.h>
Tools needed on the build host (script/basic/fixdep) and code compiled
for the SDK machine are both built with the build host's compiler,
leading to additinal errors.
Adding CROSS_COMPILE="${HOST_PREFIX}" and using the cross-compiler for
the SDK_ARCH fixes the build error.
The resulting binary in the SDK is working.
(From OE-Core rev: 5d3df78367be0afbfe001b4fa776a98a82e6ce54)
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
build_efi_cfg function creates configuration files for
systemd-boot entries in 'S' directory. This directory
may not exist when api is called, which breaks the build.
Creating the directory if it doesn't exist should fix
this issue.
(From OE-Core rev: 2731d1efba7a03b2c658c8bb57629f5469184599)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11498]
Enhanced the glossary description for the INHERIT variable to give more
detail and to cross-reference the reader back into the Chapter 3
section describing its use.
(Bitbake rev: 362f6044fcaafe51ab4377af8f2606165b112717)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Buildstats from oe-build-perf-test results have been optimized to not
have child rusage values at all. There, rusage is the sum of parent and
child rusage values. This patch makes buildstats-diff compatible with
this format.
[YOCTO #11355]
(From OE-Core rev: 496a9dc179fe9dc370c940f4a2f7bcab869a804f)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For dumping buildstats from the test runs being reported. The output
directory where buildstats are copied is 'oe-build-perf-buildstats/'.
Buildstats can be then further analyzed with buildstats-diff script, for
example.
[YOCTO #11355]
(From OE-Core rev: e06266798d975bd6bebdb6bfdbd3d21be1c44ffd)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We use rev-parse for turning git object names into SHA-1 and checking
their existence. Using --verify option makes sure git-rev-parse does
what we expect.
(From OE-Core rev: f5b420c7f07a008c11d492b055c7cc8869f644d3)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For git repositories in the absence of any other indicator, it's not an
unreasonable assumption that the name of the repository is the name of
the software package it contains, so use that as PN if we don't have
anything else.
(From OE-Core rev: ef73fa70f0955912b0da140922465a3c817424e9)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a value we extract from a spec file contains an unexpanded macro
(e.g. %{macroname}) then we should discard it since we're not seeing the
actual value and we don't have an easy way of expanding it at the
moment.
This fixes for example getting %{name} as the recipe name when running
the following:
recipetool create https://github.com/gavincarr/mod_auth_tkt.git
(From OE-Core rev: eee56a19cda051da6267f808cd3a04a4c644acb3)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Required with glibc 2.26
when x11 is not in distro features it errors
out due to mising CLOCK_REALTIME
error: 'CLOCK_REALTIME' undeclared (first use in this function);
did you mean '_XOPEN_REALTIME'?
if (clock_gettime(CLOCK_REALTIME, &ts) == -1)
^~~~~~~~~~~~~~
_XOPEN_REALTIME
(From OE-Core rev: 389b5f96af68439cc8e135a33f1e41116cb1d1aa)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
--enabled-x11grab option has been removed upstream
(and it was described as 'legacy' in the previous version)
(From OE-Core rev: e7be4005355808173d55bcc9f053f59939cc0048)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The previous patch used LARGE_BUFFER_MAX_SIZE instead
of SMALL_BUFFER_MAX_SIZE for cmd in function pkg_installLibrary,
which only fixed some of the cases when the command line
is too long, some other cases indicate that the
LARGE_BUFFER_MAX_SIZE is also needed in pkg_installCommonMode
and pkg_installFileMode to avoid overflow:
| *** buffer overflow detected ***: ../bin/pkgdata terminated
(From OE-Core rev: 2c3ec6b3c4e8faf9cf88ae33727b4fecef83d0f8)
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1.33 -> 1.34
1. Refreshed 0001-Fix-compile-on-musl-with-kernel-4.9-headers.patch
2. Removed upstreamed patch:
0003-stats-Fix-bad-file-descriptor-initialisation.patch
3. Provided PACKAGECONFIGs for nftables and iptables support
4. Add new patch to fix build with nftables:
0001-firewall-nftables-fix-build-with-libnftnl-1.0.7.patch
(From OE-Core rev: dfe40b7abbea36605e4ea8f74ec8e477505148a6)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rather than presuming `make` is the generator, use cmake's generic
`cmake --build` feature (which knows to call the appropriate generator).
Both DESTDIR and VERBOSE still behave as intended when used as
environment variables instead of make variable-arguments.
As cmake-based builds don't do any configuration with `make`
invocations, we only pass `PARALLEL_MAKE{,INST}` (via a
EXTRA_OECMAKE_BUILD variable) to the underlying build tool. Make &
ninja support the same `-j N` option (and a few others), so this does
happen to work for both.
This makes it more straight forward for others to select other cmake
generators (many folks have been reaching for `ninja` lately).
CC: Andre McCurdy <armccurdy@gmail.com>
(From OE-Core rev: 2b06cb961edbe52ff66e8edccd007edd0795c30b)
Signed-off-by: Cody P Schafer <dev@codyps.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In parallel builds utils/kconfig-tweak may be written to before utils/ exists,
so add a mkdir.
Also mark the pkgconfig patch as Submitted as I sent that upstream at the same
time.
(From OE-Core rev: 59921b3ce23fe0d391558425f7a5ade45cbcbd80)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added possibility to specify extra format-patch options
in the create-pull-request command line:
create-pull-request -u contrib -r master -- -v3
(From OE-Core rev: 19e51f05011e827a34890e0c098f3bfa66559e1a)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rasons:
- It breaks the script if script is used without -t
- Its functionality covered by the next patch
This reverts commit 3ad3fda6c5.
(From OE-Core rev: 9be68e6f058e2ab149e5c6f045479413cf0db69b)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed failure of test_unsupported_subcommand caused by
switching to argparser by checking that parser returns
non-zero return code.
[YOCTO #9636]
(From OE-Core rev: 581db38a280bf4cb03faf568cefd8d97383b5417)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
CVE checking in OE didn't work as do_populate_cve_db failed with the following
error message.
[snip]/downloads/CVE_CHECK/nvdcve-2.0-2002.xml is not consistent
Backport a patch to fix this error.
(From OE-Core rev: ee55b5685aaa4be92d6d51f8641a559d4e34ce64)
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>
This resolves a conflict when both python-nose and python3-nose are pulled
into an image and try to install ${bindir}/nosetests binary.
This matches with how other distros are solving this problem, e.g. Debian:
https://packages.debian.org/jessie/all/python3-nose/filelist
Also, other packages like python3-setuptools are already doing the same with
their binaries.
(From OE-Core rev: 1a3247d38939392bfdcb3eff1da7a1e08eff35f9)
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The following warning occurs when building with meta-zephyr
with MACHINE set to arduino-101-sss:
WARNING: /srv/sdc/builds/11319/meta/recipes-extended/ghostscript/ghostscript_9.20.bb: Unable to get checksum for ghostscript SRC_URI entry objarch.h: file could not be found
This is due to the the TARGET_ARCH = "arc" for meta-zephyr is not
supported by ghostscript and causing bitbake unable to locate the
correct config file during recipe parse.
Adding checker in the recipe to raise an exception if the target
architecture is "arc". This would then only display an error if
someone specifically tries to build the recipe:
ERROR: ghostscript was skipped: incompatible with host arc-yocto-elf (not in COMPATIBLE_HOST)
[YOCTO #11344]
(From OE-Core rev: 720a7230b92d734106d5340a426270dd4e921e8e)
Signed-off-by: Chang Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1) Upgrade libpng from 1.6.28 to 1.6.29.
2) License checksum changed,since the copyright date and contributing authors were updated.
(From OE-Core rev: 1a8438601db2e7fd367b6927f6fa4e03cb74854a)
Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1) Upgrade libpciaccess from 0.13.4 to 0.13.5.
3) Delete three patches, since they are integrated upstream.
0001-Include-config.h-before-anything-else-in-.c.patch
0002-Fix-quoting-issue.patch
0003-linux_sysfs.c-Include-limits.h-for-PATH_MAX.patch
(From OE-Core rev: ef4bc266fb9e27d3335ba81a6a0f8ba19e3eb41f)
Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Similar to gstreamer _git recipes, this recipe wasn't kept upto date
or tested regularly.
(From OE-Core rev: 9348ab34de2fe2ab04c8b84011809045c632fd87)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Firmware files for the QCA61x4 ROME BT family chips. Firmware shares the
same license as used by ath10k.
(From OE-Core rev: cc5fa321bb8988344f10f4fbc843e23e5d73fe33)
Signed-off-by: Ricardo Salveti <rsalveti@rsalveti.net>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some tools (my issue was with 'perf') only need the libbfd component of
binutils, so we can save space in images by splitting it out.
Previously, instead of `perf` pulling in `libbfd-VERSION.so`, it pulled
in all the libraries and binaries from binutils.
(From OE-Core rev: d57109e44f1a32d0e39d250ad7e71d7d80757d35)
Signed-off-by: Cody P Schafer <dev@codyps.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1) Upgrade libgpg-error from 1.26 to 1.27.
2) One file's LIC_FILES_CHKSUM checksums changed (src/gpg-error.h.in),but LICENSE remains the same.
3) Delete PR assignmen,since the version is upgraded.
(From OE-Core rev: db623a39e05b9d24ad6252dd24bb7610ed6f578a)
Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Prior versions of python do not support openssl 1.1; updating to
Python 3.6 on the other hand is a lot more involved, and so should
be done by a specialist/maintainer.
LICENSE checksum change due to copyright years.
Drop upstreamed python3-fix-CVE-2016-1000110.patch
Rebase upstream-random-fixes.patch (taken from
ff558f5aba )
Rebase 0001-Do-not-use-the-shell-version-of-python-config-that-w.patch
Rebase 000-cross-compile.patch
(From OE-Core rev: b7b982a29e5d14c558b5fc25b4dc727810510ade)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When uses write it creates a full new configuration in selftest.inc
causing to fail populate_sdk_ext linux-yocto because the signature
of the sstate changes.
[YOCTO #11300]
(From OE-Core rev: 65bab9210be51aeb431ea85c90e31ad9f0d2340c)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
That a utility function permanently changes the process environment is
bad style and leads to subtle, hard to debug problems.
For example, we had one oe-selftest which used runqemu() with an
override for DEPLOY_DIR_IMAGE. Another test then just called runCmd()
and ended up passing the wrong DEPLOY_DIR_IMAGE set earlier in
os.environ.
The approach used here is to pass the desired environment dict to the
launch() method as a new, optional parameter, which then gets passed
on to subproject.Popen(). The modified env variables do not get
logged, as before.
[YOCTO #11443]
(From OE-Core rev: cab20f3b2fe668a63c58b44f2ad797fed74226fe)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When warning users about unpatched CVE, we'd better put CVE IDs into
the warning message, so that it would be more straight forward for the
user to know which CVEs are not patched.
So instead of:
WARNING: gnutls-3.5.9-r0 do_cve_check: Found unpatched CVE, for more information check /path/to/workdir/cve/cve.log.
We should have:
WARNING: gnutls-3.5.9-r0 do_cve_check: Found unpatched CVE (CVE-2017-7869), for more information check /path/to/workdir/cve/cve.log.
(From OE-Core rev: ad46069e7b58f2fba373131716f28407816fa1a6)
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>
Avoid archiving source for glibc-locale as its tasks
do_fetch do_unpack and do_patch have already been deleted.
(From OE-Core rev: 50ed224ebc8d88a900febdc78013fa0c791d71cf)
Signed-off-by: Zhenbo Gao <zhenbo.gao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adding or removing archiver.bbclass from a build configuration causes
rebuilds of linux-yocto-based kernels because of the
do_kernel_configme->do_unpack_and_patch task dependency.
This particular dependency can be ignored for the do_kernel_configme
sstate signature calculcation. Idea for the fix from Richard Purdie.
Note that building the kernel and adding archiver.bbclass later to
archive sources leads to do_unpack_and_patch running after
do_kernel_configme (because that already ran in the first build),
which might be problematic. This is independent of the change here.
The use case in YOCTO #11441 is to removed archiver.bbclass between a
production build with archiving enabled and builds via oe-selftests
without archiving. That direction is fine.
Fixes: YOCTO #11441
(From OE-Core rev: fed0ed82928e6a7846fbad233ac657bd17bcefc7)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The diff.gz gets created in do_unpack_and_patch, but
do_deploy_archives did not depend on it, so there was a race
condition. For example, "bitbake linux-intel:do_deploy_archives"
without a prior "bitbake linux-intel:do_kernel_configme" did not
deploy the diff.gz.
When do_unpack_and_patch ran first, it failed because the output
directory didn't exist yet and the error was not detected because the
result of the diff command wasn't checked.
Changing the current working directory in create_diff_gz() without
returning to the original directory caused warnings like this:
WARNING: linux-intel-... do_unpack_and_patch: Task do_unpack_and_patch changed cwd to .../tmp-glibc/work-shared/intel-corei7-64
(From OE-Core rev: 18aac553ca35049c80b6cc82ff0e69ce8a7a03a9)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previously, do_ar_recipe ran again unnecessarily when adding or
removing classes like buildhistory.bbclass, because that changes the
BBINCLUDED variable which do_ar_recipe uses to find .bbappend files.
This is both extra work and also sometimes triggered "basehash
changed" errors (seen under oe-selftest, which adds machine.inc and
bblayers.inc) because BBINCLUDED is special and does not cause
the basehash to be recalculated.
The file *content* already was not considered in the task signature,
instead relying indirectly on PF (which includes the revision assigned
by a PR server) to ensure that a new versioned source archive gets
created each time there is a rebuild.
Therefore it makes sense to use the same mechanism and also ignore the
file *list*, i.e. exclude BBINCLUDED from the task signature.
(From OE-Core rev: 9666f0e0b02efc14226c77497fd38f79fc372f98)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
opkg-utils ends up in any opkg/rpm image with package management as it's the
provider for update-alternatives. If dev-pkgs is enabled then opkg-utils-dev
will get installed, which is empty but will subsequently pull python3-dev into
the image (as opkg-utils-python depends on python3).
As this can result in all of Python appearing in otherwise small images, don't
generate these pointless packages.
(From OE-Core rev: 5da7a0ba47d39612b08b4f71518b8384a3058b3f)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The scripts were fixed to be compatible with py3 some time ago,
but the shebang continued to refer to python 2.x.
(From OE-Core rev: bb5718b631151cff840bcfa171ad4f8326c2132e)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg v4.9.22 -> .27 releases with the following shortlog
summary:
89f3b8d5f264 Linux 4.9.27
a0d50c80a29e dm ioctl: prevent stack leak in dm ioctl call
7ad6de43deda cpu/hotplug: Serialize callback invocations proper
e99b0ea39354 ceph: try getting buffer capability for readahead/fadvise
1bf9bc481338 8250_pci: Fix potential use-after-free in error path
3fbd2ba1da3f hwmon: (it87) Avoid registering the same chip on both SIO addresses
d24261e567e1 scsi: storvsc: Workaround for virtual DVD SCSI version
1b7f385e049c tpm_tis: use default timeout value if chip reports it as zero
d8fd99d4721d Handle mismatched open calls
00cca9768ebe timerfd: Protect the might cancel mechanism proper
d071951e08ee Linux 4.9.26
6d10a6cfe85e ftrace/x86: Fix triple fault with graph tracing and suspend-to-ram
9cbf4337a51d ARCv2: save r30 on kernel entry as gcc uses it for code-gen
4684be169a67 net: can: usb: gs_usb: Fix buffer on stack
07389a140f48 macsec: avoid heap overflow in skb_to_sgvec
36e0be3187c2 ceph: fix recursion between ceph_set_acl() and __ceph_setattr()
d7809b9e99bb nfsd: stricter decoding of write-like NFSv2/v3 ops
8ed0797966fd nfsd4: minor NFSv2/v3 write decoding cleanup
fc6445df466f nfsd: check for oversized NFSv2/v3 arguments
b88e4113250d Input: i8042 - add Clevo P650RS to the i8042 reset list
990afef90e08 ASoC: intel: Fix PM and non-atomic crash in bytcr drivers
b2b93bbeec2d p9_client_readdir() fix
92f0ddece7da MIPS: Avoid BUG warning in arch_check_elf
6fbb6c02df30 MIPS: cevt-r4k: Fix out-of-bounds array access
4805f8a8a2f6 MIPS: KGDB: Use kernel context for sleeping threads
563300b9ff7f ARC: [plat-eznps] Fix build error
59f83369d44c ALSA: seq: Don't break snd_use_lock_sync() loop by timeout
26b9b1565baf ALSA: firewire-lib: fix inappropriate assignment between signed/unsigned type
827faa2e4ef7 ALSA: oxfw: fix regression to handle Stanton SCS.1m/1d
b1fc1b057b8e ipv6: check raw payload size correctly in ioctl
1dc1b7b50866 tcp: memset ca_priv data to 0 properly
df1926123f0c ipv6: check skb->protocol before lookup for nexthop
ae6a762dcdf0 net: phy: fix auto-negotiation stall due to unavailable interrupt
62817c314af3 net: ipv6: regenerate host route if moved to gc list
ae88c43c019f macvlan: Fix device ref leak when purging bc_queue
7bf657201c21 net/mlx5e: Fix ETHTOOL_GRXCLSRLALL handling
c3215c31ef5c net/mlx5e: Fix small packet threshold
03641c4ded85 net/mlx5: Fix driver load bad flow when having fw initializing timeout
b2440a5d3e25 ip6mr: fix notification device destruction
291e60458ddf netpoll: Check for skb->queue_mapping
94e5670c933d net: ipv6: RTF_PCPU should not be settable from userspace
7ab89b176b7a gso: Validate assumption of frag_list segementation
fcbf5a71a646 dp83640: don't recieve time stamps twice
e344e97fb359 sh_eth: unmap DMA buffers when freeing rings
b4580d6f10a3 net: vrf: Fix setting NLM_F_EXCL flag when adding l3mdev rule
8c04e2acd537 net-timestamp: avoid use-after-free in ip_recv_error
c86872a43400 ipv6: Fix idev->addr_list corruption
479beb4c6554 tcp: clear saved_syn in tcp_disconnect()
02f04309673e sctp: listen on the sock only when it's state is listening or closed
dbaaa5890df7 net: ipv4: fix multipath RTM_GETROUTE behavior when iif is given
425cc775d18a l2tp: fix PPP pseudo-wire auto-loading
b7902607693f l2tp: take reference on sessions being dumped
1f49c8cd2c9a net/packet: fix overflow in check for tp_reserve
10452124bac3 net/packet: fix overflow in check for tp_frame_nr
3ae0fc950603 l2tp: purge socket queues in the .destruct() callback
59bc404b3829 l2tp: hold tunnel socket when handling control frames in l2tp_ip and l2tp_ip6
501299e64381 net/mlx5: Avoid dereferencing uninitialized pointer
0ea3c235779a bpf: improve verifier packet range checks
d60d4e8c1b73 kcm: return immediately after copy_from_user() failure
c63d6180076b net: phy: handle state correctly in phy_stop_machine
4f99161f2ec5 net: neigh: guard against NULL solicit() method
512d211207df sparc64: Fix kernel panic due to erroneous #ifdef surrounding pmd_write()
24870a79dad6 sparc64: kern_addr_valid regression
e88a8e0a23c2 ping: implement proper locking
7c80a91b8877 Revert "mmc: sdhci-msm: Enable few quirks"
a8c90ef62281 Linux 4.9.25
c36eaa6ca346 device-dax: switch to srcu, fix rcu_read_lock() vs pte allocation
f8bc0881fe95 x86/mce: Make the MCE notifier a blocking one
6966a6579e1b x86/mce/AMD: Give a name to MCA bank 3 when accessed with legacy MSRs
1bd55ab13039 powerpc/kprobe: Fix oops when kprobed on 'stdu' instruction
790b2b5a01ce ubi/upd: Always flush after prepared for an update
87cfeaa5e5a1 mac80211: fix MU-MIMO follow-MAC mode
e0411f1eb549 mac80211: reject ToDS broadcast data frames
b93858556fd1 ubifs: Fix O_TMPFILE corner case in ubifs_link()
a260ff509b4d ubifs: Fix RENAME_WHITEOUT support
9fc131428536 mmc: sdhci-esdhc-imx: increase the pad I/O drive strength for DDR50 card
4420e5f323c4 ACPI / power: Avoid maybe-uninitialized warning
11ba522d7929 Input: elantech - add Fujitsu Lifebook E547 to force crc_enabled
3d42ca46f47a s390/mm: fix CMMA vs KSM vs others
f79ef57911ee CIFS: remove bad_network_name flag
0b7c97066341 cifs: Do not send echoes before Negotiate is complete
c0a602ad31ee mm: prevent NR_ISOLATE_* stats from going negative
d80e90712a50 ring-buffer: Have ring_buffer_iter_empty() return true when empty
d4decac1edaa tracing: Allocate the snapshot buffer before enabling probe
174a74dbca2d KEYS: fix keyctl_set_reqkey_keyring() to not leak thread keyrings
b2dd90e812f3 KEYS: Change the name of the dead type to ".dead" to prevent user access
a5c6e0a76817 KEYS: Disallow keyrings beginning with '.' to be joined as session keyrings
2f5e58ec793f Linux 4.9.24
35b9d61ea910 sctp: deny peeloff operation on asocs with threads sleeping on it
c67c2be735b1 net: ipv6: check route protocol when deleting routes
86c6667f6a5f virtio-console: avoid DMA from stack
fb00319317c1 cxusb: Use a dma capable buffer also for reading
28d1e8b7ef81 dvb-usb-firmware: don't do DMA on stack
36b62c08e72b dvb-usb: don't use stack for firmware load
2c0ad235ac77 mm: Tighten x86 /dev/mem with zeroing reads
ef793e6e1134 rtc: tegra: Implement clock handling
0dd962118a20 ACPI / EC: Use busy polling mode when GPE is not enabled
c07479f4b10a x86/xen: Fix APIC id mismatch warning on Intel
03470ba96a96 platform/x86: acer-wmi: setup accelerometer when machine has appropriate notify event
a6ca4946676b ASoC: Intel: select DW_DMAC_CORE since it's mandatory
25640e792f1a nbd: fix 64-bit division
7599166d7855 nbd: use loff_t for blocksize and nbd_set_size args
9c0c43527263 drm/nouveau/disp/mcp7x: disable dptmds workaround
754ae7efb383 mm: memcontrol: use special workqueue for creating per-memcg caches
b1574caf9664 ext4: fix inode checksum calculation problem if i_extra_size is small
1992564156b5 dvb-usb-v2: avoid use-after-free
de75264ee112 ath9k: fix NULL pointer dereference
a28acecbaf25 parisc: Fix get_user() for 64-bit value on 32-bit kernel
c10479591869 crypto: ahash - Fix EINPROGRESS notification callback
64ba06dc8a1d crypto: algif_aead - Fix bogus request dereference in completion function
7da0f8e547c2 ftrace: Fix function pid filter on instances
e3c7258bb4fe zram: do not use copy_page with non-page aligned address
75465e71ec31 kvm: fix page struct leak in handle_vmon
5a4c0738998a Revert "MIPS: Lantiq: Fix cascaded IRQ setup"
a9da1ac37ccf char: lack of bool string made CONFIG_DEVPORT always on
666452ffdbf7 ftrace: Fix removing of second function probe
fdaa36c75c5a irqchip/irq-imx-gpcv2: Fix spinlock initialization
5dda157006bc cpufreq: Bring CPUs up even if cpufreq_online() failed
5f48cacaa72c pwm: rockchip: State of PWM clock should synchronize with PWM enabled state
088e5800500e can: ifi: use correct register to read rx status
5ac50e714f60 libnvdimm: fix reconfig_mutex, mmap_sem, and jbd2_handle lockdep splat
5f377c4ad271 libnvdimm: fix blk free space accounting
0c6172ccbb59 make skb_copy_datagram_msg() et.al. preserve ->msg_iter on error
ff76ab9e03a5 new privimitive: iov_iter_revert()
e485875dff38 xen, fbfront: fix connecting to backend
92f8aa7bb825 target: Avoid mappedlun symlink creation during lun shutdown
08383b004426 scsi: sd: Fix capacity calculation with 32-bit sector_t
64e746983c4c scsi: qla2xxx: Add fix to read correct register value for ISP82xx.
82d181d7540f scsi: sd: Consider max_xfer_blocks if opt_xfer_blocks is unusable
c80c158bfe61 scsi: sr: Sanity check returned mode data
281e36cbaf43 iscsi-target: Drop work-around for legacy GlobalSAN initiator
0ae3c95e3a31 iscsi-target: Fix TMR reference leak during session shutdown
eff58f9084a0 efi/fb: Avoid reconfiguration of BAR that covers the framebuffer
60174fb3eaa6 efi/libstub: Skip GOP with PIXEL_BLT_ONLY format
1681bab7c450 parisc: fix bugs in pa_memcpy
6ef2f0178649 ACPI / scan: Set the visited flag for all enumerated devices
0b914aa8cdc6 acpi, nfit, libnvdimm: fix interleave set cookie calculation (64-bit comparison)
5e29a45f1ef0 x86/vdso: Plug race between mapping and ELF header setup
ec980b6f7dcc x86/vdso: Ensure vdso32_enabled gets set to valid values only
a9826aa4860a x86, pmem: fix broken __copy_user_nocache cache-bypass assumptions
59bf23088953 x86/signals: Fix lower/upper bound reporting in compat siginfo
41d8b02f6448 x86/efi: Don't try to reserve runtime regions
085656dad4b0 perf/x86: Avoid exposing wrong/stale data in intel_pmu_lbr_read_32()
0ea2dcf1f9e6 Input: xpad - add support for Razer Wildcat gamepad
730fecb3401f CIFS: store results of cifs_reopen_file to avoid infinite wait
3d8d2f234476 CIFS: reconnect thread reschedule itself
fd3be7eaff14 drm/etnaviv: fix missing unlock on error in etnaviv_gpu_submit()
e6bcbdc59356 drm/nouveau/mmu/nv4a: use nv04 mmu rather than the nv44 one
b29a17524bc1 drm/nouveau/mpeg: mthd returns true on success now
975a7ea950c6 orangefs: free superblock when mount fails
d19f745ea3a9 zsmalloc: expand class bit
5c9d08320229 thp: fix MADV_DONTNEED vs clear soft dirty race
f584803c4942 thp: fix MADV_DONTNEED vs. MADV_FREE race
5ef6f4dec559 tcmu: Skip Data-Out blocks before gathering Data-In buffer for BIDI case
890aec8eae09 tcmu: Fix wrongly calculating of the base_command_size
ef599fa52429 tcmu: Fix possible overwrite of t_data_sg's last iov[]
f44236a1b05b cgroup, kthread: close race window where new kthreads can be migrated to non-root cgroups
c3582cc56eac Linux 4.9.23
0ade21a2ed74 dma-buf: add support for compat ioctl
27dedde6895c net/mlx4_core: Fix when to save some qp context flags for dynamic VST to VGT transitions
48b2f1dd5787 net/mlx4_core: Fix racy CQ (Completion Queue) free
cee26997a604 net/mlx4_en: Fix bad WQE issue
ec0c5f06dba4 usb: hub: Wait for connection to be reestablished after port reset
d7045cbf4a06 blk-mq: Avoid memory reclaim when remapping queues
16fc98c2479f net/packet: fix overflow in check for priv area size
0ee72d8f9b8e Revert "drm/i915/execlists: Reset RING registers upon resume"
69fbc505c87b crypto: caam - fix invalid dereference in caam_rsa_init_tfm()
75964d0f1914 crypto: caam - fix RNG deinstantiation error checking
91f9f51b1836 MIPS: IRQ Stack: Fix erroneous jal to plat_irq_dispatch
aa05503149b3 MIPS: Select HAVE_IRQ_EXIT_ON_IRQ_STACK
e8fa51d31aee MIPS: Switch to the irq_stack in interrupts
aa6b1dac465e MIPS: Only change $28 to thread_info if coming from user mode
86b54e48c468 MIPS: Stack unwinding while on IRQ stack
742817bb77f9 MIPS: Introduce irq_stack
760327cb080b mtd: bcm47xxpart: fix parsing first block after aligned TRX
31c576a5fe50 rt2x00: Fix incorrect usage of CONFIG_RT2X00_LIB_USB
f0df317b2bb3 rt2x00usb: do not anchor rx and tx urb's
cb794d57931b rt2x00usb: fix anchor initialization
938f8e856064 i2c: bcm2835: Fix hang for writing messages larger than 16 bytes
f7513c9165bf orangefs: fix buffer size mis-match between kernel space and user space.
1b9921866dc5 orangefs: Dan Carpenter influenced cleanups...
dcac0d18e7e1 orangefs: fix memory leak of string 'new' on exit path
17fda94d181c drm/i915: Avoid rcu_barrier() from reclaim paths (shrinker)
82dafcb93b0f drm/i915: Stop using RP_DOWN_EI on Baytrail
954ce087072c drm/i915: Drop support for I915_EXEC_CONSTANTS_* execbuf parameters.
1cbf6296fb35 drm/i915: Only enable hotplug interrupts if the display interrupts are enabled
1435e12e4af9 drm/i915: Avoid tweaking evaluation thresholds on Baytrail v3
988028e55b88 drm/i915: Nuke debug messages from the pipe update critical section
8ac9915c3f86 drm/i915/gen9: Increase PCODE request timeout to 50ms
cf2586e60ede Linux 4.9.22
7eae64f9195c x86/reboot/quirks: Fix typo in ASUS EeeBook X205TA reboot quirk
af11789a0548 usb-storage: Add ignore-residue quirk for Initio INIC-3619
e5525c7419f1 x86/reboot/quirks: Add ASUS EeeBook X205TA/W reboot quirk
0605fff95d33 x86/reboot/quirks: Add ASUS EeeBook X205TA reboot quirk
7c6b1ad9deb5 platform/x86: asus-wmi: Detect quirk_no_rfkill from the DSDT
71f38c11cdb8 platform/x86: asus-wmi: Set specified XUSB2PR value for X550LB
4dc1eb47fbea watchdog: s3c2410: Fix infinite interrupt in soft mode
b18877ff66cf PCI: Add ACS quirk for Qualcomm QDF2400 and QDF2432
5feac34f670c PCI: Sort the list of devices with D3 delay quirk by ID
6b69d1f64499 mmc: sdhci-of-esdhc: remove default broken-cd for ARM
0ddf07d2a130 PCI: Disable MSI for HiSilicon Hip06/Hip07 Root Ports
28dd2313a6e4 PCI: Add Broadcom Northstar2 PAXC quirk for device class and MPSS
35b366d584da ARM: smccc: Update HVC comment to describe new quirk parameter
25bdb190ade0 drm/msm/adreno: move function declarations to header file
bec9918bb4da firmware: qcom: scm: Fix interrupted SCM calls
007f0a2f2c0f arm: kernel: Add SMC structure parameter
703f48a1c302 HID: wacom: don't apply generic settings to old devices
abb640893830 ASoC: sun4i-i2s: Add quirks to handle a31 compatible
3d2f06d8d180 ACPI: save NVS memory for Lenovo G50-45
09f78f116c03 ASoC: Intel: cht_bsw_rt5645: add Baytrail MCLK support
584f4318f923 ASoC: Intel: cht_bsw_rt5645: harden ACPI device detection
4060a32e9d24 ASoC: Intel: Baytrail: add quirk for Lenovo Thinkpad 10
d572cfb66264 ASoC: codecs: rt5670: add quirk for Lenovo Thinkpad 10
58153cca226f ASoC: rt5670: Add missing 10EC5072 ACPI ID
e4ae51e44b89 ACPI / button: Change default behavior to lid_init_state=open
b369fd719fa4 sata: ahci-da850: implement a workaround for the softreset quirk
f36d3f1fe79e PCI: Add ACS quirk for Intel Union Point
a452e4eb6ee2 ARM: dts: STiH407-family: set snps,dis_u3_susphy_quirk
9ec57c921b9d drm/mga: remove device_is_agp callback
ae3a3e209ef1 usb: dwc3: host: pass quirk-broken-port-ped property for known broken revisions
7bdf7bebbbed usb: host: xhci-plat: enable BROKEN_PED quirk if platform requested
15159247d25b usb: xhci: add quirk flag for broken PED bits
660b38eab885 ARM: davinci: PM: support da8xx DT platforms
db7c1706fa6d Input: gpio_keys - add support for GPIO descriptors
80b0d7e623d1 serial: 8250_omap: Add OMAP_DMA_TX_KICK quirk for AM437x
6b8deb108273 usb: chipidea: msm: Rely on core to override AHBBURST
c5fc946a15dc scsi: ufs: issue link starup 2 times if device isn't active
a17bddc4a781 scsi: ufs: introduce a new ufshcd_statea UFSHCD_STATE_EH_SCHEDULED
e94ed347105d ASoC: Intel: bytcr_rt5640: quirks for Insyde devices
0ed0810b8b02 drm/i915: actually drive the BDW reserved IDs
70797929ee36 drm/i915: more .is_mobile cleanups for BDW
0b348464eea0 drm/i915: fix INTEL_BDW_IDS definition
14ec1cf414cf drm/edid: constify edid quirk list
f188ee38d4cb HID: usbhid: Add quirk for Mayflash/Dragonrise DolphinBar.
7fd75759ba07 HID: usbhid: Add quirk for the Futaba TOSD-5711BB VFD
c1e94148f93c ACPI / sysfs: Provide quirk mechanism to prevent GPE flooding
43cfff65c989 nvme: simplify stripe quirk
8d620dff40ba platform/x86: acer-wmi: Only supports AMW0_GUID1 on acer family
2bd6cc1cce47 ALSA: usb-audio: Add native DSD support for TEAC 501/503 DAC
8ae7242fea54 PCI: Expand "VPD access disabled" quirk message
c0aac1bbb5d8 ALSA: usb-audio: add implicit fb quirk for Axe-Fx II
bedc629494cd scsi: ufs: add quirk to increase host PA_SaveConfigTime
5c6b8ad1ab25 PCI: thunder-pem: Factor out resource lookup
5582c1980eac arm64: PCI: Add local struct device pointers
cc49b39f3f2d arm64: PCI: Manage controller-specific data on per-controller basis
625fd9d1af70 x86/intel_idle: Add CPU model 0x4a (Atom Z34xx series)
607ca1dccbbd svcauth_gss: Close connection when dropping an incoming message
3a87bcdebf6e scsi: ufs: ensure that host pa_tactivate is higher than device
d84be51d1c1d mmc: sdhci-msm: Enable few quirks
c6e3c6628dfb HID: multitouch: do not retrieve all reports for all devices
68a83be38135 HID: multitouch: enable the Surface 3 Type Cover to report multitouch data
c5fcc6332ddb HID: sensor-hub: add quirk for Microchip MM7150
39f3c9291d69 HID: sensor-hub add quirk for Microsoft Surface 3
9b41ed79ec78 scsi: ufs: introduce UFSHCD_QUIRK_PRDT_BYTE_GRAN quirk
26cbe162df3d clocksource/drivers/arm_arch_timer: Don't assume clock runs in suspend
d2f1000c3ae3 net/mlx4_core: Use device ID defines
dcc4c6758100 arm64: dts: hisi: fix hip06 sas am-max-trans quirk
b340c9648c2f ASoC: Intel: bytct_rt5640: change default capture settings
d9a97dcdf5c2 usb: dwc3: gadget: delay unmap of bounced requests
ee670af5feed HID: i2c-hid: add a simple quirk to fix device defects
d640c41bced6 HID: usbhid: Add quirks for Mayflash/Dragonrise GameCube and PS3 adapters
e02a5d1d5a05 clk: lpc32xx: add a quirk for PWM and MS clock dividers
666d5f34d897 drm/sun4i: Add compatible string for A31/A31s TCON (timing controller)
6af7e1cae445 drm/sun4i: Add compatible strings for A31/A31s display pipelines
06a2bb472f71 drm/sun4i: tcon: Move SoC specific quirks to a DT matched data structure
7c0361334466 random: use chacha20 for get_random_int/long
cddab768d134 mm/mempolicy.c: fix error handling in set_mempolicy and mbind.
24317cb6b400 Documentation: stable-kernel-rules: fix stable-tag format
be56f92cc0a9 MIPS: c-r4k: Fix Loongson-3's vcache/scache waysize calculation
59b8725f2b1e MIPS: Flush wrong invalid FTLB entry for huge page
186fb3c52e39 MIPS: Add MIPS_CPU_FTLB for Loongson-3A R2
3d5e13d891b0 MIPS: Check TLB before handle_ri_rdhwr() for Loongson-3
c7f6633f7657 MIPS: Lantiq: fix missing xbar kernel panic
1e7deb9da033 MIPS: End spinlocks with .insn
19aa26f5be49 MIPS: ralink: Fix typos in rt3883 pinctrl
9dcb21e63b2e MIPS: Force o32 fp64 support on 32bit MIPS64r6 kernels
7b68273f79e8 s390/uaccess: get_user() should zero on failure (again)
f4938792af38 s390/decompressor: fix initrd corruption caused by bss clear
6a776f6ae3f8 xtensa: make __pa work with uncached KSEG addresses
c1dcea123655 nios2: reserve boot memory for device tree
27d382fb6afe dm raid: fix NULL pointer dereference for raid1 without bitmap
abbf0fd436a9 powerpc/crypto/crc32c-vpmsum: Fix missing preempt_disable()
45c2ed941c08 powerpc: Don't try to fix up misaligned load-with-reservation instructions
fba7546bbe65 powerpc/64: Fix flush_(d|i)cache_range() called from modules
24d945d4791f powerpc/mm: Add missing global TLB invalidate if cxl is active
6fbf84b5da23 powerpc: Disable HFSCR[TM] if TM is not supported
a1db9b2c1b12 metag/usercopy: Add missing fixups
ce154d517ae4 metag/usercopy: Fix src fixup in from user rapf loops
4f3f0dd2a75b metag/usercopy: Set flags before ADDZ
3dc0fe517a9f metag/usercopy: Zero rest of buffer from copy_from_user
4a93ac814ddc metag/usercopy: Add early abort to copy_to_user
49a292dcd86b metag/usercopy: Fix alignment error checking
2bb52b47e7f4 metag/usercopy: Drop unused macros
9afc076d2812 brcmfmac: use local iftype avoiding use-after-free of virtual interface
c0321505df2e mac80211: unconditionally start new netdev queues with iTXQ support
703cebf6e978 ring-buffer: Fix return value check in test_ringbuffer()
f7db18998e9c xfs: Honor FALLOC_FL_KEEP_SIZE when punching ends of files
dc62935ce0fb orangefs: move features validation to fix filesystem hang
c4fe79a44a5d Kbuild: use cc-disable-warning consistently for maybe-uninitialized
e4a62348935e ACPI / gpio: do not fall back to parsing _CRS when we get a deferral
ab83597b9d40 dm verity fec: fix bufio leaks
2ff087642643 dm verity fec: limit error correction recursion
d9fa4351037b ptrace: fix PTRACE_LISTEN race corrupting task->state
e3b08ebe4773 mm/page_alloc.c: fix print order in show_free_areas()
8446cb1adf95 Reset TreeId to zero on SMB2 TREE_CONNECT
57e1e90dda74 cfg80211: check rdev resume callback only for registered wiphy
3715dbf77f3b arm64: mm: unaligned access by user-land should be received as SIGBUS
71b44ef83d2a iio: bmg160: reset chip when probing
ac303c64cdb8 kvm: arm/arm64: Fix locking for kvm_free_stage2_pgd
a1ea31893684 arm/arm64: KVM: Take mmap_sem in kvm_arch_prepare_memory_region
48f2825abc65 arm/arm64: KVM: Take mmap_sem in stage2_unmap_vm
8f8de8d2bf6c staging: android: ashmem: lseek failed due to no FMODE_LSEEK.
d9eedab38395 sysfs: be careful of error returns from ops->show()
4ddd24d54fed drm/vmwgfx: fix integer overflow in vmw_surface_define_ioctl()
28c84df739e3 drm/vmwgfx: Remove getparam error message
b116797b81e5 drm/ttm, drm/vmwgfx: Relax permission checking when opening surfaces
604d2eac67cb drm/vmwgfx: avoid calling vzalloc with a 0 size in vmw_get_cap_3d_ioctl()
73ab72517b61 drm/vmwgfx: NULL pointer dereference in vmw_surface_define_ioctl()
92cc48166e49 drm/vmwgfx: Type-check lookups of fence objects
9c2b46e720d5 ppdev: fix registering same device name
bf5202b58f61 ppdev: check before attaching port
(From OE-Core rev: 4af605ae6f5ca763c65b3dca10b7ffb60f5ffa2e)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg v4.4.61 -> 4.4.67 releases with the following
commit summary:
dec1dc2a0ee8 Linux 4.4.67
3b9983bb354e dm ioctl: prevent stack leak in dm ioctl call
da1ce38aaac7 nfsd: stricter decoding of write-like NFSv2/v3 ops
35e13333c217 nfsd4: minor NFSv2/v3 write decoding cleanup
16fb859f9b2b ext4/fscrypto: avoid RCU lookup in d_revalidate
41948f88a521 ext4 crypto: use dget_parent() in ext4_d_revalidate()
2faff9d1dfc5 ext4 crypto: revalidate dentry after adding or removing the key
e2968fb8e798 ext4: require encryption feature for EXT4_IOC_SET_ENCRYPTION_POLICY
fee1f42b961e IB/ehca: fix maybe-uninitialized warnings
56cd2ed3e25a IB/qib: rename BITS_PER_PAGE to RVT_BITS_PER_PAGE
a8d47b4b3cb6 netlink: Allow direct reclaim for fallback allocation
35c9bfa51154 8250_pci: Fix potential use-after-free in error path
6f81dea4037c scsi: cxlflash: Improve EEH recovery time
24d17d7853fa scsi: cxlflash: Fix to avoid EEH and host reset collisions
69a9e016f0cc scsi: cxlflash: Scan host only after the port is ready for I/O
ec2170f98f9a net: tg3: avoid uninitialized variable warning
fd79e4363258 mtd: avoid stack overflow in MTD CFI code
ee6b88767e87 drbd: avoid redefinition of BITS_PER_PAGE
938206b8d798 ALSA: ppc/awacs: shut up maybe-uninitialized warning
a2b3b19acfde ASoC: intel: Fix PM and non-atomic crash in bytcr drivers
6c106b55eb47 Handle mismatched open calls
911bd54922cd timerfd: Protect the might cancel mechanism proper
0c49a2c16ca9 Linux 4.4.66
9c4a4755d9c5 ftrace/x86: Fix triple fault with graph tracing and suspend-to-ram
1aefe328a68d ARCv2: save r30 on kernel entry as gcc uses it for code-gen
82a0d8aabe04 nfsd: check for oversized NFSv2/v3 arguments
2032eebe2384 Input: i8042 - add Clevo P650RS to the i8042 reset list
91ce8d13faeb p9_client_readdir() fix
3bf0809930b8 MIPS: Avoid BUG warning in arch_check_elf
1c26c382c9e7 MIPS: KGDB: Use kernel context for sleeping threads
555f77106f77 ALSA: seq: Don't break snd_use_lock_sync() loop by timeout
8cbaf11c5026 ALSA: firewire-lib: fix inappropriate assignment between signed/unsigned type
5e52fffbb11c ipv6: check raw payload size correctly in ioctl
befb92542439 ipv6: check skb->protocol before lookup for nexthop
114f0c66dab4 macvlan: Fix device ref leak when purging bc_queue
bdeb026dfd9f ip6mr: fix notification device destruction
25c104023372 netpoll: Check for skb->queue_mapping
f6b94906b414 net: ipv6: RTF_PCPU should not be settable from userspace
f6b34b1709ac dp83640: don't recieve time stamps twice
78c4e3d4848d tcp: clear saved_syn in tcp_disconnect()
52e33b4e505d sctp: listen on the sock only when it's state is listening or closed
cc5a5c09d32b net: ipv4: fix multipath RTM_GETROUTE behavior when iif is given
593e185eaade l2tp: fix PPP pseudo-wire auto-loading
f710dbd92b27 l2tp: take reference on sessions being dumped
25adf4e32a89 net/packet: fix overflow in check for tp_reserve
cf71bd41f809 net/packet: fix overflow in check for tp_frame_nr
8625dfcfd338 l2tp: purge socket queues in the .destruct() callback
0e9eeb4676a7 net: phy: handle state correctly in phy_stop_machine
428b3cefab22 net: neigh: guard against NULL solicit() method
592d0e60a2b7 sparc64: Fix kernel panic due to erroneous #ifdef surrounding pmd_write()
80ec183214e8 sparc64: kern_addr_valid regression
c583862e95d2 xen/x86: don't lose event interrupts
5709321fd962 usb: gadget: f_midi: Fixed a bug when buflen was smaller than wMaxPacketSize
3e19487b9bf5 regulator: core: Clear the supply pointer if enabling fails
804605eae410 RDS: Fix the atomicity for congestion map update
b9baa0aa66ce net_sched: close another race condition in tcf_mirred_release()
1d1cb762524f net: cavium: liquidio: Avoid dma_unmap_single on uninitialized ndata
2907c91c9f9a MIPS: Fix crash registers on non-crashing CPUs
49b2fe4b0207 md:raid1: fix a dead loop when read from a WriteMostly disk
28320756e78b ext4: check if in-inode xattr is corrupted in ext4_expand_extra_isize_ea()
99e96ce5e315 drm/amdgpu: fix array out of bounds
10fc325c03d2 crypto: testmgr - fix out of bound read in __test_aead()
40a55e4f9401 clk: sunxi: Add apb0 gates for H3
531be60fc580 ARM: OMAP2+: timer: add probe for clocksources
bd2d6cb00d1a xc2028: unlock on error in xc2028_set_config()
716bcfeb12b8 f2fs: do more integrity verification for superblock
418b99042b87 Linux 4.4.65
416bd4a366f3 perf/core: Fix concurrent sys_perf_event_open() vs. 'move_group' race
b7f47c794bc4 ping: implement proper locking
a7544fdd1626 staging/android/ion : fix a race condition in the ion driver
d23ef85b123d vfio/pci: Fix integer overflows, bitmask check
65d30f7545ff tipc: check minimum bearer MTU
9540baadb61b netfilter: nfnetlink: correctly validate length of batch messages
0d9dac5d7cc3 xc2028: avoid use after free
c50fd34e1089 mnt: Add a per mount namespace limit on the number of mounts
59e0cd110fb9 tipc: fix socket timer deadlock
abc025d1e88a tipc: fix random link resets while adding a second bearer
d39cb4a59729 gfs2: avoid uninitialized variable warning
9a35bc2ae545 hostap: avoid uninitialized variable use in hfa384x_get_rid
58f80ccf09c4 tty: nozomi: avoid a harmless gcc warning
2847736f563d tipc: correct error in node fsm
76ca3053f32c tipc: re-enable compensation for socket receive buffer double counting
3f3155904308 tipc: make dist queue pernet
44b3b7e06887 tipc: make sure IPv6 header fits in skb headroom
12f4e1f54a13 Linux 4.4.64
6862fa9077de tipc: fix crash during node removal
6ddbac9aa800 block: fix del_gendisk() vs blkdev_ioctl crash
d1cc3cdd39e9 x86, pmem: fix broken __copy_user_nocache cache-bypass assumptions
5693f3fb5a66 hv: don't reset hv_context.tsc_page on crash
03e2fb9b5ce8 Drivers: hv: balloon: account for gaps in hot add regions
8e7a6dbc3b71 Drivers: hv: balloon: keep track of where ha_region starts
397488e09bf2 Tools: hv: kvp: ensure kvp device fd is closed on exec
2a60bb635236 kvm: arm/arm64: Fix locking for kvm_free_stage2_pgd
e2587fba9911 x86/mce/AMD: Give a name to MCA bank 3 when accessed with legacy MSRs
6c107bba66dc powerpc/kprobe: Fix oops when kprobed on 'stdu' instruction
38be91ce7ea8 ubi/upd: Always flush after prepared for an update
b812c69019e4 mac80211: reject ToDS broadcast data frames
b74ba9dd91e5 mmc: sdhci-esdhc-imx: increase the pad I/O drive strength for DDR50 card
6986d0d29f3c ACPI / power: Avoid maybe-uninitialized warning
cdede60d6a30 Input: elantech - add Fujitsu Lifebook E547 to force crc_enabled
8d5ed79fb2d7 VSOCK: Detach QP check should filter out non matching QPs.
f803416632b5 Drivers: hv: vmbus: Reduce the delay between retries in vmbus_post_msg()
567dd48c4e71 Drivers: hv: get rid of timeout in vmbus_open()
5ab982a01201 Drivers: hv: don't leak memory in vmbus_establish_gpadl()
702db976b857 s390/mm: fix CMMA vs KSM vs others
859d615b5be1 CIFS: remove bad_network_name flag
f8fe51c86583 cifs: Do not send echoes before Negotiate is complete
a2a67e53f92f ring-buffer: Have ring_buffer_iter_empty() return true when empty
1dfb1c7bd63f tracing: Allocate the snapshot buffer before enabling probe
c9460fbceb2f KEYS: fix keyctl_set_reqkey_keyring() to not leak thread keyrings
eb78d9877579 KEYS: Change the name of the dead type to ".dead" to prevent user access
b5737b92560e KEYS: Disallow keyrings beginning with '.' to be joined as session keyrings
81af21fe95ba Linux 4.4.63
d00557976676 MIPS: fix Select HAVE_IRQ_EXIT_ON_IRQ_STACK patch.
e2f5fb9207a6 sctp: deny peeloff operation on asocs with threads sleeping on it
f00f18ebb3b2 net: ipv6: check route protocol when deleting routes
990a142ee0d3 tty/serial: atmel: RS485 half duplex w/DMA: enable RX after TX is done
8dc821b9f67d SUNRPC: fix refcounting problems with auth_gss messages.
403a728d1a35 ibmveth: calculate gso_segs for large packets
65596042c3af catc: Use heap buffer for memory size test
40531b26bade catc: Combine failure cleanup code in catc_probe()
a90604be51de rtl8150: Use heap buffers for all register access
be570e556dee pegasus: Use heap buffers for all register access
eb5267657d85 virtio-console: avoid DMA from stack
6be431f91632 dvb-usb-firmware: don't do DMA on stack
502157457f52 dvb-usb: don't use stack for firmware load
6739cc12f3db mm: Tighten x86 /dev/mem with zeroing reads
ba02781392fa rtc: tegra: Implement clock handling
ccf0904c49b1 platform/x86: acer-wmi: setup accelerometer when machine has appropriate notify event
51f8d95c89b4 ext4: fix inode checksum calculation problem if i_extra_size is small
0cb03b6e7086 dvb-usb-v2: avoid use-after-free
ea6d8d67001a ath9k: fix NULL pointer dereference
2673d1c5122e crypto: ahash - Fix EINPROGRESS notification callback
70e55aaf9f8c powerpc: Disable HFSCR[TM] if TM is not supported
9286385a3452 zram: do not use copy_page with non-page aligned address
c1fc1d2f214e kvm: fix page struct leak in handle_vmon
98c953a0a51f Revert "MIPS: Lantiq: Fix cascaded IRQ setup"
a32c5331b462 char: lack of bool string made CONFIG_DEVPORT always on
0a6aa0d1cf27 char: Drop bogus dependency of DEVPORT on !M68K
7fe57118a7c0 ftrace: Fix removing of second function probe
c51451e43bf1 irqchip/irq-imx-gpcv2: Fix spinlock initialization
66b531d3ff11 libnvdimm: fix reconfig_mutex, mmap_sem, and jbd2_handle lockdep splat
6058cf9929d9 xen, fbfront: fix connecting to backend
b689dfbed8c8 scsi: sd: Fix capacity calculation with 32-bit sector_t
448961955592 scsi: sd: Consider max_xfer_blocks if opt_xfer_blocks is unusable
925adae6664c scsi: sr: Sanity check returned mode data
1e1de2e841e1 iscsi-target: Drop work-around for legacy GlobalSAN initiator
05c5dd75d77c iscsi-target: Fix TMR reference leak during session shutdown
074bcc1302fd acpi, nfit, libnvdimm: fix interleave set cookie calculation (64-bit comparison)
ec3978e10ecc x86/vdso: Plug race between mapping and ELF header setup
f1c5d0163586 x86/vdso: Ensure vdso32_enabled gets set to valid values only
f42be33fe976 perf/x86: Avoid exposing wrong/stale data in intel_pmu_lbr_read_32()
a5e2f803b891 Input: xpad - add support for Razer Wildcat gamepad
f0899d0e1e9e CIFS: store results of cifs_reopen_file to avoid infinite wait
a11ab9dd4b78 drm/nouveau/mmu/nv4a: use nv04 mmu rather than the nv44 one
a737abe4d09a drm/nouveau/mpeg: mthd returns true on success now
ef4c962825c0 thp: fix MADV_DONTNEED vs clear soft dirty race
3144d81a7735 cgroup, kthread: close race window where new kthreads can be migrated to non-root cgroups
a80c068fbf43 Linux 4.4.62
7d170f270a95 ibmveth: set correct gso_size and gso_type
ac0cbfbb1e4b net/mlx4_core: Fix when to save some qp context flags for dynamic VST to VGT transitions
710f793a15de net/mlx4_core: Fix racy CQ (Completion Queue) free
f1e6b1149e49 net/mlx4_en: Fix bad WQE issue
0a007f74b826 usb: hub: Wait for connection to be reestablished after port reset
f4522e36edaa blk-mq: Avoid memory reclaim when remapping queues
d35f8fa0b93e net/packet: fix overflow in check for priv area size
fd8bae310684 crypto: caam - fix RNG deinstantiation error checking
ba7681e4eee6 MIPS: IRQ Stack: Fix erroneous jal to plat_irq_dispatch
f017e58da4ab MIPS: Select HAVE_IRQ_EXIT_ON_IRQ_STACK
b39b26381668 MIPS: Switch to the irq_stack in interrupts
93a82f8dbef8 MIPS: Only change $28 to thread_info if coming from user mode
336365351285 MIPS: Stack unwinding while on IRQ stack
d8b8b5528ea5 MIPS: Introduce irq_stack
5a527d80836e mtd: bcm47xxpart: fix parsing first block after aligned TRX
297f55bcb62a usb: dwc3: gadget: delay unmap of bounced requests
8cfaf0ae1f56 drm/i915: Stop using RP_DOWN_EI on Baytrail
cb0a2cba62d5 drm/i915: Avoid tweaking evaluation thresholds on Baytrail v3
(From OE-Core rev: 34e53af8ed9d27ab010e57bcc08dee6f333da9fd)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Merging the korg stable releases 4.10.10 -> 4.10.15 with the following
shortlog summary:
b1cff0b2ed20 Linux 4.10.15
de7b7a35c99e dm ioctl: prevent stack leak in dm ioctl call
8dee04de5def hwmon: (it87) Avoid registering the same chip on both SIO addresses
ad66b968a0e5 scsi: storvsc: Workaround for virtual DVD SCSI version
fc08ba650a2b Handle mismatched open calls
43c1696e5e91 timerfd: Protect the might cancel mechanism proper
d08276658dee Linux 4.10.14
3adeab312a65 ftrace/x86: Fix triple fault with graph tracing and suspend-to-ram
13d970940217 cpu/hotplug: Serialize callback invocations proper
bd7c4f5e1d25 net: can: usb: gs_usb: Fix buffer on stack
43a35e671f8f macsec: avoid heap overflow in skb_to_sgvec
e4720b009def ceph: fix recursion between ceph_set_acl() and __ceph_setattr()
43e360377b09 nfsd: stricter decoding of write-like NFSv2/v3 ops
144180dc4736 nfsd4: minor NFSv2/v3 write decoding cleanup
86eb1d0aab0d nfsd: check for oversized NFSv2/v3 arguments
b98d12a15ed1 Input: i8042 - add Clevo P650RS to the i8042 reset list
2f680d46a0b5 ASoC: intel: Fix PM and non-atomic crash in bytcr drivers
bec0749254e7 p9_client_readdir() fix
67355b67b41c MIPS: Avoid BUG warning in arch_check_elf
7cb5877dc20e MIPS: cevt-r4k: Fix out-of-bounds array access
09c953f73ff0 MIPS: KGDB: Use kernel context for sleeping threads
4a71345ea6f8 ARC: [plat-eznps] Fix build error
47dbabb85ef7 scsi: return correct blkprep status code in case scsi_init_io() fails.
dcb730f79d33 ALSA: seq: Don't break snd_use_lock_sync() loop by timeout
7b2b791c65d2 ALSA: firewire-lib: fix inappropriate assignment between signed/unsigned type
a33e886d3f19 ALSA: oxfw: fix regression to handle Stanton SCS.1m/1d
f62c45868079 ipv6: check raw payload size correctly in ioctl
466dfcd1d81a tcp: memset ca_priv data to 0 properly
04630e2ed834 ipv6: check skb->protocol before lookup for nexthop
683f8d60761c net: phy: fix auto-negotiation stall due to unavailable interrupt
f9a8970e9eee net: ipv6: regenerate host route if moved to gc list
e2ae71739253 macvlan: Fix device ref leak when purging bc_queue
b073c2c3d40c tcp: mark skbs with SCM_TIMESTAMPING_OPT_STATS
cdaf15b43bd3 tcp: fix SCM_TIMESTAMPING_OPT_STATS for normal skbs
df4c4820a0b0 net/mlx5e: Fix ETHTOOL_GRXCLSRLALL handling
cce19108367e net/mlx5e: Fix small packet threshold
3faae16bf93e net/mlx5: E-Switch, Correctly deal with inline mode on ConnectX-5
82aa6b2c1f19 net/mlx5: Fix driver load bad flow when having fw initializing timeout
ff247bdf248a ip6mr: fix notification device destruction
9db670f71b6a netpoll: Check for skb->queue_mapping
5e54291edfb9 net: ipv6: RTF_PCPU should not be settable from userspace
ee1f368e99ba gso: Validate assumption of frag_list segementation
03940f08b972 ipv6: fix source routing
c52ac0687247 ipv6: sr: fix double free of skb after handling invalid SRH
3b600a30d126 dp83640: don't recieve time stamps twice
a024074740e7 ipv6: sr: fix out-of-bounds access in SRH validation
7e793ce3b3e1 sh_eth: unmap DMA buffers when freeing rings
c526d0869a3a net: vrf: Fix setting NLM_F_EXCL flag when adding l3mdev rule
9ca5d7e426dd net-timestamp: avoid use-after-free in ip_recv_error
0d8ef98cefae ipv6: Fix idev->addr_list corruption
29dc163a721e tcp: clear saved_syn in tcp_disconnect()
1ebfe5cf3727 sctp: listen on the sock only when it's state is listening or closed
280a7e34a987 net: ipv4: fix multipath RTM_GETROUTE behavior when iif is given
c747d66b6c6f l2tp: fix PPP pseudo-wire auto-loading
2ba7cfd4f6a9 l2tp: take reference on sessions being dumped
0fbdeb789013 openvswitch: Fix ovs_flow_key_update()
f9bd6b937de6 net/packet: fix overflow in check for tp_reserve
57a88382a969 net/packet: fix overflow in check for tp_frame_nr
5894337297ad l2tp: purge socket queues in the .destruct() callback
7d5eb39c0d8c l2tp: hold tunnel socket when handling control frames in l2tp_ip and l2tp_ip6
63ae30d5caa7 net/mlx5: Avoid dereferencing uninitialized pointer
4f45e887a632 bpf: improve verifier packet range checks
443fac9f2618 secure_seq: downgrade to per-host timestamp offsets
a35c14672325 kcm: return immediately after copy_from_user() failure
c79db30fd1b0 net: phy: handle state correctly in phy_stop_machine
693d7da388c2 net: neigh: guard against NULL solicit() method
2ec8024c5672 sparc64: Fix kernel panic due to erroneous #ifdef surrounding pmd_write()
1797e172bf10 sparc64: kern_addr_valid regression
7cf480444103 ping: implement proper locking
b957be36d793 Linux 4.10.13
9254ada03382 device-dax: switch to srcu, fix rcu_read_lock() vs pte allocation
7d1c1be6c8d3 x86/mce/AMD: Give a name to MCA bank 3 when accessed with legacy MSRs
1136723a6cf0 powerpc/kprobe: Fix oops when kprobed on 'stdu' instruction
a6db433483db ubi/upd: Always flush after prepared for an update
a32ff3f07f9b x86/mce: Make the MCE notifier a blocking one
c77e7d37ac50 mac80211: fix MU-MIMO follow-MAC mode
ee9b489925a0 mac80211: reject ToDS broadcast data frames
71a3e3679e30 ubifs: Fix O_TMPFILE corner case in ubifs_link()
c1cadf6af8b7 ubifs: Fix RENAME_WHITEOUT support
2745665258c3 mmc: sdhci-esdhc-imx: increase the pad I/O drive strength for DDR50 card
b478c19f3de4 mmc: dw_mmc: Don't allow Runtime PM for SDIO cards
9b02ecd10cff ACPI / power: Avoid maybe-uninitialized warning
7010e15d1d22 Input: elantech - add Fujitsu Lifebook E547 to force crc_enabled
0cb760dfc75b s390/mm: fix CMMA vs KSM vs others
71766b913996 mmc: dw_mmc: silent verbose log when calling from PM context
9f8296778b61 CIFS: remove bad_network_name flag
5cd77ebf2254 cifs: Do not send echoes before Negotiate is complete
63ad4051e89c mm: prevent NR_ISOLATE_* stats from going negative
64d253367ae0 ring-buffer: Have ring_buffer_iter_empty() return true when empty
eff248618a59 HID: wacom: Treat HID_DG_TOOLSERIALNUMBER as unsigned
838a281c4a17 tracing: Allocate the snapshot buffer before enabling probe
523ae2e9e39a KEYS: fix keyctl_set_reqkey_keyring() to not leak thread keyrings
cc4f98410688 KEYS: Change the name of the dead type to ".dead" to prevent user access
4cbbfd6aafe1 KEYS: Disallow keyrings beginning with '.' to be joined as session keyrings
055c0a94117c Linux 4.10.12
e5349c13c7a8 virtio-console: avoid DMA from stack
e0116f4d9a9a cxusb: Use a dma capable buffer also for reading
b1bfb5083bfa mm: Tighten x86 /dev/mem with zeroing reads
2c4d8f20cc29 rtc: tegra: Implement clock handling
a16534a33305 ACPI / EC: Use busy polling mode when GPE is not enabled
8a73a223fb70 x86/xen: Fix APIC id mismatch warning on Intel
e765ef79fdf3 platform/x86: acer-wmi: setup accelerometer when machine has appropriate notify event
35549ee08285 ASoC: Intel: select DW_DMAC_CORE since it's mandatory
765c74b9cc27 dvb-usb-v2: avoid use-after-free
ce5fe5a547d8 parisc: Fix get_user() for 64-bit value on 32-bit kernel
aa7ca04fb26c crypto: lrw - Fix use-after-free on EINPROGRESS
cb0567fc5114 crypto: ahash - Fix EINPROGRESS notification callback
102da3a73f9a crypto: xts - Fix use-after-free on EINPROGRESS
25308983eda6 crypto: algif_aead - Fix bogus request dereference in completion function
a0a1e90f5057 ftrace: Fix function pid filter on instances
58bc856c41fb zram: do not use copy_page with non-page aligned address
9bf69094c2ad Revert "MIPS: Lantiq: Fix cascaded IRQ setup"
1cb293ab0236 char: lack of bool string made CONFIG_DEVPORT always on
ebe4deab5c80 drm/i915/gvt: set the correct default value of CTX STATUS PTR
4bf7df7b3bd7 ftrace: Fix removing of second function probe
9b35ab51a0b4 irqchip/irq-imx-gpcv2: Fix spinlock initialization
b648679070a9 cpufreq: Bring CPUs up even if cpufreq_online() failed
26052e29d6a2 pwm: rockchip: State of PWM clock should synchronize with PWM enabled state
96b121b50683 can: ifi: use correct register to read rx status
5b750d3c56e3 libnvdimm: band aid btt vs clear poison locking
f0f306710e24 libnvdimm: fix reconfig_mutex, mmap_sem, and jbd2_handle lockdep splat
e0d47228949e libnvdimm: fix blk free space accounting
66481ca0750d make skb_copy_datagram_msg() et.al. preserve ->msg_iter on error
a99a9ff2374a new privimitive: iov_iter_revert()
939707c50352 xen, fbfront: fix connecting to backend
22113847cd11 target: Avoid mappedlun symlink creation during lun shutdown
53204334cca0 scsi: sd: Fix capacity calculation with 32-bit sector_t
24c01b369765 scsi: qla2xxx: Add fix to read correct register value for ISP82xx.
8b30ed56fa89 scsi: sd: Consider max_xfer_blocks if opt_xfer_blocks is unusable
01fb9440938a scsi: sr: Sanity check returned mode data
c8270f29214c iscsi-target: Drop work-around for legacy GlobalSAN initiator
510152205d41 iscsi-target: Fix TMR reference leak during session shutdown
c100de410c1e efi/fb: Avoid reconfiguration of BAR that covers the framebuffer
6b8a0080915d efi/libstub: Skip GOP with PIXEL_BLT_ONLY format
ca3e0b6d6b25 parisc: fix bugs in pa_memcpy
87ad80ecdb5c ACPI / scan: Set the visited flag for all enumerated devices
122c16ccc71b acpi, nfit, libnvdimm: fix interleave set cookie calculation (64-bit comparison)
083d30d61a1a x86/vdso: Plug race between mapping and ELF header setup
90dc1120444f x86/vdso: Ensure vdso32_enabled gets set to valid values only
b8cb11e01a7f x86, pmem: fix broken __copy_user_nocache cache-bypass assumptions
1a99658f083d x86/intel_rdt: Fix locking in rdtgroup_schemata_write()
565194a42052 x86/signals: Fix lower/upper bound reporting in compat siginfo
c6be568a2f24 x86/efi: Don't try to reserve runtime regions
4ff9e6c2d86b perf/x86: Avoid exposing wrong/stale data in intel_pmu_lbr_read_32()
535adf24d1a7 perf annotate s390: Fix perf annotate error -95 (4.10 regression)
7869b4078ba9 Input: xpad - add support for Razer Wildcat gamepad
3f17ee38a808 CIFS: store results of cifs_reopen_file to avoid infinite wait
6e9b6937a923 CIFS: reconnect thread reschedule itself
d38b12ab7b05 drm/fb-helper: Allow var->x/yres(_virtual) < fb->width/height again
e97e515b7448 drm/etnaviv: fix missing unlock on error in etnaviv_gpu_submit()
3287a46c7829 drm/nouveau: initial support (display-only) for GP107
2efa4bd3b644 drm/nouveau/kms/nv50: fix double dma_fence_put() when destroying plane state
b6b2448efe64 drm/nouveau/kms/nv50: fix setting of HeadSetRasterVertBlankDmi method
8418bb809e55 drm/nouveau/mmu/nv4a: use nv04 mmu rather than the nv44 one
cc3c096855c6 drm/nouveau/mpeg: mthd returns true on success now
5de87d225e08 orangefs: free superblock when mount fails
5f8cde206712 zsmalloc: expand class bit
5c7de4610825 thp: fix MADV_DONTNEED vs clear soft dirty race
d7847a2203a1 thp: fix MADV_DONTNEED vs. MADV_FREE race
e2083153996d tcmu: Skip Data-Out blocks before gathering Data-In buffer for BIDI case
acbb93eb7447 tcmu: Fix wrongly calculating of the base_command_size
1486f834e887 tcmu: Fix possible overwrite of t_data_sg's last iov[]
e8339b9ddfe6 audit: make sure we don't let the retry queue grow without bounds
668e2d892499 cgroup, kthread: close race window where new kthreads can be migrated to non-root cgroups
4c031101dc08 Linux 4.10.11
2ef9c8dd6ecd dma-buf: add support for compat ioctl
10e13823b0a9 net/packet: fix overflow in check for priv area size
50d60091d294 crypto: caam - fix invalid dereference in caam_rsa_init_tfm()
41889ca0002a crypto: caam - fix RNG deinstantiation error checking
8e94a6f43dff MIPS: IRQ Stack: Fix erroneous jal to plat_irq_dispatch
4a1fe14b16c9 MIPS: Select HAVE_IRQ_EXIT_ON_IRQ_STACK
2c7235dbdd51 MIPS: Switch to the irq_stack in interrupts
b21e28eafd17 MIPS: Only change $28 to thread_info if coming from user mode
ece65a60793c MIPS: Stack unwinding while on IRQ stack
6b720ff376fd MIPS: Introduce irq_stack
612973c55404 rt2x00usb: do not anchor rx and tx urb's
244ff096a321 rt2x00usb: fix anchor initialization
df741f77edfa nfs: flexfiles: fix kernel OOPS if MDS returns unsupported DS type
f536c2058420 orangefs: fix buffer size mis-match between kernel space and user space.
f20e76a469c1 orangefs: Dan Carpenter influenced cleanups...
b01252079ec7 drm/i915: Do .init_clock_gating() earlier to avoid it clobbering watermarks
d5b5a4d3f77f drm/i915: Avoid rcu_barrier() from reclaim paths (shrinker)
de3571619eeb drm/i915: Stop using RP_DOWN_EI on Baytrail
29abfd4ee598 drm/i915: Drop support for I915_EXEC_CONSTANTS_* execbuf parameters.
b364cf79fc37 drm/i915: Only enable hotplug interrupts if the display interrupts are enabled
56613bca0578 drm/i915: Reject HDMI 12bpc if the sink doesn't indicate support
dba29c1139fc drm/i915: Avoid tweaking evaluation thresholds on Baytrail v3
fccb5940cc17 drm/i915: Nuke debug messages from the pipe update critical section
29a9a6a329d1 drm/i915: Store a permanent error in obj->mm.pages
432ae45238b8 drm/i915/gen9: Increase PCODE request timeout to 50ms
b93cb4cc2eab drm/i915: Squelch any ktime/jiffie rounding errors for wait-ioctl
ec417098e18f drm/i915/fbdev: Stop repeating tile configuration on stagnation
4f985d41bc5f drm/i915: Move updating color management to before vblank evasion
a8a20aecc9c1 drm/i915: Fix forcewake active domain tracking
e6925852d5b8 Linux 4.10.10
e6c5fe2374cd x86/reboot/quirks: Fix typo in ASUS EeeBook X205TA reboot quirk
a148ee8f7156 usb-storage: Add ignore-residue quirk for Initio INIC-3619
118b1ef49a33 x86/reboot/quirks: Add ASUS EeeBook X205TA/W reboot quirk
2b0766deb008 x86/reboot/quirks: Add ASUS EeeBook X205TA reboot quirk
3db435d09bc3 platform/x86: asus-wmi: Detect quirk_no_rfkill from the DSDT
d0331c21a1a6 watchdog: s3c2410: Fix infinite interrupt in soft mode
07371cd9ef21 PCI: Add ACS quirk for Qualcomm QDF2400 and QDF2432
e90d491bcf00 PCI: Sort the list of devices with D3 delay quirk by ID
9fd0dee94856 mmc: sdhci-of-esdhc: remove default broken-cd for ARM
8f24ffc2f9a0 PCI: Disable MSI for HiSilicon Hip06/Hip07 Root Ports
f2d9c08fc9b2 PCI: Add Broadcom Northstar2 PAXC quirk for device class and MPSS
0755d2b5fe92 ARM: smccc: Update HVC comment to describe new quirk parameter
7dd05d366148 firmware: qcom: scm: Fix interrupted SCM calls
cc9b9deb6197 arm: kernel: Add SMC structure parameter
2dca786b85e2 HID: wacom: don't apply generic settings to old devices
6ac0617424d4 ASoC: sun4i-i2s: Add quirks to handle a31 compatible
ab0b1f481fa9 ACPI: save NVS memory for Lenovo G50-45
36426b3a31dc ASoC: Intel: cht_bsw_rt5645: add Baytrail MCLK support
bdbe9135ead6 ASoC: Intel: cht_bsw_rt5645: harden ACPI device detection
88f1372e28b2 ASoC: Intel: Baytrail: add quirk for Lenovo Thinkpad 10
770049fddd84 ASoC: codecs: rt5670: add quirk for Lenovo Thinkpad 10
8d5dd97f5556 ACPI / button: Change default behavior to lid_init_state=open
53a898c2dc3b sata: ahci-da850: implement a workaround for the softreset quirk
fcfd2ac4abfb PCI: xgene: Fix double free on init error
c259b9b74ebc PCI: Add ACS quirk for Intel Union Point
8a4b2d4ba49c drm/mga: remove device_is_agp callback
f08ae685954e usb: dwc3: host: pass quirk-broken-port-ped property for known broken revisions
41d6d9750ba3 usb: host: xhci-plat: enable BROKEN_PED quirk if platform requested
9763fee4c38d usb: xhci: add quirk flag for broken PED bits
afdb6b99f54e serial: 8250_omap: Add OMAP_DMA_TX_KICK quirk for AM437x
99b4f57bffe5 usb: chipidea: msm: Rely on core to override AHBBURST
f576c28172a3 ASoC: Intel: bytcr_rt5640: quirks for Insyde devices
24fdd3f90f4c drm/i915: actually drive the BDW reserved IDs
0325b5e1b637 drm/i915: more .is_mobile cleanups for BDW
bb4c89250bcc drm/i915: fix INTEL_BDW_IDS definition
d7f19357fe65 drm/edid: constify edid quirk list
b04940e26f10 kvm: fix page struct leak in handle_vmon
af7291601501 random: use chacha20 for get_random_int/long
d57c764a703b mm/mempolicy.c: fix error handling in set_mempolicy and mbind.
596c2d180a96 Documentation: stable-kernel-rules: fix stable-tag format
813e1ac7259b usb: dwc3: gadget: delay unmap of bounced requests
5e87a005ff57 drm/i915/kvmgt: fix suspicious rcu dereference usage
cccf8321af1c drm/i915/gvt: Fix gvt scheduler interval time
fba7cfc66b25 MIPS: c-r4k: Fix Loongson-3's vcache/scache waysize calculation
42ce8ecfd141 MIPS: Flush wrong invalid FTLB entry for huge page
a854a7975ce0 MIPS: Add MIPS_CPU_FTLB for Loongson-3A R2
5dc665924208 MIPS: Check TLB before handle_ri_rdhwr() for Loongson-3
464d88e8a0ad MIPS: Lantiq: fix missing xbar kernel panic
187b957634f0 MIPS: End spinlocks with .insn
0c4b9fe70343 MIPS: ralink: Fix typos in rt3883 pinctrl
e09e410969ef MIPS: Force o32 fp64 support on 32bit MIPS64r6 kernels
94f3dd6b140a s390/uaccess: get_user() should zero on failure (again)
5d4d57697aa1 s390/decompressor: fix initrd corruption caused by bss clear
a66f5106e710 xtensa: make __pa work with uncached KSEG addresses
36463a76abeb nios2: reserve boot memory for device tree
be9fe9d48988 x86/mce: Don't print MCEs when mcelog is active
fe96b265778a dm raid: fix NULL pointer dereference for raid1 without bitmap
5c67d5410bbb powerpc/crypto/crc32c-vpmsum: Fix missing preempt_disable()
d625e1a1530d powerpc: Don't try to fix up misaligned load-with-reservation instructions
b129e418406b powerpc/64: Fix flush_(d|i)cache_range() called from modules
12502ae4c9a1 powerpc/mm: Add missing global TLB invalidate if cxl is active
2a3134e106d4 powerpc: Disable HFSCR[TM] if TM is not supported
be5569719b5c drm/msm: adreno: fix build error without debugfs
169b36bef88f metag/usercopy: Add missing fixups
191e4c735549 metag/usercopy: Fix src fixup in from user rapf loops
e6ca39ac0c0d metag/usercopy: Set flags before ADDZ
b03dd10e4c58 metag/usercopy: Zero rest of buffer from copy_from_user
60a0b56ea119 metag/usercopy: Add early abort to copy_to_user
e61ffb12b6ac metag/usercopy: Fix alignment error checking
804453ff0993 metag/usercopy: Drop unused macros
6d855e027553 brcmfmac: use local iftype avoiding use-after-free of virtual interface
96499191fe6d mac80211: unconditionally start new netdev queues with iTXQ support
ab23a82a0176 ring-buffer: Fix return value check in test_ringbuffer()
24d108e4dfec xfs: Honor FALLOC_FL_KEEP_SIZE when punching ends of files
1d656a4d8e87 orangefs: move features validation to fix filesystem hang
b92a638e002b jump label: fix passing kbuild_cflags when checking for asm goto support
7b73b72fbf82 Kbuild: use cc-disable-warning consistently for maybe-uninitialized
52b38ad09a6c ACPI / scan: Prefer devices without _HID for _ADR matching
e56bb92202f7 ACPI / gpio: do not fall back to parsing _CRS when we get a deferral
1c9925e63abb dm verity fec: fix bufio leaks
88c358b1f453 dm verity fec: limit error correction recursion
523a19324267 dax: fix radix tree insertion race
8bdc69ccb9f8 ptrace: fix PTRACE_LISTEN race corrupting task->state
0666cf6c9c18 mm/page_alloc.c: fix print order in show_free_areas()
674850494e19 Reset TreeId to zero on SMB2 TREE_CONNECT
c793e3374981 cfg80211: check rdev resume callback only for registered wiphy
b48b63d5f583 arm64: mm: unaligned access by user-land should be received as SIGBUS
3d44ecc1206e iio: bmg160: reset chip when probing
2501a0af1734 iio: st_pressure: initialize lps22hb bootime
a16d8c4e8f77 iio: core: Fix IIO_VAL_FRACTIONAL_LOG2 for negative values
0d50669ca41f kvm: arm/arm64: Fix locking for kvm_free_stage2_pgd
e8c3d6542edb arm/arm64: KVM: Take mmap_sem in kvm_arch_prepare_memory_region
fc29073a15e8 arm/arm64: KVM: Take mmap_sem in stage2_unmap_vm
fb3ce7a85213 staging: android: ashmem: lseek failed due to no FMODE_LSEEK.
38b4b8a0969d sysfs: be careful of error returns from ops->show()
a709613559d6 PCI: thunder-pem: Fix legacy firmware PEM-specific resources
f8709a9ec8ae PCI: thunder-pem: Add legacy firmware support for Cavium ThunderX host controller
44eed6f02491 drm/vmwgfx: fix integer overflow in vmw_surface_define_ioctl()
a2d474ab560c drm/vmwgfx: Remove getparam error message
009eb75f7fb0 drm/ttm, drm/vmwgfx: Relax permission checking when opening surfaces
7a392c9a4563 drm/vmwgfx: avoid calling vzalloc with a 0 size in vmw_get_cap_3d_ioctl()
0570c0cd987f drm/vmwgfx: NULL pointer dereference in vmw_surface_define_ioctl()
3622a033c419 drm/vmwgfx: Type-check lookups of fence objects
(From OE-Core rev: 58063bcdb78c9434b4d36e3a73df977b64d1640f)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bitbake now only processes overrides which are lowercase since
this allows variables like SRC_URI not to pollute the cache.
There was a corner case where XXX_append_SomeThing was still being
processed (yet XXX_append_SomeThing_SomeOtherThing would not be).
This patch ensures we're consistent and only process lowercase
_append/_prepend and _remove operators too.
(Bitbake rev: 6eb56624e6d8dc1944e559b4f6584bfe66f566ba)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #9001]
Updated the image-live class description to specifically mention
creating *.iso and *.hddimg images as "live" images. Provided more
explanation about usage through the NOISO and NOHDD variables.
Also, provided a cross-referencing link back to the updated
image-live class from the EFI_PROVIDERS variable.
(From yocto-docs rev: 788061b2911339c8396b798a0ab5635ab5bb89e1)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11498]
I enhanced the description of the INHERIT variable's glossary
description to provide more detail. I also included a link into the
section of the BB manual where INHERIT is described.
(From yocto-docs rev: 663cde3cf05ebf564ff3a28cd37b696be2f91ad8)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It was required only by dnf, which has switched to official gpgme bindings.
pygpgme itself is old and unmaintaned.
(From OE-Core rev: 2e3432f6ff7580726c047637b44fdac89dfa73ee)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop dependency on pygpgme, replace it with gpgme's own bindings.
Add a patch that fixes an upstream regression.
(From OE-Core rev: ee5dcf78f3abfec40e278591ccbd1e475ca6df15)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It was previously disabled, as rpm refused to package it into noarch
package, due to the firmware being considered arch-specific. This
check is disabled in rpm now.
The netronome binaries has ELF headers which will trigger an
arch-specific error. INSANE_SKIP variable is used to skip some
package_qa check usage.
(From OE-Core rev: 8b2f6b308019e697c9d3e66969807eb573350d78)
Signed-off-by: Ng Wei Tee <wei.tee.ng@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is needed for packages like linux-firmware which have a
legitimate reason for it. Oe-core has a separate package_qa
test for this situation, so any accidental inclusions of such
binaries will still be caught.
[YOCTO #11329]
(From OE-Core rev: 6aaff392d703183d19192e2d171e10a92f259c65)
Signed-off-by: Ng Wei Tee <wei.tee.ng@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
'fontforge issue' was actually a non-issue; fontforge is required only
when building ttf fonts from sfd source. We took prebuilt ttf fonts
when using 1.04 version, and can do the same thing with 2.00.1 version,
it's just that the tarball name for prebuilt fonts has slightly changed
and no one noticed somehow.
License has changed from GPLv2 to Open Font License v.1.1
(From OE-Core rev: 9b60def67028df65fa8894c49cf09e601f1670df)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Make libxslt-native dependency conditional on api-documentation distro feature,
as vala now defaults to rebuilding the manual (which is slow).
(From OE-Core rev: f7f87b8840f5997f65ddf643f26dde0ed5f6c308)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
gcr needs xsltproc at build time if GObject Introspection is enabled.
Also, remove the explicit disabling of g-i and gtk-doc on x86-64 targets, this
appears to work now.
(From OE-Core rev: 58922a43f93f89dcf344394d8b1c84d82276b6a5)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upgrade speex to 1.2.0. Very small diff between 1.2rc2 and 1.2.0, mostly
compiler warning fixes, tabs vs spaces, trailing whitespaces and one
liners.
(From OE-Core rev: 3e414545d650835e351f2939375c92ac7aca0569)
Signed-off-by: Marc Ferland <ferlandm@amotus.ca>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
They have not been ported to Python 3, and they are for
browsing Amazon s3+ and Commodore 64/128 emulator filesystems -
hardly consequential.
(From OE-Core rev: f41a7b81a1957669e80e21e57df27d8cbc5cdbb8)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It hasn't been touched in almost two years; clearly the idea of
providing separate _git.bb recipes is not working.
(From OE-Core rev: d7147f677aaff5dc3f63c1e1138ca86b1ea93e23)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Cleanup references to libasound-module since this code has been
completly removed from Bluez.
(From OE-Core rev: 8b433f49c8ea153f75d986e5b9ad89dd3f625cba)
Signed-off-by: Marc Ferland <ferlandm@amotus.ca>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
New feautures/fixes in this version:
* fixes to BLE
* a new midi plugin
* support for single-mode controllers w/o public address
* most of the experimental tools have been promoted and are now part of
the official tools
* 'experimental' has been renamed to 'testing' (hence the addition of
the 'testing' package config option)
* classic command line tools like hciattach and hciconfig are now enabled
by the "--enable-deprecated" configure option (enabled by default for
backward compatibility).
(From OE-Core rev: dec3620bd13d43575bcfc5d99f40659672d7252b)
Signed-off-by: Marc Ferland <ferlandm@amotus.ca>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update libevent to version 2.1.8 and fix test directory creation
License file has been changed due to new MIT license in source code.
(From OE-Core rev: 028f3aaa29e23f0eff044698e7a39ec327450d49)
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1) Upgrade libarchive from 3.2.2 to 3.3.1.
2) Fix an unknown-configure-option "--without-lzmadec" when do_configure.
3) Delete three patches, since they are integrated upstream.
0001-archive_write_disk_posix.c-make-_fsobj-functions-mor.patch
0002-Fix-extracting-hardlinks-over-symlinks.patch
non-recursive-extract-and-list.patch
(From OE-Core rev: b5a5ca83670f93879048758d0637ea0f0a3866ac)
Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It is preferred to use `[ "$FOO" ] || ...` instead of
`[ -z "$FOO" ] && ...` as the latter leaves $? set to 1.
(From OE-Core rev: d76c68505c36dbf383a989f3c2458abc765e2c19)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This test case verifies that opkg, dpkg, and rpm all have the same behaviour for
version ordering, specifically the behaviour of ~ which should be sorting
*before* nothing:
1.0 < 2.0~pre < 2.0 < 2.0-fix
(From OE-Core rev: 0bf875ea234bb9ff50d347345782e14d6b7d3ff9)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Latest DNF has changed the amount of whitespace it outputs so use matches
instead of hardcoding the exact number of spaces.
(From OE-Core rev: 9ebeb374e49ecedecba8fe16fff3717edbc41994)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Split the configuration values (common and specific) so it is easier to read
what goes into the config file. Also the specific configurations are
set in every loop so these do not append on each iteration.
(From OE-Core rev: 58d43b470ffa9b498234b6845cacfd867218ca03)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Using "read-only-rootfs" feature in minimal or special
purpose images (eg mounted images) makes build to fail
because ${IMAGE_ROOTFS}/etc/fstab file does not exist.
(From OE-Core rev: 43714514fb29a40830e6619552980d7f88d77fb7)
Signed-off-by: Panagiotis Tamtamis <panagiotis.tamtamis@unify.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The default dir for do_compile & do_configure is already ${B}, no need
to cd (other than broken appends)
CC: Andre McCurdy <armccurdy@gmail.com>
(From OE-Core rev: c5da7a3637b0eb8ec5b7368c7ac732d802a703f9)
Signed-off-by: Cody P Schafer <dev@codyps.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently the LICENSE of every image is hard set to MIT.
This allows this to be overriden in derived images.
(From OE-Core rev: 62454568c12d4fd19bb69b1b679e9c7b6dc95927)
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use a weak assignment for ROOTFS_RO_UNNEEDED to let users define their
own list overriding defaults.
(From OE-Core rev: aeec0b2ccdf8566dd07961f8c4c44fcff13b70c8)
Signed-off-by: David Vincent <freesilicon@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When booting QEMU with slirp networking we want to use QEMUs TFTP server
to make the images in deploy accessible to the guest.
(From OE-Core rev: a6bef2fa065f8bb74d0084e44dd0ca47d7859113)
Signed-off-by: Alistair Francis <alistair.francis@xilinx.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Move get_os_release() from oeqa.utils.metadata to oe.lsb, merging the
code with release_dict_osr() from oe.lsb. This removes some code
duplication and makes get_os_release() more robust.
(From OE-Core rev: 56b883f7765f6bd72e83dec26a5db8c7108c835d)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The code in useradd-staticids is generally useful for user addition
functionality but is not reusable in its current form. Refactor the
code into a set of library functions.
(From OE-Core rev: a638ef304b1f1acb4c88f4f90b1ef22526cb8d2f)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If sstate was used to populate the build and one of the universal-4.8
or universal-4.9 mirror urls was used, the sstate checks during eSDK
construction could fail as it would zero out the SSTATE_MIRRORs
variable.
Use the same mirrors variable setting as the eSDK would end up using
to perform the checks to avoid this.
(From OE-Core rev: 6b9e8b780dcd8d5ffba3df35cfe41674413ee26d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We only build one gcc-cross per architecture and having target specific
flags means gcc-cross would rebuild. These flags are really for the
on target case, so they should be set in gcc-target only.
(From OE-Core rev: 851937dde81de2a9ef54c5f19a78fb12fb82afd4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If you accidentally create symlinks in the glibc sources directory, it
fails in very hard to understand ways. Whilst most people don't do this,
since I debugged it, specifify the list of plugins we use to avoid
this biting anyone else.
(From OE-Core rev: 38a1d4ae4df8dd21546b7442e5a3bddca32a4734)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This code dates from distant times before we had class overrides.
The comments are also rather stale. Rewrite this code using class
overrides which makes it safer, more modern and more easily
understandable.
(From OE-Core rev: fb3b160a6bf20a601d6cecf3f06a2b71c03fa91f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Both python-git and python3-git need to be upgraded to latest
upstream
version.
This change was tested using qemux86 with core-image-sato.
(From OE-Core rev: c59fa3bd71b42410bf032846ee8fdb6e6eb1b95c)
Signed-off-by: Jose Lamego <jose.a.lamego@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Switch to using tarballs as git is unreliable (not responding right now).
LICENSE file is gone; COPYING has an additional line on top with
copyright attribution, the license text that follows has not changed.
(From OE-Core rev: fd55e8a463f42e4012aeedacb2d168f41232bf25)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit apply bug fixes found in both mesa 17.0.2 and mesa 17.0.3
releases.
- Mesa 17.0.4 is a bug fix release which fixes the following bugs
found since the 17.0.3 release:
Bug 99515 - SIGSEGV MAPERR on Android nougat-x86 with mesa 17.0.0rc
Bug 100391 - SachaWillems deferredmultisampling asserts
Bug 100452 - push_constants host memory leak when resetting command buffer
Bug 100582 - [GEN8+] piglit.spec.arb_stencil_texturing.glblitframebuffer
corrupts state.gl_texture* assertions
- Mesa 17.0.3 is a bug fix release which fixes the following bugs
found since the 17.0.2 release:
Bug 96743 - [BYT, HSW, SKL, BXT, KBL] GPU hangs with GfxBench 4.0 CarChase
Bug 99246 - [d3dadapter+radeonsi & bisect] EVE-Online : hang on wormhole sight
Bug 100061 - LODQ instruction generated with invalid dst mask
Bug 100182 - Flickering in The Talos Principle on Sky Lake GT4.
Bug 100201 - Windows scons build with MSVC toolchain and LLVM 4.0 fails
(From OE-Core rev: 70ad501c9c49318dbed7e0c3adfd4fea1a59f7ac)
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A vulnerability was found in a way bash expands the $HOSTNAME.
Injecting the hostname with malicious code would cause it to run
each time bash expanded \h in the prompt string.
Porting patch from <https://ftp.gnu.org/gnu/bash/bash-4.3-patches/
bash43-047> to solve CVE-2016-0634
CVE: CVE-2016-0634
(From OE-Core rev: 7dd6aa1a4bf6e9fc8a1998cda6ac5397bb5cd5cb)
Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1)Upgrade byacc from 20161202 to 20170201.
2)License checksum changed,since the copyright years were updated.
(From OE-Core rev: f859b95c0d3dce36c6d39f5aba414a27f855a18d)
Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As we only ship one version of coreutils, having this directory be versioned
just complicates upgrades.
(From OE-Core rev: 860e9c7d5653deb31dc0f1b0ea55c8e2a843d2fa)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
update SRC_URI: as of 1.7.3, repo changed. same owner
Renamed recipe to reflect PV and added Epoch
Added ptest, tests added v1.7.3
updated LICENSE to be more accurate.
(From OE-Core rev: 962459c55406432537e10ab743cfa325b703e12a)
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix build with gcc7
Move all patches to webkit folder
Drop patches that were backports or have been upstreamed
(From OE-Core rev: bfbdd1a2069f199be9ba0909dd512469ff17b65e)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport fix for gcc7 warning along the way
Remove --disable-rpath as this configure doesn't support it anymore [RB].
(From OE-Core rev: ccf630e78aad488da7b80f2981037d3d0559cfad)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This uses more modern formatting to handle the lockfiles and control
file cleanup with try/finally, taking advantage of the previous
extra indentation.
(From OE-Core rev: 9cd7c2631b0840a57b9ed6c201bcb4fc80094f71)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This prepares the way to parallelise deb generation and splits the iteration
over packages and the package generation into separate functions. Whitespace
indentation is unchanged deliberately and is fixed in a followup patch. There
should be no functional change.
Some checks on variables are removed as they were pointless when you looked
at the code.
(From OE-Core rev: 5054f66f8fbaaa422f74a4b5d0e61e68de6ffe91)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This prepares the way to parallelise ipk generation and splits the iteration
over packages and the package generation into separate functions. Whitespace
indentation is unchanged deliberately and is fixed in a followup patch. There
should be no functional change.
(From OE-Core rev: f190d8456c7e135164d3073acfb3319e75c9de76)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In the limited dependency case we don't use any of the data from
BB_TASKDEPDATA. Restructure the code so this variable doesn't have
to be set. This allows the function to be called from other contexts
without creating artificial constructs. There should be no functional
change, behaviour remains unchanged.
(From OE-Core rev: 71e5243e3ebadb90b45fe418dac3eaa2c1b896bd)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The previous change to relocate HOSTTOOLS wasn't complete as some files,
particularly in gcc stashed build directories were not being correctly
relocated. This patch addresses the issue.
(From OE-Core rev: 21dd36cc12a033b012544c5d15a6f8afd84dabc9)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Both native and target versions of this file reference mkdir and install
in hosttools paths. Use the version from PATH instead.
(From OE-Core rev: 080197bf3bdf612da8104c2ae7f0b2c8dea32a0b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently the file encodes full paths to various host tools in the
HOSTTOOLS directory which is bad in native and target cases. We can
simply use the versions from PATH quite safely in OE.
(From OE-Core rev: be901200d94beaa35e1d05eb502b117b3b523609)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A number of features were disabled in OE due to historic problems
on ARM. In tcf-agent 1.4, they compile cleanly on all architectures
besides mips and libc-musl. These features are required for target
debugging with Eclipse Neon, CDT and TCF plugins - for example used
by Xilinx Vivado SDK 2016.4.
For MIPS and libc-musl, at least re-enable SERVICE_Symbols and
SERVICE_LineNumbers which compile cleanly.
(From OE-Core rev: b07242cfe4544e99daf0a8d2f7062530e366bfae)
Signed-off-by: Gernot Hillier <gernot.hillier@siemens.com>
Signed-off-by: Tim Offermann <tim.offermann@siemens.com>
Acked-by: Eugene Tarassov <eugene.tarassov@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
tcf-agent uses "a64", not "aarch64", see agent/Makefile.inc. This fix
allows to re-enable features like SERVICE_Breakpoints and SERVICE_
MemoryMap on arm64.
(From OE-Core rev: 60c9b55d2247ca4a5074804eb42189c31d33fcf8)
Signed-off-by: Gernot Hillier <gernot.hillier@siemens.com>
Acked-by: Eugene Tarassov <eugene.tarassov@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There's no need to sed the Makefile (especially the wrong Makefile) when there's
a variable we can pass.
(From OE-Core rev: 43f7652baa0f1973477731ce05786eda2cc81c09)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There may be alternative gnutls recipes outside oe-core which include
gnutls.inc but which don't want BBCLASSEXTEND = "native nativesdk".
(From OE-Core rev: 1160b51fbe5661be83959c0e135e4b4231c94349)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Many new users add "python3" to their image using IMAGE_INSTALL and are then
surprised that they can't import any of the standard library. This is because we
split up the standard library into a number of packages, and python3-core (the
interpreter and essential modules only) RPROVIDES 'python3'.
Solve this by moving the RPROVIDES of 'python3' to python3-modules, so that the
entire Python standard library is installed.
[ YOCTO #11182 ]
(From OE-Core rev: 54a2549802a911cad2475a6aa379315a834419d8)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The idea is copied from commit df0b217f3df2c36a32e5c4afaec36a28bfc77bbb:
[ classes/image_vm: allow different filesystems to be used for VM images ]
The same logic should apply to image_live.bbclass, to allow other
filesystems to be used vs just ext4. The default value of ext4 is kept
so there is no functional change unless LIVE_ROOTFS_TYPE is set in the
inherting recipe.
(From OE-Core rev: 270cd793fa2777bf15930ee4873c7b44a22ad005)
Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This error is seen on the Braswell RVP platform we have been using for
testing. The error is caused by atkbd.c keyboard driver, which is only
for AT and PS/2 keyboards. I tested a PS/2 keyboard with the board,
which worked fine, and the board does not have a separate AT connector,
so this error won't cause any functional issues.
[YOCTO #10110].
(From OE-Core rev: c9f83639242313ca04ec36b49602a8464e10dae8)
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The NUC6 has issues bringing up Bluetooth early in the boot sequence. We
see:
[ 4.091790] Bluetooth: hci0: Minimum firmware build 1 week 10 2014
[ 4.097326] Bluetooth: hci0: Found device firmware: intel/ibt-11-5.sfi
[ 4.145317] Bluetooth: hci0: Failed to send firmware data (-38)
Followed by this later on:
[ 11.509870] Bluetooth: hci0: Minimum firmware build 1 week 10 2014
[ 11.509988] Bluetooth: hci0: Found device firmware: intel/ibt-11-5.sfi
[ 13.090308] Bluetooth: hci0: Waiting for firmware download to complete
[ 13.090829] Bluetooth: hci0: Firmware loaded in 1549114 usecs
[ 13.090987] Bluetooth: hci0: Waiting for device to boot
[ 13.101958] Bluetooth: hci0: Device booted in 10818 usecs
Bluetooth does successfully come up and the firmware is loaded. This
behavior is consistent across all kernels I've tested.
[YOCTO #10628].
(From OE-Core rev: 045ee89342ea8ce16e78fea9f1c73d978d66a337)
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The create-patch-request script creates patches as replies to a cover
letter, in the form of an email thread. If further revisions are sent to
the mailing list without referencing to the first revision, these new
revisions are not identified at the mailing list as part of the original
thread, but as a new thread instead.
This change adds the "[-t in_reply_to]" option, where "in_reply_to" is
the original cover letter's Message-Id, so this reference is added
to the new cover letter to ensure the thread continuity.
[YOCTO #11294]
(From OE-Core rev: 8a3879a8ca71db7fb313417d86b3ac7904cb0f0e)
Signed-off-by: Jose Lamego <jose.a.lamego@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Avoid using LTTng's BUILD_RUNTIME_BUG_ON macro, as it appears to run
into a similar problem as Linux experienced with __builtin_constant_p
and dead code elimination.
(From OE-Core rev: 22af48a50d40d6872adaa4f6b0bf144ef5781c1c)
Signed-off-by: Nathan Lynch <nathan_lynch@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes build with gcc7 in such a way that it keeps working
with older compilers who dont support -Wno-error=format-overflow=
option
(From OE-Core rev: 4b159968d6181155c270e2547706933b9df4d80b)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use memset() API instead of __bzero()
Drop the patch removing des_* functions for musl
(From OE-Core rev: 2be873301420ec6ca2c70d899b7c49a7e2b0954d)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Replace a local patch for format warning with the one
that got committed upstream
(From OE-Core rev: 0f3e67a5d9bcd304fef0618f62f48fcf087d30c7)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We were carrying patches which are no longer
needed when building rpcbind for musl
(From OE-Core rev: 56b3b440fa139c8f132b2b71dc6b8eb0ee974e7a)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
# TODO: add argument to automatically keep local-only refs, since they
# can't be easily restored with a git fetch.
parser = argparse.ArgumentParser(description='Remove the history of the specified revisions, then optionally filter the available refs to those specified.')
parser.add_argument('--ref', '-r', metavar='REF', action='append', dest='refs', help='remove all but the specified refs (cumulative)')
parser.add_argument('--shrink', '-s', action='store_true', help='shrink the git repository by repacking and pruning')
<ulinkurl="http://www.mail-archive.com/yocto@yoctoproject.org/msg09379.html">Mailing List post - The BitBake equivalent of "Hello, World!"</ulink>
</para></listitem>
<listitem><para>
<ulinkurl="https://web.archive.org/web/20150325165911/http://hambedded.org/blog/2012/11/24/from-bitbake-hello-world-to-an-image/">Hambedded Linux blog post - From Bitbake Hello World to an Image</ulink>
<ulinkurl="http://hambedded.org/blog/2012/11/24/from-bitbake-hello-world-to-an-image/">Hambedded Linux blog post - From Bitbake Hello World to an Image</ulink>
</para></listitem>
</itemizedlist>
</note>
@@ -269,7 +269,7 @@
and define some key BitBake variables.
For more information on the <filename>bitbake.conf</filename>,
m);varr=s.createElement("OL");r.className="linenums";for(varn=Math.max(0,m-1|0)||0,g=0,z=d.length;g<z;++g)l=d[g],l.className="L"+(g+n)%10,l.firstChild||l.appendChild(s.createTextNode("\xa0")),r.appendChild(l);a.appendChild(r)}functionk(a,m){for(vare=m.length;--e>=0;){varh=m[e];A.hasOwnProperty(h)?window.console&&console.warn("cannot override language handler %s",h):A[h]=a}}functionC(a,m){if(!a||!A.hasOwnProperty(a))a=/^\s*</.test(m)?"default-markup":"default-code";returnA[a]}functionE(a){varm=
<spanclass="help-block has-error"style="display:none;"id="invalid-layer-revision-hint">The "HEAD" branch is reserved (only allowed for the "Local Yocto Project" layers)</span>
</div>
</fieldset>
@@ -126,7 +126,7 @@
<labelfor="local-dir-path"class="control-label">Enter the absolute path to the layer directory</label>
<pclass="help-block"id="hintError-dir-path-starts-with-slash"style="display:none;">The absolute path must start with "/".</p>
<pclass="help-block"id="hintError-dir-path"style="display:none;">The directory path cannot include spaces or any of these characters: \ ? % * : | " " <></p>
<pclass="help-block"id="hintError-dir-path"style="display:none;">The directory path cannot include spaces or any of these characters: . \ ? % * : | " " <></p>
<pclass="help-block"id="hintError-dl_dir"style="display:none;">The directory path cannot include spaces or any of these characters: \ ? % * : | " " <></p>
<pclass="help-block"id="hintError-dl_dir"style="display:none;">The directory path cannot include spaces or any of these characters: . \ ? % * : | " " <></p>
<pclass="help-block"id="hintError-initialChar-dl_dir"style="display:none;">The directory path should either start with a /, e.g. /home/toaster/downloads; or with a variable, e.g. ${TOPDIR}/downloads.</p>
<pclass="help-block"id="hintError-sstate_dir"style="display:none;">The directory path cannot include spaces or any of these characters: \ ? % * : | " " <></p>
<pclass="help-block"id="hintError-sstate_dir"style="display:none;">The directory path cannot include spaces or any of these characters: . \ ? % * : | " " <></p>
<pclass="help-block"id="hintError-initialChar-sstate_dir"style="display:none;">The directory path should either start with a /, e.g. /home/toaster/sstate-cache; or with a variable, e.g. ${TOPDIR}/sstate-cache.</p>
<revremark>Released with the Yocto Project 2.3 Release.</revremark>
</revision>
<revision>
<revnumber>2.3.1</revnumber>
<date>June 2017</date>
<revremark>Released with the Yocto Project 2.3.1 Release.</revremark>
</revision>
<revision>
<revnumber>2.3.2</revnumber>
<date>September 2017</date>
<revremark>Released with the Yocto Project 2.3.2 Release.</revremark>
</revision>
<revision>
<revnumber>2.3.3</revnumber>
<date>January 2018</date>
<revremark>Released with the Yocto Project 2.3.3 Release.</revremark>
</revision>
<revision>
<revnumber>2.3.4</revnumber>
<date>&REL_MONTH_YEAR;</date>
<revremark>Released with the Yocto Project 2.3.4 Release.</revremark>
<revnumber>2.4</revnumber>
<date>Usually October</date>
<revremark>Released with the Yocto Project 2.4 Release.</revremark>
</revision>
</revhistory>
@@ -150,46 +135,34 @@
Permission is granted to copy, distribute and/or modify this document under
the terms of the <ulinktype="http"url="http://creativecommons.org/licenses/by-nc-sa/2.0/uk/">Creative Commons Attribution-Share Alike 2.0 UK: England & Wales</ulink> as published by Creative Commons.
</para>
<note><title>Manual Notes</title>
<itemizedlist>
<listitem><para>
This version of the
<emphasis>Yocto Project Board Support Package (BSP) Developer's Guide</emphasis>
is for the &YOCTO_DOC_VERSION; release of the
Yocto Project.
To be sure you have the latest version of the manual
SYSROOT_DESTDIR[doc] = "Points to the temporary work directory (default ${WORKDIR}/sysroot-destdir) where the files that will be populated into the sysroot are assembled during the do_populate_sysroot task."
s/<a class=\"ulink\" href=\"http:\/\/www.yoctoproject.org\/docs\/2.3.4\/dev-manual\/dev-manual.html\" target=\"_top\">Yocto Project Development Manual<\/a>/Yocto Project Development Manual/g
s/<a class=\"ulink\" href=\"http:\/\/www.yoctoproject.org\/docs\/2.3.4\/sdk-manual\/sdk-manual.html\" target=\"_top\">Yocto Project Software Development Kit (SDK) Developer's Guide<\/a>/Yocto Project Software Development Kit (SDK) Developer's Guide/g
s/<a class=\"ulink\" href=\"http:\/\/www.yoctoproject.org\/docs\/2.3.4\/bsp-guide\/bsp-guide.html\" target=\"_top\">Yocto Project Board Support Package (BSP) Developer's Guide<\/a>/Yocto Project Board Support Package (BSP) Developer's Guide/g
s/<a class=\"ulink\" href=\"http:\/\/www.yoctoproject.org\/docs\/2.3.4\/profile-manual\/profile-manual.html\" target=\"_top\">Yocto Project Profiling and Tracing Manual<\/a>/Yocto Project Profiling and Tracing Manual/g
s/<a class=\"ulink\" href=\"http:\/\/www.yoctoproject.org\/docs\/2.3.4\/kernel-dev\/kernel-dev.html\" target=\"_top\">Yocto Project Linux Kernel Development Manual<\/a>/Yocto Project Linux Kernel Development Manual/g
s/<a class=\"ulink\" href=\"http:\/\/www.yoctoproject.org\/docs\/2.3.4\/toaster-manual\/toaster-manual.html\" target=\"_top\">Toaster User Manual<\/a>/Toaster User Manual/g
s/<a class=\"ulink\" href=\"http:\/\/www.yoctoproject.org\/docs\/2.4\/dev-manual\/dev-manual.html\" target=\"_top\">Yocto Project Development Manual<\/a>/Yocto Project Development Manual/g
s/<a class=\"ulink\" href=\"http:\/\/www.yoctoproject.org\/docs\/2.4\/sdk-manual\/sdk-manual.html\" target=\"_top\">Yocto Project Software Development Kit (SDK) Developer's Guide<\/a>/Yocto Project Software Development Kit (SDK) Developer's Guide/g
s/<a class=\"ulink\" href=\"http:\/\/www.yoctoproject.org\/docs\/2.4\/bsp-guide\/bsp-guide.html\" target=\"_top\">Yocto Project Board Support Package (BSP) Developer's Guide<\/a>/Yocto Project Board Support Package (BSP) Developer's Guide/g
s/<a class=\"ulink\" href=\"http:\/\/www.yoctoproject.org\/docs\/2.4\/profile-manual\/profile-manual.html\" target=\"_top\">Yocto Project Profiling and Tracing Manual<\/a>/Yocto Project Profiling and Tracing Manual/g
s/<a class=\"ulink\" href=\"http:\/\/www.yoctoproject.org\/docs\/2.4\/kernel-dev\/kernel-dev.html\" target=\"_top\">Yocto Project Linux Kernel Development Manual<\/a>/Yocto Project Linux Kernel Development Manual/g
s/<a class=\"ulink\" href=\"http:\/\/www.yoctoproject.org\/docs\/2.4\/toaster-manual\/toaster-manual.html\" target=\"_top\">Toaster User Manual<\/a>/Toaster User Manual/g
Permission is granted to copy, distribute and/or modify this document under
the terms of the <ulinktype="http"url="http://creativecommons.org/licenses/by-sa/2.0/uk/">Creative Commons Attribution-Share Alike 2.0 UK: England & Wales</ulink> as published by Creative Commons.
</para>
<note><title>Manual Notes</title>
<itemizedlist>
<listitem><para>
This version of the
<emphasis>Yocto Project Quick Start</emphasis>
is for the&YOCTO_DOC_VERSION; release of the
Yocto Project.
To be sure you have the latest version of the manual
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.