This clearly wasn't tested as the correct variable is ASSUME_PROVIDED.
This reverts commit 91cee06433.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There is the potential for sensitive information to leak through the urls
there and removing it brings this into the behavior of the other package
backends since filtering it is likely error prone.
Since ipks don't appear to be generated at all if we don't set this, set
the field to the recipe name used (basename only, no paths). This avoids
information leaking. We may want to drop the field if opkg can allow that
at a future point but the recipe name is a suitable identifier for now.
Reported-by: Andrej Valek <andrej.valek@siemens.com>
(From OE-Core rev: 0b5e0d072f93a958e4211a8aeb2fd8cc3c25cc21)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A change occured about a year ago that broke the native build, fix
that patch
[YOCTO #11590]
(From OE-Core rev: ccd8e2cf7157c941ebacc6be306c1dbe2ec31e86)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport 13f00eb4493c "automake: port to Perl 5.22 and later"
from automake upstream to fix build with perl 5.22 .
(From OE-Core rev: ab0e298ec2c155739565f1cde76639855ba7bba0)
Signed-off-by: Marek Vasut <marex@denx.de>
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: ed5a602d3eb418beb2f9731fda96415ed16efff2)
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>
[Backported from master.]
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.
(From OE-Core rev: 903a051d47e550553aa9d6d9c38c43737f376cfe)
Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
[Backported from master.]
[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.
(From OE-Core rev: 484db109df742aafa8efc41dc3a8d31386d9b2a3)
Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
[Backported from master.]
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: 5bfa4ccdba64d814cc480f22ccd8c493d87d36e7)
Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
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: 5527af688f6ccaacd7ec24d29425d0c007d5341c)
Signed-off-by: Jonathan Liu <net147@gmail.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: 357801a491efc067c6d4bd9a2bfa6fff460357aa)
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>
The .sethalftone5 function in psi/zht2.c in Ghostscript before 9.21 allows remote
attackers to cause a denial of service (application crash) or possibly execute
arbitrary code via a crafted Postscript document that calls .sethalftone5 with an
empty operand stack.
Artifex jbig2dec 0.13, as used in Ghostscript, allows out-of-bounds writes because
of an integer overflow in the jbig2_build_huffman_table function in jbig2_huffman.c
during operations on a crafted JBIG2 file, leading to a denial of service (application
crash) or possibly execution of arbitrary code.
References:
https://nvd.nist.gov/vuln/detail/CVE-2016-8602https://nvd.nist.gov/vuln/detail/CVE-2017-7975
Upstream patches:
http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=f5c7555c303http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=5e57e483298
(From OE-Core rev: 8f919c2df47ca93132f21160d919b6ee2207d9a6)
(From OE-Core rev: 6040b8735b79397bf49a2154f81e9aab34c15413)
Signed-off-by: Catalin Enache <catalin.enache@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)
(From OE-Core rev: bab6667d44df185b4433bcd1c283105966383844)
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>
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)
(From OE-Core rev: e0e1414a4574d4165a8dc5d0d9d0d5b5a660355f)
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>
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)
(From OE-Core rev: e0f0a7283c597e783b69aac2c8e8a7663b70262d)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The 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: 5f02b4300fb2ed54270aede54d30317ba757f587)
Signed-off-by: Ross Burton <ross.burton@intel.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: 3195f7e68eb5cfb2af3506fe4b0dcb2f8cd9ee10)
Signed-off-by: Chang Rebecca Swee Fun <rebecca.swee.fun.chang@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)
(From OE-Core rev: a4b37b05140b549960baef49237ce3316e84a041)
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>
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)
(From OE-Core rev: e962e257f4c124869953d1fbb3da7dbf564f818a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
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)
(From OE-Core rev: 64c2f8acd02e0e5dca234b36a2a7097c0c16f7c2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
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)
(From OE-Core rev: 8e3134953edfc88bf3d135b5dc00d361f84b5f37)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
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)
(From OE-Core rev: 2a12c159aae9877a05e0ba023de278cdca59ac45)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Based on the same reason behind DEBIAN's switch from ftp:
https://www.debian.org/News/2017/20170425
(From OE-Core rev: ba119d836c0f4b20a39c92fa2e64abb0d5a55ad4)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
All public-facing debian.org FTP services will be shut down on November 1, 2017
The mirrors should just be accessed using HTTP instead.
https://www.debian.org/News/2017/20170425
Fixes [YOCTO #11413]
(From OE-Core rev: c2cdc4d9155d7a3b9cba60fa9cbb448cf64c62bd)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove recipe-specific-sysroot details from the preinst scripts
generated by useradd.bbclass.
This was added to match the default from bitbake.conf. Unlike the default
case, the dependencies used by useradd mean that a default passwd/group
file is always present. This means we don't need the native sysroot fallback.
Fixes [YOCTO #11460]
(From OE-Core rev: dfc9323c1cd7814989766be5bd1861fbaa739d2d)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The export of PSEUDO in useradd_sysroot() contains references to
${COMPONENTS_DIR}. These need to be handled when restoring
postinst-useradd-${PN} from the sstate cache.
(From OE-Core rev: 097875bc9ab9d60a452b01ac6825775983684d68)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The path to where to install and find the sysroot components is used
in many places. This warrants it to get its own variable.
(From OE-Core rev: 70a84b525470f72339568409daf84845904e4cab)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Paths to host tools that have been copied to ${HOSTTOOLS_DIR} may end
up in the sstate cache. They thus need to be corrected when restoring
from the sstate cache.
(From OE-Core rev: f8671aecf05a286dd2b34b07bb5fbbe0c31e26d0)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The path to where to install and find the tools copied from the host
environment is already used in a couple of places. This warrants it to
get its own variable.
(From OE-Core rev: 8164c466943ffedff399009bf5547dba4f06d6c8)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Avoids parser errors if PACKAGE_ADD_METADATA_DEB is set to an
empty value.
(From OE-Core rev: f0959c0908dfb386d29f13fcd3e57b2b004c6c14)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In deb control files, each line of a long description starts with
a single space. Empty lines are represented by a single space
followed by a single full stop character.
(From OE-Core rev: f66278f471c0bf9421ce2c55a56a144a0f9332bf)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add bash to /etc/shells if busybox is built with bash applet anabled
to fix login via dropbear.
(From OE-Core rev: 86a2db0b2997fd05882ae0119ef45b1ea5411d39)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Audio playback in gtk-play is broken with vaapi because the
visualizations do not work: disable visualizations as workaround.
This should be reverted as soon as [YOCTO #11410] is fixed.
(From OE-Core rev: 1092a8d4bc78a53f60ad0137aeb08b31853db9eb)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
libxml2 2.9.4 and earlier, as used in XMLSec 1.2.23 and earlier
and other products, does not offer a flag directly indicating that
the current document may be read but other files may not be opened,
which makes it easier for remote attackers to conduct XML External
Entity (XXE) attacks via a crafted document.
Reference:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-9318
Upstream patch:
https://git.gnome.org/browse/libxml2/commit/?id=2304078555896cf1638c628f50326aeef6f0e0d0
(From OE-Core rev: 0dd44c00e3b2fbc3befc3f361624a3a60161d979)
Signed-off-by: Catalin Enache <catalin.enache@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
CVE-2016-6170: ISC BIND through 9.9.9-P1, 9.10.x through 9.10.4-P1, and
9.11.x through 9.11.0b1 allows primary DNS servers to cause a denial of
service (secondary DNS server crash) via a large AXFR response, and
possibly allows IXFR servers to cause a denial of service (IXFR client
crash) via a large IXFR response and allows remote authenticated users
to cause a denial of service (primary DNS server crash) via a large
UPDATE message.
External References:
https://nvd.nist.gov/vuln/detail/CVE-2016-6170
Patch from:
https://source.isc.org/cgi-bin/gitweb.cgi?p=bind9.git;a=commit;h=1bbcfe2fc84f57b1e4e075fb3bc2a1dd0a3a851f
(From OE-Core rev: 14abd767349bc868ca59838f1af3aaf17dfe4350)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
CVE-2016-8864: named in ISC BIND 9.x before 9.9.9-P4, 9.10.x before
9.10.4-P4, and 9.11.x before 9.11.0-P1 allows remote attackers to cause
a denial of service (assertion failure and daemon exit) via a DNAME
record in the answer section of a response to a recursive query,
related to db.c and resolver.c.
External References:
https://nvd.nist.gov/vuln/detail/CVE-2016-8864
Patch from:
https://source.isc.org/cgi-bin/gitweb.cgi?p=bind9.git;a=commit;h=c1d0599a246f646d1c22018f8fa09459270a44b8
(From OE-Core rev: c06f3a5993c7d63d91840c2a4d5b621e946ef78f)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Something in the fetched webpage made the default regex matching really slow.
(From OE-Core rev: e4d1100a84e28cb97438c18df6d9f98996a7d578)
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>
After change to the rpm4, the rpm packages in lsbtest, such as:
lsb-setup-4.1.0-1.noarch.rpm
lsb-dist-checker-5.0.0.1-1.x86_64.rpm
......
lsb-cmdchk-5.0.3-1.x86_64.rpm
When install above rpm packages, the error log appears:
package lsb-setup-4.1.0-1.noarch is intended for a different operating system
......
So we should add option "--ignoreos" to the rpm install command in LSB_Test.sh
in ./meta/recipes-extended/lsb/lsbtest directory. In this way we can make sure
the correct installation of those rpm packages.
The YOCTO bug #11224 didn't create logs, this is because the above test rpm
packages didn't install.
[YOCTO #11224]
(From OE-Core rev: db2798d967dbffed834070b52fe778efa18cb4ae)
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>
These tools are not currently used for anything, but we should
still provide working versions of them.
[YOCTO #11400]
(From OE-Core rev: da11fbde6f8164e2774068b99bab84e4b6084713)
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 it slightly easier to support situations where the default path
needs to be over-ridden more than once.
(From OE-Core rev: 07390e3d45cdf244079a6b91175512ebac789da0)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Using bitbake variable syntax (i.e., ${FOO}) for shell variables is
bad practice. First of all it is confusing, but more importantly it
can lead to weird problems if someone actually defines a bitbake
variable with the same name as the shell variable.
Also use lower case for local shell variables.
(From OE-Core rev: ea6befae799f45cf93771442f242cb023dd809d1)
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>
Add python2 to HOSTTOOLS as, according to
https://www.python.org/dev/peps/pep-0394/, the command "python2" should be the
one used in scripts that are not yet ported to Python 3.
(From OE-Core rev: b85e41eeef3fddc2c15439cf78b8cc8542b5bc22)
Signed-off-by: Diego Rondini <diego.rondini@kynetics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
pr is used by gstreamer1.0-libav during configure
(From OE-Core rev: cb6c02bd8c65ea033a939011cbba21ad0442acf0)
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>
sstates are cleaned when ruining test_devtool_virtual_kernel_modify to
have a clean environment but this is affecting eSDK test that are
dependent of those sstates, hence “cleansstate” is replaced for
“clean”.
[YOCTO #11300]
(From OE-Core rev: 182fdb97ed6c11c7b55fdb99773da6f72c9828b3)
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>
gstreamer-vaapi fails to play files with specific frame sizes
because of buffer allocation issues. Fix is a backport.
Fixes [YOCTO #11311].
(From OE-Core rev: e01eb9b37ba5512d6fd9893c70b1f4d766fab2ac)
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>
This test was assuming the format of SRC_URI so broke when SRC_URI was changed.
Fix the test by hardcoding a complete SRC_URI instead of appending and hoping
for the best.
(From OE-Core rev: afe1d3073a435ef6c838cc676748842af4c4af83)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It was reported that do_validate_branches was failing with the following
error:
Log data follows:
| DEBUG: Executing shell function do_validate_branches
| HEAD is now at fe0fb8d Merge tag 'v4.10.9' into standard/base
| mkdir: cannot create directory .: File exists
|
| [ERROR] Can't find patch dir at ./patches/standard/base
| usage: kgit s2q
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_validate_branches
This was triggered by the execution of 'kgit-s2q --clean' after forcing
the SRCREV to something other than the tip of the branch. --clean is
being run to remove any sentinel files from previous kernel builds to
ensure that the tree is in a consistent state.
There were two bugs, --clean was being executed and not exiting the
script as it was supposed to. Hence validation for applying patches
was done, and threw the error that eventually makes it to the console.
And the second bug is that since do_validate_branches actually calls
kgit-s2q --clean, the dependency on kern-tools-native needs to be on
that function (versus do_kernel_metadata which runs later).
With the tweaked kern-tool + the dependency fix, we no longer see this
error.
(From OE-Core rev: 4d5890b54cbdac01ee748759578b7b22ed8e61a2)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The commit 31dee7946340bf0f1e94e4e714191d3d6ca3bf6a added a new useradd and
groupadd option to specify a clear text password. The parsing logic in the
useradd-staticid class did not understand this new option. If the
meta-skeleton examples were run with the class enabled an error would be
generated, as an example uses the -P option.
Note, the code has a check that we do not attempt to set both a crypt and
clear text password. It is not allowed that these two options are set
at the same time, so we prefer the crypt option if they happen to be.
(From OE-Core rev: a1715970d5c454dd24d04972ffb9cf735b5d1338)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
qemu-native-helper has an additional task that needs to be run in order
for testimage to work. This task is usually run by default in a full
build but there are use cases where it might be skipped. This commit
adds the dependency explicitly.
Also, this commit adds a try/catch error message to make it clearer what
you need to do if you try to run testimage before you have built or
downloaded the image artifacts.
[YOCTO #11375]
(From OE-Core rev: 6e019537b9eb3af482e474a8cb248fe7312f4b58)
Signed-off-by: brian avery <brian.avery@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Commit 7933fbbc637 "Security fix Drown via 1.0.2g update" included
a version-script change from Debian that was an ABI change. It did
not include the soname change that Debian did so we have been calling
our ABI 1.0.0 but it really matches what others call 1.0.2.
Bump SONAME to match the ABI. In practice this changes both libcrypto
and libssl sonames from 1.0.0 to 1.0.2.
For background: Upstream does not do sonames so these are set by
distros. In this case the ABI changes based on a build time
configuration! Debian took the ABI changing configuration and bumped
soname but e.g. Ubuntu kept the deprecated API and just made it not
work, keeping soname. So both have same version of openssl but support
different ABI (and expose different SONAME).
Fixes [YOCTO #11396].
Thanks to Alexander Larsson et al for detective work.
(From OE-Core rev: 1b430eef7131876bc735c22d66358379b0516821)
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>
Sadly this breaks previous OE releases as it means the source mirror contains a
tarball with the same name but different checksums as was previously available.
This reverts commit 99c6e89db1.
(From OE-Core rev: eb4fee616287ae731f7af52e0fe5fc81f2eea2c0)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This saves relative paths in the qemuboot.conf file instead of absolute
paths. This is to allow the images and kernels to be relocated and still
have the testimage and runqemu work.
[YOCTO #11375]
(From OE-Core rev: 235243d7be5df57df4767e4710b846e83f0aa9fd)
Signed-off-by: brian avery <brian.avery@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We pass the TOPDIR to do a search/replace in export2json so that we save
relative paths in the testdata.json file rather than absolute paths.
This is to allow the images and kernels to be relocated yet still allow
testimage to work.
[YOCTO #11375]
(From OE-Core rev: 7f9f1bdd714fbc6b2adc62f64bf0e4fd1d98ce05)
Signed-off-by: brian avery <brian.avery@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We want to be able to save relative paths so that we can relocate the
deploy dir images and kernels, yet still have qemu and testimage work
correctly. This extends export2json with 2 named arguments so a
search/replace operation can be done to remove the leading path.
[YOCTO #11375]
(From OE-Core rev: 4829f1ebd89dc91860cf72fbbdc7b6bb0d5822bc)
Signed-off-by: brian avery <brian.avery@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The single purpose of "map_kernel_arch" is to set
export ARCH = "some-arch"
The case when "some-arch" is not a valid Linux architecture results in an error.
This makes sense if the TARGET_OS is Linux, but that is not always the case.
kernel-arch is also inherited by toolchain-script, which may be used to build
toolchains for architectures not supported by Linux.
Rather than modifying toolchain-script to provide its own version of "map_arch"
this patch bypasses the error if the TARGET_OS is not linux.
(From OE-Core rev: 0b931e983b1f663d5d7dc65f1db7687334dd3ef2)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport patch from upstream to fix build failures on ppc and ppc64.
(From OE-Core rev: 705669f8221027b525773a512beb25a7ea5f0275)
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>
icedtea-native from meta-java needs sha256sum for checksum validation.
Therefore add sha256sum to HOSTTOOLS (as md5sum is already in there).
Without it the icedtea-native build will fail during configuration at
current master.
(From OE-Core rev: d0d3abdf9e2dec57f3849813faa5e7e3d34b83a4)
Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The architecture list used by dnf/libsolv was in the wrong order.
As a result, the images were built with wrong and unpredictable
packages.
$ MACHINE=intel-corei7-64 bitbake core-image-sato
$ MACHINE=qemux86-64 bitbake core-image-sato
$ MACHINE=intel-corei7-64 bitbake -ccleansstate core-image-sato
$ MACHINE=intel-corei7-64 bitbake core-image-sato
The first image had 0 core2_64 packages in it, but the last one had
583 core2_64 packages (which were built for the qemu image in
between).
Reverse the arch order in etc/dnf/vars/arch.
Fixes [YOCTO #11384].
(From OE-Core rev: 4a82433de42943f8219beca3286f40b67157172f)
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>
In order to have a shared sysroot usable within the eSDK after recipe
specific sysroots were implemented, we need to run
bitbake build-sysroots as a separate call. However, unlike the first
call, --quiet wasn't being specified and that somewhat undermined the
earlier effort to clean up the eSDK installation output. Make this
second call quiet as well so that the output is tidier.
(From OE-Core rev: 56b73788edaa0796e53f1a30e9ebdb2ae85b1646)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently, in order to figure out variable values when run within the
eSDK, runqemu does not use the standard SDK method nor is it able to run
bitbake (since the eSDK environment isn't initialised like the normal
OE build environment). runqemu really ought to be fixed, but the quick
workaround is to set DEPLOY_DIR_IMAGE in the environment so that runqemu
can find image files.
Fixes [YOCTO #10447].
(From OE-Core rev: 1ef833b6393366a10f4bb65df89725ad65761386)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If CMAKE_SYSTEM_NAME is defined, CMake assumes we're cross-compiling,
which is not necessarily the case.
(From OE-Core rev: bd082c9be6191e67ea1b1bf10ce5e130a3433ab5)
Signed-off-by: Kyle Russell <bkylerussell@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
PackageManager.install_complementary() uses WORKDIR/installed_pkgs.txt as a
temporary file but if two tasks are executing for the same recipe which uses
this file (e.g. bitbake my-image my-image:do_populate_sdk) then it's possible
for the file to be overwritten or deleted.
Instead of using a static filename, use tempfile to generate a unique name and
ensure it is cleaned up when finished.
Also move the glob generation/expansion earlier in the function as if there are
no globs to install, we don't need to generate a package list.
(From OE-Core rev: f5a1013ffa9815f22e13989e2bcb83f966e7ce2c)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The name of postinst scripts created by pixbufcache class
contains "useradd" in it. Remove it to avoid confusion.
As suggested by RP.
(From OE-Core rev: 2b939cd143549a3a6fc640c7c512c4ac5c246bff)
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>
This reverts commit 991620f3962a9917fa99abb5582f4b72ebd42a3d.
The commit breaks openssl-native (you can no longer generate keys
because it can't find the configuration file). Also the idea that we
would install configuration files normally but then add the symlinks
pointing to them in a postinstall feels wrong.
Fixes [YOCTO #11296]. The bug contains an alternative fix but I'm
sending a revert as I cannot fully understand the motive of the
original patch. See also discussion in
http://lists.openembedded.org/pipermail/openembedded-core/2017-April/135176.html
(From OE-Core rev: b192daef5d1e7f3501c533b92dc75e2d996afc13)
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 previous patch added a check but incorrectly
change the elif to if, then it always return 0
for cpuid if the machine is not __i386__
getcpu01 1 TFAIL : getcpu01.c:140: getcpu() returned wrong value expected cpuid:7, returned value cpuid: 0
After this fix:
getcpu01 1 TPASS : getcpu() returned proper cpuid:7, node id:0
(From OE-Core rev: ca798705b3b8fa9b2f6467970e9bda9d9433986c)
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>
Otherwise, the filename is r3-9-1.tar.gz which isn't straightforward.
(From OE-Core rev: b0e5c8f6a5041010347f6b70e39e41886829d928)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the user wants to enable the 'glut' PACKAGECONFIG for mesa-demos, freeglut
is required to provide the dependency before the demos can be compiled.
NOTE! this is a cross-layer dependency (freeglut is currently only available
in meta-oe). However 'glut' is not a default PACKAGECONFIG (so this is
allowed).
(From OE-Core rev: cbf1708cf8d9fb8ace5520c9b6fec46c5fc9e9c8)
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed race issue:
In file included from acl_copy_entry.c:22:0:
libacl.h:19:21: fatal error: sys/acl.h: No such file or directory
#include <sys/acl.h>
[snip]
compilation terminated.
acl_get_file.c:27:24: fatal error: acl/libacl.h: No such file or directory
#include <acl/libacl.h>
^
The acl.h is in "include" directory, and include/Makefile creates
symlink "sys" and "acl" poinst to current dirctory:
$ ls include/ -l
acl -> .
sys -> .
So if "libacl" target runs before "include", the error would happen
since no "acl" or "sys" directory.
Let libacl depend on include can fix the problem.
[YOCTO #11349]
(From OE-Core rev: 73d3d81fcdb92dd85c6ad1609e3a6eb20f1ea539)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport fixes from pseudo master for an acl issue and more importantly, a segfault
issue with bash which can be triggered by the recent useradd changes.
(From OE-Core rev: 949214761998a93fc6b8b009f1cdad0db3bfa5db)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Without this, eSDK builds are failing due to qemu-helper-native's dependency on this
task. It makes sense to allow this to execute in eSDK contexts (its a non-sstate task
intentionally).
(From OE-Core rev: 3e8ade8c0772c4492efd93824f78cb043281d235)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When we update the SRCREV to latest, we will encouter the following
bitbake error.
Build error message:
| Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
| error: Arch dependent binaries in noarch package
|
|
| RPM build errors:
| Missing build-id in /home/phoongst/work2/test00/tmp/work/all-poky-linux/linux-firmware/1_0.0+gitAUTOINC+44d8e8d4fd-r0/package/lib/firmware/netronome/nic_AMDA0081-0001_1x40.nffw
| Missing build-id in /home/phoongst/work2/test00/tmp/work/all-poky-linux/linux-firmware/1_0.0+gitAUTOINC+44d8e8d4fd-r0/package/lib/firmware/netronome/nic_AMDA0099-0001_2x25.nffw
| Missing build-id in /home/phoongst/work2/test00/tmp/work/all-poky-linux/linux-firmware/1_0.0+gitAUTOINC+44d8e8d4fd-r0/package/lib/firmware/netronome/nic_AMDA0097-0001_8x10.nffw
| Missing build-id in /home/phoongst/work2/test00/tmp/work/all-poky-linux/linux-firmware/1_0.0+gitAUTOINC+44d8e8d4fd-r0/package/lib/firmware/netronome/nic_AMDA0081-0001_4x10.nffw
| Missing build-id in /home/phoongst/work2/test00/tmp/work/all-poky-linux/linux-firmware/1_0.0+gitAUTOINC+44d8e8d4fd-r0/package/lib/firmware/netronome/nic_AMDA0097-0001_4x10_1x40.nffw
| Missing build-id in /home/phoongst/work2/test00/tmp/work/all-poky-linux/linux-firmware/1_0.0+gitAUTOINC+44d8e8d4fd-r0/package/lib/firmware/netronome/nic_AMDA0099-0001_2x10.nffw
| Missing build-id in /home/phoongst/work2/test00/tmp/work/all-poky-linux/linux-firmware/1_0.0+gitAUTOINC+44d8e8d4fd-r0/package/lib/firmware/netronome/nic_AMDA0097-0001_2x40.nffw
| Missing build-id in /home/phoongst/work2/test00/tmp/work/all-poky-linux/linux-firmware/1_0.0+gitAUTOINC+44d8e8d4fd-r0/package/lib/firmware/netronome/nic_AMDA0096-0001_2x10.nffw
| Deprecated external dependency generator is used!
| Arch dependent binaries in noarch package
| WARNING: exit code 1 from a shell command.
This is due to netronome firmware is not included in noarch package.
Hence we removed the netronome firmware before it is packaged,
until the rpm issue is resolved.
(From OE-Core rev: cdfa43191f84dc3b1a592ce2e813509f6820184d)
Signed-off-by: Chang, Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com>
Signed-off-by: Ng, Wei Tee <wei.tee.ng@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
linux-firmwara-carl9170 was set to a wrong license string.
Carl9170 firmware is bounded by GPLv2 via code inspection on
linux firmware source tree. Hence we include GPLv2 in LICENSE
field and set carl9170 firmware to the correct license.
[YOCTO #11090]
(From OE-Core rev: a062b2aa51e28aa14e75435d8a618859499e1bd5)
Signed-off-by: Ng, Wei Tee <wei.tee.ng@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-change in amdgpu firmware copyright year
-change in radeon firmware copyright year
-LICENCE.mwl8335 was removed in linux-firmware source tree
-specify the copyright year for siano
-change in qla2xxx firmware copyright year
(From OE-Core rev: d80b3bcfefc811ed159c1d860a1e333aa9b4db73)
Signed-off-by: Ng, Wei Tee <wei.tee.ng@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The busybox _git recipe is not formally tested or kept up to date.
The gstreamer _git recipes were recently removed from oe-core and the
justifications for that change apply to the busybox _git recipe too.
(From OE-Core rev: 139c97fa7f71a554ce85900ac33054a216db62e9)
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>
nativesdk builds now control the DISTRO_FEATURES (oe-core 731744) so this
workaround is no longer required.
This reverts commit 415b72ffcb.
(From OE-Core rev: 4f1f05295f12f619c87fb53e16e19a11775c2c84)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
dnf requires a serparate repo for each architecture. This patch
writes one config file per PACKAGE_FEED_URIS entry with an entry
for each architecture, if any.
It also uses a space separated version of the repo id as the repo
name instead of just the id again.
(From OE-Core rev: 3eed822b5c5661aa9f43af6582c1481bacf0d39a)
Signed-off-by: Ian.Arkver <ian.arkver.dev@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Existing patch was actually doing the wrong thing and
sometimes removing a linking flag (-lgpgme) that should be present.
Instead, gpgme-config actually has internal logic to remove /usr/lib from the output,
which works only in non-multilib setups, so it is adjusted to include all possible
/usr/lib* and /lib* directories.
(From OE-Core rev: 84cb611079b7cf78b9921c78978943fa4adae1c7)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
populate_sdk_ext sets TMPDIR to a known static value with '/tmp' directory
name and that name is hard coded in a few places (e.g., in
meta-environment-extsdk.bb that writes the eSDK environment variables).
Distros that do not reset TCLIBCAPPEND (poky does) end up getting
TMPDIR = /tmp-${TCLIBCAPPEND} via defaultsetup.conf and that breaks
the functionality in eSDK that expects everything is in /tmp.
To get TMPDIR consistent, we also need to reset TCLIBCAPPEND in
populate_sdk_ext.bbclass.
Fixes: [YOCTO #11298]
(From OE-Core rev: 9ec29153f279bb9e1dbcddc2c66e00fdbe3fd6e9)
Signed-off-by: Mikko Ylinen <mikko.ylinen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed when len(TMPDIR) = 410:
aclocal: error: cannot open echo 'm4_define [snip]' configure.ac |: Argument list too long'
This is becuase it has a lot of m4 files, use relative path for them
can fix the problem.
(From OE-Core rev: 081974e75cc0cfa0a1a1bb01cd9f9cbc585b7692)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It should be ${libdir} rather than /usr/lib, otherwise it would fail
when multilib:
MACHINE = "qemux86-64"
require conf/multilib.conf
MULTILIBS = "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32 = "x86"
$ bitbake apt
[snip]
install: target /path/to/apt/1.2.12-r0/image/usr/lib/apt is not a directory: No such file or directory
[snip]
(From OE-Core rev: bf867019c33c34dc997e10a3bdba4aeee81f559a)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It should be -IOEINCDIR, not -I-IOEINCDIR.
(From OE-Core rev: 3c432e130b47461f845e1618b565f174417e1aa5)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently there are multiple issues with useradd:
* If base-passwd rebuilds, it wipes out recipe specific user/group additions
to sysroots and causes errors
* If recipe A adds a user and recipe B depends on A, it can't see any of the
users/groups A adds.
This patch changes base-passwd so it always works as a postinst script
within the sysroot and copies in the master files, then runs any
postinst-useradd-* scripts afterwards to add additional user/groups.
The postinst-useradd-* scripts are tweaked so that if /etc/passwd doesn't exist
they just exit, knowning they'll be executed later. We also add a dummy entry to
the dummy passwd file from pseudo so we can avoid this too.
There is a problem where if recipe A adds a user and recipe B depends on A but
doesn't care about users, it may not have a dependency on the useradd/groupadd
tools which would therefore not be available in B's sysroot. We therefore also
tweak postinst-useradd-* scripts so that if the tools aren't present we simply
don't add users. If you need the users, you add a dependency on the tools in the
recipe and they'll be added.
We add postinst-* to SSTATE_SCAN_FILES since almost any postinst script of this
kind is going to need relocation help.
We also ensure that the postinst-useradd script is written into the sstate
object as the current script was only being added in a recipe local way.
Thanks to Peter Kjellerstedt <pkj@axis.com> and Patrick Ohly for some pieces
of this patch.
[Yocto #11124]
(From OE-Core rev: 1b5afaf437f7a1107d4edca8eeb668b9618a5488)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Commit 51edde6537 makes a wrong assumption
that SSTATE_MIRRORS have write permissions.
A mirror is by definition outside of it's user control. In my use case
it happens I does not have permissions to update the access time of the
dereferenced symbolic-link file.
Checked if file is writable before changing its atime.
Thanks to Paulo Neves for the patch.
[YOCTO #11307]
(From OE-Core rev: b8f26c011d5ed888d85fef040bd821400d54c8fe)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Native sysroot of qemu-helper contains all required tools
(qemu-system and tunctl atm) for runqemu to work. It's not
removed by rm_dir and should always exist. It makes sense
to write it into qemuboot.conf to make runqemu to use it
as a default directory for native tools.
This should also speed up runqemu as it doesn't need to run
to run 'bitbake qemu-helper -e' to get its native sysroot.
[YOCTO #11266]
[YOCTO #11193]
(From OE-Core rev: 0f207bfc1f7a4fd509b78d32bbe1a8d4ebea8053)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Make sure that native sysroot contains qemu and tunctl binaries for
runqemu usage:
- excluded native sysroot from rm_work
- added qemu-native to DEPENDS to put qemu binaries into native sysroot
- forced addto_recipe_sysroot task
[YOCTO #11266]
[YOCTO #11193]
(From OE-Core rev: 2e7a155774952705d21109720985f6833fba2669)
Signed-off-by: brian avery <brian.avery@intel.com>
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating to the korg stable release, with the following changes:
f6392b77fb91 Linux 4.10.9
59529be9c99e drm/i915: A hotfix for making aliasing PPGTT work for GVT-g
0efab45f7092 drm/i915: Let execlist_update_context() cover !FULL_PPGTT mode.
e47bc4fb5db4 drm/i915: Move the release of PT page to the upper caller
e33cb9747fdf nvme/pci: Disable on removal when disconnected
2bfe1b12a496 nvme/core: Fix race kicking freed request_queue
311cd5ae37e7 padata: avoid race in reordering
a591a05f1d0a blk: Ensure users for current->bio_list can see the full list.
75a778ed4f3d blk: improve order of bio handling in generic_make_request()
b576c5833134 MIPS: Lantiq: Fix cascaded IRQ setup
77149f08767e ARM: dts: BCM5301X: Correct GIC_PPI interrupt flags
1229cd2fa5e0 drm/armada: Fix compile fail
847f0ffc12ae mm, hugetlb: use pte_present() instead of pmd_present() in follow_huge_pmd()
61b76d7af8e4 mm: workingset: fix premature shadow node shrinking with cgroups
9f424db185a2 mm: rmap: fix huge file mmap accounting in the memcg stats
fb29fe35575a lib/syscall: Clear return values when no stack
be6647667608 x86/mce: Fix copy/paste error in exception table entries
4ea2e307c7cf x86/mm/KASLR: Exclude EFI region from KASLR VA space randomization
d0a9dba54764 drm/i915/kvmgt: Hold struct kvm reference
65e5e864aad9 drm/etnaviv: (re-)protect fence allocation with GPU mutex
4a1b7b6c82dc drm/vc4: Allocate the right amount of space for boot-time CRTC state.
7a8453634601 drm/radeon: Override fpfn for all VRAM placements in radeon_evict_flags
5b79ca06a51d KVM: kvm_io_bus_unregister_dev() should never fail
00a3ca394871 KVM: x86: clear bus pointer when destroyed
b3ff1bac80ab serial: mxs-auart: Fix baudrate calculation
782cb86b0155 USB: fix linked-list corruption in rh_call_control()
6f168275df2e xhci: Set URB actual length for stopped control transfers
3cacfce024b1 tty/serial: atmel: fix TX path in atmel_console_write()
3eadc2dccb51 tty/serial: atmel: fix race condition (TX+DMA)
4f6116cf520c ACPI: Do not create a platform_device for IOAPIC/IOxAPIC
af7550a70dad ACPI: Fix incompatibility with mcount-based function graph tracing
92bca7fa882f parisc: Fix access fault handling in pa_memcpy()
fc12a50f7742 parisc: Avoid stalled CPU warnings after system shutdown
37e623429737 parisc: Clean up fixup routines for get_user()/put_user()
4bcd2ca3c361 dt-bindings: rng: clocks property on omap_rng not always mandatory
be14ea08d26f nfsd: map the ENOKEY to nfserr_perm for avoiding warning
8f5cfd1af067 NFSv4.1 fix infinite loop on IO BAD_STATEID error
61e6e72e9f9c ARCv2: SLC: Make sure busy bit is set properly on SLC flushing
9fef1e65279d crypto: xts,lrw - fix out-of-bounds write after kmalloc failure
5a16448c2132 crypto: ccp - Make some CCP DMA channels private
79105a2f8146 mmc: sdhci-of-at91: fix MMC_DDR_52 timing selection
41ece35ef4b4 mmc: sdhci: Disable runtime pm when the sdio_irq is enabled
d4dd65ff6716 HID: wacom: Don't add ghost interface as shared data
617c6850480b ASoC: rt5665: fix getting wrong work handler container
29f675437ceb ASoC: Intel: Skylake: fix invalid memory access due to wrong reference of pointer
48a5a47a050c ASoC: atmel-classd: fix audio clock rate
e12a232e9b64 ALSA: hda - fix a problem for lineout on a Dell AIO machine
c36ef6467420 ALSA: seq: Fix race during FIFO resize
d2e79b56ba2e PCI: thunder-pem: Use Cavium assigned hardware ID for ThunderX host controller
d9c6a97b3fae PCI: iproc: Save host bridge window resource in struct iproc_pcie
ef97d9485efa scsi: scsi_dh_alua: Ensure that alua_activate() calls the completion function
2b1725d1df36 scsi: scsi_dh_alua: Check scsi_device_get() return value
905385ad1309 scsi: libsas: fix ata xfer length
f7019040f6d7 scsi: sg: check length passed to SG_NEXT_CMD_LEN
f031e4f54f98 xfs: try any AG when allocating the first btree block when reflinking
83d33266c371 xfs: use iomap new flag for newly allocated delalloc blocks
ee74519c0876 xfs: Use xfs_icluster_size_fsb() to calculate inode alignment mask
87cdf91a6bf4 xfs: fix and streamline error handling in xfs_end_io
1c0d974bea21 xfs: only reclaim unwritten COW extents periodically
5d834e1adcb0 xfs: tune down agno asserts in the bmap code
854a9bf0acb1 xfs: Use xfs_icluster_size_fsb() to calculate inode chunk alignment
8c1e9cfd5b67 xfs: don't reserve blocks for right shift transactions
a3aca9b42d6f xfs: fix uninitialized variable in _reflink_convert_cow
1d7babf19237 xfs: split indlen reservations fairly when under reserved
177227735045 xfs: handle indlen shortage on delalloc extent merge
0b20c0afbb84 xfs: don't fail xfs_extent_busy allocation
e8eb2c060902 xfs: correct null checks and error processing in xfs_initialize_perag
304ec448ee8b xfs: update ctime and mtime on clone destinatation inodes
900c499df454 xfs: reject all unaligned direct writes to reflinked files
17c17805b76e xfs: reset b_first_retry_time when clear the retry status of xfs_buf_t
b0f88f0deb50 xfs: mark speculative prealloc CoW fork extents unwritten
a0c46fae264a xfs: allow unwritten extents in the CoW fork
1dc0e72c13e7 xfs: verify free block header fields
58565508b2b3 xfs: check for obviously bad level values in the bmbt root
2b9dcb947e73 xfs: filter out obviously bad btree pointers
cb308466d6dc xfs: fail _dir_open when readahead fails
8059f06199f0 xfs: fix toctou race when locking an inode to access the data map
025770917bcb xfs: fix eofblocks race with file extending async dio writes
696bfc8ec85c xfs: sync eofblocks scans under iolock are livelock prone
ff4ea420698d xfs: pull up iolock from xfs_free_eofblocks()
3eb243290edf KVM: nVMX: fix nested EPT detection
8a7eb087a5a4 libceph: force GFP_NOIO for socket allocations
3fdae700a361 Linux 4.10.8
d6854f591c22 usb: musb: fix possible spinlock deadlock
ca908a9a57e7 sched/rt: Add a missing rescheduling point
15eea140d991 qla2xxx: Allow vref count to timeout on vport delete.
f7c1a6ec45d6 metag/ptrace: Reject partial NT_METAG_RPIPE writes
400763ea4357 metag/ptrace: Provide default TXSTATUS for short NT_PRSTATUS
3e0a29e1b6c6 metag/ptrace: Preserve previous registers for short regset write
fc1ff8342c66 sparc/ptrace: Preserve previous registers for short regset write
d1b2aeaa4bcd mips/ptrace: Preserve previous registers for short regset write
53adbfdf3133 h8300/ptrace: Fix incorrect register transfer count
ff7ff50d9c07 c6x/ptrace: Remove useless PTRACE_SETREGSET implementation
90a1cbf54eb6 pinctrl: qcom: Don't clear status bit on irq_unmask
d4a3eba0eb0f virtio_balloon: init 1st buffer in stats vq
71a434f7c9b8 KVM: x86: cleanup the page tracking SRCU instance
737f7378c7e9 KVM: nVMX: Fix nested VPID vmx exec control
843e5b6c801a xfrm_user: validate XFRM_MSG_NEWAE incoming ESN size harder
ffcf5de81520 xfrm_user: validate XFRM_MSG_NEWAE XFRMA_REPLAY_ESN_VAL replay_window
58333eaf3123 xfrm: policy: init locks early
55db23d3a51e Linux 4.10.7
0dad3de86825 crypto: algif_hash - avoid zero-sized array
f9955dcaceae fbcon: Fix vc attr at deinit
2a3241044b1c drm: reference count event->completion
597584832d0c xen: do not re-use pirq number cached in pci device msi msg data
535693055d2a cpuidle: Validate cpu_dev in cpuidle_add_sysfs()
a27142e6d0eb scsi: sd: Check for unaligned partial completion
66c0812889de device-dax: fix pmd/pte fault fallback handling
96aa12df2410 libceph: don't set weight to IN when OSD is destroyed
8b38e3191816 mmc: block: Fix is_waiting_last_req set incorrectly
f2a9bf4d93df Drivers: hv: vmbus: Don't leak memory when a channel is rescinded
840065777b4d Drivers: hv: vmbus: Don't leak channel ids
f8dd767b84e2 intel_th: Don't leak module refcount on failure to activate
7bf105ac9277 jbd2: don't leak memory if setting up journal fails
8668c61ba509 auxdisplay: img-ascii-lcd: add missing sentinel entry in img_ascii_lcd_matches
67dfc0850f71 drm/amd/amdgpu: add POLARIS12 PCI ID
a7a14362e278 drm/amdgpu: reinstate oland workaround for sclk
51d3848c10b3 cpsw/netcp: cpts depends on posix_timers
16379a79ee45 blk-mq: don't complete un-started request in timeout handler
fee328fee946 cgroup, net_cls: iterate the fds of only the tasks which are being migrated
3742b9a08682 cpufreq: Restore policy min/max limits on CPU online
fc0af2511915 arm64: kaslr: Fix up the kernel image alignment
f464f86d8b8d ARM: at91: pm: cpu_idle: switch DDR to power-down mode
166fdccc86a5 Revert "ARM: at91/dt: sama5d2: Use new compatible for ohci node"
514e122cf8d0 iommu/exynos: Workaround FLPD cache flush issues for SYSMMU v5
03d92bd5b426 iommu/exynos: Block SYSMMU while invalidating FLPD cache
b7d02d90d03a iommu/vt-d: Fix NULL pointer dereference in device_to_iommu
fa477d804fd3 xen/acpi: upload PM state from init-domain to Xen
8b0219e35b43 vfio: Rework group release notifier warning
0d05871e5e43 fscrypt: remove broken support for detecting keyring key revocation
f115bf08b7d2 crypto: ccp - Assign DMA commands to the channel's CCP
c62625b6b383 ath10k: fix incorrect wlan_mac_base in qca6174_regs
2f69745c309c mwifiex: pcie: don't leak DMA buffers when removing
ad3b48d36e0d clk: sunxi-ng: mp: Adjust parent rate for pre-dividers
9300e322b68d clk: sunxi-ng: sun6i: Fix enable bit offset for hdmi-ddc module clock
76b5eb51114a hwrng: geode - Revert managed API changes
9b35f163f7fe hwrng: amd - Revert managed API changes
ce6c155ada08 mmc: sdhci-pci: Do not disable interrupts in sdhci_intel_set_power
f89c8a5007b2 mmc: sdhci: Do not disable interrupts while waiting for clock
b821a0a5fde9 mmc: sdhci-of-arasan: fix incorrect timeout clock
116418547216 mmc: sdhci-of-at91: Support external regulators
a0c48115cd23 audit: fix auditd/kernel connection state tracking
72c89fa6106a powerpc/64s: Fix idle wakeup potential to clobber registers
35637b59f675 ext4: lock the xattr block before checksuming it
26512e52106d ext4: mark inode dirty after converting inline directory
762602796be6 ppdev: fix registering same device name
f8155f4e6368 parport: fix attempt to write duplicate procfiles
c3a22b5f4339 mei: don't wait for os version message reply
0dc119af06a5 mei: fix deadlock on mei reset
bf1aedff42b2 iio: magnetometer: ak8974: remove incorrect __exit markups
6c2aab07d124 iio: hid-sensor-trigger: Change get poll value function order to avoid sensor properties losing after resume from S3
9323d92a280b iio: sw-device: Fix config group initialization
a12d1eadd0d1 iio: adc: ti_am335x_adc: fix fifo overrun recovery
f4004c87c8c6 mmc: core: Fix access to HS400-ES devices
a56eba20b447 nl80211: fix dumpit error path RTNL deadlocks
f876c1039440 mmc: ushc: fix NULL-deref at probe
90c2bb66e98e uwb: hwa-rc: fix NULL-deref at probe
05393ccea6e3 uwb: i1480-dfu: fix NULL-deref at probe
bb486e80a13f USB: usbtmc: fix probe error path
ad1bbccdf018 USB: usbtmc: add missing endpoint sanity check
9ec0027442cb usb: hub: Fix crash after failure to read BOS descriptor
9eae384ab967 usb: musb: cppi41: don't check early-TX-interrupt for Isoch transfer
a769fe27a7cf USB: wusbcore: fix NULL-deref at probe
bcf394acf736 USB: idmouse: fix NULL-deref at probe
f615aa74026f USB: lvtest: fix NULL-deref at probe
0918c32f09dd USB: uss720: fix NULL-deref at probe
dfdd59a3ec07 usb-core: Add LINEAR_FRAME_INTR_BINTERVAL USB quirk
aacb73b7ae2f dvb-usb-firmware: don't do DMA on stack
f1b221121b16 usb: gadget: f_uvc: Fix SuperSpeed companion descriptor's wBytesPerInterval
c37fcc17bf36 ACM gadget: fix endianness in notifications
7cdfdddb2e61 USB: serial: qcserial: add Dell DW5811e
b1849b029cc1 USB: serial: option: add Quectel UC15, UC20, EC21, and EC25 modems
37e91f5d0105 ALSA: hda - Adding a group of pin definition to fix headset problem
0b7e15f1a165 ALSA: ctxfi: Fix the incorrect check of dma_set_mask() call
4c381c7affcb ALSA: seq: Fix racy cell insertions during snd_seq_pool_done()
9ccad2dfe28c Input: sur40 - validate number of endpoints before using them
fb50058c7970 Input: kbtab - validate number of endpoints before using them
865b020ff2a1 Input: cm109 - validate number of endpoints before using them
69cbb678881a Input: yealink - validate number of endpoints before using them
e8861cb37faf Input: hanwang - validate number of endpoints before using them
9318ae922a52 Input: ims-pcu - validate number of endpoints before using them
ed6a66dc2f7a Input: iforce - validate number of endpoints before using them
b5157d07935b Input: i8042 - add noloop quirk for Dell Embedded Box PC 3000
f1d4be3d754c Input: elan_i2c - add ASUS EeeBook X205TA special touchpad fw
b87dd1d7dacc Input: ALPS - fix trackstick button handling on V8 devices
0186e6a4e501 Input: ALPS - fix V8+ protocol handling (73 03 28)
00ca1a71292c HID: sony: Fix input device leak when connecting a DS4 twice using USB/BT
de93e41f7734 net: solve a NAPI race
a1fd7338b43e amd-xgbe: Fix the ECC-related bit position definitions
d3add547afd3 tcp: initialize icsk_ack.lrcvtime at session start time
a3639645a94b genetlink: fix counting regression on ctrl_dumpfamily()
aaa31c62f737 socket, bpf: fix sk_filter use after free in sk_clone_lock
1880e1308e9d ipv4: provide stronger user input validation in nl_fib_input()
212508f709ab net: bcmgenet: remove bcmgenet_internal_phy_setup()
30b72691dbca ipv6: make sure to initialize sockc.tsflags before first use
4162e85c7134 net/mlx5e: Count LRO packets correctly
4ec387a74cdc net/mlx5e: Count GSO packets correctly
345aad1f4602 net/mlx5: Increase number of max QPs in default profile
458034b72f35 net/mlx5e: Avoid supporting udp tunnel port ndo for VF reps
daa6e01308ad net/mlx5e: Use the proper UAPI values when offloading TC vlan actions
b709b83ea5ec net/mlx5: E-Switch, Don't allow changing inline mode when flows are configured
402073e7e39a net/mlx5e: Change the TC offload rule add/del code path to be per NIC or E-Switch
5e96d44bbdd4 net/mlx5: Add missing entries for set/query rate limit commands
eccc68710eff net: vrf: Reset rt6i_idev in local dst after put
29323e2def48 qmi_wwan: add Dell DW5811e
4f320b855b8a net: unix: properly re-increment inflight counter of GC discarded candidates
d965848569f9 openvswitch: Add missing case OVS_TUNNEL_KEY_ATTR_PAD
ae9d577f3dbb amd-xgbe: Fix jumbo MTU processing on newer hardware
5dd697af3014 net: properly release sk_frag.page
200caa0be5d2 net: bcmgenet: Do not suspend PHY if Wake-on-LAN is enabled
3c9f2c656aca net/openvswitch: Set the ipv6 source tunnel key address attribute correctly
df6ed56f4352 Linux 4.10.6
dcb196787cd9 drm/amdgpu/si: add dpm quirk for Oland
9ec87191ecee cgroup/pids: remove spurious suspicious RCU usage warning
db79c1978953 percpu: acquire pcpu_lock when updating pcpu_nr_empty_pop_pages
a69813714424 gfs2: Avoid alignment hole in struct lm_lockname
d369c16ffb46 isdn/gigaset: fix NULL-deref at probe
169c4019c7be target: Fix VERIFY_16 handling in sbc_parse_cdb
4a657746c52a scsi: mpt3sas: Avoid sleeping in interrupt context
d4700e2050df scsi: libiscsi: add lock around task lists to fix list corruption regression
5b769ee1ff5f scsi: lpfc: Add shutdown method for kexec
a62438951a61 target/pscsi: Fix TYPE_TAPE + TYPE_MEDIMUM_CHANGER export
11de2d238d6f md/raid1/10: fix potential deadlock
a42f27d91de7 hwrng: omap - Do not access INTMASK_REG on EIP76
65eb69be1999 hwrng: omap - use devm_clk_get() instead of of_clk_get()
48207bda7d79 hwrng: omap - write registers after enabling the clock
fd6fb9243d56 powerpc/boot: Fix zImage TOC alignment
602ef5c5b0c5 cpufreq: Fix and clean up show_cpuinfo_cur_freq()
84f16bb39c77 NFS prevent double free in async nfs4_exchange_id
a3c7894422c9 xprtrdma: Squelch kbuild sparse complaint
3e037a0fe0b6 md/r5cache: fix set_syndrome_sources() for data in cache
2fe91a8e5fd3 perf/core: Fix event inheritance on fork()
b1769d8402f2 perf/core: Fix use-after-free in perf_release()
f194549ebe65 parisc: Fix system shutdown halt
f81a9940e5ad parisc: support R_PARISC_SECREL32 relocation in modules
13ad0be78574 parisc: Optimize flush_kernel_vmap_range and invalidate_kernel_vmap_range
13b178142b19 qla2xxx: Fix request queue corruption.
b7306a2e2f62 qla2xxx: Fix memory leak for abts processing
afd4fdd0da49 give up on gcc ilog2() constant optimizations
(From OE-Core rev: 5674ca07a98f404156afa9c0f01e9469a8fb7fdc)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating to the korg -stable release, with the following shortlog
summary:
37feaf8095d3 Linux 4.9.21
02b23e059a9d nvme/pci: Disable on removal when disconnected
a5e39a7f2985 nvme/core: Fix race kicking freed request_queue
eb8c62a3848e padata: avoid race in reordering
5959cded91e3 blk: Ensure users for current->bio_list can see the full list.
d5986e0078f2 blk: improve order of bio handling in generic_make_request()
e3a55294fc20 mm: workingset: fix premature shadow node shrinking with cgroups
362721c4957d MIPS: Lantiq: Fix cascaded IRQ setup
1b442f9bdf9a ARM: dts: BCM5301X: Correct GIC_PPI interrupt flags
c1716f0c35cc qla2xxx: Allow vref count to timeout on vport delete.
5ed56ca86f96 ARM: BCM5301X: Add back handler ignoring external imprecise aborts
40c5b99f8ace mm, hugetlb: use pte_present() instead of pmd_present() in follow_huge_pmd()
b5707920e4d8 mm: rmap: fix huge file mmap accounting in the memcg stats
673dfb6d1bb4 lib/syscall: Clear return values when no stack
af5ef6dafea0 x86/mce: Fix copy/paste error in exception table entries
2211d19ac6dd x86/mm/KASLR: Exclude EFI region from KASLR VA space randomization
4366c7e346ce drm/etnaviv: (re-)protect fence allocation with GPU mutex
6acf52070857 drm/vc4: Allocate the right amount of space for boot-time CRTC state.
fa68e1d3cecc drm/radeon: Override fpfn for all VRAM placements in radeon_evict_flags
1563625c717c KVM: kvm_io_bus_unregister_dev() should never fail
ef46a13b9c4e KVM: x86: clear bus pointer when destroyed
5289f1ce39a7 serial: mxs-auart: Fix baudrate calculation
67e41b1368b1 USB: fix linked-list corruption in rh_call_control()
1f1c9e29651d tty/serial: atmel: fix TX path in atmel_console_write()
e087ae68e87b tty/serial: atmel: fix race condition (TX+DMA)
b3641939b1ae ACPI: Do not create a platform_device for IOAPIC/IOxAPIC
000d2bb6c059 ACPI: Fix incompatibility with mcount-based function graph tracing
76343bfbcafa parisc: Fix access fault handling in pa_memcpy()
99e354a59ac5 parisc: Avoid stalled CPU warnings after system shutdown
09b931fcb87c parisc: Clean up fixup routines for get_user()/put_user()
3967cf7e6a91 nfsd: map the ENOKEY to nfserr_perm for avoiding warning
461bbb90942a NFSv4.1 fix infinite loop on IO BAD_STATEID error
80df2b3e185e mmc: sdhci-of-at91: fix MMC_DDR_52 timing selection
fa3b4f4f574a mmc: sdhci: Disable runtime pm when the sdio_irq is enabled
8d6c33224261 HID: wacom: Don't add ghost interface as shared data
e5a134739151 ASoC: Intel: Skylake: fix invalid memory access due to wrong reference of pointer
7a042a4eeb8d ASoC: atmel-classd: fix audio clock rate
8aabccdc9d4f ALSA: hda - fix a problem for lineout on a Dell AIO machine
74a2c1ff88a4 ALSA: seq: Fix race during FIFO resize
0dd5b335ed69 PCI: iproc: Save host bridge window resource in struct iproc_pcie
8f9155989f12 scsi: scsi_dh_alua: Ensure that alua_activate() calls the completion function
68b275b7cbf0 scsi: scsi_dh_alua: Check scsi_device_get() return value
cf31d6d21559 scsi: libsas: fix ata xfer length
c2a869527865 scsi: sg: check length passed to SG_NEXT_CMD_LEN
d5dbd1c95920 xfs: try any AG when allocating the first btree block when reflinking
da617af8f0c6 xfs: use iomap new flag for newly allocated delalloc blocks
77aedb0cbe6a xfs: Use xfs_icluster_size_fsb() to calculate inode alignment mask
d07b5855ab7f xfs: fix and streamline error handling in xfs_end_io
3b83a02af271 xfs: only reclaim unwritten COW extents periodically
a24029369433 xfs: tune down agno asserts in the bmap code
9559c48c1a7d xfs: Use xfs_icluster_size_fsb() to calculate inode chunk alignment
5db7b41b607d xfs: don't reserve blocks for right shift transactions
e5e2e56fd4dd xfs: fix uninitialized variable in _reflink_convert_cow
c251c6c2dec9 xfs: split indlen reservations fairly when under reserved
2d7c1c7ffafd xfs: handle indlen shortage on delalloc extent merge
47d7d1ea6c5f xfs: don't fail xfs_extent_busy allocation
5bbf5ba693ac xfs: reject all unaligned direct writes to reflinked files
67eb7bf836af xfs: update ctime and mtime on clone destinatation inodes
e060f4884c93 xfs: reset b_first_retry_time when clear the retry status of xfs_buf_t
e02f0ff252f2 xfs: mark speculative prealloc CoW fork extents unwritten
8370826f7d32 xfs: allow unwritten extents in the CoW fork
3d2bd2fd5cba xfs: verify free block header fields
4056a74aafba xfs: check for obviously bad level values in the bmbt root
efab3ae29c15 xfs: filter out obviously bad btree pointers
7e2dd1fb7102 xfs: fail _dir_open when readahead fails
0a6844abacc1 xfs: fix toctou race when locking an inode to access the data map
4127a5d9fb89 xfs: fix eofblocks race with file extending async dio writes
4d725d7474df xfs: sync eofblocks scans under iolock are livelock prone
798b1dc5cbdf xfs: pull up iolock from xfs_free_eofblocks()
08a2a2681682 xfs: use per-AG reservations for the finobt
9be1c33d4a99 xfs: only update mount/resv fields on success in __xfs_ag_resv_init
8b08aec62c24 xen/setup: Don't relocate p2m over existing one
860153772461 libceph: force GFP_NOIO for socket allocations
f67677274670 Linux 4.9.20
1dc3a068cc11 usb: musb: fix possible spinlock deadlock
916c5cfeab40 sched/rt: Add a missing rescheduling point
2984e52c75c6 fscrypt: remove broken support for detecting keyring key revocation
21c95eca627b metag/ptrace: Reject partial NT_METAG_RPIPE writes
2d6532ceb45b metag/ptrace: Provide default TXSTATUS for short NT_PRSTATUS
2739b4874165 metag/ptrace: Preserve previous registers for short regset write
84b94c4356c6 sparc/ptrace: Preserve previous registers for short regset write
0ba34c87f7ce mips/ptrace: Preserve previous registers for short regset write
616fe993f410 h8300/ptrace: Fix incorrect register transfer count
d77bd2d6a478 c6x/ptrace: Remove useless PTRACE_SETREGSET implementation
dd6054234bd8 pinctrl: qcom: Don't clear status bit on irq_unmask
b82b2f930c2b virtio_balloon: init 1st buffer in stats vq
3e8c6bd9dbc4 KVM: x86: cleanup the page tracking SRCU instance
79191ea36dc9 xfrm_user: validate XFRM_MSG_NEWAE incoming ESN size harder
64a5465799ee xfrm_user: validate XFRM_MSG_NEWAE XFRMA_REPLAY_ESN_VAL replay_window
f68a09c7944e xfrm: policy: init locks early
c8e131605de2 Linux 4.9.19
bc959a402d1e crypto: algif_hash - avoid zero-sized array
3fd37725c4e0 fbcon: Fix vc attr at deinit
c75fe7899538 drm: reference count event->completion
56769e7a0526 nl80211: fix dumpit error path RTNL deadlocks
7b3c8b2a2e63 drm/bridge: analogix dp: Fix runtime PM state on driver bind
eae72468c45d device-dax: fix pmd/pte fault fallback handling
81ec3dc1de0a libceph: don't set weight to IN when OSD is destroyed
df1fe6c9ad48 Drivers: hv: vmbus: Don't leak memory when a channel is rescinded
b1f6b0a5a066 Drivers: hv: vmbus: Don't leak channel ids
3076066bb507 intel_th: Don't leak module refcount on failure to activate
b176a6eed370 jbd2: don't leak memory if setting up journal fails
90f39ad2ce94 auxdisplay: img-ascii-lcd: add missing sentinel entry in img_ascii_lcd_matches
9740abe0fd18 drm/amdgpu: reinstate oland workaround for sclk
21d17f1b53ce blk-mq: don't complete un-started request in timeout handler
62f6341c858b cgroup, net_cls: iterate the fds of only the tasks which are being migrated
f565084692d6 cpufreq: Restore policy min/max limits on CPU online
b9ed800f7188 arm64: kaslr: Fix up the kernel image alignment
2ab97521ce11 ARM: at91: pm: cpu_idle: switch DDR to power-down mode
ca5477ad190b Revert "ARM: at91/dt: sama5d2: Use new compatible for ohci node"
352c0214b7f2 iommu/vt-d: Fix NULL pointer dereference in device_to_iommu
bc63212d2271 xen/acpi: upload PM state from init-domain to Xen
b1ef9daa50cc crypto: ccp - Assign DMA commands to the channel's CCP
cb6e07ba5878 mwifiex: pcie: don't leak DMA buffers when removing
35ef543eb372 clk: sunxi-ng: mp: Adjust parent rate for pre-dividers
867f7804ce65 clk: sunxi-ng: sun6i: Fix enable bit offset for hdmi-ddc module clock
c445f9969641 hwrng: geode - Revert managed API changes
5d6f7b36111d hwrng: amd - Revert managed API changes
0d69a8804134 mmc: sdhci-pci: Do not disable interrupts in sdhci_intel_set_power
b43ba21b3523 mmc: sdhci: Do not disable interrupts while waiting for clock
2ab2e879110b mmc: sdhci-of-arasan: fix incorrect timeout clock
ace22e6fdb4f mmc: sdhci-of-at91: Support external regulators
1e360905f61f powerpc/64s: Fix idle wakeup potential to clobber registers
9a9dc3ec7ce1 ext4: lock the xattr block before checksuming it
f572ba9a7138 ext4: mark inode dirty after converting inline directory
0f29bcfdcf68 parport: fix attempt to write duplicate procfiles
1e6b50335012 iio: magnetometer: ak8974: remove incorrect __exit markups
9808ff151781 iio: hid-sensor-trigger: Change get poll value function order to avoid sensor properties losing after resume from S3
cf43d679ccc5 iio: sw-device: Fix config group initialization
ec271b0e05b2 iio: adc: ti_am335x_adc: fix fifo overrun recovery
dfcacd07bf06 mmc: ushc: fix NULL-deref at probe
2e7486a05b81 uwb: hwa-rc: fix NULL-deref at probe
f01c54fe0a8f uwb: i1480-dfu: fix NULL-deref at probe
5e50afb2273c USB: usbtmc: fix probe error path
73c4e2ede5a9 USB: usbtmc: add missing endpoint sanity check
4e615886770a usb: hub: Fix crash after failure to read BOS descriptor
51a3f3ec531a usb: musb: cppi41: don't check early-TX-interrupt for Isoch transfer
46aeeb2ac18a USB: wusbcore: fix NULL-deref at probe
a4887ea588e9 USB: idmouse: fix NULL-deref at probe
21e0621e3cd7 USB: lvtest: fix NULL-deref at probe
e4942716bb78 USB: uss720: fix NULL-deref at probe
222ccd4f837b usb-core: Add LINEAR_FRAME_INTR_BINTERVAL USB quirk
d8ec35ad8b36 usb: gadget: f_uvc: Fix SuperSpeed companion descriptor's wBytesPerInterval
ff8d97a822c6 ACM gadget: fix endianness in notifications
381420a46ae5 USB: serial: qcserial: add Dell DW5811e
21586e4dcc9b USB: serial: option: add Quectel UC15, UC20, EC21, and EC25 modems
0fe8771373c2 ALSA: hda - Adding a group of pin definition to fix headset problem
e800ff1fade6 ALSA: ctxfi: Fix the incorrect check of dma_set_mask() call
ca79952dfc63 ALSA: seq: Fix racy cell insertions during snd_seq_pool_done()
425823646eae Input: sur40 - validate number of endpoints before using them
b1feb4e5aab4 Input: kbtab - validate number of endpoints before using them
83d920e464fa Input: cm109 - validate number of endpoints before using them
9f6a8dca9874 Input: yealink - validate number of endpoints before using them
d9a3e6424e61 Input: hanwang - validate number of endpoints before using them
1f5a512844a8 Input: ims-pcu - validate number of endpoints before using them
0afac79f6696 Input: iforce - validate number of endpoints before using them
de2ba8081e6d Input: i8042 - add noloop quirk for Dell Embedded Box PC 3000
3c9da7cfb7cf Input: elan_i2c - add ASUS EeeBook X205TA special touchpad fw
4ccef6bd3a02 Input: ALPS - fix trackstick button handling on V8 devices
81643d000315 Input: ALPS - fix V8+ protocol handling (73 03 28)
9e13bcef2469 tcp: initialize icsk_ack.lrcvtime at session start time
a53ea6051c7f socket, bpf: fix sk_filter use after free in sk_clone_lock
62e85fe59072 ipv4: provide stronger user input validation in nl_fib_input()
2f94dd54cfe6 net: bcmgenet: remove bcmgenet_internal_phy_setup()
d80caeb9b86d ipv6: make sure to initialize sockc.tsflags before first use
c87ef8734d25 net/mlx5e: Count LRO packets correctly
36bb24fadbaa net/mlx5e: Count GSO packets correctly
0ceb7181e876 net/mlx5: Increase number of max QPs in default profile
38d23e13ba07 net/mlx5e: Use the proper UAPI values when offloading TC vlan actions
f375f73c720b net/mlx5: Add missing entries for set/query rate limit commands
4e7c821b6862 net: vrf: Reset rt6i_idev in local dst after put
4b9b7f17bab1 qmi_wwan: add Dell DW5811e
91ad0c0885c8 net: unix: properly re-increment inflight counter of GC discarded candidates
ef7c1e297d44 openvswitch: Add missing case OVS_TUNNEL_KEY_ATTR_PAD
fafc9555d87a amd-xgbe: Fix jumbo MTU processing on newer hardware
e9c1b1ab1225 net: properly release sk_frag.page
4d5bc781eb2c net: bcmgenet: Do not suspend PHY if Wake-on-LAN is enabled
03e9554ac48f net/openvswitch: Set the ipv6 source tunnel key address attribute correctly
2a486264b736 Linux 4.9.18
c2eeabe94145 ext4: fix fencepost in s_first_meta_bg validation
dea2f1e0c5e9 drm/amdgpu/si: add dpm quirk for Oland
228514bf2430 cgroup/pids: remove spurious suspicious RCU usage warning
3f406ecddf8a percpu: acquire pcpu_lock when updating pcpu_nr_empty_pop_pages
a33e71c5f0cb gfs2: Avoid alignment hole in struct lm_lockname
c795d8780cc8 isdn/gigaset: fix NULL-deref at probe
033850b95300 target: Fix VERIFY_16 handling in sbc_parse_cdb
de1ff848c74f scsi: libiscsi: add lock around task lists to fix list corruption regression
42ba2c265b08 scsi: lpfc: Add shutdown method for kexec
f8e24eab9bcd target/pscsi: Fix TYPE_TAPE + TYPE_MEDIMUM_CHANGER export
ad5166415ff3 md/raid1/10: fix potential deadlock
4265e0b487da powerpc/boot: Fix zImage TOC alignment
bb8c61ad784d cpufreq: Fix and clean up show_cpuinfo_cur_freq()
b76d4fb2d944 NFS prevent double free in async nfs4_exchange_id
87144ec25091 xprtrdma: Squelch kbuild sparse complaint
69efd8e21246 perf/core: Fix event inheritance on fork()
c04a938229e7 perf/core: Fix use-after-free in perf_release()
13695ce5b102 parisc: Fix system shutdown halt
a690a42ae7b9 parisc: Optimize flush_kernel_vmap_range and invalidate_kernel_vmap_range
66e70bdca599 qla2xxx: Fix request queue corruption.
c5ad350d6144 qla2xxx: Fix memory leak for abts processing
85f687708c81 give up on gcc ilog2() constant optimizations
2bbcbc24474e drm/vc4: Use runtime autosuspend to avoid thrashing V3D power state.
dd0b0e22a588 drm/vc4: Fix termination of the initial scan for branch targets.
(From OE-Core rev: d42d49cfed9ab7afbf6aceaa4547cece9564c75e)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating to the korg stable relase with the following shortlog summary:
8f8ee9706b0a Linux 4.4.60
84bd21a708b8 padata: avoid race in reordering
5cca175b6cda blk: Ensure users for current->bio_list can see the full list.
2cbd78f4239b blk: improve order of bio handling in generic_make_request()
063d30f187f5 power: reset: at91-poweroff: timely shutdown LPDDR memories
42462d23e60b KVM: kvm_io_bus_unregister_dev() should never fail
3a1246b46df5 rtc: s35390a: improve irq handling
a55ae9d1937b rtc: s35390a: implement reset routine as suggested by the reference
fdd4bc9313e5 rtc: s35390a: make sure all members in the output are set
b3ed3864912e rtc: s35390a: fix reading out alarm
6280ac931a23 MIPS: Lantiq: Fix cascaded IRQ setup
47e2fe17d14d mm, hugetlb: use pte_present() instead of pmd_present() in follow_huge_pmd()
ef55c3df5dbd drm/radeon: Override fpfn for all VRAM placements in radeon_evict_flags
3eb392056aeb KVM: x86: clear bus pointer when destroyed
eac3ab3e6915 USB: fix linked-list corruption in rh_call_control()
0a1757cfa5ba tty/serial: atmel: fix TX path in atmel_console_write()
74b8fc017d76 tty/serial: atmel: fix race condition (TX+DMA)
566a8711a7dd ACPI: Do not create a platform_device for IOAPIC/IOxAPIC
3342857ac074 ACPI: Fix incompatibility with mcount-based function graph tracing
ab48ab614b8c ASoC: atmel-classd: fix audio clock rate
ce3dcfdbff04 ALSA: hda - fix a problem for lineout on a Dell AIO machine
a90d7447e4a1 ALSA: seq: Fix race during FIFO resize
75a03869c93a scsi: libsas: fix ata xfer length
a92f411914ca scsi: sg: check length passed to SG_NEXT_CMD_LEN
18639c4bad72 scsi: mpt3sas: fix hang on ata passthrough commands
1eed198ce16b xen/setup: Don't relocate p2m over existing one
ba46d8fab00a libceph: force GFP_NOIO for socket allocations
61a4577c9a44 Linux 4.4.59
2bed5987692c sched/rt: Add a missing rescheduling point
7a5202190810 fscrypt: remove broken support for detecting keyring key revocation
573341eba9c4 metag/ptrace: Reject partial NT_METAG_RPIPE writes
e441102d8c07 metag/ptrace: Provide default TXSTATUS for short NT_PRSTATUS
2d9bc3695012 metag/ptrace: Preserve previous registers for short regset write
962b95a88574 sparc/ptrace: Preserve previous registers for short regset write
c8693666856c mips/ptrace: Preserve previous registers for short regset write
e1dc8904b33b h8300/ptrace: Fix incorrect register transfer count
6e174bbd0631 c6x/ptrace: Remove useless PTRACE_SETREGSET implementation
800791e7e0fd pinctrl: qcom: Don't clear status bit on irq_unmask
927d04793f8a virtio_balloon: init 1st buffer in stats vq
22c9e7c092f6 xfrm_user: validate XFRM_MSG_NEWAE incoming ESN size harder
cce7e56dd73f xfrm_user: validate XFRM_MSG_NEWAE XFRMA_REPLAY_ESN_VAL replay_window
a9a76a3e318e xfrm: policy: init locks early
0a5766a6a73b Linux 4.4.58
f8a62dbc7902 crypto: algif_hash - avoid zero-sized array
540d6d756ff8 fbcon: Fix vc attr at deinit
ac601978a2aa serial: 8250_pci: Detach low-level driver during PCI error recovery
b8687d83b34c ACPI / blacklist: Make Dell Latitude 3350 ethernet work
d3607fc2976e ACPI / blacklist: add _REV quirks for Dell Precision 5520 and 3520
4e2c66bb6658 uvcvideo: uvc_scan_fallback() for webcams with broken chain
ce5494107946 s390/zcrypt: Introduce CEX6 toleration
7023f502c835 block: allow WRITE_SAME commands with the SG_IO ioctl
9fd9e1436380 vfio/spapr: Postpone allocation of userspace version of TCE table
4110080574ac PCI: Do any VF BAR updates before enabling the BARs
bcbdcf48469b PCI: Ignore BAR updates on virtual functions
d4f09ea7e35c PCI: Update BARs using property bits appropriate for type
131f7969048b PCI: Don't update VF BARs while VF memory space is enabled
40a85d68185f PCI: Decouple IORESOURCE_ROM_ENABLE and PCI_ROM_ADDRESS_ENABLE
1278c9f87f11 PCI: Add comments about ROM BAR updating
cef498a2c75a PCI: Remove pci_resource_bar() and pci_iov_resource_bar()
a87693ec42f2 PCI: Separate VF BAR updates from standard BAR updates
e4ce31c0265d x86/hyperv: Handle unknown NMIs on one CPU when unknown_nmi_panic
ca7e3bdc9c7e igb: add i211 to i210 PHY workaround
4db313df4946 igb: Workaround for igb i210 firmware issue
ec52364445a4 xen: do not re-use pirq number cached in pci device msi msg data
6d43e485e006 xfs: clear _XBF_PAGES from buffers when readahead page
f154de03f416 USB: usbtmc: add missing endpoint sanity check
74c8dd066cc0 nl80211: fix dumpit error path RTNL deadlocks
7922c1becb36 xfs: fix up xfs_swap_extent_forks inline extent handling
c4cf86f69597 xfs: don't allow di_size with high bit set
48da8f817b9d libceph: don't set weight to IN when OSD is destroyed
73dd1edf50a6 raid10: increment write counter after bio is split
175039632065 cpufreq: Restore policy min/max limits on CPU online
e1af444e52ce ARM: dts: at91: sama5d2: add dma properties to UART nodes
2705b183263b ARM: at91: pm: cpu_idle: switch DDR to power-down mode
55b6c187cf9d iommu/vt-d: Fix NULL pointer dereference in device_to_iommu
c856b66c8aac xen/acpi: upload PM state from init-domain to Xen
52e40a2fcc39 mmc: sdhci: Do not disable interrupts while waiting for clock
27d9bf096406 ext4: mark inode dirty after converting inline directory
c7d1545c48ff parport: fix attempt to write duplicate procfiles
7413d1f8991e iio: hid-sensor-trigger: Change get poll value function order to avoid sensor properties losing after resume from S3
8f189e1d0eca iio: adc: ti_am335x_adc: fix fifo overrun recovery
dcf879cb9ed3 mmc: ushc: fix NULL-deref at probe
2c251e568e1a uwb: hwa-rc: fix NULL-deref at probe
815321da2e26 uwb: i1480-dfu: fix NULL-deref at probe
14a2032287d4 usb: hub: Fix crash after failure to read BOS descriptor
47285be050ca usb: musb: cppi41: don't check early-TX-interrupt for Isoch transfer
a7cb1fafe429 USB: wusbcore: fix NULL-deref at probe
d6389d6abb8a USB: idmouse: fix NULL-deref at probe
a7712869e2e7 USB: lvtest: fix NULL-deref at probe
73490abe249c USB: uss720: fix NULL-deref at probe
2c929ea720f9 usb-core: Add LINEAR_FRAME_INTR_BINTERVAL USB quirk
8a8a8007871a usb: gadget: f_uvc: Fix SuperSpeed companion descriptor's wBytesPerInterval
19f0fe67b9d0 ACM gadget: fix endianness in notifications
9218793a39de USB: serial: qcserial: add Dell DW5811e
8f0f081647cc USB: serial: option: add Quectel UC15, UC20, EC21, and EC25 modems
1ea551eec703 ALSA: hda - Adding a group of pin definition to fix headset problem
ed00b613bbcb ALSA: ctxfi: Fix the incorrect check of dma_set_mask() call
b55ffcb1bc8a ALSA: seq: Fix racy cell insertions during snd_seq_pool_done()
549993001e7d Input: sur40 - validate number of endpoints before using them
b3c4c0c470b5 Input: kbtab - validate number of endpoints before using them
c05490638ddf Input: cm109 - validate number of endpoints before using them
e916f1d6188e Input: yealink - validate number of endpoints before using them
0812c6855c89 Input: hanwang - validate number of endpoints before using them
6bed7c1e2b78 Input: ims-pcu - validate number of endpoints before using them
a07d3669654a Input: iforce - validate number of endpoints before using them
5f9243e4fca6 Input: i8042 - add noloop quirk for Dell Embedded Box PC 3000
9ac7bd114e13 Input: elan_i2c - add ASUS EeeBook X205TA special touchpad fw
afaed241928f tcp: initialize icsk_ack.lrcvtime at session start time
95aa915c2f04 socket, bpf: fix sk_filter use after free in sk_clone_lock
38dece41e5be ipv4: provide stronger user input validation in nl_fib_input()
85f00dac91a1 net: bcmgenet: remove bcmgenet_internal_phy_setup()
fdcee7c1e2f8 net/mlx5e: Count LRO packets correctly
9d1894cba25c net/mlx5: Increase number of max QPs in default profile
610c6bcc5fcf net: unix: properly re-increment inflight counter of GC discarded candidates
ae43f9360a21 amd-xgbe: Fix jumbo MTU processing on newer hardware
f3126725228c net: properly release sk_frag.page
12f0bffc489d net: bcmgenet: Do not suspend PHY if Wake-on-LAN is enabled
b362d6735156 net/openvswitch: Set the ipv6 source tunnel key address attribute correctly
a5c3f390eb77 Linux 4.4.57
5fa513cb0721 ext4: fix fencepost in s_first_meta_bg validation
d88b83e66bbf percpu: acquire pcpu_lock when updating pcpu_nr_empty_pop_pages
e08f608ab428 gfs2: Avoid alignment hole in struct lm_lockname
4f47ca488256 isdn/gigaset: fix NULL-deref at probe
d267ecbdfdb4 target: Fix VERIFY_16 handling in sbc_parse_cdb
246760c61d9c scsi: libiscsi: add lock around task lists to fix list corruption regression
82bd06aba880 scsi: lpfc: Add shutdown method for kexec
0a621633cdfa target/pscsi: Fix TYPE_TAPE + TYPE_MEDIMUM_CHANGER export
582f548924cd md/raid1/10: fix potential deadlock
b24473976b98 powerpc/boot: Fix zImage TOC alignment
09875d1393d4 cpufreq: Fix and clean up show_cpuinfo_cur_freq()
f02729f2ab87 perf/core: Fix event inheritance on fork()
4cb0c0b73d1c give up on gcc ilog2() constant optimizations
6052eb871217 kernek/fork.c: allocate idle task for a CPU always on its local node
6cc5b73d7969 hv_netvsc: use skb_get_hash() instead of a homegrown implementation
cea050150323 tpm_tis: Use devm_free_irq not free_irq
13a26889cbc1 drm/amdgpu: add missing irq.h include
68ea3948ed3d s390/pci: fix use after free in dma_init
50730d7f361f KVM: PPC: Book3S PR: Fix illegal opcode emulation
e2d9577854f5 xen/qspinlock: Don't kick CPU if IRQ is not initialized
b1a0f744f8e6 Drivers: hv: avoid vfree() on crash
0a2512768f16 Drivers: hv: balloon: don't crash when memory is added in non-sorted order
3787a071d145 pinctrl: cherryview: Do not mask all interrupts in probe
962c66c74184 ACPI / video: skip evaluating _DOD when it does not exist
12e1a3cd11ea cxlflash: Increase cmd_per_lun for better throughput
f8c07cbc2e72 crypto: mcryptd - Fix load failure
10659b8f5c60 crypto: cryptd - Assign statesize properly
c78c3376ec67 crypto: ghash-clmulni - Fix load failure
45d9558837d4 USB: don't free bandwidth_mutex too early
ac1a97d8a562 usb: core: hub: hub_port_init lock controller instead of bus
(From OE-Core rev: 52a6823d4279d580a2b4bbfdc06234a903a17d93)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
On the do_uboot_mkimage task from kernel-uimage.bbclass, in case
KEEPUIMAGE is different than the default "yes" value, the uboot-mkimage
command fails because the path of the created uImage does not exist.
On this task, we are under the BUILDDIR so there is no folder arch/<ARCH>/boot.
Add the ${B} (for kernel build directory) as prefix to this folder fixes the problem.
(From OE-Core rev: e5a6ee0d0655827d06a6030380277ee61a6db0ef)
Signed-off-by: Mylène Josserand <mylene.josserand@free-electrons.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It was found a case (see the bugzilla entry) where two runners were running at the same
second, creating identical test result folders, so one of them (the second runner)
was not able to create the folder because the other has already created it,
raising the following exception (many text was removed from log)
NOTE: Executing RunQueue Tasks
NOTE: Running task 1 of 2 (/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-mips/build/meta/recipes-core/images/core-image-minimal.bb:do_testsdkext)
NOTE: Running task 2 of 2 (/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-mips/build/meta/recipes-sato/images/core-image-sato.bb:do_testsdkext)
NOTE: recipe core-image-sato-1.0-r0: task do_testsdkext: Started
NOTE: recipe core-image-minimal-1.0-r0: task do_testsdkext: Started
.
.
The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_python_func() autogenerated', lineno: 2, function: <module>
0001:
*** 0002:do_testsdkext(d)
0003:
File: '/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-mips/build/meta/classes/testsdk.bbclass', lineno: 188, function: do_testsdkext
0184:
0185:testsdkext_main[vardepsexclude] =+ "BB_ORIGENV"
0186:
0187:python do_testsdkext() {
*** 0188: testsdkext_main(d)
0189:}
0190:addtask testsdkext
0191:do_testsdkext[nostamp] = "1"
0192:
File: '/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-mips/build/meta/classes/testsdk.bbclass', lineno: 171, function: testsdkext_main
0167: except Exception as e:
0168: import traceback
0169: bb.fatal("Loading tests failed:\n%s" % traceback.format_exc())
0170:
*** 0171: result = tc.runTests()
.
.
File: '/usr/lib64/python3.5/os.py', lineno: 241, function: makedirs
0237: cdir = bytes(curdir, 'ASCII')
0238: if tail == cdir: # xxx/newdir/. exists if xxx/newdir exists
0239: return
0240: try:
*** 0241: mkdir(name, mode)
0242: except OSError:
0243: # Cannot rely on checking for EEXIST, since the operating system
0244: # could give priority to other errors like EACCES or EROFS
0245: if not exist_ok or not path.isdir(name):
Exception: FileExistsError: [Errno 17] File exists: '/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-mips/build/build/TestResults_20170409130114'
[YOCTO #11318]
(From OE-Core rev: 10aa09d39c1b70ce2a88f59601f1f8dbc96ed817)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Fixed:
The netmap has been blacklisted in
meta-networking/recipes-kernel/netmap/netmap_git.bb, but lib32-netmap still can
be built (suppose it doesn't depend on another broken recipe netmap-modules, it
is a little complicated, will talk below):
$ bitbake lib32-netmap
This is because of the old code masks on bb.event.ConfigParsed which can only
handle global blacklist, netmap sets blacklist in the recipe, so it can't be
handled, and lib32-netmap can be built. which was incorrect:
blacklist_multilib_eventhandler[eventmask] = "bb.event.ConfigParsed"
Move multilib code into multilib.bbclass can fix the problem easily:
$ bitbake lib32-netmap
ERROR: Nothing PROVIDES 'lib32-netmap'
ERROR: lib32-netmap was skipped: Recipe is blacklisted: BROKEN: <foo>
* Not fixed
Another problem is netmap-modules has also been blacklisted in the recipe, and
the recipe inherits module.bbclass, so multilib.bbclass doesn't handle it as the
code shows:
# There should only be one kernel in multilib configs
# We also skip multilib setup for module packages.
provides = (e.data.getVar("PROVIDES") or "").split()
if "virtual/kernel" in provides or bb.data.inherits_class('module-base', e.data):
raise bb.parse.SkipPackage("We shouldn't have multilib variants for the kernel")
And netmap-modules provides lib32-netmap-modules which is handled in
multilib_global.bbclass, so bitbake lib32-netmap-modules can't show
the blacklist message:
$ bitbake netmap-modules
ERROR: Nothing PROVIDES 'netmap-modules'
ERROR: netmap-modules was skipped: Recipe is blacklisted: BROKEN: <foo>
ERROR: netmap-modules was skipped: We shouldn't have multilib variants for the kernel
$ bitbake lib32-netmap-modules
ERROR: Nothing PROVIDES 'lib32-netmap-modules'. Close matches:
netmap-modules
netmap-modules
lib32-fbset-modes
Note the different messages between netmap-modules and lib32-netmap-modules.
This is because multilib.bbclass doesn't handle the "module" recipe so
there is no PN called lib32-netmap-modules, therefore blacklist.bbclass can't
handle it.
Note, there are two "netmap-modules" which needs to be fixed later.
(From OE-Core rev: c8749ed1edcbb544f6656ee5da80f2cf647c405a)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It is common for *ash shells to have 'command' available as a built-in
function. POSIX 2008 also documents the availability of this command.
Additionally the /etc/profile of base-files requires this command to be
available as of commit e77cdb7611 ("base-files: profile: Do not assume
that the tty command exists"). If it is not available the following
message is output during login on a image using busybox.
-sh: command: not found
It however should be noted that tcsh and csh do not provide 'command'
(built-in or otherwise).
(From OE-Core rev: e41c90b852167bbcb434da57b84280e855acae33)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
"yocto-compat-layer.py --machines" showed that shared packages like
gcc-cross-powerpc64 have a sstate signature that depends on
TUNEFLAGS. As a result, there are unnecessary rebuilds and potential
conflicts in a multiconfig.
That's due to the way how TARGET_ARCH is set. Richard Purdie suggested
setting TARGET_ARCH[vardepvalue] as fix, which works. It would be
shorter to do that in cross.bbclass instead of repeating the relevant
line in different recipes, but Richard was concerned about potential
side-effects in other usages of cross.bbclass.
TARGET_GOARM as used in go.inc is still causing signature differences
for go-cross-powerpc64 and machines b4420qds-64b and p5020ds-64b. This
needs further investigation.
(From OE-Core rev: 39bfa0dd3237cbca47e7fca1075d521f9d073f25)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
gdb-cross used to be specific to the tune flags, but isn't
anymore. Therefore it is enough to use TARGET_SYS instead of
TUNE_PKGARCH to create a unique path.
Fixes a sstate signature difference that was found via
yocto-compat-layer.py's test_machine_signatures check. In practice it
probably showed up as unnecessarily rebuilding gdb-cross when
switching between machines like intel-corei7-64 and qemux86-64.
(From OE-Core rev: f346473a4868563db7fb63665e808c3fe25a8b58)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
libgcc gets compiled differently depending on the tune flags for the
target. That dependency would make go-cross also tune specific and
prevent sharing it between different machines using the same
architecture.
For example, MACHINE=intel-corei7-64 and MACHINE=qemux86-64 shared the
same go-cross-x86_64, but compiled libgcc differently.
The libgcc dependency gets inherited from go.inc, but does not seem to
be necessary for go-cross (compiling go-helloworld still succeeds).
The dependency is left in go.inc conditionally, just in case that it
really is relevant for the various on-target recipes which inherit
that.
Because go-cross*.bb includes go*.bb, moving the DEPENDS into a .inc
file that only gets included for the target recipes doesn't
work. Reshuffling the content of three .bb files seems too intrusive
at this point.
(From OE-Core rev: 58149a7be4172074349951aaf5af95fa40fd4bdb)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream has removed the 1.14.1 release from ftp.gnu.org and
moved to the latest 1.14.2. Since we don't want to upgrade at
this point of time, temporarily move the SRC_URI to yoctoproject
mirror.
(From OE-Core rev: a2f1026b3d8c9f9810cb4389a8a93fabb04e15a4)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There seems to be little advantage to letting distro features affect
native builds. There is a significant disadvantage: a change to
DISTRO_FEATURES will trigger a lot of unnecessary native tasks. In a
test like this:
$ bitbake core-image-minimal
# append " systemd" to DISTRO_FEATURES
$ bitbake core-image-minimal
The latter build takes 44 minutes (28%) of cpu-time less with this
patch (skipping 135 native tasks). Sadly wall clock time was not
affected as glibc remains the bottleneck.
Set native distro features to DISTRO_FEATURES_NATIVE appended with
an intersection of DISTRO_FEATURES and DISTRO_FEATURES_FILTER_NATIVE.
Current default values (baitbake.conf) are
* DISTRO_FEATURES_FILTER_NATIVE ?= "api-documentation" (as gtk-doc-native
has much less dependencies when built without it)
* DISTRO_FEATURES_NATIVE ?= "x11" (to enable native UIs even if target
does not containe them)
Do the variable setting in native_virtclass_handler() because otherwise
it could still be overridden by appends and the feature backfilling.
Shuffle the early returns so DISTRO_FEATURES gets set as long as
the packagename ends with "-native".
Add similar variables for nativesdk.
To make nativesdk work we need to enable the locale options so
nativesdk-glibc-locales can build and to avoid the init manager check
in the nativesdk case so add those fixes.
(From OE-Core rev: 731744d5538e315702be828e6f2bd556309dee07)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This adds repo_name as the name, which is the same as the
repo ID and hence a bit pointless, but it stops dnf from
complaining that the repo doesn't have a configured name.
(From OE-Core rev: c92cff23893e87cfb7ef9f77b16761310104543a)
Signed-off-by: Ian.Arkver <ian.arkver.dev@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previously, runqemu grep root=/dev/sd or root=/dev/hd on the image, and
would use vda if no grep result, now we have set QB_DRIVE_TYPE to
"/dev/sd" by default, and the device will be /dev/sda, so use sda to
replace vda in the test case.
(From OE-Core rev: a722016df3f452f7a870157a99a1abb7d97d8280)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added new parameter 'api' to sparse_copy function to specify
underlying filemap API to use. By default sparse_copy will
try both available APIs.
Added test case for sparse_copy to wic test suite.
(From OE-Core rev: 88701cef6ba399e82f96ed1b0eef9a44ed8c1687)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed when the image is large and not enough memory:
grep: memory exhausted
Aborted
[YOCTO #11073]
(From OE-Core rev: a99deb30a0138594147ae28aab016fe4b74b8959)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To fix a problem when print ERROR after a ptest timeout, this
causes the user confusion about if a test ends or not.
[YOCTO #10842]
(From OE-Core rev: 210c518ba8f8d6ec6e9d34e0df8b963a3b2e0593)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch ensures videometa is added to mem2mem decoder output in case
the output frames have padding rows/columns
(From OE-Core rev: ef94ffee8f11db57ecea398af76dc22576c2068a)
Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(From OE-Core rev: 5acad7f33aebfac4c5a3a68778f5860f954904fe)
Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Dependencies on svn:// urls were failing as the cleandirs on do_fetch was destroying
any sysroot setup by the extend_recipe_sysroot function.
Add code so that if the task do_fetch, we move the cleandirs to a separate function before
the extend_recipe_sysroot prefunc else we'd wipe out the sysroot we just created.
This allows fetcher do_populate_sysroot dependencies to work correctly again.
I did try various other approaches and a seperate function with cleandirs was the
cleanest way to add this without code duplication or too much complexity.
(From OE-Core rev: b32fbfc85b14059f0bfdeeffe2c52f8d3c20f276)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport upstream commit to address vulnerabilities:
CVE: CVE-2017-6965
[BZ 21137] -- https://sourceware.org/bugzilla/show_bug.cgi?id=21137
Fix readelf writing to illegal addresses whilst processing corrupt input
files containing symbol-difference relocations.
PR binutils/21137
* readelf.c (target_specific_reloc_handling): Add end parameter.
Check for buffer overflow before writing relocated values.
(apply_relocations): Pass end to target_specific_reloc_handling.
CVE: CVE-2017-6966
[BZ 21139] -- https://sourceware.org/bugzilla/show_bug.cgi?id=21139
Fix read-after-free error in readelf when processing multiple, relocated
sections in an MSP430 binary.
PR binutils/21139
* readelf.c (target_specific_reloc_handling): Add num_syms
parameter. Check for symbol table overflow before accessing
symbol value. If reloc pointer is NULL, discard all saved state.
(apply_relocations): Pass num_syms to target_specific_reloc_handling.
Call target_specific_reloc_handling with a NULL reloc pointer
after processing all of the relocs.
(From OE-Core rev: 8c52a530ba2beb438aa47956bcec3777a1eafe5f)
Signed-off-by: Yuanjie Huang <yuanjie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Also, they were previously squashed into a single patch; restore
the original two-patch arrangement.
As requested here:
http://lists.openembedded.org/pipermail/openembedded-core/2017-April/135460.html
(From OE-Core rev: 378b333fb09d106fb04901f5a4362fc0eb076e82)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Move config/Makefile in libdir from core package to dev package for
python, because it is only needed in development process.
(From OE-Core rev: 8b55d055f046677c18eeaefe3ca18869eedeb14d)
Signed-off-by: Li Zhou <li.zhou@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was causing a couple of ptest failures.
[YOCTO #10840]
(From OE-Core rev: 2e8e72790d3cc3236b6a785f3e04702e71e1ac3f)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
All build project test cases will try to copy the requested source
artefacts from DL_DIR before fetching. This testcase is referencing bzipped
tarball whereas the recipe fetches a gzipped tarball.
Switch to fetching the gzipped tarball in the test case so that we're able
to use a cached tarball from DL_DIR
(From OE-Core rev: 27a5883e8ae01e69f5425efe8b035bea7087b2f9)
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use the TaskArtifacts event to scan the SDK and ESDK manifests
to cleanly collect the respective artifact files.
The previous method was broken when the SDK file deployment moved
from the do_populate_sdk[_ext] tasks to their sstate tasks. That
method is disabled (but not yet removed) in preparation for the
rest of refactor work for the parent #10283 work.
[YOCTO #10850]
(From OE-Core rev: a6ec56d372f833be50f57bcb79b6ebe78bb93be0)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Save a file per task listing sha256sums for each file staged, i.e.
the output of the task. Some caveats:
1) This only covers sstate tasks since it uses SSTATEPOSTUNPACKFUNCS,
however those are generally the most interesting in terms of output
anyway.
2) The signature is taken before applying any relocations, so any
relocated files will actually have different signatures, but that's
churn that you probably won't want to see here.
3) At the moment if you run the same build twice without sstate you will
very likely see changes in the output for certain tasks due to things
like timestamps being present in the binary output. Fixing that is
a general Linux ecosystem problem - see this page for our efforts to
resolve it on our side:
https://wiki.yoctoproject.org/wiki/Reproducible_Builds
NOTE: you need to set your BUILDHISTORY_FEATURES value to include
"task" to enable collection of these signatures as it is is disabled by
default.
(From OE-Core rev: ca5d1273432e20059ab66d721a9eb314a54e81e7)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Append to the value with appendVarFlag() instead of setting it outright,
so that we can also append to it in other places. Accordingly, this
varflag is pipe-separated (since we want to be able to exclude any
string fragment, in this case including the leading space), thus put a
leading pipe character to play nicely with any existing value.
(From OE-Core rev: a147838c3dfd4c53084a19b052b8d4e183293412)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use the code underpinning bitbake-diffsigs to add an option to
buildhistory-diff to determine and display the differences between the
actual signature inputs, with a twist - we collapse identical
changes across different tasks, showing only the most recent task to
have that difference, meaning that there's less noise to wade through
when you just want to know what changed in order to cause some
rebuilding you're seeing.
(From OE-Core rev: 86cb4b01f2020553902554e512c02147eb4e0f51)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Having added writing out of the task signature list to buildhistory
(when BUILDHISTORY_FEATURES includes "task"), we now need a way to
compare the list. This just shows which tasks have been added / changed
signature / removed.
(From OE-Core rev: 63bd7e9f780a98dda458d612877495756bcc5463)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If we want to determine what changed since the last build, one angle
from which to look at it is to check the signatures. However, if we
don't actually have the signatures from the last build we don't have
anywhere to start. Save the signatures on each build in order to give us
the starting point.
NOTE: you need to set your BUILDHISTORY_FEATURES value to include
"task" to enable collection of these signatures as it is is disabled by
default.
(From OE-Core rev: 11f68f65c46c5bc26ddeeade3021e83b3a7f895a)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* 54807d47 aarch64: add single instruction math functions
* b6e1fe0d fix strptime output for %C without %y
* 834ef7af fix processing of strptime %p format
* 85dfab7e fix off-by-one in strptime %j
* 9571c531 regex: fix newline matching with negated brackets
* e6917ece increase limit on locale name length from 15 to 23 bytes
* e4fc9ad7 search locale name variants for gettext translations
* 16319a5d make setlocale return a single name for LC_ALL if all categories match
* 0c53178e fix dlopen/dlsym regression opening libs already loaded at startup
* dbff2bb8 fix POSIX-format TZ dst transition times for southern hemisphere
* 74bca42e s390x: fix fpreg_t and remove unused per_struct
* a393d5cc precalculate gnu hash rather than doing it lazily in find_sym inner loop
* 8cba1dc4 fix threshold constants in j0f, y0f, j1f, y1f
(From OE-Core rev: 340b3fa6be034bf6a4cd9b2d1ad4788668fabb5b)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
fedorahosted.org was retired on March 1st, 2017. This is to
update the SRC_URI to point to github.com.
Update the ${PN} to ${BPN} in order to pass the autobuilder
mulitlib enable configuration.
[YOCTO #11226]
(From OE-Core rev: 73a358bdef99771b493fefb5114a936138cb78ce)
Signed-off-by: Choong YinThong <yin.thong.choong@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Enabling or disabling buildhistory caused a rebuild of images, which
is undesirable. For example, it prevented image reuse from a main
build with buildhistory in a following oe-selftest where buildhistory
must be disabled.
The reason are the additional ROOTFS_POSTUNINSTALL_COMMAND and
ROOTFS_POSTUNINSTALL_COMMAND entries. Those need to be excluded both
via vardepvalueexclude and vardepsexclude.
(From OE-Core rev: e4c28ea05ef4514deb3d19e8e33f81d352712455)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
By default the feed_archs variable is split into single characters
resulting in very many broken short repo_uris. Add a split() to
split the string into words first.
(From OE-Core rev: 7bd6a4d56c08bf7f9ced7c07327e6163216fee08)
Signed-off-by: Ian.Arkver <ian.arkver.dev@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Gnu-efi needs to be build for 64bit since it is a boot time tool. It
needs these 2 headers to be in 64 bit versions, we can use the existing
32bit ones as there is not really any difference.
[YOCTO #11051]
(From OE-Core rev: 3398552663e1e18aaf352d682a77a8ad3af94e5a)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The method "prioritized" returns a list sorted by the value
of the "priority" field, in descending order. However, if several
list items have the same priority, the ordering of those items
within the priority-sorted list becomes random. As a consequence,
we may end up with a non-deterministic oe-terminal spawning, as several
terminals have the same priority. So running commands such as
$ bitbake xxx -cdevshell
$ bitbake yyy -cmenuconfig
may spawn a different terminal each time, for example sometimes Gnome
and sometimes Konsole as hey have the same priority.
Rather than modifying the priorities so they all differ, we sub-sort
the list based on (terminal) names.
This way we achieve a deterministic outcome.
[YOCTO#10938]
(From OE-Core rev: 82ae62f28dd2d5fb2fb261478ac6161315ac6c38)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There seems to be an issue with the patch, revert for now.
This reverts commit cd5e0a32184d98beb8d81e6b5527166d3ca4fb3c.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Dependencies on svn:// urls were failing as the cleandirs on do_fetch was destroying
any sysroot setup by the extend_recipe_sysroot function.
Add code so that if the task do_fetch, we move the cleandirs to the extend_recipe_sysroot
task else we'd wipe out the sysroot we just created.
This allows fetcher do_populate_sysroot dependencies to work correctly again.
(From OE-Core rev: cd5e0a32184d98beb8d81e6b5527166d3ca4fb3c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This script appears broken and is actively breaking build directories.
For example, binutils-cross-i586 gets run do_fetch to do_populate_sysroot by:
$ oe-selftest -r devtool.DevtoolTests.test_devtool_virtual_kernel_modify
then:
$ oe-selftest -r oescripts.BuildhistoryDiffTests.test_buildhistory_diff
wipes out the contents of tmp/work/x86_64-linux/binutils-cross-i586/2.28-r0/
but does not wipe out the corresponding stamps, then:
$ oe-selftest -r runtime-test.Postinst.test_postinst_rootfs_and_boot
needs binutils-cross-i586:do_populate_lic and if and only if this is
unavailable from sstate, it fails since it thinks the source is already
unpacked when it isn't resulting in:
WARNING: binutils-cross-i586-2.28-r0 do_populate_lic: Could not copy license file /home/pokybuild/yocto-autobuilder/yocto-worker/nigh
tly-oe-selftest/build/build/tmp/work/x86_64-linux/binutils-cross-i586/2.28-r0/git/COPYING3.LIB to /home/pokybuild/yocto-autobuilder/yocto
-worker/nightly-oe-selftest/build/build/tmp/work/x86_64-linux/binutils-cross-i586/2.28-r0/license-destdir/binutils-cross-i586/COPYING3.LI
B: [Errno 2] No such file or directory: '/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/build/tmp/work/x86_64-l
inux/binutils-cross-i586/2.28-r0/git/COPYING3.LIB'
ERROR: binutils-cross-i586-2.28-r0 do_populate_lic: QA Issue: binutils-cross-i586: LIC_FILES_CHKSUM points to an invalid file: /home/
pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/build/tmp/work/x86_64-linux/binutils-cross-i586/2.28-r0/git/COPYING3 [license-checksum]
and similar errors.
Its safer for users to wipe tmp than try and maintain scripts which try
to remove pieces of tmp and get it wrong so remove the script.
(From OE-Core rev: 809b23c829f352c0eae455ea89f53e2a9ee87f06)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
cleanup-workdir isn't a partcularly good way to attempt to cleanup after
tests and in some cases is actively breaking the workdir. Whilst this is
a bug in cleanup-workdir, I'd prefer it didn't break tests, particularly
when as far as I can see, these calls are "belt and braces" and don't appear
to serve a specific purpose. If this introduces bugs, we should fix this
bugs.
For the purposes of history, binutils-cross-i586 gets run do_fetch to
do_populate_sysroot by:
$ oe-selftest -r devtool.DevtoolTests.test_devtool_virtual_kernel_modify
then:
$ oe-selftest -r oescripts.BuildhistoryDiffTests.test_buildhistory_diff
wipes out the contents of tmp/work/x86_64-linux/binutils-cross-i586/2.28-r0/
but does not wipe out the corresponding stamps, then:
$ oe-selftest -r runtime-test.Postinst.test_postinst_rootfs_and_boot
needs binutils-cross-i586:do_populate_lic and if and only if this is
unavailable from sstate, it fails since it thinks the source is already
unpacked when it isn't resulting in:
WARNING: binutils-cross-i586-2.28-r0 do_populate_lic: Could not copy license file /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/build/tmp/work/x86_64-linux/binutils-cross-i586/2.28-r0/git/COPYING3.LIB to /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/build/tmp/work/x86_64-linux/binutils-cross-i586/2.28-r0/license-destdir/binutils-cross-i586/COPYING3.LIB: [Errno 2] No such file or directory: '/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/build/tmp/work/x86_64-linux/binutils-cross-i586/2.28-r0/git/COPYING3.LIB'
ERROR: binutils-cross-i586-2.28-r0 do_populate_lic: QA Issue: binutils-cross-i586: LIC_FILES_CHKSUM points to an invalid file: /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/build/tmp/work/x86_64-linux/binutils-cross-i586/2.28-r0/git/COPYING3 [license-checksum]
and similar errors.
(From OE-Core rev: a66857096df3f68d38271b3a6792150f009a54b1)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The python-pycurl recipe can be used with python2 only even
though python3 is officially supported by upstream.
Create python3-pycurl recipe enabling the pycurl module for
python3.
(From OE-Core rev: 6cb9c0a4e75c647b38c81d2d7217b54b2fdfd972)
Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some distros (ubuntu 16.10, debian-testing) default to gcc configured with
--enable-default-pie (see gcc -v). This breaks e.g. prelink-native on a pie
default system if binutils-native was built on a system which is not pie default
We therefore enable pie unconditionally for native recipes where static libs are
used such as libiberty from binutils, for now, until our minimum distro set is
all default pie.
(From OE-Core rev: 80b450cca746f068dd63e4546fa4c1eef2d86a0d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The --disable-static option doesn't exist in ncurses. Its equivalent is
--without-normal so remove the option which does nothing.
(From OE-Core rev: 974ddd2f99be04f44978c1bce054ed75c9367631)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Yes, the option to disable static libraries in boost really is
"--without-normal". Add this for ncurses and its variants.
(From OE-Core rev: 6b386e444e494b852b59a9f9e80426d564382139)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The intent in these tests was to find something early in the bootstrap
process to run tests against which didn't require long build times.
This breaks with the removal of the glibc-initial do_build target.
Replacing it with linux-libc-headers seems like a good choice
and simplifies the conditionals too.
(From OE-Core rev: c37d610272f9d0a506334ff9f724c025acace137)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some TARGET_* flags are being exported in bitbake.conf currently, so
they are impacting all the tasks of a cross-canadian recipe even they
are not in use at all.
This can lead a lot of churn when the cross-canadian sysroot are shared
by machines while they have defined different TARGET_* flags.
Fix it by overriding with BUILDSDK_* flags.
(From OE-Core rev: 767335c92b7cc657a008722a908380a3c89c3c66)
Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some TARGET_* flags are being exported in bitbake.conf currently, so
they are impacting all the tasks of a nativesdk recipe even they are
not in use at all.
This can lead a lot of churn when the nativesdk sysroot are shared by
machines while they have defined different TARGET_* flags.
Fix it by overriding with BUILDSDK_* flags.
(From OE-Core rev: 85b69a5ec9ba9ea9ebdcd8ac18e1e147ddb1ff33)
Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some TARGET_* flags are being exported in bitbake.conf currently, so
they are impacting all the tasks of a crosssdk recipe even they are
not in use at all.
This can lead a lot of churn when the crosssdk sysroot are shared by
machines while they have defined different TARGET_* flags.
Fix it by overriding with BUILD_* flags.
(From OE-Core rev: 3facbe700a2f28a11620c4954686ed5d5e47a3d9)
Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some TARGET_* flags are being exported in bitbake.conf currently, so
they are impacting all the tasks of a cross recipe even they are not
in use at all.
This can lead a lot of churn when the cross sysroot are shared by
machines while they have defined different TARGET_* flags.
And sometimes it even causes "Taskhash mismatch" errors.
Fix it by overriding with BUILD_* flags.
(From OE-Core rev: 55c83cb239df5faf5e2143fffca47f2f16931cb3)
Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In find_siginfo(), which is used by bitbake-diffsigs among other things,
avoid adding a siginfo file from the sstate-cache where we've already
collected a sigdata file from the stamps directory with the same hash.
This avoids the possibility that the top two files (as picked by default
using the bitbake-diffsigs -t option) are for the same signature and
thus the tool would report no differences. In order to do that, just use
the hashfiles dict that we already have - we just need to change the
code to populate that even if we're collecting matching files without
looking for a fixed set of hashes (i.e. taskhashlist isn't set).
This replaces previous code in bitbake-diffsigs that attempted to filter
these out with limited success.
(From OE-Core rev: 5b69eef40868180c59400624096d7ebbbbea446b)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When comparing signatures with bitbake-diffsigs -t or bitbake -S
printdiff, we use this find_siginfo() function implemented in this
module to find the siginfo/sigdata files corresponding to the tasks
we're looking for. However, native sstate files go into a
NATIVELSBSTRING subdirectory and there was no handling for this when
asking about native recipes.
I'm not even sure why we were walking SSTATE_DIR in order to find
this - we don't need to, we just need to run glob.glob() on the filespec
we calculate, which should be a little bit more efficient.
(From OE-Core rev: 8cb472e4ed25e56ec0d9cf6d8d101d1ab6687a5b)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/conf/bitbake.conf puts python2.7 into the HOSTTOOLS variable but not
python2, so only python2.7 is guaranteed. In addition, on some distros -- such
as Amazon Linux -- /usr/bin/python2 doesn't exist but python2.7 does. So, use
python2.7 for the --python= argument in the qemu configure step.
(From OE-Core rev: 88dc8b532817f4779b35422a413d5c700c130a74)
Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The unit test requires x11 as distro feature, otherwise it will fail
while building the test requirements.
[YOCTO #10903]
(From OE-Core rev: 2fe8f39b5f5e7390cc46f8cb47c2503b3c5f78e2)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changed dependency task for syslinux from do_build to
do_populate_sysroot as do_build dependency caused conflicts in
populating image recipe sysroot using conflicting recipes. This
makes do_image_wic task to fail with FileExistsError trying to
copy the same file from two conflicting recipes.
This should also speed up image creation a bit as do_populate_sysroot
task is faster than do_build.
[YOCTO #11295]
(From OE-Core rev: b7bb02901b7002641a8e8cc3fc0b6ec31e5a21f7)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Building gcc-cross-initial with GCC7 on the host fails due to the
comparison of a pointer to an integer in ubsan_use_new_style_p, which
is forbidden by ISO C++:
ubsan.c:1474:23: error: ISO C++ forbids comparison between pointer and
integer [-fpermissive]
|| xloc.file == '\0' || xloc.file[0] == '\xff'
Backport the fix from upstream GCC to enable the build with GCC 7
(From OE-Core rev: 7a7fcbab0365b9501c737dbc02715be14dda72a3)
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport a fix from upstream for a -Wformat-truncation=2 warning
and implement a simple fix for a -Wimplicit-fallthrough warning.
(From OE-Core rev: aaf4c4f3d09ac3897205417eb15e19d54e0c0d05)
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We never need these tasks as dependencies of other sstate tasks since
they're only ever needed to build artefacts so we can always skip them
and save some time/space.
(From OE-Core rev: 246df3df4b7da4b75de0745938438124c2b1d4a5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Two identical builds can end up having deploy/licenses folders
that differ. This is observed in cases where there are several
different license files of the same name in different folders,
i.e. "COPYING". In those case we have to differentiate the files
somehow and we do it via file expensions such as COPYING.0, COPYING.1.
However, which file will get which extension is presently random.
This means, for example, that COPYING.0 in one build is the same
as COPYING.1 in the other (and vice versa).
Although there is mothing wrong with this, for the sake of binary
reproducibility it is preferable to have a deterministic outcome.
(From OE-Core rev: 007ebc84979b1bc8b7520097793c7ab6d646c243)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
WIC test case requires wic-tools which in turn depends on intltool-native and
gettext-native. However, if NLS is disable, the gettext-minimal-native is used instead
of gettext-native causing a failure on intltool-native as seen below:
checking for msgfmt... no
checking for gmsgfmt... no
configure: error: GNU gettext tools not found; required for intltool
ERROR: Function failed: do_configure (log file is located at /home/lsandov1/poky/build/tmp/work/i586-poky-linux-musl/systemd-boot/232-r0/temp/log.do_configure.7518)
ERROR: Task (/home/lsandov1/poky/meta/recipes-bsp/systemd-boot/systemd-boot_232.bb:do_configure) failed with exit code '1'
NOTE: Tasks Summary: Attempted 609 tasks of which 604 didn't need to be rerun and 1 failed.
[YOCTO #10902]
(From OE-Core rev: ccd2faca99331e010badbb78d42b0ee644ca1a0a)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The http.server module from python3-netclient imports the html module
which is in python3-html. Also xmlrpc.server imports pydoc which is a
part of python3-pydoc. But those run-time dependencies are missing
from python3-netclient and python3-xmlrpc respectively.
Add the missing run-time dependencies.
(From OE-Core rev: 8e30b726c44f873e5fd9d3f36c3464a29b97abd8)
Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The shebang's length is usually 128 as defined in /usr/include/linux/binfmts.h:
#define BINPRM_BUF_SIZE 128
So there would be errors when /path/to/hosttools/bash is longer than 128:
/bin/sh: ./doltcompile: [snip]: bad interpreter: No such file or directory
Set ac_cv_path_DOLT_BASH to "/usr/bin/env bash" to fix the problem.
(From OE-Core rev: fd2758ed26e8ed6d76c66af0275c4aafbec758ac)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The shebang's length is usually 128 as defined in /usr/include/linux/binfmts.h:
#define BINPRM_BUF_SIZE 128
So there would be errors when /path/to/hosttools/perl is longer than 128.
This patch fixes the problem when POSIX_SHELL and perl are used as the interpreters.
(From OE-Core rev: 055838283349530e6f60f4169d9190aa5b59b190)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed when len(TMPDIR) = 410:
Can't exec "/bin/sh": Argument list too long at /usr/lib/perl/5.18/IO/File.pm line 65.
This is becuase it has a lot of m4 files, use relative path for them
can fix the problem.
(From OE-Core rev: 123df94f511cbaad088b25bbbae1f1137f957c7e)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed when len(TMPDIR) = 410:
Can't exec "/bin/sh": Argument list too long at /usr/lib/perl/5.18/IO/File.pm line 65.
This is becuase it has a lot of m4 files, use relative path for them
can fix the problem.
(From OE-Core rev: 7e8fece3a09bed18bc72c529b8b471ccbc144bf5)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The shebang's max length is usually 128 as defined in
/usr/include/linux/binfmts.h:
#define BINPRM_BUF_SIZE 128
So there would be errors when /path/to/hosttools/perl is longer than 128.
Set ac_cv_path_PERL to "/usr/bin/env perl" to fix the problem.
(From OE-Core rev: e828223a8238d85d47e9314e1dcc30b83b7ba3da)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The shebang's max length is usually 128 as defined in
/usr/include/linux/binfmts.h:
#define BINPRM_BUF_SIZE 128
There would be errors when @PERL@ (hostools/perl) is longer than 128,
use '/usr/bin/env perl' can fix the problem, but '/usr/bin/env perl -w'
doesn't work:
/usr/bin/env: perl -w: No such file or directory
So replace "perl -w" with "use warnings" to make it work.
(From OE-Core rev: 85decf26fe580acdf072baf561418bf73b7bfca4)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The shebang's max length is usually 128 as defined in
/usr/include/linux/binfmts.h:
#define BINPRM_BUF_SIZE 128
There would be errors when @PERL@ (hostools/perl) is longer than 128,
use '/usr/bin/env perl' can fix the problem, but '/usr/bin/env perl -w'
doesn't work:
/usr/bin/env: perl -w: No such file or directory
So replace "perl -w" with "use warnings" to make it work.
(From OE-Core rev: f3408bcf9d2710b07f5825683931e28571de130c)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We've had a lot of users running into RSS issues where -initial recipes
were being installed into sysroots alongside their counterparts and
causing overlapping files issues.
In general this was through do_build dependencies. Such dependencies are
bad in general and I'd encourage people to compare the taskgraphs with
using a more specific dependency like do_populate_sysroot, do_image_complete
or do_deploy as often the more specific dependency will result in a much
cleaner build.
Regardless, we don't want -initial dependencies getting in the way like
this and there are cases a do_build dependency could make sense.
Deleting the do_build task in these cases makes sense since this is not
a build "endpoint" we'd ever want a user to use, its a behind the scenes
piece of bootstrappping.
Unfortunately to make this work, we need a newer bitbake version which
has a bitbake bug fixed.
(From OE-Core rev: 04c053d42ab05f77b2d1ca93a0fabae44073d57e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We need the bitbake bug in recrdeptask handling of missing tasks fixed in
order to apply a fix for OE-Core.
(From OE-Core rev: ef16288f3e1e801e5c763ed49fad8eb0c885183e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This avoids the following error when logging in to a host that does
not have the tty command:
-sh: tty: not found
Reported-by: Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com>
(From OE-Core rev: e77cdb761169e404556487ac650dc562000da406)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Emit CONFFILES variable in pkgdata, or else the get_conffiles function
will return 'None' for some packages instead of the expected value. This
is especially true for optional module packages.
(From OE-Core rev: ee44dabc065912ac17f1ee5f06f12695c90b5482)
Signed-off-by: David Vincent <freesilicon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
opkg uses empty lines as separator for next package and if an ipk file was
packaged with empty lines in DESCRIPTION opkg won't be able to handle such ipk
file, this happens at execution time.
This commit will replace empty lines in DESCRIPTION with a '.' when generating
an ipk package to avoid this issue.
[YOCTO #10677]
(From OE-Core rev: 3e678d9b6a9eaeed76ce538d7f6ecf9f423864bc)
Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
ntpd: NTP server denial of service flaw
CVE: CVE-2016-6301
(From OE-Core rev: 301dc9df16cce1f4649f90af47159bc21be0de59)
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rather than hard-coding the tmpdir for TargetBuildProject to /tmp allow the
parent's default handling to define an appropriate tmpdir.
(From OE-Core rev: 901659a51cd53625a93f57a9c5865e90a07ec09d)
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Don't hard-code /tmp as the tmpdir, instead use WORKDIR as the tmpdir if the
instantiater doesn't specify a value.
(From OE-Core rev: c43c966e0ed4ed836bdf90b1d4c3f2f45426f1ec)
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rather than hardcoding /tmp as the default tmpdir make a more unique tmpdir
with tempfile.mkdtemp() when the caller doesn't specify a tmpdir value.
(From OE-Core rev: 9425c2658fea0b45468a04574cd77bffc6668a8d)
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Override RTLDLIST for nativesdk, or else ldd would fail to run on
SDK targets.
(From OE-Core rev: 3a1cce659156ef2654a55a6e3c6922fa2dc780e4)
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>
The configuration change was already done for -native but
we really want it when USE_NLS is set.
Fixes [YOCTO #11285].
(From OE-Core rev: 95d6910bb5d9331adb7a693fcb4f7b1271c68cc6)
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>
EXTRA_OEMAKE no longer contains '-e MAKEFLAGS=' so the comment
explaining that it needs to be removed / over-ridden is obsolete.
(From OE-Core rev: 19be2237798f51c01c1c21a68382d114a2f6ead2)
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>
The md5sum & sha256sum for ethtool-4.8.tar.gz have changed upstream :(
(From OE-Core rev: bb3a0bef3b7e012ba7ce6d31d0470d43e7a21077)
Signed-off-by: Paul Barker <pbarker@toganlabs.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The recipe being tested (devtoo-test-patch-gz) by devtool has dependencies (at
least libxres and virtual/libx11) that cannot be built with poky-tiny distro so
skip the test for this particular policy.
[YOCTO #10891]
(From OE-Core rev: 03751783cb063bc6a57cd19357bc1016bfa2a814)
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>
The library libxml2 can provide its own bindings for python2 in addition
to the third party python-lxml and python3-lxml packages if this
functionality is enabled in PACKAGECONFIG.
But in case the functionality is disabled there's no need to depend
on python2.
Make the dependency on python2 enabled only if the python feature
is added to PACKAGECONFIG. Also add missing run-time dependency on make
to libxml2-ptest.
(From OE-Core rev: 3f1be2c3875fc112d9c67af16759091e007e5b99)
Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This release includes fixes for Windows/Mingw support.
(From OE-Core rev: b5f471b74b2da533abfad2601b221fa806fcf3b2)
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>
NASM is a x86-specific assembler so it is only required when building for x86
targets. Use x86-architecture and class-target overrides to depend on NASM, but
explicitly disable and don't depend on it for native as complications in the
native overrides meant NASM was enabled for x86-64 but disabled for x86 (this
will be investigated later).
Original patch by Tristan Van Berkom <tristan.vanberkom@codethink.co.uk>, more
work to solve selftest failures by Richard Purdie
<richard.purdie@linuxfoundation.org>. I just wrote a nice commit message.
Also fix some missing whitespace in _appends.
[ YOCTO #11240 ]
(From OE-Core rev: 3b1871b7c6df66d3bf3453668f46566b8af3e6d9)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently some shebang lines end up as
#! /usr/bin/env perl -w
env does not like the argument. Also the current sed to insert env
does not cover the copies ptests use. Fix these issues by:
- using --with-perl to insert "env"
- Replacing "-w" in shebang lines with a new "use warning;" line
Remove a EXTRA_OECONF_append_class_target from the native recipe.
Don't overwrite EXTRA_OECONF in native: the values should be correct
for native as well.
--with-patch is used within the gnu patch wrapper only: before this
commit the wrapper contained a (build host) path to native patch.
Also tweak one test so busybox mv output is accepted.
All ptests should now pass: Fixes [YOCTO #11221].
(From OE-Core rev: 4b667d268fe410a21cacaecd1b5e3bfbbe7d53d8)
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>
fedorahosted.org was retired on March 1st, 2017. This is to update
the SRC_URI to point to github.com.
[YOCTO #11226]
(From OE-Core rev: 0fb5427937576fe46d463b9c9953d0bcdc1f256a)
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>
fedorahosted.org was retired on March 1st, 2017. This is to
update the SRC_URI to point to github.com.
[YOCTO #11226]
(From OE-Core rev: 9b3c9193d4a04061e64e43d55782a4d73ee166ad)
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>
fedorahosted.org was retired on March 1st, 2017. This is to
update the SRC_URI to point to github.com.
[YOCTO #11226]
(From OE-Core rev: b0703175ed650d89870309e4065cda917199ac93)
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>
fedorahosted.org was retired on March 1st, 2017. This is to
update the SRC_URI to point to pagure.io. pagure.io is a
replacement for fedorahosted.
[YOCTO #11226]
(From OE-Core rev: 441ad240db4ce64d854e263e14dc6a1752aed956)
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>
fedorahosted.org was retired on March 1st, 2017. This is to
update the SRC_URI to point to pagure.io. pagure.io is a
replacement for fedorahosted.
[YOCTO #11226]
(From OE-Core rev: b85905bc8b845c9da7d2a086ea239ec00d5142e3)
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>
fedorahosted.org was retired on March 1st, 2017. This is to
update the SRC_URI to point to pagure.io. pagure.io is a
replacement for fedorahosted.
[YOCTO #11226]
(From OE-Core rev: bbe3cde5fc2102fd84ba065ed14f2732bcd0d420)
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>
fedorahosted.org was retired on March 1st, 2017. This is to
update the SRC_URI to point to pagure.io. pagure.io is a
replacement for fedorahosted.
[YOCTO #11226]
(From OE-Core rev: 79ae1e98a7c3fd4c732ea4cd0b3099d4e319a111)
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>
Add the corresponding Testopia ID to the test cases for dnf
(From OE-Core rev: 434b48566f2febcc5bd5d6cd9c04788f008ffce1)
Signed-off-by: Jose Perez Carranza <jose.perez.carranza@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There are a number of reasons that importing a module could cause output on
stderr that isn't a fatal error (compatibilty problems with inputrc, or encoding
warnings) so backport a patch from autoconf-archive to only check the exit code
instead of asserting that stderr is empty.
[ YOCTO #11231 ]
(From OE-Core rev: ebfd79ae6e5954253c3bb0886d476be480b24de8)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To generalize the unit test for other kernel providers, use virtual/kernel instead
of linux-yocto, allowing to run the selftest on non-poky distros, i.e. poky-tiny.
(From OE-Core rev: 087e1204fb27e2952f16c2e4761f5993b7722732)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This change allows quering for variables with the format A_B, i.e.
PREFERRED_PROVIDER_virtual/kernel instead of just A.
(From OE-Core rev: 3810738eff6bdcf27c7e291dbeaedc699ab14bfc)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* 4.8 version was removed in:
commit 466e6e45ca04a07ebe1b1f52de747f077b362d54
Author: Bruce Ashfield <bruce.ashfield@windriver.com>
Date: Tue Mar 28 08:58:07 2017 -0400
linux-yocto: drop 4.8 recipes
We have 4.1 (LTSI), 4.4 (LTS), 4.9 (LTS/LTSI) and 4.10 available in
master. 4.8 is no longer required, so we drop the recipe to keep
the version selection under control.
* causing each build to start with 188 lines of this stuff:
NOTE: preferred version 4.8% of linux-yocto not available (for item virtual/kernel)
NOTE: versions of linux-yocto available: 4.1.38+gitAUTOINC+7140ddb86e_4d2c95e78c 4.10.5+gitAUTOINC+01f18cba44_b97dcd4f06 4.4.56+gitAUTOINC+271b0c8d51_01aaede0a2 4.9.17+gitAUTOINC+8b97a445fa_3ff3760c2a
NOTE: preferred version 4.8% of linux-yocto not available (for item kernel-module-raid456)
NOTE: versions of linux-yocto available: 4.1.38+gitAUTOINC+7140ddb86e_4d2c95e78c 4.10.5+gitAUTOINC+01f18cba44_b97dcd4f06 4.4.56+gitAUTOINC+271b0c8d51_01aaede0a2 4.9.17+gitAUTOINC+8b97a445fa_3ff3760c2a
(From OE-Core rev: 57357d4e7f5d256a5cc657798f955f1ac8416665)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add kernel_link_images task in kernel.bbclass instead of adding it in
linux-yocto.inc, or else the recipes inheriting kernel.bbclass might
run into implicit dependency issues.
(From OE-Core rev: 3211d43d80f69d9c200a0e4f90fd37736046aafe)
Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The results of meta-ide-support are used by utilities like runqemu and
runqemu-extract-sdk. Since the usr/bin that meta-ide-support creates is
subsequently removed bu rm_work, we exclude this recipe from the rm_work
list.
[YOCTO #11119]
(From OE-Core rev: 6c0fc4daee0e32c85c8895ce77126d3d0c6c2ed5)
Signed-off-by: brian avery <brian.avery@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
FILESDIR is long dead and unreferenced pretty much anywhere now, drop these
sanity references too.
(From OE-Core rev: 760ab75be6b794fdcd0b1717439fcea605db9e0b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If build host perl (and other tools) is old and we use some kind
of toolchain to provide recent perl/python/etc to the OE build
we still locked to use build host perl due to hardcoded shebang
lines in automake scripts.
Behaviour was observed with Enterprise Linux 6 and devtoolset
toolchain from SCL (Software Collections) used to provide recent
version of perl (not provided with default buildtools-tarball).
Pass /usr/bin/env perl in ac_cv_path_PERL configuration variables
for class-native and class-nativesdk. Use patch to automake to replace
-w option in shebang line with modern way to enable warnings on perl
(i.e. "use warnings").
Also add nativesdk-autoconf to RDEPENDS to bring runtime dependencies
inline with other targets.
Note that ac_cv_path_PERL must be valid perl interpreter path
since configure will check perl version and Flock implementation.
It is not possible currently to use nativeperl from native
sysroot because automake does not DEPENDS on perl-native (and
doing so fails due to circular dependencies). Only possible
solution is to overwrite shebangs with nativeperl somewhere at
do_install() and update RDEPENDS for class-native. Or add perl
symlinks to nativeperl in sysroot.
For now it seems good to use perl found by /usr/bin/env from
automake-native.
Cc: XE-Linux <xe-linux-external@cisco.com>
(From OE-Core rev: 3b7111b30dbd9a4cdd141b594164da18c15ae970)
Signed-off-by: Serhii Popovych <spopovyc@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If build host perl (and other tools) is old and we use some kind
of toolchain to provide recent perl/python/etc to the OE build
we still locked to use build host perl due to hardcoded shebang
lines in autoconf scripts.
Behaviour was observed with Enterprise Linux 6 and devtoolset
toolchain from SCL (Software Collections) used to provide recent
version of perl (not provided with default buildtools-tarball).
Pass /usr/bin/env perl in ac_cv_path_PERL configuration variables
for class-native and class-nativesdk. Use patch to autoconf to replace
-w option in shebang line with modern way to enable warnings on perl
(i.e. "use warnings").
Also add nativesdk-m4 and nativesdk-gnu-config to RDEPENDS to bring
runtime dependencies inline with other targets.
Note that ac_cv_path_PERL must be valid perl interpreter path
since configure will check perl version and Flock implementation.
It is not possible currently to use nativeperl from native
sysroot because autoconf does not DEPENDS on perl-native (and
doing so fails due to circular dependencies). Only possible
solution is to overwrite shebangs with nativeperl somewhere at
do_install() and update RDEPENDS for class-native. Or add perl
symlinks to nativeperl in sysroot.
For now it seems good to use perl found by /usr/bin/env from
autoconf-native.
Cc: XE-Linux <xe-linux-external@cisco.com>
(From OE-Core rev: 443d2d31732fa5700aa00ff020a0d79ab245c114)
Signed-off-by: Serhii Popovych <spopovyc@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Build static libraries without the binutils "ar" -U option.
This option deliberately breaks deterministic mode.
The option seems to be a relic from 2015, intended as a workaround
for some unspecified build problems.
[YOCTO#11247]
(From OE-Core rev: 46c757d0ca7ff294a7e55c130698fd256b69b62e)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Reference url is a stale, non existent site that returns a 404, so get rid of it
Change impacts both the manifest files and the scripts that generate the manifests
Run the following from within recipes-devtools/python
../../../scripts/contrib/python/generate-manifest-2.7.py > python-2.7-manifest.inc
../../../scripts/contrib/python/generate-manifest-2.7.py -n > python-native-2.7-manifest.inc
../../../scripts/contrib/python/generate-manifest-3.5.py > python-3.5-manifest.inc
../../../scripts/contrib/python/generate-manifest-3.5.py -n > python-native-3.5-manifest.inc
(From OE-Core rev: ae13f580b759211c1a6b59a276f75d589f1db11c)
Signed-off-by: Bob Cochran <openembedded@mindchasers.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
liblzma is part of xz and we already build it but configure it out. This makes
no sense. Enabling it means we gain multithreaded compression and it speeds
dpkg-deb up massively. It also removes the fork overhead of separate xz processes.
Turning the existing config into a PACKAGECONFIG and turning it on by default
therefore makes best use of what we have available.
The manual RDEPENDS are no longer needed since it uses liblzma which is picked
up by the shlibs code magically.
(From OE-Core rev: 97b2a20b55acf76ebaacff0054e0f3c2b4236847)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It defaults to ${INITRAMFS_IMAGE}-${MACHINE} if INITRAMFS_IMAGE is not
empty.
This allows the end users to be able to override the initramfs image
name with a customized value.
(From OE-Core rev: e788fb2b894852f71b1c545abde71b45b9f230dc)
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 don't want to run resize on non serial consoles. There's
been an earlier attempt (6557787), so this builds upon that.
The problem we're seeing is that if there is text buffered in
the virtual console (like from a desperate user trying to
enter login details), resize will get stuck while calling
ioctl(tty, TCSETAW);
Since serial consoles are named (not just numbered), this
change limits resize's reach even further to run only on
/dev/tty[A-z] (thus avoiding /dev/tty[0-9]).
(From OE-Core rev: 474ef7c95722aa68ee5dfbae2920d7c3d436d717)
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>
There were two remaining cases that could end up creating /lib64
rather than ${base_prefix}/lib64. The difference matters when building
with usrmerge.
(From OE-Core rev: b791f13286c8c58ce1f3fa3745ffdd5bd5ff1d02)
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>
Use ${D}${var} rather than ${D}/${var} for variables where ${var}
contains an absolute path.
(From OE-Core rev: 2799eda9f373b430ad64c8b61f8047abce7f1e22)
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>
Replace the glibc recipe for zlib on unit tests, otherwise tests are restricted
to glibc distros (poky).
[YOCTO #10890]
(From OE-Core rev: b77cf437e89a2ec21de6a69d5e34736925f1eeba)
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>
Allowing to remove the systemd-vconsole-setup package without specifying
the --disable-vconsole configure option for systemd will make the system
boot with the failure prompt
| systemd-udevd[142]: failed to execute '/lib/systemd/systemd-vconsole-setup' '/lib/systemd/systemd-vconsole-setup': No such file or directory
| systemd-udevd[96]: Process '/lib/systemd/systemd-vconsole-setup' failed with exit code 2.
as the 90-vconsole.rules will still be installed with having a
RUN+="/lib/systemd/systemd-vconsole-setup" in it that attempts to
execute a non-existing binary.
(From OE-Core rev: 396e9dcf308a2a6660a84eb36c5ff29f8a0d08de)
Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In a addtask statement, do_strip should be strip.
(From OE-Core rev: 8413e26164644230615f4503ca9488b5b4021aeb)
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>
There is not much sense in creation of empty squashfs
partition. It's also not possible to create empty squashfs
partition of specified size.
Even more, prepare_empty_partition_squashfs method is
absolutely broken. It raises exception when called and
even its signature differs from the rest of of similar
methods. It means that nobody uses it and it's safe
to remove it.
Removed prepare_empty_partition_squashfs method and
testing of empty squashfs partition.
(From OE-Core rev: 9152960f250cb4df1e559d747fb09005675a0d75)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added msdos partition to the .wks file in test_fs_types
wic test case.
[YOCTO #11137]
(From OE-Core rev: 044dd146d39542d0e6b598ee1dcadc49e0db3de9)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Test image-bootpart wic plugin with globbed value of
IMAGE_BOOT_FILES variable to increase test coverage.
[YOCTO #10618]
(From OE-Core rev: 4da2526800de1d40b51db96b0d5ab44dbaff68ff)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added test_kickstart_parser test case to test wks parser
options not yet covered by tests.
[YOCTO #10618]
(From OE-Core rev: 36779a95f2e1e2c0d94ba81d30c8b1fc9dd161e4)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added wic test case to test all possible filesystem
types for empty and not empty partitions.
[YOCTO #10618]
(From OE-Core rev: 95ec9e6b987706fac9bd410681f0950f957989bb)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added btrfs-tools-native and squashfs-tools-native to DEPENDS as
wic uses these tools to support btrfs and squashfs filesystems.
(From OE-Core rev: d6fea657671637af30fe9bf9a2264746b5bd6deb)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
systemd-tmpfiles-setup will fail at boot, so we suppress
the default versions of etc.conf and home.conf.
We also make sure that /var/{cache,spool} and /srv are writeable
if they exist.
(From OE-Core rev: 4a44a7658cebafab336f061f270b6ff44150a6d6)
Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There were two missing cases to be migrated to the new framework: _qemutiny and
_ptest.
qemutiny was straightforward.
ptest on the other hand wasn't working even in previous releases; it has been
migrated from smart to dnf, and how ptest packages are gathered to be
installed, adapted to use unicode, and removed a lot of code that wasn't needed
anymore.
(From OE-Core rev: ee7c19546b686e852d01df25143504d9798d10d6)
Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In 2.4 development cycle openssl 1.1 will replace openssl 1.0 as the
default openssl version. Openssl 1.0 will stay but will be renamed
to openssl10, and eventually it will be removed (hopefully much
sooner than the official end of support date of Dec 2019, as we do not
want an unsupported openssl version in supported Yocto releases).
There are several recipes that are not API compatible with 1.1; some
of them will eventually be fixed, but others will never be (such as Qt4).
To avoid breaking such recipes when openssl 1.1 is added to oe-core,
let's provide "openssl10" already now and change the recipes to depend
on that where necessary; Qt4 is a particularly pressing issue as it is
causing failures on the autobuilder with my work in progress
openssl 1.1 branch, and so I'm not able to see what else would fail
later in the build process.
(From OE-Core rev: cffc3a88608bd295eb1220fadae56eb4676414df)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Make sure we have all build time dependencies of perl-native
satisfied before we start building it.
Behaviour was observed with RHEL6 build hosts where perl-native
build fails at linging stage when attempting to link to the build
hosts old Berkley DB because virtual/db-native is missing in
native sysroot.
Add dependencies to the native packages taken from perl recipe.
Cc: XE-Linux <xe-linux-external@cisco.com>
(From OE-Core rev: c0e0b3774313f6acb00374c87a4f99201daa2270)
Signed-off-by: Serhii Popovych <spopovyc@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This change is similar to the recently introduced
change to the distutils.bbclass fixing shebang
line in python scripts for nativesdk class builds.
v2: Rebased on top of new head.
Cc: XE-Linux <xe-linux-external@cisco.com>
(From OE-Core rev: 49772e1a1f291d1cacce27b381009dbb441c483e)
Signed-off-by: Serhii Popovych <spopovyc@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Commit 11229de (distutils: Replacing path to native python by path
to python in the image to support python packages with
console-script setup) replaces path to python-native with path
to the python interpreter in the target image.
However on nativesdk builds ${bindir} expanded to the
${SDKPATHNATIVE}${prefix_nativesdk} making shebang line
pointing to the absolute path to env(1) in SDKPATHNATIVE
which may not be present if coreutils isn't part of nativesdk.
On the other hand commit cf63d90 (bitbake.conf: Define USRBINPATH
globally instead of individually) introduces USRBINPATH variable
which has correct value regarding build class and intended for
this use case.
v2: Rebased on top of new head.
Cc: XE-Linux <xe-linux-external@cisco.com>
(From OE-Core rev: 2a83c22a510e10b169015ce936eb51a6fc959ec1)
Signed-off-by: Serhii Popovych <spopovyc@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Commit 'c8da8ce openssl: Fix build with clang' introduced a regression.
do_compile fails when building with gcc/thumb2.
Note that I did not test if it still builds with clang.
Prevents the following when building with thumb2:
| ghash-armv4.S: Assembler messages:
| ghash-armv4.S:88: Error: thumb conditional instruction should be in IT block -- `ldrplb r12,[r2,r3]'
| ghash-armv4.S:98: conditional infixes are deprecated in unified syntax
| ghash-armv4.S:98: Error: thumb conditional instruction should be in IT block -- `ldrplb r8,[r0,r3]'
| ghash-armv4.S:105: Error: thumb conditional instruction should be in IT block -- `eorpl r12,r12,r8'
| ghash-armv4.S:107: Error: thumb conditional instruction should be in IT block -- `andpl r14,r12,#0xf0'
| ghash-armv4.S:108: Error: thumb conditional instruction should be in IT block -- `andpl r12,r12,#0x0f'
| ghash-armv4.S:144: conditional infixes are deprecated in unified syntax
| ghash-armv4.S:144: Error: thumb conditional instruction should be in IT block -- `ldrneb r12,[r2,#15]'
| ghash-armv4.S:231: conditional infixes are deprecated in unified syntax
| ghash-armv4.S:231: Error: thumb conditional instruction should be in IT block -- `ldrplb r12,[r0,r3]'
| ghash-armv4.S:248: Error: thumb conditional instruction should be in IT block -- `andpl r14,r12,#0xf0'
| ghash-armv4.S:249: Error: thumb conditional instruction should be in IT block -- `andpl r12,r12,#0x0f'
(From OE-Core rev: 65cfb24033278fd4fb27013d3272394197649ca2)
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>
nasm can build on every architecture, it just can't generate anything but X86
code. As we can't know what the user intends to do with nasm, remove the
COMPATIBLE_HOST line.
(From OE-Core rev: 41d6e5bb295e952de6e1a3e36b313caa58e935bf)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
net-tools-native is needed by swtpm-wrappers (in meta-security)
because swtpm_setup.sh calls netstat, which cannot be assumed to be
present in all Linux installations (for example, it is not in OpenSUSE
minimal base).
(From OE-Core rev: 508163bef169cf0d9aa97e73c02d1ecc68480e91)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use the new executable argument to bb.utils.which() to ensure that the symlinks
point to executable files and not for example directories with the right name
which happened to be on $PATH.
[ YOCTO #11256 ]
(From OE-Core rev: 7f40c934c3aeb1d34f95f30b281e25a17c428fce)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This pulls in changes to bb.utils.which() for HOSTTOOLS.
(From OE-Core rev: 398fd35bfc2b4795067e25659841adaeea211809)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is long dead (thankfully), remove stale reference/comment.
(From OE-Core rev: 2340fcb1af3c9ca350dba89d48a44f414277d1a8)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We've been using 4.10 for a while now, I think 4.4 was accidentally left
behind so clean it up.
(From OE-Core rev: b114d2f2f53e2c1b327f140fb5d29f8bf1641ac9)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With this change (combined with the previous linux-libc-header fix), a
combined sysroot for 32 and 64 bit arm works meaning our SDK works
correctly for that multilib setup.
(From OE-Core rev: 4690cd8e34fc23de10400cc1c178b2c73c7690c7)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Its rather sad we need to do this but in order to make combined 32 and 64 bit
SDKs work, we need a common set of headers and this is the delta that
allows things to work. It only applies on arm.
(From OE-Core rev: 592ae8e521a3926e8e5f87e2364e1ba8d92b8c2d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Having arm 32/64 bit headers coexisting turns out to be tricky. Unfortunately
our wrapper works using wordsize.h and this differs on arm so we can't use it.
Therefore replicate the logic here for arm. I did look into writing our
own wordsize.h but we also need to remap kernel headers on arm and
since wordsize.h comes from libc, that doesn't work for kernel headers.
(From OE-Core rev: 141dc7136c9c62da1d30132df4b3244fe6d8898d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There are no users of this left after recipe specfic sysroots was implemented,
drop the variable as it no longer makes sense or is useful.
(From OE-Core rev: a2fbf85f68b685c32049fb48aed0248369911c49)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I suspect this was a typo and that TARGET_SYS makes more sense here. Its
also the only remaining user of MULTIMACH_HOST_SYS in OE-Core. Change it.
(From OE-Core rev: fd51900f203ae997b0f606f94ab87c12e37696c0)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When we get to version 12 we have a hard break as we can't convert to newer
versions. There is no point in running the old conversions on an old tmpdir
only to hit that block. Remove all the old conversions to avoid that and
make things clearer.
(From OE-Core rev: 163b27bdfe323b648929240375aaf251e8d5edf4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Users should be able to locally choose DEPLOY_DIR without impacting
the reuse of sstate, this change allows that.
[YOCTO #11110]
(From OE-Core rev: 460f6ca573667dfcbd66f5efcaebf686f1442b36)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
"bitbake -c populate_dsk_ext" must not trigger do_rm_work, because it
is impossible to declare that the additional tasks activated by "-c
populate_dsk_ext" must run before do_rm_work. When do_populate_dsk_ext
and do_rm_work are both active, the resulting race condition breaks
do_populate_dsk_ext.
The existing bitbake dependencies can't be used for that, because
"addtask populate_dsk_ext before do_rm_work" would then always execute
populate_dsk_ext also in normal builds.
do_populate_dsk_ext triggers do_rm_work indirectly through the
dependency on do_build of the SDK_TARGETs. Using the new
do_build_without_rm_work instead (when available, with do_build as
before if not) avoids the problem.
However, one has to be careful to not trigger do_rm_work in the same
build in some other way. "bitbake core-image-sato:do_populate_sdk_ext
core-image-sato:do_build" still fails, for example. Doing one after
the other works.
Fixes: [YOCTO 11042]
(From OE-Core rev: 00b1911c65fa1b21c3dedec40170998573b62178)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some classes, for example populate_sdk_ext.bbclass, must be able to
trigger a full build of a recipe without also triggering
do_rm_work. They cannot depend on do_build anymore, because that would
trigger do_rm_work.
Instead, do_build_without_rm_work can be used. It has the exact same
dependencies as do_build, minus do_rm_work and do_rm_work_all.
This may also be useful in a test build of a recipe where one wants
to preserve the work directory without having to modify configuration
settings:
bitbake foobar:do_build_without_rm_work
(From OE-Core rev: 04a7b8d6d2e86cc4dd1362c775f5e3ac1eb1d19d)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Linking with gold fails due to an internal error in gold. The ovmf
linker is gcc, which has a -fuse-ld=bfd option to choose the linker
which (for ovmf) is known to work.
Like the choice of the compilers, this is done in ovmf-native. To keep
that recipe independent of DISTRO_FEATURES, choosing bfd is done
unconditionally.
(From OE-Core rev: 7ee548b9f6f2893caf6b5ade8c892f2968d4ec47)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This adds aws to HOSTTOOLS_NONFATAL in order to get the s3 fetcher
working again.
(From OE-Core rev: 6d6d0737a29bbf3dcd231bfefe13784ed16dd55a)
Signed-off-by: Elizabeth 'pidge' Flanagan <pidge@toganlabs.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Make use of lnr while creating relative symlinks to enable
builds on host with old ln that does not support -r option.
Cc: XE-Linux <xe-linux-external@cisco.com>
(From OE-Core rev: dd162286921ccac4981e091de1df4c36d5cfbf5b)
Signed-off-by: Serhii Popovych <spopovyc@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This aligns with the behavior of grub-efi and gummiboot, and is needed to fix
auto-boot of intel-corei7-64 for non-GPLv3 builds.
(From OE-Core rev: c187326afcf1e9d781c1bd0923e1362a6f50f613)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We have 4.1 (LTSI), 4.4 (LTS), 4.9 (LTS/LTSI) and 4.10 available in
master. 4.8 is no longer required, so we drop the recipe to keep
the version selection under control.
(From OE-Core rev: 466e6e45ca04a07ebe1b1f52de747f077b362d54)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Paul Gortmaker has made the 4.9-rt12 available to linux-yocto, so
we integrate it here and update the SRCREVs.
(From OE-Core rev: 919a789adbb06d8220e7f9025ebe983832132bf3)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg -stable release with the following shortlogs:
c3825da143fc Linux 4.9.17
ecdc5b12d7a0 crypto: powerpc - Fix initialisation of crc32c context
c40609652267 locking/rwsem: Fix down_write_killable() for CONFIG_RWSEM_GENERIC_SPINLOCK=y
1522181f4bc1 futex: Add missing error handling to FUTEX_REQUEUE_PI
6244ffc5a122 futex: Fix potential use-after-free in FUTEX_REQUEUE_PI
9f9115b67aa5 x86/perf: Fix CR4.PCE propagation to use active_mm instead of mm
24ba2842a49d x86/kasan: Fix boot with KASAN=y and PROFILE_ANNOTATED_BRANCHES=y
5ec98e6ffdce x86/tsc: Fix ART for TSC_KNOWN_FREQ
095635be809a irqchip/gicv3-its: Add workaround for QDF2400 ITS erratum 0065
61e79860b4bc arm64: KVM: VHE: Clear HCR_TGE when invalidating guest TLBs
8ca7ef0d9af9 drm/vc4: Fix ->clock_select setting for the VEC encoder
6b3306706733 drm/vc4: Fix race between page flip completion event and clean-up
f4d40cfd61ea clk: bcm2835: Fix ->fixed_divider of pllh_aux
7885195b9177 powerpc/mm: Fix build break when CMA=n && SPAPR_TCE_IOMMU=y
ce7aeffe7596 usb: gadget: udc: atmel: remove memory leak
4fa1c65cf040 serial: 8250_pci: Detach low-level driver during PCI error recovery
56c28e7983a8 ACPI / blacklist: Make Dell Latitude 3350 ethernet work
5c19e9070df8 ACPI / blacklist: add _REV quirks for Dell Precision 5520 and 3520
bc01eb939899 slub: move synchronize_sched out of slab_mutex on shrink
bd2de45031b9 uvcvideo: uvc_scan_fallback() for webcams with broken chain
e627116c0c35 s390/zcrypt: Introduce CEX6 toleration
61a153d06ef4 block: allow WRITE_SAME commands with the SG_IO ioctl
0042afe117c6 drm/nouveau/disp/nv50-: specify ctrl/user separately when constructing classes
5001756c1c70 drm/nouveau/disp/nv50-: split chid into chid.ctrl and chid.user
ddc23b5212b9 drm/nouveau/disp/gp102: fix cursor/overlay immediate channel indices
53e18968a9c0 vfio/spapr: Postpone default window creation
2e60baca235b vfio/spapr: Add a helper to create default DMA window
080eb13542a8 powerpc/mm/iommu, vfio/spapr: Put pages on VFIO container shutdown
92e44bcd71ae vfio/spapr: Reference mm in tce_container
5b34666bd2e7 powerpc/iommu: Stop using @current in mm_iommu_xxx
2ba7ef21820e powerpc/iommu: Pass mm_struct to init/cleanup helpers
5d8b3e755974 vfio/spapr: Postpone allocation of userspace version of TCE table
3c0cbb47a8d6 Drivers: hv: ring_buffer: count on wrap around mappings in get_next_pkt_raw() (v2)
3e5a7f5b95f0 ibmveth: calculate gso_segs for large packets
fb7c521a1460 PCI: Do any VF BAR updates before enabling the BARs
3d58444dea81 PCI: Ignore BAR updates on virtual functions
74cce811a4b6 PCI: Update BARs using property bits appropriate for type
a38012dc69eb PCI: Don't update VF BARs while VF memory space is enabled
bb479246bb3e PCI: Decouple IORESOURCE_ROM_ENABLE and PCI_ROM_ADDRESS_ENABLE
ed09d211d28e PCI: Add comments about ROM BAR updating
7b65c3a84311 PCI: Remove pci_resource_bar() and pci_iov_resource_bar()
6a5f3e664ac7 PCI: Separate VF BAR updates from standard BAR updates
29d928785f5e x86/hyperv: Handle unknown NMIs on one CPU when unknown_nmi_panic
456be98b4e79 scsi: ibmvscsis: Synchronize cmds at remove time
94700877c25f scsi: ibmvscsis: Synchronize cmds at tpg_enable_store time
189491f81cf6 scsi: ibmvscsis: Rearrange functions for future patches
4d36f4859fa4 scsi: ibmvscsis: Clean up properly if target_submit_cmd/tmr fails
29022860df8e scsi: ibmvscsis: Return correct partition name/# to client
0ad1d7660a57 scsi: ibmvscsis: Issues from Dan Carpenter/Smatch
61229e62c1aa igb: add i211 to i210 PHY workaround
15ffc931eeb9 igb: Workaround for igb i210 firmware issue
4b40611a9b7e xen: do not re-use pirq number cached in pci device msi msg data
2382c1486c62 dmaengine: iota: ioat_alloc_chan_resources should not perform sleeping allocations.
0e0f1d6fdb35 bpf: fix mark_reg_unknown_value for spilled regs on map value marking
1889d6d9b5e7 bpf: fix regression on verifier pruning wrt map lookups
b7f5aa1ca0be bpf: fix state equivalence
1411707acb85 bpf: Detect identical PTR_TO_MAP_VALUE_OR_NULL registers
9e38375a4b17 dccp: fix memory leak during tear-down of unsuccessful connection request
beaa66cce556 tun: fix premature POLLOUT notification on tun devices
98933eb36dd2 dccp/tcp: fix routing redirect race
9bce26f224d8 bridge: drop netfilter fake rtable unconditionally
683100ed4576 ipv6: avoid write to a possibly cloned skb
4a8d3bb73a82 ipv6: make ECMP route replacement less greedy
87c0286a07f9 mpls: Do not decrement alive counter for unregister events
b61206e25302 mpls: Send route delete notifications when router module is unloaded
47c8dc47c008 act_connmark: avoid crashing on malformed nlattrs with null parms
ccb65adc6ca6 uapi: fix linux/packet_diag.h userspace compilation error
b07eed8f7119 net/tunnel: set inner protocol in network gro hooks
db6e7796186a vrf: Fix use-after-free in vrf_xmit
7c0eaeec84d1 dccp: fix use-after-free in dccp_feat_activate_values
5f79aab41ded net/sched: act_skbmod: remove unneeded rcu_read_unlock in tcf_skbmod_dump
f157cc1d7251 net: fix socket refcounting in skb_complete_tx_timestamp()
98fa3d2a8e39 net: fix socket refcounting in skb_complete_wifi_ack()
07753bc6a281 tcp: fix various issues for sockets morphing to listen state
4547f03d1a62 strparser: destroy workqueue on module exit
51ae1fbcf173 dccp: Unlock sock before calling sk_free()
0bcc319d554c ipv6: orphan skbs in reassembly unit
3d87dce3dfd6 net: net_enable_timestamp() can be called from irq contexts
62fe0521fb6c net: don't call strlen() on the user buffer in packet_bind_spkt()
fa7c48fb3ad1 net: bridge: allow IPv6 when multicast flood is disabled
bbaeb9b73fa8 tcp/dccp: block BH for SYN processing
8f4db60c7fb5 mlxsw: spectrum_router: Avoid potential packets loss
02595f472548 geneve: lock RCU on TX path
0a40da4a74f1 vxlan: lock RCU on TX path
feaa5bab4335 net: phy: Avoid deadlock during phy_error()
837786cbbb60 l2tp: avoid use-after-free caused by l2tp_ip_backlog_recv
063893e4ec88 net sched actions: decrement module reference count after table flush.
36931eb015ee ipv4: mask tos for input route
a64407fafe09 vxlan: don't allow overwrite of config src addr
f7081057d12c vti6: return GRE_KEY for vti6
ee2da79de289 vxlan: correctly validate VXLAN ID against VXLAN_N_VID
0c6e38e791e9 net/mlx5e: Fix wrong CQE decompression
a63326646995 net/mlx5e: Do not reduce LRO WQE size when not using build_skb
9e354abf9ce3 net/mlx5e: Register/unregister vport representors on interface attach/detach
8a16224b4054 Linux 4.9.16
c8186699527b IB/mlx5: Verify that Q counters are supported
8fed8fc18839 ext4: don't BUG when truncating encrypted inodes on the orphan list
39df5977fd41 rc: raw decoder for keymap protocol is not loaded on register
21582cd0b64c dm: flush queued bios when process blocks to avoid deadlock
d29e6215e5ab KVM: arm/arm64: Let vcpu thread modify its own active state
9d89c20f3b8f KVM: s390: Fix guest migration for huge guests resulting in panic
ce8ab5f168f6 serial: samsung: Continue to work if DMA request fails
d0ef6ecee85e USB: serial: io_ti: fix information leak in completion handler
449b0bb23708 USB: serial: io_ti: fix NULL-deref in interrupt callback
f06b17020a84 USB: iowarrior: fix NULL-deref in write
653418adaf10 USB: iowarrior: fix NULL-deref at probe
6d6c5895f454 USB: serial: omninet: fix reference leaks at open
0ab90ddba78a USB: serial: safe_serial: fix information leak in completion handler
24db1c5a1c52 usb: host: xhci-plat: Fix timeout on removal of hot pluggable xhci controllers
d86376790752 usb: host: xhci-dbg: HCIVERSION should be a binary number
03123df08e6b Revert "usb: gadget: uvc: Add missing call for additional setup data"
5ce2e4ce4a8a usb: gadget: function: f_fs: pass companion descriptor along
40192c96660f usb: ohci-at91: Do not drop unhandled USB suspend control requests
accadd8164b7 usb: dwc3-omap: Fix missing break in dwc3_omap_set_mailbox()
808ee146d733 usb: dwc3: gadget: make Set Endpoint Configuration macros safe
de90394b0c6b usb: gadget: dummy_hcd: clear usb_gadget region before registration
ed99f5a09cc6 PCI: Prevent VPD access for QLogic ISP2722
1ced52ead244 powerpc/xics: Work around limitations of OPAL XICS priority handling
bc8d2eefe63f powerpc: Emulation support for load/store instructions on LE
ac4666a7fd1a i2c: add missing of_node_put in i2c_mux_del_adapters
06996254a605 dw2102: don't do DMA on stack
56d91e106b13 efi/arm: Fix boot crash with CONFIG_CPUMASK_OFFSTACK=y
ee6f7ee1e4cd ucount: Remove the atomicity from ucount->count
8bb208d02acc tracing: Add #undef to fix compile error
b72ae5ca7a8b cpmac: remove hopeless #warning
04275d2a8af3 bcm63xx_enet: avoid uninitialized variable warning
b7e968da04d7 MIPS: ralink: Remove unused rt*_wdt_reset functions
dd2419e1cec0 MIPS: ralink: Remove unused timer functions
f34064186f0e MIPS: ralink: Cosmetic change to prom_init().
7b767f6b515d mtd: pmcmsp: use kstrndup instead of kmalloc+strncpy
976e40d7f6fe MIPS: Update lemote2f_defconfig for CPU_FREQ_STAT change
dd2ef28eb76e MIPS: ip22: Fix ip28 build for modern gcc
aff853abd298 MIPS: Update ip27_defconfig for SCSI_DH change
23096c56787e MIPS: ip27: Disable qlge driver in defconfig
ad8387a60228 MIPS: VDSO: avoid duplicate CAC_BASE definition
5841e3d37db9 MIPS: Update defconfigs for NF_CT_PROTO_DCCP/UDPLITE change
2c1820ea8dcc crypto: improve gcc optimization flags for serpent and wp512
ce4d67cb3e6e USB: serial: digi_acceleport: fix OOB-event processing
e1533c46151c USB: serial: digi_acceleport: fix OOB data sanity check
d962bf8dd954 Linux 4.9.15
182ff0ebbdab drivers: hv: Turn off write permission on the hypercall page
63e873679ba9 fat: fix using uninitialized fields of fat_inode/fsinfo_inode
16ace91043bf mm: do not call mem_cgroup_free() from within mem_cgroup_alloc()
1771fc58a35d thp: fix another corner case of munlock() vs. THPs
2f18b39499b2 x86/tlb: Fix tlb flushing when lguest clears PGE
91cdd9d79616 x86, mm: fix gup_pte_range() vs DAX mappings
290215a2abfd libceph: use BUG() instead of BUG_ON(1)
ff3bcdc9b5f0 drm/i915: Fix not finding the VBT when it overlaps with OPREGION_ASLE_EXT
686ea5862eb6 drm/i915: Avoid spurious WARNs about the wrong pipe in the PPS code
967e17bcc96d drm: Cancel drm_fb_helper_resume_work on unload
9edc456fe621 drm: Cancel drm_fb_helper_dirty_work on unload
868a747c77cb drm/i915/gvt: Disable access to stolen memory as a guest
f72b751f4340 drm/atomic: fix an error code in mode_fixup()
98620b564fad drm/imx: imx-tve: Do not set the regulator voltage
3a654a85932f dmaengine: imx-sdma - correct the dma transfer residue calculation
56a567de553e drm/vmwgfx: Work around drm removal of control nodes
55f47122c2e8 drm/ttm: Make sure BOs being swapped out are cacheable
ec8e40b117c3 drm/edid: Add EDID_QUIRK_FORCE_8BPC quirk for Rotel RSX-1058
f96c10c2bd1b drm/ast: Fix AST2400 POST failure without BMC FW or VBIOS
5da03582e212 drm/ast: Call open_key before enable_mmio in POST code
54aa80e300d6 drm/ast: Fix test for VGA enabled
0734a3213ca8 drm/amdgpu: add more cases to DCE11 possible crtc mask setup
b507df2e236e mac80211: use driver-indicated transmitter STA only for data frames
39813849996f mac80211: don't handle filtered frames within a BA session
42e7f3771429 mac80211: don't reorder frames with SN smaller than SSN
b116db0da1bd mac80211: flush delayed work when entering suspend
9ad1571da2c0 nfit, libnvdimm: fix interleave set cookie calculation
a7b9c9ddb6f4 xtensa: move parse_tag_fdt out of #ifdef CONFIG_BLK_DEV_INITRD
019c088dc403 pwm: pca9685: Fix period change with same duty cycle
1f2f16c7b7e3 nlm: Ensure callback code also checks that the files match
4f77c55c3ac2 drivers/pci/hotplug: Fix initial state for empty slot
1afe7b4ac3df drivers/pci/hotplug: Handle presence detection change properly
17ea11d55322 target: Fix NULL dereference during LUN lookup + active I/O shutdown
54eff720c99f pci/hotplug/pnv-php: Disable surprise hotplug capability on conflicts
4ee3508f7abe pci/hotplug/pnv-php: Remove WARN_ON() in pnv_php_put_slot()
5da90d0018a7 ceph: remove req from unsafe list when unregistering it
ff61e0123b7d ktest: Fix child exit code processing
1f2ca141ec53 memory/atmel-ebi: Fix ns <-> cycles conversions
b2b0f6ffd3f9 orangefs: Use RCU for destroy_inode
d3381fab77cb fs: Better permission checking for submounts
48e2181b0b8d IB/srp: Fix race conditions related to task management
d5d1d2cc4be7 IB/srp: Avoid that duplicate responses trigger a kernel bug
516a12ab11bd IB/SRP: Avoid using IB_MR_TYPE_SG_GAPS
04f16db056d0 IB/mlx5: Fix out-of-bound access
2e539fa49efd IB/IPoIB: Add destination address when re-queue packet
1626076b8e1c IB/ipoib: Fix deadlock between rmmod and set_mode
808e83e5add1 mnt: Tuck mounts under others instead of creating shadow/side mounts.
c9b3f3173fa5 brcmfmac: fix incorrect event channel deduction
53d43706f2ba cxl: fix nested locking hang during EEH hotplug
411d0b0ced69 cxl: Prevent read/write to AFU config space while AFU not configured
60037aa689ba net: mvpp2: fix DMA address calculation in mvpp2_txq_inc_put()
e067f68db256 s390: use correct input data address for setup_randomness
321081d522d3 s390: make setup_randomness work
9d38fd6a4f6c s390: TASK_SIZE for kernel threads
dc31841fcdce s390/chsc: Add exception handler for CHSC instruction
91cfcaa6ed46 s390/kdump: Use "LINUX" ELF note name instead of "CORE"
b848102542f5 s390/dcssblk: fix device size calculation in dcssblk_direct_access()
5cec5e32ba56 s390/qdio: clear DSCI prior to scanning multiple input queues
519b6cead21e Bluetooth: Add another AR3012 04ca:3018 device
7c3bab189c16 KVM: VMX: use correct vmcs_read/write for guest segment selector/base
035dcc8e87f6 KVM: s390: Disable dirty log retrieval for UCONTROL guests
c4c590be4944 serial: 8250_pci: Add MKS Tenta SCOM-0800 and SCOM-0801 cards
e5b977876155 tty: n_hdlc: get rid of racy n_hdlc.tbuf
(From OE-Core rev: 9b91f4ed409aeee3fa856c9ae1c5bdb3ad73f6cd)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg release with the following shortlog:
0136bca4e0f6 Linux 4.4.56
99d403faba47 futex: Add missing error handling to FUTEX_REQUEUE_PI
44854c191e2c futex: Fix potential use-after-free in FUTEX_REQUEUE_PI
62f57041fbdf x86/perf: Fix CR4.PCE propagation to use active_mm instead of mm
8e0ec20539f8 x86/kasan: Fix boot with KASAN=y and PROFILE_ANNOTATED_BRANCHES=y
3a19419c50c6 fscrypto: lock inode while setting encryption policy
fd74e8d258da fscrypt: fix renaming and linking special files
c10ffe988f15 net sched actions: decrement module reference count after table flush.
676fe978525d dccp: fix memory leak during tear-down of unsuccessful connection request
4ab956b56133 dccp/tcp: fix routing redirect race
56f9b9502f2d bridge: drop netfilter fake rtable unconditionally
aed728c38c48 ipv6: avoid write to a possibly cloned skb
5f8bc3856e28 ipv6: make ECMP route replacement less greedy
b57955ea30e1 mpls: Send route delete notifications when router module is unloaded
710fbeb3f5c5 act_connmark: avoid crashing on malformed nlattrs with null parms
6c72458ab428 uapi: fix linux/packet_diag.h userspace compilation error
e671f1cc588f vrf: Fix use-after-free in vrf_xmit
d0ebde92fbeb dccp: fix use-after-free in dccp_feat_activate_values
ec4d8692b76e net: fix socket refcounting in skb_complete_tx_timestamp()
9e7683301bee net: fix socket refcounting in skb_complete_wifi_ack()
2681a7853ad7 tcp: fix various issues for sockets morphing to listen state
9216632bf4a0 dccp: Unlock sock before calling sk_free()
a70c32859704 net: net_enable_timestamp() can be called from irq contexts
f331d6445a3e net: don't call strlen() on the user buffer in packet_bind_spkt()
2cd0afc64e33 l2tp: avoid use-after-free caused by l2tp_ip_backlog_recv
354f79125f12 ipv4: mask tos for input route
f1b3aae1f1bf vti6: return GRE_KEY for vti6
51a219a1371e vxlan: correctly validate VXLAN ID against VXLAN_N_VID
0c0be310ba29 netlink: remove mmapped netlink support
28ec98bc2e4a Linux 4.4.55
1c5265be54d3 ext4: don't BUG when truncating encrypted inodes on the orphan list
cd8ad4d9eb6d dm: flush queued bios when process blocks to avoid deadlock
66dd58f56eab nfit, libnvdimm: fix interleave set cookie calculation
a084aeef5633 s390/kdump: Use "LINUX" ELF note name instead of "CORE"
b0e85701a776 KVM: s390: Fix guest migration for huge guests resulting in panic
61fbad6a28fd mvsas: fix misleading indentation
72ca0ab30680 serial: samsung: Continue to work if DMA request fails
72bb2b96b856 USB: serial: io_ti: fix information leak in completion handler
e71c7bad6844 USB: serial: io_ti: fix NULL-deref in interrupt callback
6498086195b9 USB: iowarrior: fix NULL-deref in write
179295c38d23 USB: iowarrior: fix NULL-deref at probe
54f11a9662b6 USB: serial: omninet: fix reference leaks at open
3cdc94638746 USB: serial: safe_serial: fix information leak in completion handler
cf09c7d60ccc usb: host: xhci-plat: Fix timeout on removal of hot pluggable xhci controllers
40c5634ffe3d usb: host: xhci-dbg: HCIVERSION should be a binary number
4a1a3bb70fb4 usb: gadget: function: f_fs: pass companion descriptor along
10af24856503 usb: dwc3: gadget: make Set Endpoint Configuration macros safe
f47b97f2cdaa usb: gadget: dummy_hcd: clear usb_gadget region before registration
2ca39d130015 powerpc: Emulation support for load/store instructions on LE
074893495b72 tracing: Add #undef to fix compile error
127651058594 MIPS: Netlogic: Fix CP0_EBASE redefinition warnings
2e4aff2405af MIPS: DEC: Avoid la pseudo-instruction in delay slots
5fad17434465 mm: memcontrol: avoid unused function warning
5e45d834f762 cpmac: remove hopeless #warning
32883383f5e0 MIPS: ralink: Remove unused rt*_wdt_reset functions
4b91e7a2a9a7 MIPS: ralink: Cosmetic change to prom_init().
3dc8f1e3a8f2 mtd: pmcmsp: use kstrndup instead of kmalloc+strncpy
d2a8d746ae95 MIPS: Update lemote2f_defconfig for CPU_FREQ_STAT change
c018595d83a3 MIPS: ip22: Fix ip28 build for modern gcc
7a6a965f350e MIPS: Update ip27_defconfig for SCSI_DH change
8ed0fdcc0c11 MIPS: ip27: Disable qlge driver in defconfig
adc48c710b7e MIPS: Update defconfigs for NF_CT_PROTO_DCCP/UDPLITE change
e041ad066440 crypto: improve gcc optimization flags for serpent and wp512
a8cb5c02a20f USB: serial: digi_acceleport: fix OOB-event processing
4d95645f3dd5 USB: serial: digi_acceleport: fix OOB data sanity check
(From OE-Core rev: aac3bd4b9a3a2dca42eff68beec1b075ae8e532a)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg -stable release with the following shortlog
summary:
034612ee057c Linux 4.10.5
7814c9bd217a crypto: s5p-sss - Fix spinlock recursion on LRW(AES)
4310604e21dd crypto: powerpc - Fix initialisation of crc32c context
de3c88fa6a29 locking/rwsem: Fix down_write_killable() for CONFIG_RWSEM_GENERIC_SPINLOCK=y
d80e46d90742 futex: Add missing error handling to FUTEX_REQUEUE_PI
575caefc01f3 futex: Fix potential use-after-free in FUTEX_REQUEUE_PI
57ad6c8ecb1f x86/perf: Fix CR4.PCE propagation to use active_mm instead of mm
343146100991 x86/intel_rdt: Put group node in rdtgroup_kn_unlock
7621600b480e x86/kasan: Fix boot with KASAN=y and PROFILE_ANNOTATED_BRANCHES=y
bd5ee529d0be x86/tsc: Fix ART for TSC_KNOWN_FREQ
a0256e0c0dc6 x86/unwind: Fix last frame check for aligned function stacks
5b115b8b53d8 drm/i915/lspcon: Fix resume time initialization due to unasserted HPD
ebd9dbabb5fc drm/i915/gen9+: Enable hotplug detection early
b9208ab35001 drm/i915/lspcon: Enable AUX interrupts for resume time initialization
1740a61cf09e irqchip/gicv3-its: Add workaround for QDF2400 ITS erratum 0065
ef217ea7f1fb arm64: KVM: VHE: Clear HCR_TGE when invalidating guest TLBs
f70ce6c63e02 dccp: fix memory leak during tear-down of unsuccessful connection request
a79fa23c82a1 tun: fix premature POLLOUT notification on tun devices
b34c9f7fe45e dccp/tcp: fix routing redirect race
7ebf301d8476 net: use net->count to check whether a netns is alive or not
47808872e25b bridge: drop netfilter fake rtable unconditionally
fdb09132bdea ipv6: avoid write to a possibly cloned skb
b74b74e2087e ipv6: make ECMP route replacement less greedy
ed44bf89ab5f mpls: Do not decrement alive counter for unregister events
61cc1778ad62 mpls: Send route delete notifications when router module is unloaded
8e9bacd9add7 act_connmark: avoid crashing on malformed nlattrs with null parms
cdb9caeb7177 amd-xgbe: Enable IRQs only if napi_complete_done() is true
110e7778ea32 uapi: fix linux/packet_diag.h userspace compilation error
5344ec08726a net/tunnel: set inner protocol in network gro hooks
7360a1fda857 vrf: Fix use-after-free in vrf_xmit
be18cce7e665 team: use ETH_MAX_MTU as max mtu
92ab4dea27c1 dccp: fix use-after-free in dccp_feat_activate_values
a6ff06211b84 net/sched: act_skbmod: remove unneeded rcu_read_unlock in tcf_skbmod_dump
27d0c80f1089 net: fix socket refcounting in skb_complete_tx_timestamp()
80691f3808fc net: fix socket refcounting in skb_complete_wifi_ack()
81a43770b456 tcp: fix various issues for sockets morphing to listen state
178e86ff331d strparser: destroy workqueue on module exit
aa677aafef5c bonding: use ETH_MAX_MTU as max mtu
0ee7666f639a amd-xgbe: Don't overwrite SFP PHY mod_absent settings
9919f222968c amd-xgbe: Be sure to set MDIO modes on device (re)start
4381ffdfb32b amd-xgbe: Stop the PHY before releasing interrupts
7558c56cfe35 dccp: Unlock sock before calling sk_free()
a8ee7ed1b03d ipv6: orphan skbs in reassembly unit
eb39579a675a net: net_enable_timestamp() can be called from irq contexts
fa8bc7b48168 net: don't call strlen() on the user buffer in packet_bind_spkt()
e89adaa7d0cf net: bridge: allow IPv6 when multicast flood is disabled
da2da823497c tcp/dccp: block BH for SYN processing
8f05976cbfba mlxsw: spectrum_router: Avoid potential packets loss
40f9f783920f geneve: lock RCU on TX path
d6705c8c0cb0 vxlan: lock RCU on TX path
4c94beba3aee l2tp: avoid use-after-free caused by l2tp_ip_backlog_recv
639fdd961af0 net sched actions: decrement module reference count after table flush.
467bec3656bd sctp: set sin_port for addr param when checking duplicate address
91f4f5bfaa29 ipv4: mask tos for input route
0a33d62a6f9d ipv4: add missing initialization for flowi4_uid
2b5a48d6c6eb vxlan: don't allow overwrite of config src addr
fef3f97a58b2 vti6: return GRE_KEY for vti6
36ec2150ae0a vxlan: correctly validate VXLAN ID against VXLAN_N_VID
f44877534257 sctp: deny peeloff operation on asocs with threads sleeping on it
55bb0dd0256c net/mlx5e: Fix wrong CQE decompression
c0dc4855e92b net/mlx5e: Update MPWQE stride size when modifying CQE compress state
c34c17861ab1 net/mlx5e: Fix broken CQE compression initialization
850a1bfbf35d net/mlx5e: Do not reduce LRO WQE size when not using build_skb
96b457b80526 net/mlx5e: Register/unregister vport representors on interface attach/detach
8ea22fb3114d Linux 4.10.4
42b16fffb79b IB/mlx5: Verify that Q counters are supported
dc37bb8db47b ext4: don't BUG when truncating encrypted inodes on the orphan list
1cda29082a30 rc: raw decoder for keymap protocol is not loaded on register
22fc2f9efa27 dm: flush queued bios when process blocks to avoid deadlock
2030aedc5404 serial_ir: ensure we're ready to receive interrupts
81383a00ce83 drm/i915/gvt: Fix superfluous newline in GVT_DISPLAY_READY env var
523379cd6b65 KVM: arm/arm64: Let vcpu thread modify its own active state
1f9175b9ee7c KVM: s390: Fix guest migration for huge guests resulting in panic
45dc259a4734 serial: samsung: Continue to work if DMA request fails
7daf817d076d USB: serial: io_ti: fix information leak in completion handler
9bb084c79f20 USB: serial: io_ti: fix NULL-deref in interrupt callback
14bca59b1660 USB: iowarrior: fix NULL-deref in write
5ec59765f503 USB: iowarrior: fix NULL-deref at probe
cc6ba470ebf8 USB: serial: omninet: fix reference leaks at open
dc944b117e6c USB: serial: safe_serial: fix information leak in completion handler
a062cb395946 usb: host: xhci-plat: Fix timeout on removal of hot pluggable xhci controllers
7202353681d5 usb: host: xhci-dbg: HCIVERSION should be a binary number
222095ea6487 Revert "usb: gadget: uvc: Add missing call for additional setup data"
d60b1053a5bb usb: gadget: function: f_fs: pass companion descriptor along
a0f69738c10e usb: ohci-at91: Do not drop unhandled USB suspend control requests
25b1a4fdd8ae usb: dwc3-omap: Fix missing break in dwc3_omap_set_mailbox()
894a0dfaaef7 usb: dwc3: gadget: make Set Endpoint Configuration macros safe
c73210fdd40d usb: gadget: dummy_hcd: clear usb_gadget region before registration
b5ea65b25a33 PCI: Prevent VPD access for QLogic ISP2722
27469baaef1a powerpc/xics: Work around limitations of OPAL XICS priority handling
74e236a5bd99 powerpc/booke: Fix boot crash due to null hugepd
1006828d1104 powerpc: Emulation support for load/store instructions on LE
80eae855b694 i2c: add missing of_node_put in i2c_mux_del_adapters
be20197df07d dw2102: don't do DMA on stack
7399dec22e72 efi/arm: Fix boot crash with CONFIG_CPUMASK_OFFSTACK=y
da603aadd53a ucount: Remove the atomicity from ucount->count
b7e9ef5cf4d9 tracing: Add #undef to fix compile error
3eded4f5bab1 i2c: bcm2835: Avoid possible NULL ptr dereference
393be4bcb329 MIPS: ralink: Remove unused rt*_wdt_reset functions
4ddb085a9b0a MIPS: ralink: Remove unused timer functions
e1d9f7592b80 MIPS: ralink: Cosmetic change to prom_init().
02b210c18667 mtd: pmcmsp: use kstrndup instead of kmalloc+strncpy
ee9cc4c573d5 MIPS: Update lemote2f_defconfig for CPU_FREQ_STAT change
9ad686e6937a MIPS: ip22: Fix ip28 build for modern gcc
715bb84b6ff6 MIPS: Update ip27_defconfig for SCSI_DH change
b57e5d5daf99 MIPS: ip27: Disable qlge driver in defconfig
2260890bb6c7 MIPS: VDSO: avoid duplicate CAC_BASE definition
d2b0d01a11b3 MIPS: Update defconfigs for NF_CT_PROTO_DCCP/UDPLITE change
aab419fc3980 crypto: improve gcc optimization flags for serpent and wp512
5af39bb8492f USB: serial: digi_acceleport: fix OOB-event processing
2d32308355a8 USB: serial: digi_acceleport: fix OOB data sanity check
a3137ad2e14f ARM: qcom_defconfig: Enable RPM/RPM-SMD clocks
fa190b2a7f87 iio: 104-quad-8: Fix off-by-one error when addressing flag register
adfb98cd3e93 Linux 4.10.3
070dfed4d04e drivers: hv: Turn off write permission on the hypercall page
9cafe6bb9aa2 fat: fix using uninitialized fields of fat_inode/fsinfo_inode
0d9cc8aa34ad kasan: resched in quarantine_remove_cache()
44c95966fb81 mm: do not call mem_cgroup_free() from within mem_cgroup_alloc()
933f0f3ad49a thp: fix another corner case of munlock() vs. THPs
459bc5065631 x86/tlb: Fix tlb flushing when lguest clears PGE
ac312c7e0a90 x86, mm: fix gup_pte_range() vs DAX mappings
0af36e434a3c libceph: use BUG() instead of BUG_ON(1)
cde805106887 drm/i915: Fix not finding the VBT when it overlaps with OPREGION_ASLE_EXT
5eeb3c0eb7ec drm/i915: Pass timeout==0 on to i915_gem_object_wait_fence()
d11d14c5fc0b drm/i915: Check for timeout completion when waiting for the rq to submitted
e2a946bb97bb drm/i915: Avoid spurious WARNs about the wrong pipe in the PPS code
c50f65f12705 drm/i915: Recreate internal objects with single page segments if dmar fails
4a8a58eed276 drm: Cancel drm_fb_helper_resume_work on unload
616c9bd8b288 drm: Cancel drm_fb_helper_dirty_work on unload
cdb4f19aae0f drm/i915/gvt: Disable access to stolen memory as a guest
f7189c6bb9f2 drm/atomic: fix an error code in mode_fixup()
99eb5a10a7f7 drm/imx: imx-tve: Do not set the regulator voltage
5e0b0839f3ce drm/vmwgfx: Work around drm removal of control nodes
e6d03fc74541 drm/ttm: Make sure BOs being swapped out are cacheable
0586602fc10f drm/edid: Add EDID_QUIRK_FORCE_8BPC quirk for Rotel RSX-1058
68279b15119b drm/radeon: handle vfct with multiple vbios images
e51353092182 drm/ast: Fix AST2400 POST failure without BMC FW or VBIOS
cd8183923984 drm/ast: Call open_key before enable_mmio in POST code
f38a3c87d6ee drm/ast: Fix test for VGA enabled
af7fe73a14fc drm/ast: Handle configuration without P2A bridge
0f9e6fc5b76d Revert "drm/amdgpu: update tile table for oland/hainan"
2deaea3e0d07 drm/amdgpu/pm: check for headless before calling compute_clocks
33d129a09aae drm/amdgpu: add more cases to DCE11 possible crtc mask setup
fc758b77745e mac80211: use driver-indicated transmitter STA only for data frames
4a6d105fb277 mac80211: don't handle filtered frames within a BA session
df7db05561f6 mac80211: don't reorder frames with SN smaller than SSN
f5bf0a15c63e mac80211: flush delayed work when entering suspend
ea708e9581d8 nfit, libnvdimm: fix interleave set cookie calculation
3f56c495a42e xtensa: move parse_tag_fdt out of #ifdef CONFIG_BLK_DEV_INITRD
5a4312c2a651 pwm: pca9685: Fix period change with same duty cycle
c634f19b9501 nlm: Ensure callback code also checks that the files match
1a02f33a6302 drivers/pci/hotplug: Fix initial state for empty slot
487163f3f316 drivers/pci/hotplug: Handle presence detection change properly
f9b90f204749 target: Fix NULL dereference during LUN lookup + active I/O shutdown
81bd29553ee3 pci/hotplug/pnv-php: Disable surprise hotplug capability on conflicts
7e8b77528445 pci/hotplug/pnv-php: Remove WARN_ON() in pnv_php_put_slot()
ab3398e159fd ceph: remove req from unsafe list when unregistering it
0569b5ed3e73 ktest: Fix child exit code processing
9dbea7f7bcec tracing: Fix return value check in trace_benchmark_reg()
8a915b3ccbb2 memory/atmel-ebi: Fix ns <-> cycles conversions
a4755943204e orangefs: Use RCU for destroy_inode
2708a2d33e04 Btrfs: fix data loss after truncate when using the no-holes feature
ade784b0f3a7 fs: Better permission checking for submounts
35065a1f6ec2 IB/srp: Fix race conditions related to task management
a9397e4365d6 IB/srp: Avoid that duplicate responses trigger a kernel bug
a51892e0c136 IB/SRP: Avoid using IB_MR_TYPE_SG_GAPS
e0d15d562ee7 IB/mlx5: Fix out-of-bound access
b92c4a09f589 IB/IPoIB: Add destination address when re-queue packet
91948b0944af IB/ipoib: Fix deadlock between rmmod and set_mode
6de9d08a9718 mnt: Tuck mounts under others instead of creating shadow/side mounts.
f03d5078063c brcmfmac: fix incorrect event channel deduction
8cdfa0d8b0f5 cxl: fix nested locking hang during EEH hotplug
e5603a5c6deb cxl: Prevent read/write to AFU config space while AFU not configured
4144a307cb46 net: mvpp2: fix DMA address calculation in mvpp2_txq_inc_put()
c9ac3e943deb s390: use correct input data address for setup_randomness
0075504d83ce s390: make setup_randomness work
ca54585dd5dd s390/topology: correct allocation of topology information
c61a874ea0ec s390: TASK_SIZE for kernel threads
162668c000ab s390/chsc: Add exception handler for CHSC instruction
836f9814f092 s390/kdump: Use "LINUX" ELF note name instead of "CORE"
1f2659aa7dfe s390/dcssblk: fix device size calculation in dcssblk_direct_access()
3c3c4d25c589 s390/qdio: clear DSCI prior to scanning multiple input queues
ac7c6461addb phy: qcom-ufs: Fix misplaced jump label
04b5101049ac phy: qcom-ufs: Don't kfree devres resource
a6ed492d6cca Bluetooth: Add another AR3012 04ca:3018 device
3904b32cfe50 KVM: VMX: use correct vmcs_read/write for guest segment selector/base
f89d6db0c50c KVM: s390: Disable dirty log retrieval for UCONTROL guests
c9dc3873046e serial: 8250_pci: Add MKS Tenta SCOM-0800 and SCOM-0801 cards
72e544022383 tty: n_hdlc: get rid of racy n_hdlc.tbuf
(From OE-Core rev: 22dc7a724622c8670cbccca630902014ebc26eb0)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the DISTRO_FEATURES contain systemd then the systemd class won't delete the
units for us. Until the class is fixed to do this automatically, delete them
explicitly.
(From OE-Core rev: d68a86d87aa017dd0fecb0f626d22711efefcd3f)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
By default, QemuRunner avoids modifying the image files that it boots
into by enabling the qemu snapshot mode. However, some tests may want
to test changes that must persists across reboots, so this mode
should be optional.
This can be combined by copying the image file to a temporary location
first and then booting with that copy. It's also useful when testing
with additional drives attached to a virtual machine.
QemuTinyRunner doesn't use the snapshot parameter and therefore ignores
the new parameter.
Long term, a better way of passing these various configuration
parameters should be used, and perhaps QemuRunner and QemuTinyRunner
can be merged into one again to avoid code duplication. But for now
the patch follows the exiting style.
Also beware that QemuTarget.start() now acts in two different modes
(with or without explicit launch command), and depending on that mode
parameters like discard_writes must be ignored, i.e. not get passed to
launch().
(From OE-Core rev: 969d079a33a57f5a8f7af86d7bab04d35ab07584)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
runqemu() takes all parameters for the virtual machine from the
variables of the given recipe. By allowing the caller to provide a
hash with variables that get applied locally, the caller gets more
control.
Here's the intended usage:
<prepare internal-image in self.resultdir>
overrides = {
'DEPLOY_DIR_IMAGE': self.resultdir,
'IMAGE_LINK_NAME': 'internal-image-%s' % self.image_arch,
}
with runqemu('refkit-installer-image', ssh=False,
overrides=overrides) as qemu:
....
This can be used to replace the image completely with something else
or to copy it before allowing runqemu() to write into it.
(From OE-Core rev: 4c6ba32abd6b9de33f4b8a0b87e8a56432ed7825)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Sometimes it is useful to reconfigure the qemu virtual machine
directly. runqemu has the "qemuparams" parameter for that, and the
underlying start() methods also supported modifying that via their
"params" parameter. Only the runqemu() wrapper function lacked
a way to specify additional parameters.
One potential usage is to attach additional disks.
(From OE-Core rev: b2a1cf09ea65ed6f561886b1b4241f9adf3e5709)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previously, QEMU_USE_KVM=True enabled the use of kvm only when "x86"
was in the MACHINE name. That is too limiting, because for example
intel-corei7-64 can also use kvm but it wasn't possible to enable that
without changing OE-core.
That traditional usage is still supported. In addition, QEMU_USE_KVM
can be set to a list of space-separated MACHINE names for which kvm is
to be enabled.
(From OE-Core rev: d5421dd00b9cf785fa77e77c6c739e8bd8822fa3)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Sometimes, the OEQA utility code aborts with:
...
File ".../meta/lib/oeqa/utils/qemurunner.py", line 131, in start
return self.launch(launch_cmd, qemuparams=qemuparams, get_ip=get_ip, extra_bootparams=extra_bootparams)
File ".../meta/lib/oeqa/utils/qemurunner.py", line 259, in launch
sread, swrite, serror = select.select(socklist, [], [], 5)
InterruptedError: [Errno 4] Interrupted system call
strace shows that this is because of a SIGWINCH:
Connection from 127.0.0.1:52668
select(21, [20], [], [], {5, 0}) = ? ERESTARTNOHAND (To be restarted if no handler)
--- SIGWINCH {si_signo=SIGWINCH, si_code=SI_KERNEL} ---
This is related to some special conditions:
* whether qemu opens a graphical console window (enabled in Poky by default)
* where that window gets opened
* whether the window manager changes the size of the shell window (mine
is a tiling window manager and reorders and resizes windows automatically)
Ignoring the interrupted system calls avoids the problem. Code elsewhere (for example,
run() in ssh.py) already does the same thing.
(From OE-Core rev: 44fe106baf5fd5aebe26c5f28004e2b18d839b7c)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was not working in multilib or x32 setups and amazingly, was not
noticed until now.
The actual modification is in Lib/site.py, the rest is just devtool moving things around in the patch.
(From OE-Core rev: f60d261b682f1526fb7a754c425300954ef85042)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Missing runtime dependencies should result in an error rather than a
warning. Indeed, if RPM is listed in PACKAGE_CLASSES, it will throw
an error rather than install packages with missing dependencies. This
functionality should be consistent across package types. This patch
ensures that an error will be thrown.
[YOCTO #10949]
(From OE-Core rev: 90bc7bfa1b27cd5ea2480463f7631f179a296b10)
Signed-off-by: Stephano Cetola <stephano.cetola@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This sycncs eudev with systemd. This is required for old kernels to
work and does same backport as did in:
,----
| commit 31163abc7bedd477c1aad10e6d1f47dbee194513
| Author: Jonathan Liu <net147@gmail.com>
| Date: Thu Mar 19 15:38:32 2015 +1100
|
| systemd: restore userspace firmware loading support
|
| This changes the minimum required Linux version from 3.7 back to 3.0.
|
| [YOCTO #7409]
|
| Signed-off-by: Jonathan Liu <net147@gmail.com>
| Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
`----
(From OE-Core rev: d6b139ef1b52ee4842f8706c1b8b950cc50a3d54)
Signed-off-by: Lauren Post <lauren.post@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Underscore modules are meant to be run only when manually added to the test
suite, so far another mechanisms are in place to make this happen with
runtime, sdk, and esdk (mostly in test* bbclasses).
This will add such functionality in the core framework so other specific
frameworks can take use this without adding something else.
[YOCTO #10980]
(From OE-Core rev: 2c6eac774768aa610a8b3784483b9e90fb629c2d)
Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* devtool: oeqa.selftest.devtool.DevtoolTests is taking 4 or more hours on the
autobuilder because the cleanall call deletes the tarball of the kernel
source, forcing a large clone which is especially long on an NFS mount.
The cleanall invocation isn't really required here and switching to clean
instead should avoid hours of re-cloning the same repository each time we
run oe-selftest on the autobuilder.
* buildoptions: We only need to ensure the first image isn't an incremental
image, clean will suffice here.
* runtime-test: no need to clean up the artefacts generated during the test,
let's leave that to a higher level process rather than using the cleanall
hammer.
(From OE-Core rev: 9c948d3de08f158387e08a17cdc0cedc7d26bb54)
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
ifupdown does not provide an initscript so this recipe should not
inherit update-rc.d class. Instead, we rely on init-ifupdown recipe to
startup networking.
(From OE-Core rev: 4e6bf6ea766a0d47f96b3c4682d4f7e81a5763e7)
Signed-off-by: David Vincent <freesilicon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The rpm 5 has a rpm-build package, so here should use RPROVIDES rather
than PROVIDES to keep compatibility.
(From OE-Core rev: de2ee88f9cc0fc8d6d92ac2a79364e79a99ae98e)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The MESA 17.0 has Etnaviv and i.MX support. Expose them in
PACKAGECONFIG for use.
(From OE-Core rev: b77c0355e272e9e7a7ab625eef27a8717225b132)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a bugfix only release.
,----
| Bug fixes
|
| Bug 68504 - 9.2-rc1 workaround for clover build failure on ppc/altivec: cannot convert 'bool' to '__vector(4) __bool int' in return
| Bug 97988 - [radeonsi] playing back videos with VDPAU exhibits deinterlacing/anti-aliasing issues not visible with VA-API
| Bug 99484 - Crusader Kings 2 - Loading bars, siege bars, morale bars, etc. do not render correctly
| Bug 99715 - Don't print: "Note: Buggy applications may crash, if they do please report to vendor"
| Bug 100049 - "ralloc: Make sure ralloc() allocations match malloc()'s alignment." causes seg fault in 32bit build
`----
(From OE-Core rev: 7559db30e161851ea944763ee4c1adb17ef6a797)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In entire meta/classes/ directory, replace shell tests of the form
"if test -? ..." with POSIX tests of the form "if [ -? ...
(From OE-Core rev: 78928016f4cf38cf6751cb089200bf950d07ae93)
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For aesthetic style reasons, use "grep -q" instead of ">/dev/null".
(From OE-Core rev: 39a7bfde92211b3546ff0a8e6a3e549714996b28)
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
mdadm only works with corosync 2.x which provides header file corosync/cmap.h.
If build mdadm with corosync 1.x, it fails with:
| member.c:12:27: fatal error: corosync/cmap.h: No such file or directory
| #include <corosync/cmap.h>
| ^
Build with corosync only header file corosync/cmap.h exists.
Ref:
https://github.com/neilbrown/mdadm/blob/master/mdadm.h#L63
(From OE-Core rev: b2a785f19fe25d244179b8672c846925da6d455a)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
roofs -> rootfs.
(From OE-Core rev: 73b386c16b2388b5b351305bf1855c444d53481e)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When performing a file system check, the image created with mkfs will
trigger Pass 3A ('Optimizing directories') which turns the file system
into state "changed" (EXT2_FLAG_CHANGED).
This will let fsck request a reboot by setting the return code flag "2".
The result of this is that each ext-image built with oe-core will
trigger a reboot during the first time an fsck is triggered.
A common case where this might occur is when fsck detects having
a future superblock write time. This always happens when booting a
newly created ext4 rootfs with a target that does not have a recent time
set.
This patch moves the initial fsck run that performs the optimization
from the target to the host system and thus prevents the target from
performing an avoidable reboot.
(From OE-Core rev: a93d005934192402d7cceb36016b25b7d0c65547)
Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
Signed-off-by: Ulrich Ölmann <uol@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Limit the length of error logs to 40 lines. We don't need to
show/archive thousands of lines of bitbake logs if an error occurs.
(From OE-Core rev: 3f1996cb016713295edf35edc32dd5e84888a5c7)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Make it possible to limit the length of output lines shown in runCmd
exceptions. E.g when running bitbake we easily get thousands of lines of
log output, where only the last few (tens) are interesting or relevant
when an error occurs.
(From OE-Core rev: 403dd205828002d6ef4e8b474aedb6082289e22f)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of separate rusage and child rusage values, only store their sum
value in buildstats. This is a big reduction in data footprint without
really losing any interesting data.
Also, utilize OrderedDict to order data more logically.
[YOCTO #10582]
(From OE-Core rev: 70c41bb721c00ed2abbb88d273eebc3a8bb01f5d)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Write out all buildstats into one big json file, instead of using
multiple per-measurement files. Individual buildstats will be indexed
using "<test_name>.<measurement_name>" as the key. Also, changes the
per-testcase working directories into temporary directories that will be
removed after test execution as there are no more per-testcase data files
to store permanently.
[YOCTO #10582]
(From OE-Core rev: a7f2e8915db379021f3409ca640de5d3b054a830)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
do_diffs in the vg_regtest script compares the actual test output
against the expected test output and returns 0 if it matches.
Previous upgrade modified the return value of do_diffs() and that
resulted in ptest failures.
[YOCTO #8471]
(From OE-Core rev: fa5f7b5090468da0ed1e30160e68362c97350c47)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
@PERL@ in vg_regtest.in causes recipe specific sysroot based perl to
be present in the vg_regtest script, making it unusable in the target.
Use /usr/bin/perl instead of @PERL@ to fix it.
(From OE-Core rev: 7a0caa23965185ac8268ae1da2f61fc7ca6de682)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Re-order some assignments to be logically arranged.
Remove the set -ex statements as they serve no purpose.
Pass --debug-configuration to see what configuration steps boost is taking.
(From OE-Core rev: 2dc4796f02ecdc99ee3c51c668e8d9090e68a655)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As Python 3 is the default Python version, change Boost to build against Python
3 instead of Python 2 if enabled. It's not simple to support both, so this
means that support for building boost-python against Python 2 has been removed.
This involves backporting a number of patches upstream to fix Python 3 support,
and telling Boost precisely where to find the Python headers and libraries so
that it doesn't try to invoke the host Python to determine these values.
[ YOCTO #11104 ]
(From OE-Core rev: 0f5418eb0ce12811b16d2e3c28c28140a509f685)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Briefly: Haiti has resumed DST.
Changes to past and future time stamps
Haiti resumed observance of DST in 2017. (Thanks to Steffen Thorsen.)
Changes to past time stamps
Liberia changed from -004430 to +00 on 1972-01-07, not 1972-05-01.
Use "MMT" to abbreviate Liberia's time zone before 1972, as "-004430"
is one byte over the POSIX limit. (Problem reported by Derick Rethans.)
(From OE-Core rev: 70ff7cfa8a7ffb537da19aeca026032bab55a00d)
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The bb.note prints multiple same lines when invoke this class again, but
if we set mainlogger.propagate = False, nothing would be printed,
according to logging's document:
https://docs.python.org/3/library/logging.html
Note
If you attach a handler to a logger and one or more of its ancestors, it
may emit the same record multiple times. In general, you should not need
to attach a handler to more than one logger - if you just attach it to
the appropriate logger which is highest in the logger hierarchy, then it
will see all events logged by all descendant loggers, provided that
their propagate setting is left set to True. A common scenario is to
attach handlers only to the root logger, and to let propagation take
care of the rest.
We may need avoid using bb.note or bb.warn in oeqa since it attaches
multiple log handlers which may cause confusions
This patch only sets "mainlogger.propagate = False" in
selftest/runqemu.py and use logger.info to replace bb.note in
targetcontrol.py to minimize the impact.
[YOCTO #10249]
(From OE-Core rev: b139790422bc8e0d80bad063bb78bc1632731bc1)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The launch() doesn't need runqemuparams, we need handle it in start().
(From OE-Core rev: 16400f2b8bffc4cae0263bb597522071299b46ca)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Modify the following files to test runqemu:
targetcontrol.py
utils/commands.py
utils/qemurunner.py
We need simulate how "runqemu" works in command line, so when test
"runqemu", the targetcontrol.py, utils/commands.py and
utils/qemurunner.py don't have to find the rootfs or set env vars.
[YOCTO #10249]
(From OE-Core rev: 9305d816bdf8837ea3a407091cb7f24a9a3ae8dc)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some commands might need to run longer than the default timeout of
five seconds. If that occurred, run_serial() returned with a status
code of zero (sic!) and no other indication of what went wrong.
Now the timeout is configurable (with five still the default) and
an explicit warning ("<<< run_serial(): command timed out after 5 seconds without output >>>")
gets appended at the end of the data returned to the caller.
While at it, the logic for checking for the timeout was updated a bit
because both implementations could overshoot the timeout when entering
select() right before the final deadline.
(From OE-Core rev: accf0362f964cc9d6330b6e52e83d748d890521f)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a PACKAGECONFIG option to allow the user to disable the mouse
cursor/pointer in the X server. This might be useful where a
touchscreen is used.
(From OE-Core rev: 680940250c9a1c7b43229c5e4f4fed5cc3e31033)
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently, if something is added to a sysroot, its hash remains unchanged,
and it continues to be buildable, it doesn't get removed from the sysroot.
This patch handles the case where something is removed from DEPENDS or
[depends].
It does introduce its own issue where something could get removed even
though some other task in parallel may have the same requirement. This
case should be extrememly rare and fixing the more common DEPENDS removal
is likely the bigger win though.
(From OE-Core rev: 06227bc5e533841ab12cde84a6ed6f8b8ddeb5cb)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changed were made to the code but not reflected in vardepsexclude, fix this.
(From OE-Core rev: e59dc6985e22e7ac30b6afa81d448fbc372f5dab)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The original description for this was:
"""
Since we clean out do_populate_sysroot if do_configure runs, don't
allow do_populate_sysroot_setscene functions if we're going to
run do_configure.
"""
With RSS, we don't need to clean do_populate_sysroot any more. Since
we no longer do that, this function also has no purpose any longer
and can also be removed.
(From OE-Core rev: 637c6d17b4a812379cbab64d340660092e046965)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With recipe specific sysroots its now pointless to do this, may as well
save the cpu cycles.
(From OE-Core rev: b70c8e91e6c4240e95e8b22bcc36525a5a0703f9)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
BB_SETSCENE_VERIFY_FUNCTION2 replaced BB_SETSCENE_VERIFY_FUNCTION
and due to our minimum bitbake requirements there is no point in
retaining the older version any more.
(From OE-Core rev: f08d6ccda5db9fdc81d53370aea1f599718897da)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Make use of lnr/ln -r while creating relative symlinks than guessing the
relalive path.
(From OE-Core rev: 8205b92631bc1dcb3419c709ef5a98b2b3cd9d70)
Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rename local function to avoid conflicts with compiler intrinsics
(From OE-Core rev: fcfbbae9fdda539665a1e8bfe292f917bd5a1927)
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>
Try to avoid native recipes accidentally being dependent on
MACHINE_FEATURES. This simple change doesn't prevent MACHINE_FEATURES
set via MACHINE_FEATURES_BACKFILL sneaking through, but it's better
than nothing.
(From OE-Core rev: 96c20c9df714cdf3f0e9461ec566c4f5d3bdb5f1)
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>
Update the list of available IMAGE_FEATURES with the sub-features of
'debug-tweaks' and add 'splash'.
(From OE-Core rev: 1e46220bb3901476266846447ff40533c9bffa1d)
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* respect it for incremental rootfs generation
* add lists_dir option to opkg.conf
* also fix setting info_dir and status_file when they use default value, the
problem is that self.opkg_dir is already prefixed with rootfs directory,
comparing it with /var/lib/opkg always returned false and the options were
appended to config file unnecessary
* with opkg 0.3.4 we can use VARDIR prefix added in:
commit d2a8e23dc669adc398f4bb8bcfcabfcf925708f7
Author: Florin Gherendi <floring2502@gmail.com>
Date: Mon Dec 19 12:25:38 2016 +0200
libopkg: make the /var and /etc directories configurable at compile time.
(From OE-Core rev: b14c11d062872c3dcf95e03b61017005dea5b754)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* when OPKGLIBDIR doesn't have the default /var/lib value it will
silently fail to copy package database from normal rootfs to debugfs
rootfs and then when trying to install *-dbg complimentary packages
it won't install anything, because installed_pkgs.txt file generated
from debugfs is empty
(From OE-Core rev: bebdb056c8bd0efc056f07b275a154e5d5a3aa2b)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The windres binutils binary which is used for Windows resource files
requires utf-16 and cp1252 encoding support in order to correctly
generate resource files with strings. As such when using uninative to
build mingw resources for a nativesdk target the windres binary is
executed on the native host, thus using the uninative libc and gconv
modules.
(From OE-Core rev: 778fb2342da55e202cfb7af04bbf120c1b68620a)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
rpm 5.x was packaging build tools separately, so we need to unbreak
things that relied on that.
[YOCTO #11167]
(From OE-Core rev: 3b5ac72bdf76ac8ff98dc3c882a4edc77c6e2c33)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is entirely unnecessary (we can ask the signer backend to export the
key to a file when needed), and was causing confusing selftest failures
due to the variable being set from two different places.
[YOCTO #11191]
(From OE-Core rev: 74ea979044368dc28c24325e7e77471b70aa8fe8)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Using RPM deploy dir was causing errors when pre-built images were
used with these steps:
https://wiki.yoctoproject.org/wiki/Quality_Assurance_yocto_project
[YOCTO #11173]
(From OE-Core rev: f633abed51ed19522340b1d923ffc12ed7e291d6)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This test case builds wic image using rawcopy plugin
running wic directly.
[YOCTO #10618]
(From OE-Core rev: acbeaa37554f3546b036ff8ef9aebfe00f2537c6)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed long lines, indentation and one unused variable.
(From OE-Core rev: a6dbe6e1630067164881c8d7efb44cb650cd043c)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added test_rawcopy_plugin_qemu test case and wks template.
This test builds ext4 rootfs image, copies it to the root
partition of the wic image using rawcopy plugin and
boots wic image in qemu.
[YOCTO #10618]
(From OE-Core rev: db1f511228e26aaeeff452427637942747bbf42b)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When you enable the systemd DISTRO_FEATURE, opkg-native contains systemd units
which have a relocation fixme list. When systemd isn't in DISTRO_FEATURES, there
are no fixmes required. Unfortunately as sstate isn't cleaning up its installation
directory before use, if you install the systemd version, then install the
non-systemd version from sstate, it would leave behind the fixme file from the
systemd version and breakage results as it would try and fixup files which don't
exist.
The solution is to ensure the unpack/install directory is clean before use. It
does raise other questions about opkg-native, systemd and DISTRO_FEATURES but there
is an underlying sstate issue here too which would cause missing file failures.
(From OE-Core rev: d1d55041e38b12d40f896834b56475ea19a6047f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Not sure why this cleanup is disabled but it clearly should be running
so enable it.
(From OE-Core rev: 83867079182d8b9e981935da2b254947a89097bb)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I've been debugging a selftest failure on Centos7. The problem turns out
to be the elderly git version (1.8.3.1) on those systems. It means that
the system doesn't correctly checksum changed files in the source tree,
which in turn means do_compile fails to run and this leads to the following
selftest failure:
======================================================================
FAIL [141.373s]: test_devtool_buildclean (oeqa.selftest.devtool.DevtoolTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/selftest/devtool.py", line 530, in test_devtool_buildclean
assertFile(tempdir_mdadm, 'mdadm')
File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/selftest/devtool.py", line 497, in assertFile
self.assertTrue(os.path.exists(f), "%r does not exist" % f)
AssertionError: False is not true : '/tmp/devtoolqag88s39z8/mdadm' does not exist
The solution is to use -A on the git add commandline which matches the behaviour
in git 2.0+ versions and resolves the problem.
(From OE-Core rev: 964e8b8cae4b28e21ade12b5effb494e459b1f0f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
wic has a new flag for setting a fixed parition size --fixed-size. Add
tests that verify if partition is indeed sized properly and that errors
are signaled when there is not enough space to fit partition data.
(From OE-Core rev: 84c2184546779ece3eb23c5628e4c9d177568043)
Signed-off-by: Maciej Borzecki <maciej.borzecki@rndity.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of assuming that bzImage is available, query bitbake enviroment
for KERNEL_IMAGETYPE.
(From OE-Core rev: d3e1d25a06dd4cb3ec80ea63352de24e50552481)
Signed-off-by: Maciej Borzecki <maciej.borzecki@rndity.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Wic tests will unconditionally attempt to build images that may require
dependencies that are incompatible with current target.
Resolve this by consulting HOST_ARCH first (which defaults to TARGET_ARCH)
before proceeding to build images that may be incompatible.
A convenience decorator only_for_arch() can be used to skip test cases for
specific architectures.
(From OE-Core rev: ff46125082f08eb93cc549bbe1d79c3b8f9cba64)
Signed-off-by: Maciej Borzecki <maciej.borzecki@rndity.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use wictestdisk instead of directdisk thus allowing more tests to be run on
non-x86 compatible machines.
(From OE-Core rev: 071785b01cdaa0d35808fa0b7308162cfebf54f1)
Signed-off-by: Maciej Borzecki <maciej.borzecki@rndity.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It is useful to know which layer provided a given recipe and its
binary packages.
Many projects combine a number of layers and some of them
also provide same recipe names in which case bitbake
can prioritize between them. buildhistory can record
the decision by saving the layer from where the recipe
was taken from.
Also, if a project is split to sub projects which maintain
recipes in different meta layers, then meta layer specific
summaries of e.g. disk usage can be calculated if
source recipes meta layer name is recorded for example in
buildhistory.
If source layer is not in build history, then layer providing
the recipe can be exported from build environment using
'bitbake-layers show-recipes', but it takes a long time to execute
since all recipes are parsed again and requires full source tree
with correct build configuration.
This patch exports the name of layer as configured in BBFILE_COLLECTIONS
append of its layer.conf. 'bitbake-layers show-recipes' exports the
meta layers directory path name. For several open source layers
these are different, e.g. meta-openembedded/meta-perl/conf/layer.conf
is perl-layer, poky/meta/conf/layer.conf is core,
poky/meta-skeleton/conf/layer.conf is skeleton etc.
(From OE-Core rev: d8e59d1f840e4282859ad14397d1c06516b8eb11)
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>
For the native tools, a static patch inserted gcc/g++/ld/ar while later
adding BUILD_LDFLAGS and BUILD_CFLAGS with sed. Now it's all done with sed,
which has the advantage that it uses the actual compile variables. However,
in practice those are the same.
More importantly, picking the build tools for the target was
broken. ovmf-native tried to insert TARGET_PREFIX into the tools
definition file, but that variable is empty in a native recipe. As a
result, "gcc" was used instead of "${HOST_PREFIX}gcc", leading to an
undesirable dependency on the host compiler and potentially
(probably?!) causing some of the build issues that were seen for ovmf.
The new approach is to override the tool selection in ovmf-native so
that the HOST_PREFIX env variable is used, which then gets exported
during do_compile for the target.
While at it, Python code that gets appened to do_patch only to call
shell functions gets replaced with the do_patch[postfuncs] mechanism.
Incremental builds now always use the tools definition from the
current ovmf-native; previously, only the initial build copied the
template file.
Probably the entire split into ovmf-native and ovmf could be
removed. This merely hasn't been attempted yet.
(From OE-Core rev: 23a12d87a6e82f80f4ccc1a01c707faa89ff7abd)
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>
Currently, bin/go and bin/gofmt collide between go-native
and go-bootstrap-native packages, these are scripts anyway
which call the go compiler proper from right install, in
this case create go1.4 and gofmt1.4 names for these scripts
to avoid namespace collision
(From OE-Core rev: c46faa132d39d3dc235a019d9abf6e46f74e3bae)
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>
Default CC is same as used here, there is no need to
duplicate it, as a plus it helps in compiling acpitests with
non-gcc cross compilers
(From OE-Core rev: e23601390833fe93d58ca61a7158458dfdbd6fac)
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 test was attempting to exercise a broken test, for some reason this broke
with patches under review but investigation revealed that the test itself is
broken. The test has been removed, so there's no need to test it.
(From OE-Core rev: 4f5f552cd6601ba244ef4efc782616bc477e1340)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This test aims to detect binaries in /bin which link to libraries in /usr/lib,
for the case where the user has /usr on a separate filesystem to /.
However it doesn't scan both image/ and the sysroot, so if a binary in /bin
links to a library in /usr/lib that was built by the same recipe then it will
error out.
This test isn't enabled by default, and because of this serious bug I suspect
nobody else is enabling it either. As /usr being on a separate partition to /
is a very rare configuration these days I think we should delete the test: if
someone cares sufficiently they should write a test that actually works.
(From OE-Core rev: a6af5bbf3dad6f0951c67a0aae13ef86a8906893)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changes to PRIVATE_LIBS should change the sstate checksum. To make
that happen, it needs to be listed in the list of package specific
variables, therefore add it.
(From OE-Core rev: 1a6555dfd17e180b81dec407095787d8a72a9edd)
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>
Building the C++ bindings for native requires a host C++ compiler with
C++11 support. Since these bindings are currently not needed, we can
disable them and thus avoid increasing the requirement for the host C++
compiler.
(From OE-Core rev: 052547561f3b2c13d357da87061716c6eb968fb9)
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>
In a stateless image, /etc is not a good place for the "build"
file. By definining the location with a variable it becomes possible
to have the file created elsewhere on a per-image basis. The default
is the same as before.
(From OE-Core rev: 6750ea8160edccb156cb2ab68548adfc1c789895)
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>
fsck.ext will return an error code of 1 if a file systems was checked
and successfully repaired. Even when an optimization was performed it
will return this error code.
This patch will change the error code to 0 if only optimizations had
changed the file systems.
The reason for this patch is a question I asked at the ext4 ML:
http://www.spinics.net/lists/linux-ext4/msg55700.html
Backport from git://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git
Based on commit bf9f3b6d5b10d19218b4ed904c12b22e36ec57dd
(From OE-Core rev: 8341ee45d721cf07b19d50c249bb3a77ef1bf100)
Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When using multilib configurations either on arm/arm64 and x86/x86-64
python3 failed to execute due to a failure when looking for its
platform independent and dependent libraries.
This patch fixes this issue by assigning lib_python to the appropriate
macro.
[YOCTO #10812]
(From OE-Core rev: 9e99897f17d9c62ca5da208751d6560fc98927b6)
Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
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>
A recent patch to bitbake fixes these datastore operations so that they
actually affect the server end, so we should test that they work.
(For full disclosure, some of these tests would probably pass without
those fixes, since the operation would be done on the client side
instead - but we are at least exercising the code paths.)
(From OE-Core rev: 4eb3c705b9cadccacdb191ae89f5242a00f397f3)
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>
Having changes the sdk test to cpio from cvs, we no longer require an
editor to be present. This patch removes vi from the list of required
tools.
(From OE-Core rev: cca2ccb6d77a433e9d7c535344c4fc1e04589bc0)
Signed-off-by: brian avery <brian.avery@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We currently fetch,configure,build, and install cvs as our test for the
sdk. cvs unfortunately, requires a default editor in order to run. The
change in 94790a8254 that checks to see if you have something like vi
installed is fragile since you may have a different default editor. This
patch switches from using cvs as a test to using cpio. cpio also uses
autotools so the functionality tested is equivalent.
(From OE-Core rev: 233d36b0382a8b2e430c3377e50885d1a0c3ba21)
Signed-off-by: brian avery <brian.avery@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When rewriting the do_rm_work injection, do_rm_work_all had been
removed because it seemed obsolete, as do_build now always triggers
do_rm_work.
However, do_build does not get triggered for all recipes and thus
do_rm_work was not called for recipes that got built only
partially. For example, zlib depends indirectly on
zlib-native:do_populate_sysroot. Because of that dependency,
zlib-native got compiled, but do_rm_work was never called for it.
Re-introducing do_rm_work_all fixes that by making do_build depend on
do_rm_work_all, which then recursively depends on do_rm_work of all
dependencies. This has the unintended side-effect that do_rm_work then
also triggers additional work (like do_populate_lic) that normally
doesn't need to be done for a build. This seems like the lesser evil,
compared to an incomplete cleanup because it mostly enables the
lighter tasks after do_populate_sysroot.
The real solution would be to have two kinds of relationships: a weak
ordering relationship ("if A and B are enabled, A must run before B,
but B can also run without A") and hard dependencies ("B cannot run
unless A has run before").
(From OE-Core rev: b3de5d5795767a4b8c331fa5040166e7e410eeec)
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>
Depending on wic-tools:do_build pulls a lot of additional, indirect
dependencies into the image sysroot during do_image_wic as soon as
rm_work.bbclass is active, because then we have
do_build->do_rm_work_all->[all dependencies]. One of those
dependencies is libgcc-initial, which clashes with libgcc itself,
leading to errors in extend_recipe_sysroot like this:
Exception: FileExistsError: [Errno 17] File exists: '.../tmp/sysroots-components/corei7-64/glibc-initial/usr/include/fstab.h' -> '.../tmp/work/intel_corei7_64-poky-linux/core-image-minimal/1.0-r0/recipe-sysroot/usr/include/fstab.h'
As the image recipe only needs the sysroot of wic-tools and does not
need to wait for the build of wic-tools to finish, depending on
do_populate_sysroot is the better choice and happens to avoid
the problem above.
(From OE-Core rev: a678f54e710e46b3cf674ffa41d6432b22effbdf)
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>
Before this, dtb sections were named by their position index in KERNEL_DEVICETREE. Also there was only one item in the config section, so only the first dtb was seen by the bootloader.
This patch adds a config section for each dtb named by the dtb filename. This is what bootloaders usually know about the machine they run on.
(From OE-Core rev: cd2ed7f80b555add07795cc0cbaee866e6c193a3)
Signed-off-by: Florian Wickert <fw@javox-solutions.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
mips definition of kernel_sigaction was added later
and the patch did not apply to mips part which ended
in ltp failing to compile on mips parts
In file included from rt_sigaction01.c:42:0:
../../../../include/lapi/rt_sigaction.h:39:2: error: unknown type name '__sighandler_t'
__sighandler_t k_sa_handler;
^~~~~~~~~~~~~~
(From OE-Core rev: 74f4dcfd447fb528ab230e67e3f7ab37e8f93898)
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>
Using of bitbake environment variables in-place of hardcoded strings makes this
recipe portable to all environments.
(From OE-Core rev: 61135e4134b7e0b42b57a87a9a30c32002cb1067)
Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Do not assume '/lib' for kernel modules location, instead use
${nonarch_base_libdir}. When 'usrmerge' is enabled, kernel modules are not
located in /lib/modules, but /usr/lib/modules.
(From OE-Core rev: d0f99c7f264fb99e7a940e9b02d27a418bafad27)
Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
net-tools Makefile was hardcoded sbin, bin installation paths to /bin and /sbin
respectively. This change moves the installed files to appropriate location as
per configured bitbake environment.
This might be solved much better way by patching Makefile, but that causing
build issues, as net-tools recipe is using pre-generated config.{h/status}.
(From OE-Core rev: 8be0740f8cc8d909a8983b499f200b99261124c4)
Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Move binary(ies) only when ${base_bindir} != ${bindir}.
When usrmerge is enabled they both can point to same location.
(From OE-Core rev: 3a571f24b183ba0bb0795b9df2b2c9bad331d715)
Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Replace hardcoded '/lib' in kernel modules installation path with
${nonarch_base_libdir}, which is meant exactly for this.
(From OE-Core rev: 22f5ba7154fcbe826d0a3283740903312b2aab46)
Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Both shadow and util-linux packages provides 'nologin' binary in ${base_sbindir}
and ${sbindir} respectively, this leads to conflict when 'usrmerge' feature is
enabled, where ${sbindir} == ${base_sbindir}. Hance, handle this to alternative
system to resolve the conflict.
(From OE-Core rev: 07d6d0fb4dc689008bb0022d7d2ecc890c9159e5)
Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
update-alternative.bbclass might rename the 'reset' binary when LINK_NAME ==
TARGET, This is true (${base_bindir} == ${bindir}) in 'usrmerge' distros.
Hence, suffix with * to properly package the renamed binary.
(From OE-Core rev: ebf5cc1a6fecb0761fd88e113fac785b49bc1a45)
Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
libnss_* files should be part of corresponding sub-packages, the split happens
by do_package_split(). By adding ${libdir}/libnss_* to FILES_${PN}, those files
end up in the systemd package when ${libdir} == ${base_libdir}.
(From OE-Core rev: 46046880e42ae924548eb5c0ec53f9448f6f932e)
Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Make sure fsck.cramfs is packaged before fsck so the latter
does not steal the fsck.cramfs binary when building with usrmerge.
(From OE-Core rev: 333e959448c2bc0d2c472e0b7d1dab606ab723e6)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If base_bindir=bindir, /usr/sbin/ldconfig gets packaged into glibc-utils instead
of glibc: Switch PACKAGES order to prevent this.
(From OE-Core rev: 2794b1cc12af051db404d46aea4db4c74e8e1fe3)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previously, with USERADD_ERROR_DYNAMIC set to error/warn, if a static
UID/GID was specified in the recipe, then no error/warning would be
issued even if no ID was specified in the passwd/groups files.
(From OE-Core rev: 8e4b4e28a7c3a9dbd6b9298bea5d2c1328b3f24a)
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>
If this bbclass is used and a recipe specifies a static ID for a
user/group as part of the USERADD_PARAM_${PN} or GROUPADD_PARAM_${PN},
the build would fail with and error like this if there was no
corresponding ID in the passwd/group files specified via
USERADD_UID_TABLES/USERADD_GID_TABLES:
ERROR: meta-oe/recipes-support/postgresql/postgresql_9.4.11.bb:
meta-oe/recipes-support/postgresql/postgresql_9.4.11.bb inherits
useradd but doesn't set USERADD_PARAM, GROUPADD_PARAM or
GROUPMEMS_PARAM for package postgresql
(From OE-Core rev: e744fac05fc5cc19cabc59c1e79ff4c1b3ee396d)
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>
Often, eg when using angular2, there's a need to install also
the devDependencies.
The default is to keep the old behaviour, to not install
devDependencies.
(From OE-Core rev: 9377d16751aeff0a913e754d711bca6e4e4d9df1)
Signed-off-by: Anders Darander <anders@chargestorm.se>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The current definition for ARM_THUMB_SUFFIX doesn't consider armv8
and will therefore cause TUNE_PKGARCH to be set incorrectly for
machines which inherit arch-armv8 and don't include aarch64 in
TUNE_FEATURES (ie when building for 32bit ARMv8).
Also fix typo in comments and improve TUNEVALID[thumb] wording.
(From OE-Core rev: 3691fd7dbe7f01ca29c14fc603c6946864af3b3c)
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>
The purpose of this test case is to verify that
devtool modify works correctly when building
the kernel.
[YOCTO #10817]
(From OE-Core rev: 0fa3d331df7d5a5fbd8431febc75efe6bcc6f96b)
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>
runqemu is using sudo to configure tap networking. Without sudo
in HOSTTOOLS_NONFATAL it may cause bitbake -c testimage to fail
with this error:
runqemu - INFO - Setting up tap interface under sudo
/bin/sh: sudo: command not found
(From OE-Core rev: 716e0524cfbcac2eb272be1014280833b74bc5c4)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Configured guest network interface through serial connection
when kernel is not run by qemu.
This should make it possible to test wic images with testimage.
[YOCTO #10833]
(From OE-Core rev: 2032d9be26b539bf867622c0090fb4696209eba9)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Parsed runqemu output to get guest network configuration
if it's not present in runqemu command line.
[YOCTO #10833]
(From OE-Core rev: d4d7ed48c1cff1351ddc2f60bcfa153c373a8ab8)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
16777216 bytes is a minimal possible filesystem size for BTRFS.
mkfs.btrfs fails to create a filesystem if rootfs size is too small.
Increased filesystem size to make it possible for mkfs.btrfs
to create an image for small rootfs directories,
e.g. for core-image-minimal.
[YOCTO #11163]
(From OE-Core rev: 17c2b1ca8a4e2023583645840db61bbde22bf65e)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This reverts commit adb71e06768adadda7b69c3b5e81ca3ad67237f4.
Upstream restored the original hashes.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
oe-core 759eed (binutils: Enable threading when gold is enabled and is not
default linker) causes linking in mingw SDKs to fail:
.../work/i686-nativesdk-mingw32-pokysdk-mingw32/binutils-cross-canadian-x86-64/2.28-r0
/recipe-sysroot-native/usr/bin/i686-pokysdk-mingw32/../../libexec/i686-pokysdk-mingw32/gcc/i686-pokysdk-mingw32/6.3.0/ld:
cannot find -lpthread
Work around this by disabling gold entirely in mingw SDKs.
(From OE-Core rev: b5a595a4be09756b88e91f3353e3b221b165ab44)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This only started showing up now for some reason but it does seem like
a legitimate bug in Makefile.am.
(From OE-Core rev: f43290f6e302dbacf5581d1fe1c6c991dd387779)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The Eclipse plugin uses cmake from the SDK and currently has issues
because cmake is not installed as a host tool. This patch adds cmake as
a host tool for the sdk/esdk.
(From OE-Core rev: b1ccab95464855877558972c4523956be32dee36)
Signed-off-by: brian avery <brian.avery@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As of ccache-3.3, ccache tries to ensure that the paths in the debug
information are always correct. It does this by including the current
directory in the hash if debug output is enabled. It includes support for
detecting remapping via a single -fdebug-prefix-map argument uses the
remapped directory in the hash instead.
The DEBUG_PREFIX_MAP in bitbake.conf remaps the source directory, target
sysroot and native sysroot separately which results in multiple
-fdebug-prefix-map arguments. Although ccache passes all these arguments
through to the compiler, it only enables the special behaviour described
above if the last one matches the current directory. (See
https://github.com/ccache/ccache/issues/163 )
Even if ccache did correctly honour each of the remapping arguments, the
hashes would still be different every time ${PV} or ${PR} change because
the default DEBUG_PREFIX_MAP contains maps to paths including them.
So it seems that for ccache to be of any use with this configuration,
CCACHE_NOHASHDIR needs to be set.
(From OE-Core rev: fb7a5cdcff19bb44a25a51e20de0440c1ebcc057)
Signed-off-by: Mike Crowe <mac@mcrowe.com>
Helped-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Single long commands are difficult to read and maintain. Split it to make
it more human-friendly.
(From OE-Core rev: c93b3b18f8daa8b419cc65b52cb5ceccfb1c142d)
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>
It was out of date compared to config/libopts.def, so regenerate it via
"autogen config/libopts.def" command.
(From OE-Core rev: 221403f6e73c2bea327f3df4e8b76c11e5dd8aa7)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Issue: LIN9-1648
Fixed when len(TMPDIR) = 410:
$ bitbake core-image-sato-sdk
[snip]
Subprocess output:
/bin/sh: /bin/cp: Argument list too long
ERROR: core-image-sato-sdk-1.0-r0 do_rootfs: Function failed: do_rootfs
[snip]
This is because "copyhardlinktree(src, dst)" does "cp -afl src/* dst",
while src/* is expanded to "src/file1 src/file2, src/file3..." which
causes the "Argument list too long", use ./* as src and change cwd in
subprocess.check_output() to fix the problem.
(From OE-Core rev: a3dc93eb25fba32109edd1db6e8766074fb52e4b)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
U-Boot people are amazingly pedantic in their insistence on proper
spelling of "U-Boot", so humour them.
(From OE-Core rev: f346a9bdc372ec477bafcda358f9339ff4e4c79d)
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The copy of extended attributes is interesting for
Smack systems because it allows to set the security
template of the user's home directories without
modifying the tools (useradd here). But the version
of useradd that copies the extended attributes doesn't
copy the extended attributes of the root. This can make
use of homes impossible! This patch corrects the issue
by copying the extended attributes of the root directory:
/home/user will get the extended attributes of /etc/skel.
The patch is submitted upstream (see
http://lists.alioth.debian.org/pipermail/pkg-shadow-commits/2017-March/003804.html)
The existing patch specific to open-embedded is updated:
0001-useradd.c-create-parent-directories-when-necessary.patch
Also, attr are activated for native tools.
This is needed when users are created during image creation.
(From OE-Core rev: eed66e85af5ca6bbdd80cc3d5cf8453e8d8880bc)
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Create symlinks for gcov and gcov-tool and that they can be used trivially
on target.
(From OE-Core rev: 5b5a506a6d81095c967304fe4ec38a4bc3dc1edd)
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>
* Remove duplicate entry for /srv already defined earlier in file.
* Use "${localstatedir}" rather than "/var" for consistency.
(From OE-Core rev: 0cb3a4b299506b4503c5728a0f0c80db8d603e91)
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The OpenSSL recipe tried to workaround the -e make flag (overriding
variables from the environment). And when the -e flag was dropped as
the global default, it was specifically added for OpenSSL. This is
unnecessary, as only the value of ${AR} seems to be affected, and that
can be handled correctly by OpenSSL's build system if we just let it.
(From OE-Core rev: 537a404cfbb811fcb526cdb5f2e059257de6ef13)
Signed-off-by: Olof Johansson <olof.johansson@axis.com>
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>
The recent change in buildhistory.bbclass to use a tab in
installed-package-sizes.txt between "KiB" and the package name caused
toaster_buildhistory_dump() to fail since it parses the file and
expected a space there.
(From OE-Core rev: 7b3692f57628b33840f6dbcddbe05ae56c24b98e)
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>
The file /usr/libexec/gcc/.../cc1 has been installed in package gcc
instead of package cpp, because FILES statements for both packages match
the cc1 binary. Move the file to package cpp and add cpp to RDEPENDS_gcc
to fix the dependency.
Having the cc1 binary in cpp fixes errors such as: "cpp: error trying to
exec 'cc1': execvp: No such file or directory".
(From OE-Core rev: 4bf84edeb6cf4ba82a21bc7ceb1da4f59d839064)
Signed-off-by: Ismo Puustinen <ismo.puustinen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previously, 'pidof' utility has two providers, sysvinit and procps, and
both have the same priority 200. Fix procps to lower the priority of its
'pidof' to 150 to avoid conflict.
(From OE-Core rev: 468f9c9899016c46635c9f39eef3483303a5be81)
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>
mips32r1 is only one supported for mips32
(From OE-Core rev: d39b819579c767aa7892835624540fd6509db201)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Machines that cloned a while ago will have the commit, but new
deployments won't because it seems the upstream changed/rebased
and the old commit ID has been garbage-collected away. Hence
the fetch fails to check out the named commit ID.
Both the old (gone) commit, and the "new" commit show the same
dates and commit log and point at 5.30, so hopefully this is
the right thing to do. A git diff of the two seems to only show
a blanket uprev of CVS tags and deletion of a couple autogen'd
files, and no real source changes.
Cc: Christos Zoulas <christos@zoulas.com>
(From OE-Core rev: adb71e06768adadda7b69c3b5e81ca3ad67237f4)
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We want PV values to be easily ordered, so
use the latest entry in build-compare.changes which
will also match the date of SRCREV.
(From OE-Core rev: c796cd4ac39e704e0795385c9b4ec9a2d73459b5)
Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Do not try to do runtime tests during cross compile
Fixes
| CMake Error at Source/cmake/OptionsCommon.cmake:73 (math):
| math cannot parse the expression: "-1": syntax error, unexpected exp_MINUS,
| expecting exp_OPENPARENT or exp_NUMBER (1)
(From OE-Core rev: 528006009dddd876a830e0a8f248658182a37f37)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rich Felker (11):
fix ld-behavior-dependent crash in ppc64 ldso startup
rework ldso handling of global symbol table for consistency
reorder addend handling before symbol lookup in relocation code
emulate lazy relocation as deferrable relocation
fix free of uninitialized buffer pointer on error in regexec
in static dl_iterate_phdr, fix use of possibly-uninitialized aux data
fix possible fd leak, unrestored cancellation state on dns socket fail
fix wide scanf's use of a compound literal past its lifetime
fix one-byte overflow in legacy getpass function
avoid loading of multiple libc versions via explicit pathname
remove unused refcnt field for shared libraries
Szabolcs Nagy (1):
treat STB_WEAK and STB_GNU_UNIQUE like STB_GLOBAL in find_sym
(From OE-Core rev: 2b1e9ddb10d4766cc4f8be3e55e4fc3d2810bbcb)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was a solution needed for musl but now musl has
got lazy loading.
(From OE-Core rev: 6ea72c6bd0aeaed694d58d68ede4de70d96b7e4b)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently we enable threaded linking feature of gold linker only
when its used as default ld. There is no need to restrict it when
its not default linker either. As long as gold is enabled, which
is the case here, we should be able to do threaded linking.
(From OE-Core rev: 759eed2b02e0a7b5c8b19d4b087d9151c009eed4)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We need all packaging tasks when building
go for target
(From OE-Core rev: 8f504a7737d5e6be6ec61f9ce8728a2c74102a8a)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
with mesa 17 crypto packageconfig has been removed
(From OE-Core rev: 7df24c84999048f863428f4e442922e60ce776a5)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Configure has an unbridled check for llvm and
when distro provided llvm is installed on build host it
will use that from /usr/bin to poke for llvm libs
and configs. This would result in a subtle errors
however do_qa_configure catches it as a host include/lib
contamination during configure checks
ERROR: mesa-gl-2_17.0.1-r0 do_configure: This autoconf log indicates errors, it looked at host include and/or library paths while determining system capabilities.
Rerun configure task after fixing this.
This is correct because when configure detects build host provided
llvm then it add the include/lib paths to compiler cmdline which are
looking into /usr/include and /usr/lib
(From OE-Core rev: df53927b9c07bc45ce8a756217c07ce306ed5bbe)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Also remove the override from security_flags.inc
(From OE-Core rev: 33d084a66a371fb10e26a0a23c639c69ddd3f1e5)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport build fix that removes -Wformat-security for specific tests.
Enable "-Wformat-security" for cmake in security_flags.inc.
(From OE-Core rev: b00f9c77ebd211578ba133c28abcbc5752305e25)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To fix:
file /usr/share/man/man8/syslogd.8 conflicts between attempted installs
of inetutils-doc-1.9.4-r0.core2_64 and sysklogd-doc-1.5.1-r0.core2_64
(From OE-Core rev: d08cfe3d3de01c529dda1a60f42870dd3132c256)
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To fix:
file /usr/share/man/man1/dnsdomainname.1 conflicts between attempted installs
of inetutils-doc-1.9.4-r0.core2_64 and net-tools-doc-1.60+26-r0.core2_64
(From OE-Core rev: 412d6b31b23b30f71b8acf2ecd37463f770cd8be)
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To fix:
file /usr/share/man/man1/eject.1 conflicts between attempted installs
of util-linux-doc-2.29.1-r0.core2_64 and eject-doc-2.1.5-r1.core2_64
and
file /usr/share/man/man1/logger.1 conflicts between attempted installs
of util-linux-doc-2.29.1-r0.core2_64 and inetutils-doc-1.9.4-r0.core2_64
(From OE-Core rev: a65e69d006bceacb042b377f2cd0dd8a3e72ea62)
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To fix:
file /usr/share/man/man1/which.1 conflicts between attempted installs
of debianutils-doc-4.8.1-r0.core2_64 and which-doc-2.21-r3.core2_64
(From OE-Core rev: ba304046307cd741694b25215b562d5f05c9c7a5)
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We see:
file /usr/share/info/bfd.info conflicts between attempted installs
of gdb-doc-7.12.1-r0.core2_64 and binutils-doc-2.28-r0.core2_64
You can't really have gdb and not binutils, so there is no need
to do alternatives here ; just clobber the one from gdb and let
the binutils one be the default.
(From OE-Core rev: 19a825a578e2e705e5502982b787cff54d021359)
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
All documentation refers to dnf binary as 'dnf' yet make install
does not create one - it's done by Fedora's spec file when building
the rpm. Let's replicate this behavior.
(From OE-Core rev: 456c4a8ffc9a292d7a3e036d92baf4a8f14d1f45)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Import the gpg key used in rpm signing into rpmdb. This makes it
possible again to create images when rpm signing is enabled.
Also, instruct dnf to enforce signature check if rpm signing is enabled.
(From OE-Core rev: f30c1653cc5ef9daf594cbd3faad329b9fa08ab7)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I've used a previous patch (which was never merged) by
Humberto Ibarra <humberto.ibarra.lopez@intel.com> as a model
for how to do runtime testing of this feature (e.g. we need to boot
an image, run dnf on it, and check that it is indeed able to
access the remote repo over http). Here's his original commit message:
=====
Testing that feeds specified with PACKAGE_FEED_URIS var are set
correctly has two parts. First a build with this var set is required,
and then smart update needs to be issued in the running taget.
The previous is not a common selftest practice because this is a
simple test, but requires building and running a specific image,
which takes a lot of time. testimage is not a good fit either,
since the images tested there do not have the PACKAGE_FEED_URIS
var set.
For this test, the runtime-test module is being used, which is a
selftest module but runs a testimage command. The var and test
environment were set in runtime-perf.py and the actual test is
done in a new testcase added to meta-selftest layer.
=====
[YOCTO #10872]
(From OE-Core rev: 3a9e2fdef9316e24b52ce99ac355fc2b09786c72)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changes to SKIP_FILEDEPS should change the sstate checksum. To make
that happen, it needs to be listed in the list of package specific
variables, therefore add it.
(From OE-Core rev: 4d9fb8414300c0adc003f2d77041713a17b49bd4)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It's regrettable that code in here is referring to BBFILE_COLLECTIONS,
but it is, and the result is that this packagegroup will rebuild simply
by adding or removing a layer which may be completely unrelated to
whether you've got meta-qt4 or not. Add BBFILE_COLLECTIONS to
vardepsexclude for the function to avoid this. (This was flagged up when
testing the new yocto-compat-layer script - it understandably but
undesirably reports it as a change caused by a layer).
(From OE-Core rev: 10dc69467677a4ce2a26aa670bbb9c1d7d783a0e)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adjust the message slightly to make it clearer, in particular mentioning
the HOSTTOOLS variable.
(From OE-Core rev: e022b27d189c1dcc7b3baea2b99dba8d724e6e2b)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch was removed from SRC_URI as merged upstream in 587778e24c9.
(From OE-Core rev: 818dced4e4409c112b35022b86b830b0c2a2a7da)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch has seemingly never been applied in the recipe (even when
it lived in meta-intel). I don't think we should have unused patches
in the repo: If the patch is useful it could be reintroduced so that
the binaries are packaged into a separate package.
(From OE-Core rev: cd33ae2f21547354e1ef9776b2c4ebcea4eb7e99)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch was only used in the ancient and recently removed git recipe.
(From OE-Core rev: 2d2d4c31d04f5f29250a307c1f3da739ab351ecd)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
0001-update-alternatives-warn-when-multiple-providers-hav.patch was
removed from SRC_URI without mention in commit 60c9a9704.
001-Makefile-use-defined-bindir-and-mandir-as-installati.patch was
removed from SRC_URI in d6b04e121.
Current opkg does not need either patch.
(From OE-Core rev: 789ec510495ca6eab379ec829e3013c977236966)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
CVE-2016-4490 applied to gcc < 6.1.1, our version is 6.3
(From OE-Core rev: d8329861bf6f48f6e541a04062b8d1f373dfcd78)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
avoid_parallel_make_races_on_pgen.patch was removed from SRC_URI as
handled in upstream in db9508891b.
(From OE-Core rev: 7e2a5a213535bfac14f0b2e3a3b7857b7fdcaffc)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
CVE-2016-5636.patch and avoid_parallel_make_races_on_pgen.patch were
removed from SRC_URI as handled upstream in adf4266524.
(From OE-Core rev: 53c0d1f18d4a11b0130e54466c91320acf4f5b18)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
CVE-2016-5636.patch and use_packed_importlib.patch were removed from
SRC_URI as handled in upstream in b192bc02bb.
(From OE-Core rev: 71c539483350a4b45fb5d397d29b6ebcfc863e2f)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch has not been used since the ancient git version was removed.
(From OE-Core rev: 292f519dad5ed9e4389f2a3ad2307c168328a038)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
config-dirent-symbols.patch was removed from SRC_URI as "already
applied in upstream" in 983a4986947.
(From OE-Core rev: 43e764a54458c9c6665bb7734b1fc7e7956bffdc)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
--enable-uuid no longer exists: There's a uuid implementation in
libqemuutil.
(From OE-Core rev: 9da623d569ae552b1772a3b3a06df3cbf76cd573)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that pip3-native is used by build-appliance, we should no longer
need this host tool.
(From OE-Core rev: 096f943d4b7a7cf5d4c3d45f34be5ddcd2475790)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
"pod2man" went missing from BA, but it is required.
This patch fixes the Toaster error:
<...>
ERROR: These tools appear to be unavailable in PATH, please install
them in order to proceed:
pod2man
<...>
[YOCTO#11144]
(From OE-Core rev: 562c184d52db2182eafde3cf9866606145784deb)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Do not rely on pip3 being installed on the host.
Use pip3-native instead.
[YOCTO#10909]
[YOCTO#11022]
(From OE-Core rev: 0c349f06b6b026e9bbd3e9a8188e3d8645fd00d9)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Due to the recently implemented update-alternatives for bash binary,
sanity checker may end up with a (false-positive) error such as:
Error, /bin/sh links to /bin/bash.bash, must be dash or bash
This patch modifies the test: presence of "/bash" or "/dash" in shell binary
name results in pass.
[YOCTO#11108]
(From OE-Core rev: ef51746cdd12e6b08109e9bd90a0a465c3f9f93c)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Building ed into an sstate mirror, then leaving it enabled for
oe-selftest -r signing.Signing.test_signing_sstate_archive results in:
NOTE: recipe ed-1.14.1-r0: task do_populate_lic_setscene: Started
WARNING: ed-1.14.1-r0 do_populate_lic_setscene: Failed to fetch URL file://29/sstate:ed::1.14.1:r0::3:290bbc39f3b25cc27028dafce4b5aa48_populate_lic.tgz.sig;downloadfilename=29/sstate:ed::1.14.1:r0::3:290bbc39f3b25cc27028dafce4b5aa48_populate_lic.tgz.sig, attempting MIRRORS if available
ERROR: ed-1.14.1-r0 do_populate_lic_setscene: Fetcher failure: Unable to find file file://29/sstate:ed::1.14.1:r0::3:290bbc39f3b25cc27028dafce4b5aa48_populate_lic.tgz.sig;downloadfilename=29/sstate:ed::1.14.1:r0::3:290bbc39f3b25cc27028dafce4b5aa48_populate_lic.tgz.sig anywhere. The paths that were searched were:
/media/build1/poky/build/test-sstate
/media/build1/poky/build/test-sstate
WARNING: ed-1.14.1-r0 do_populate_lic_setscene: Cannot verify signature on sstate package /media/build1/poky/build/test-sstate/29/sstate:ed::1.14.1:r0::3:290bbc39f3b25cc27028dafce4b5aa48_populate_lic.tgz
NOTE: recipe ed-1.14.1-r0: task do_populate_lic_setscene: Succeeded
so we need to disable SSTATE_MIRRORS for this test.
(From OE-Core rev: 2ce9962851fe58c099599679340fd87e90f426ec)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
oe-git-proxy depends on socat host tool but it's not
whitelisted and triggers a 'binary not in PATH' error.
Whitelist socat but make it a HOSTTOOLS_NONFATAL since
it's not a hard dependency.
(From OE-Core rev: 97f979ee61a06349139ccc47feaf051bdbcf0e16)
Signed-off-by: Mikko Ylinen <mikko.ylinen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Debugfs output may contain a newline in file names in 'ls -p' output. Make sure
that output is correctly split into lines by matching '/\n' and newlines are
removed from file names.
Fixes the following error appearing in AB tests:
Traceback (most recent call last):
File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/selftest/wic.py", line 388, in test_exclude_path
files = [line.split('/')[5] for line in res.output.split('\n')]
File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/selftest/wic.py", line 388, in <listcomp>
files = [line.split('/')[5] for line in res.output.split('\n')]
IndexError: list index out of range
(From OE-Core rev: 477805b913a6c4b4b630e42f08cd9e59f1e4e254)
Signed-off-by: Maciej Borzecki <maciej.borzecki@rndity.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Working fine for musl targets now
(From OE-Core rev: 1bab5be8133f62cdae251e66db6f472c3c37297c)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch was added to fix a CVE, but wasn't actually added to SRC_URI:
CVE: CVE-2004-2761
The MD5 Message-Digest Algorithm is not collision resistant,
which makes it easier for context-dependent attackers to
conduct spoofing attacks, as demonstrated by attacks on the
use of MD5 in the signature algorithm of an X.509 certificate.
(From OE-Core rev: 8791800f84321b3f46772bc2d9e4f754e6213946)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating from v4.4.41 to v4.4.53, with the following list of changes:
49616e715061 Linux 4.4.53
9cee69465035 scsi: lpfc: Correct WQ creation for pagesize
1d316060cad5 MIPS: IP22: Fix build error due to binutils 2.25 uselessnes.
4dd29050e46e MIPS: IP22: Reformat inline assembler code to modern standards.
15959b728d07 powerpc/xmon: Fix data-breakpoint
afee78f03ee6 dmaengine: ipu: Make sure the interrupt routine checks all interrupts.
79a7ff1443bd bcma: use (get|put)_device when probing/removing device driver
5a1f03f1ee91 md linear: fix a race between linear_add() and linear_congested()
037cd23726b3 rtc: sun6i: Switch to the external oscillator
ee360e99dae0 rtc: sun6i: Add some locking
a0378b5bfc27 NFSv4: fix getacl ERANGE for some ACL buffer sizes
5d23e89065cd NFSv4: fix getacl head length estimation
52fb4bdcea4c NFSv4: Fix memory and state leak in _nfs4_open_and_get_state
3ee4f442e5b3 nfsd: special case truncates some more
6030493a3422 nfsd: minor nfsd_setattr cleanup
781e6a08381d rtlwifi: rtl8192c-common: Fix "BUG: KASAN:
6e10c33cb87a rtlwifi: Fix alignment issues
70a09029b7be gfs2: Add missing rcu locking for glock lookup
44dd30e04c1f rdma_cm: fail iwarp accepts w/o connection params
88326fe95f59 RDMA/core: Fix incorrect structure packing for booleans
f414af249f1e Drivers: hv: util: Backup: Fix a rescind processing issue
9b45ab285388 Drivers: hv: util: Fcopy: Fix a rescind processing issue
abaeda7f709a Drivers: hv: util: kvp: Fix a rescind processing issue
862d2b7d21d3 hv: init percpu_list in hv_synic_alloc()
374907e8d116 hv: allocate synic pages for all present CPUs
80190fcc48f6 usb: gadget: udc: fsl: Add missing complete function.
61e9e9bcfd7b usb: host: xhci: plat: check hcc_params after add hcd
900466a746f5 usb: musb: da8xx: Remove CPPI 3.0 quirk and methods
89eb5ed1536e w1: ds2490: USB transfer buffers need to be DMAable
1df66c452471 w1: don't leak refcount on slave attach failure in w1_attach_slave_device()
20bc8a897e48 can: usb_8dev: Fix memory leak of priv->cmd_msg_buffer
3584716db12a iio: pressure: mpl3115: do not rely on structure field ordering
2ab6b8c7172c iio: pressure: mpl115: do not rely on structure field ordering
e83a28c521a6 arm/arm64: KVM: Enforce unconditional flush to PoC when mapping to stage-2
d4a8db66b946 fuse: add missing FR_FORCE
434ed4aff140 crypto: testmgr - Pad aes_ccm_enc_tv_template vector
7666ef1a36cc ath9k: use correct OTP register offsets for the AR9340 and AR9550
1aeced70f77d ath9k: fix race condition in enabling/disabling IRQs
dc7bbf895e43 ath5k: drop bogus warning on drv_set_key with unsupported cipher
6af0acc0b69f target: Fix multi-session dynamic se_node_acl double free OOPs
4a3c526ced41 target: Obtain se_node_acl->acl_kref during get_initiator_node_acl
da259399e487 samples/seccomp: fix 64-bit comparison macros
6ad4196f1952 ext4: return EROFS if device is r/o and journal replay is needed
9a79248c083d ext4: preserve the needs_recovery flag when the journal is aborted
6ec4583e9b03 ext4: fix inline data error paths
9d636818dbac ext4: fix data corruption in data=journal mode
8774c73cf696 ext4: trim allocation requests to group size
a3068b3e8066 ext4: do not polute the extents cache while shifting extents
3daefdae5f8b ext4: Include forgotten start block on fallocate insert range
cd3db55c64ae loop: fix LO_FLAGS_PARTSCAN hang
356d71df7398 block/loop: fix race between I/O and set_status
973f40f368f7 jbd2: don't leak modified metadata buffers on an aborted journal
c0ef1f537a97 Fix: Disable sys_membarrier when nohz_full is enabled
ea240cfed99b sd: get disk reference in sd_check_events()
33950b56d2c2 scsi: use 'scsi_device_from_queue()' for scsi_dh
2dc9a859eb89 scsi: aacraid: Reorder Adapter status check
18dbfcae65a3 scsi: storvsc: properly set residual data length on errors
80bccab34a57 scsi: storvsc: properly handle SRB_ERROR when sense message is present
5cdc8193ac38 scsi: storvsc: use tagged SRB requests if supported by the device
6a284310d5dd dm stats: fix a leaked s->histogram_boundaries array
fdea1f972158 dm cache: fix corruption seen when using cache > 2TB
f0ae01568e0c ipc/shm: Fix shmat mmap nil-page protection
c5c893e7c44e mm: do not access page->mapping directly on page_endio
66f43a576879 mm: vmpressure: fix sending wrong events on underflow
612e4679b865 mm/page_alloc: fix nodes for reclaim in fast path
31dac0e870dd iommu/vt-d: Tylersburg isoch identity map check is done too late.
07852563dba6 iommu/vt-d: Fix some macros that are incorrectly specified in intel-iommu
5cc0cd0e3a5a regulator: Fix regulator_summary for deviceless consumers
272d60bfce0e staging: rtl: fix possible NULL pointer dereference
8c8f42c9a4a7 ALSA: hda - Fix micmute hotkey problem for a lenovo AIO machine
cd585d3ba5c8 ALSA: hda - Add subwoofer support for Dell Inspiron 17 7000 Gaming
003aa343724f ALSA: seq: Fix link corruption by event error handling
70dbc00f7e11 ALSA: ctxfi: Fallback DMA mask to 32bit
9879f9d01a3c ALSA: timer: Reject user params with too small ticks
b9bf1f0657c5 ALSA: hda - fix Lewisburg audio issue
1f4f37076d52 ALSA: hda/realtek - Cannot adjust speaker's volume on a Dell AIO
6b1d7b6f54c7 ARM: dts: at91: Enable DMA on sama5d2_xplained console
be83ed085fcd ARM: dts: at91: Enable DMA on sama5d4_xplained console
b401418c6cc3 ARM: at91: define LPDDR types
f3a0b2004080 media: fix dm1105.c build error
b0bde9f6a057 uvcvideo: Fix a wrong macro
5988e7320179 am437x-vpfe: always assign bpp variable
ab7546e49100 MIPS: Handle microMIPS jumps in the same way as MIPS32/MIPS64 jumps
cc387ae0898e MIPS: Calculate microMIPS ra properly when unwinding the stack
d75d675a0552 MIPS: Fix is_jump_ins() handling of 16b microMIPS instructions
72a0cfae59b4 MIPS: Fix get_frame_info() handling of microMIPS function size
2998bf60d385 MIPS: Prevent unaligned accesses during stack unwinding
0d45490221a2 MIPS: Clear ISA bit correctly in get_frame_info()
f1be0f5814a6 MIPS: Lantiq: Keep ethernet enabled during boot
093292b8f8f7 MIPS: OCTEON: Fix copy_from_user fault handling for large buffers
b32e43cf3f74 MIPS: BCM47XX: Fix button inversion for Asus WL-500W
5636da7aba4d MIPS: Fix special case in 64 bit IP checksumming.
faf6aa4b129d samples: move mic/mpssd example code from Documentation
dd4534d88b93 Linux 4.4.52
c171caf7be28 kvm: vmx: ensure VMCS is current while enabling PML
e0913cc300c7 Revert "usb: chipidea: imx: enable CI_HDRC_SET_NON_ZERO_TTHA"
151d4c0fb55b rtlwifi: rtl_usb: Fix for URB leaking when doing ifconfig up/down
de5634875b60 block: fix double-free in the failure path of cgwb_bdi_init()
15696979d80f goldfish: Sanitize the broken interrupt handler
d7f97304a485 x86/platform/goldfish: Prevent unconditional loading
67f47e57f9ca USB: serial: ark3116: fix register-accessor error handling
b04a2ca5c4b3 USB: serial: opticon: fix CTS retrieval at open
06b1cf346a4d USB: serial: spcp8x5: fix modem-status handling
22034ee5dab8 USB: serial: ftdi_sio: fix line-status over-reporting
cfad0817222d USB: serial: ftdi_sio: fix extreme low-latency setting
af82872b65e0 USB: serial: ftdi_sio: fix modem-status error handling
bcea8e993772 USB: serial: cp210x: add new IDs for GE Bx50v3 boards
1ae570ab1c06 USB: serial: mos7840: fix another NULL-deref at open
04fae8abfaef tty: serial: msm: Fix module autoload
49ed6307508e net: socket: fix recvmmsg not returning error from sock_error
ce9ecb8d7f3c ip: fix IP_CHECKSUM handling
353dd7290025 irda: Fix lockdep annotations in hashbin_delete().
a95df078e866 dccp: fix freeing skb too early for IPV6_RECVPKTINFO
fe41cfb48f2d packet: Do not call fanout_release from atomic contexts
abd672deb170 packet: fix races in fanout_add()
2b3eb43342a0 net/llc: avoid BUG_ON() in skb_orphan()
e8330cb5ae47 blk-mq: really fix plug list flushing for nomerge queues
f0414c1f8bb7 rtc: interface: ignore expired timers when enqueuing new timers
a82ac399bcf2 rtlwifi: rtl_usb: Fix missing entry in USB driver's private data
f1924ac09c96 Linux 4.4.51
5a86b1150f6c mmc: core: fix multi-bit bus width without high-speed mode
6f26f0ba2435 bcache: Make gc wakeup sane, remove set_task_state()
aee7d0412f17 ntb_transport: Pick an unused queue
c6c6851adbaf NTB: ntb_transport: fix debugfs_remove_recursive
efa061998d22 printk: use rcuidle console tracepoint
6787d3ecbef7 ARM: 8658/1: uaccess: fix zeroing of 64-bit get_user()
e6394c7d1c19 futex: Move futex_init() to core_initcall
906bb56e3a12 drm/dp/mst: fix kernel oops when turning off secondary monitor
b32128386bf8 drm/radeon: Use mode h/vdisplay fields to hide out of bounds HW cursor
c6cbae45a57f Input: elan_i2c - add ELAN0605 to the ACPI table
65de8bfbbe20 Fix missing sanity check in /dev/sg
8107096d243d scsi: don't BUG_ON() empty DMA transfers
d7b146c69229 fuse: fix use after free issue in fuse_dev_do_read()
385a592dc7ce siano: make it work again with CONFIG_VMAP_STACK
f9400118b015 vfs: fix uninitialized flags in splice_to_pipe()
c50b74d88661 Linux 4.4.50
b9dee56027ae l2tp: do not use udp_ioctl()
afb4feb8bfef ping: fix a null pointer dereference
9117c897c9aa packet: round up linear to header len
58691e5b4f27 net: introduce device min_header_len
6f99825e7632 sit: fix a double free on error path
a4226c7ebfb5 sctp: avoid BUG_ON on sctp_wait_for_sndbuf
f46f344841ec mlx4: Invoke softirqs after napi_reschedule
0db25098cb6c macvtap: read vnet_hdr_size once
625bd9e43b3b tun: read vnet_hdr_sz once
82e9f6b90a0e tcp: avoid infinite loop in tcp_splice_read()
96ada0a978fa ipv6: tcp: add a missing tcp_v6_restore_cb()
eaa3a58f4503 ip6_gre: fix ip6gre_err() invalid reads
13c3646dac70 netlabel: out of bound access in cipso_v4_validate()
2d9c2e011fd3 ipv4: keep skb->dst around in presence of IP options
22449a01baa5 net: use a work queue to defer net_disable_timestamp() work
f3ece3b38437 tcp: fix 0 divide in __tcp_select_window()
3f5b5134ec7c ipv6: pointer math error in ip6_tnl_parse_tlv_enc_lim()
41e07a7e01d9 ipv6: fix ip6_tnl_parse_tlv_enc_lim()
e6c654c9c092 can: Fix kernel panic at security_sock_rcv_skb
702c0ce9a7c7 Linux 4.4.49
5b0465dd4ad4 drm/i915: fix use-after-free in page_flip_completed()
a44ca389a736 ALSA: seq: Don't handle loop timeout at snd_seq_pool_done()
e5f20a3fd6db ALSA: seq: Fix race at creating a queue
010ada0cfcb9 xen-netfront: Delete rx_refill_timer in xennet_disconnect_backend()
1c0da0ac217b scsi: mpt3sas: disable ASPM for MPI2 controllers
4d6bdf7c73e7 scsi: aacraid: Fix INTx/MSI-x issue with older controllers
52e02d6bf304 scsi: zfcp: fix use-after-free by not tracing WKA port open/close on failed send
f2d256a2d49f netvsc: Set maximum GSO size in the right place
b9c29d45f980 mac80211: Fix adding of mesh vendor IEs
2f46791849be ARM: 8642/1: LPAE: catch pending imprecise abort on unmask
04ed4a9e21f5 target: Fix COMPARE_AND_WRITE ref leak for non GOOD status
0c863accadb0 target: Fix early transport_generic_handle_tmr abort scenario
ee44e73832c2 target: Use correct SCSI status during EXTENDED_COPY exception
44d03b9280ed target: Don't BUG_ON during NodeACL dynamic -> explicit conversion
fcc038db5959 ARM: 8643/3: arm/ptrace: Preserve previous registers for short regset write
cc187c6200f8 hns: avoid stack overflow with CONFIG_KASAN
3b7ff5ed114f cpumask: use nr_cpumask_bits for parsing functions
fd96835e205d Revert "x86/ioapic: Restore IO-APIC irq_chip retrigger callback"
e72c13d93e9e selinux: fix off-by-one in setprocattr
e871ea6bcf99 ARC: [arcompact] brown paper bag bug in unaligned access delay slot fixup
6a1bd9063246 Linux 4.4.48
87ebcc534d47 base/memory, hotplug: fix a kernel oops in show_valid_zones()
374d06699537 x86/irq: Make irq activate operations symmetric
94c0517fd0cb USB: serial: option: add device ID for HP lt2523 (Novatel E371)
9cf89ade1afd usb: gadget: f_fs: Assorted buffer overflow checks.
e4c1e6648298 USB: Add quirk for WORLDE easykey.25 MIDI keyboard
b4b3442e5032 USB: serial: pl2303: add ATEN device ID
244e7f00035d USB: serial: qcserial: add Dell DW5570 QDL
f4f09b79a0c4 KVM: x86: do not save guest-unsupported XSAVE state
8b51676d6cd9 HID: wacom: Fix poor prox handling in 'wacom_pl_irq'
b3c8c31ed24c percpu-refcount: fix reference leak during percpu-atomic transition
3a8e217851c9 mmc: sdhci: Ignore unexpected CARD_INT interrupts
85fb980acb01 can: bcm: fix hrtimer/tasklet termination in bcm op removal
4025ab36c81c mm, fs: check for fatal signals in do_generic_file_read()
e86a8769579e mm/memory_hotplug.c: check start_pfn in test_pages_in_a_zone()
920bba109299 cifs: initialize file_info_lock
7aeb95ceb84b zswap: disable changing params if init fails
5dadebc67586 svcrpc: fix oops in absence of krb5 module
2b4e56fde91b NFSD: Fix a null reference case in find_or_create_lock_stateid()
f584bb6df7a2 powerpc: Add missing error check to prom_find_boot_cpu()
9b993e2c3df6 powerpc/eeh: Fix wrong flag passed to eeh_unfreeze_pe()
db18e92ceb8d libata: apply MAX_SEC_1024 to all CX1-JB*-HP devices
579a917538f1 ata: sata_mv:- Handle return value of devm_ioremap.
d49d465d178f perf/core: Fix PERF_RECORD_MMAP2 prot/flags for anonymous memory
72bb4b549085 crypto: arm64/aes-blk - honour iv_out requirement in CBC and CTR modes
ae7d33f53a56 crypto: api - Clear CRYPTO_ALG_DEAD bit before registering an alg
c4305f00852c drm/nouveau/nv1a,nv1f/disp: fix memory clock rate retrieval
2a3797ef69c5 drm/nouveau/disp/gt215: Fix HDA ELD handling (thus, HDMI audio) on gt215
e21a3cad35bc ext4: validate s_first_meta_bg at mount time
62e546b2d3a0 PCI/ASPM: Handle PCI-to-PCIe bridges as roots of PCIe hierarchies
4686ea264f1d Linux 4.4.47
384e4bf0def9 net: dsa: Bring back device detaching in dsa_slave_suspend()
74a7c39ec627 qmi_wwan/cdc_ether: add device ID for HP lt2523 (Novatel E371) WWAN card
0492a033fb71 af_unix: move unix_mknod() out of bindlock
e674c70bafe7 r8152: don't execute runtime suspend if the tx is not empty
980b9afd9ecc bridge: netlink: call br_changelink() during br_dev_newlink()
8f9e4ad8d7f3 tcp: initialize max window for a new fastopen socket
8051bf2890e9 ipv6: addrconf: Avoid addrconf_disable_change() using RCU read-side lock
8a066a87025e net: phy: bcm63xx: Utilize correct config_intr function
6fec199362c4 net: fix harmonize_features() vs NETIF_F_HIGHDMA
4f5e54bdd052 ax25: Fix segfault after sock connection timeout
062b7f35ff6c ravb: do not use zero-length alignment DMA descriptor
7d691d89eed0 openvswitch: maintain correct checksum state in conntrack actions
b82981fb273d tcp: fix tcp_fastopen unaligned access complaints on sparc
ec9e993f30f6 net: systemport: Decouple flow control from __bcm_sysport_tx_reclaim
40e7c725ab0f net: ipv4: fix table id in getroute response
2e84b8ce6fc3 net: lwtunnel: Handle lwtunnel_fill_encap failure
290db2cd517e mlxsw: pci: Fix EQE structure definition
811bb1b9d9ab mlxsw: switchx2: Fix memory leak at skb reallocation
9edb2d75d81b mlxsw: spectrum: Fix memory leak at skb reallocation
595ac452c451 r8152: fix the sw rx checksum is unavailable
6c1ed78cb074 Linux 4.4.46
d0721893214e mm, memcg: do not retry precharge charges
14b97492d6e1 platform/x86: intel_mid_powerbtn: Set IRQ_ONESHOT
d430c37db796 pinctrl: broxton: Use correct PADCFGLOCK offset
5ddaf6804e24 s5k4ecgx: select CRC32 helper
5288474d2f48 IB/umem: Release pid in error and ODP flow
e114e66eec3d IB/ipoib: move back IB LL address into the hard header
800a78f9e62b drm/i915: Don't leak edid in intel_crt_detect_ddc()
d79e41188a1e SUNRPC: cleanup ida information when removing sunrpc module
edef1086bf09 NFSv4.0: always send mode in SETATTR after EXCLUSIVE4
0f64f22c0686 nfs: Don't increment lock sequence ID after NFS4ERR_MOVED
bde741e9cc23 parisc: Don't use BITS_PER_LONG in userspace-exported swab.h header
acb63c8b576d ARC: [arcompact] handle unaligned access delay slot corner case
42ad7663677d ARC: udelay: fix inline assembler by adding LP_COUNT to clobber list
bca1a95c9e20 can: ti_hecc: add missing prepare and unprepare of the clock
63fe33a78428 can: c_can_pci: fix null-pointer-deref in c_can_start() - set device pointer
bae49e72f951 s390/ptrace: Preserve previous registers for short regset write
8637de3a318d RDMA/cma: Fix unknown symbol when CONFIG_IPV6 is not enabled
d65032ab06f4 ISDN: eicon: silence misleading array-bounds warning
d1b232c2ce53 sysctl: fix proc_doulongvec_ms_jiffies_minmax()
f11e8bf8e99b mm/mempolicy.c: do not put mempolicy before using its nodemask
c83ad9703e71 drm: Fix broken VT switch with video=1366x768 option
23bc4e136bca tile/ptrace: Preserve previous registers for short regset write
63db7c91a3c0 fbdev: color map copying bounds checking
ef30573ef2b1 Linux 4.4.45
8323d0555fe3 arm64: avoid returning from bad_mode
6e65a4c698cf selftest/powerpc: Wrong PMC initialized in pmc56_overflow test
a5291c1a9eae dmaengine: pl330: Fix runtime PM support for terminated transfers
238623ce487f ite-cir: initialize use_demodulator before using it
b02d7a8219bc blackfin: check devm_pinctrl_get() for errors
a4d2fa085b9a ARM: 8613/1: Fix the uaccess crash on PB11MPCore
baa2610c4962 ARM: ux500: fix prcmu_is_cpu_in_wfi() calculation
68664ae14535 ARM: dts: imx6qdl-nitrogen6_max: fix sgtl5000 pinctrl init
c55f8aaf4a19 arm64/ptrace: Reject attempts to set incomplete hardware breakpoint fields
4c87fc7f2059 arm64/ptrace: Avoid uninitialised struct padding in fpr_set()
03ee97d68d8b arm64/ptrace: Preserve previous registers for short regset write - 3
d8263f1753ce arm64/ptrace: Preserve previous registers for short regset write - 2
76e08d2966a9 arm64/ptrace: Preserve previous registers for short regset write
41a9abb0e06b ARM: dts: da850-evm: fix read access to SPI flash
62c3d36309d3 ceph: fix bad endianness handling in parse_reply_info_extra
abfa5e8ae937 ARM: 8634/1: hw_breakpoint: blacklist Scorpion CPUs
294b0aadc8c2 svcrdma: avoid duplicate dma unmapping during error recovery
098b62b757a4 clocksource/exynos_mct: Clear interrupt when cpu is shut down
a07563c3cf05 ubifs: Fix journal replay wrt. xattr nodes
7ea1eb731453 qla2xxx: Fix crash due to null pointer access
86915782ff65 x86/ioapic: Restore IO-APIC irq_chip retrigger callback
212bab3c5b0b mtd: nand: xway: disable module support
80aeb7bf5ca0 ieee802154: atusb: do not use the stack for buffers to make them DMA able
8f6f508f70ff mmc: mxs-mmc: Fix additional cycles after transmission stop
75c60df15c85 HID: corsair: fix control-transfer error handling
0f37d20fdc70 HID: corsair: fix DMA buffers on stack
4740d1d7d429 PCI: Enumerate switches below PCI-to-PCIe bridges
dc4e372f9a47 fuse: clear FR_PENDING flag when moving requests out of pending queue
6f3002c22087 svcrpc: don't leak contexts on PROC_DESTROY
3b434ca8592a x86/PCI: Ignore _CRS on Supermicro X8DTH-i/6/iF/6F
36672b8b99e2 tmpfs: clear S_ISGID when setting posix ACLs
39d7c9ce35a1 ARM: dts: imx31: fix AVIC base address
d2e4968e3c0d ARM: dts: imx31: move CCM device node to AIPS2 bus devices
280d00a94293 ARM: dts: imx31: fix clock control module interrupts description
2ba399c693c0 perf scripting: Avoid leaking the scripting_context variable
aa02f29e95f3 IB/IPoIB: Remove can't use GFP_NOIO warning
ea470497eb31 IB/mlx4: When no DMFS for IPoIB, don't allow NET_IF QPs
f1c9169478ca IB/mlx4: Fix port query for 56Gb Ethernet links
c7a40c48f7a5 IB/mlx4: Fix out-of-range array index in destroy qp flow
1be54a4ec45a IB/mlx4: Set traffic class in AH
4ffb36efe22c IB/mlx5: Wait for all async command completions to complete
97085e2a386a ftrace/x86: Set ftrace_stub to weak to prevent gcc from using short jumps to it
a7dd347a67c0 Linux 4.4.44
45611fb9e0af pinctrl: sh-pfc: Do not unconditionally support PIN_CONFIG_BIAS_DISABLE
ef6eadbf7b16 powerpc/ibmebus: Fix device reference leaks in sysfs interface
488e7b2c5b6a powerpc/ibmebus: Fix further device reference leaks
4d1b5086f7e2 bus: vexpress-config: fix device reference leak
6e8210ad2585 blk-mq: Always schedule hctx->next_cpu
ddf0c377bf82 ACPI / APEI: Fix NMI notification handling
4af7970b3593 block: cfq_cpd_alloc() should use @gfp
2c1dd423a567 cpufreq: powernv: Disable preemption while checking CPU throttling state
33ebdfe913fd NFSv4.1: nfs4_fl_prepare_ds must be careful about reporting success.
11804232d1ad NFS: Fix a performance regression in readdir
8ff851bf2240 pNFS: Fix race in pnfs_wait_on_layoutreturn
7aae6e3c0c52 pinctrl: meson: fix gpio request disabling other modes
f0382c090a20 btrfs: fix error handling when run_delayed_extent_op fails
205e997acde7 btrfs: fix locking when we put back a delayed ref that's too new
68b97d287e28 x86/cpu: Fix bootup crashes by sanitizing the argument of the 'clearcpuid=' command-line option
0cf23324af1c USB: serial: ch341: fix modem-control and B0 handling
1d25a05642c8 USB: serial: ch341: fix resume after reset
a1a0612b7dde drm/radeon: drop verde dpm quirks
b9d6631395a1 sysctl: Drop reference added by grab_header in proc_sys_readdir
ca81117b7432 sysrq: attach sysrq handler correctly for 32-bit kernel
075f493a974e tty/serial: atmel_serial: BUG: stop DMA from transmitting in stop_tx
4a6716f16517 mnt: Protect the mountpoint hashtable with mount_lock
836fd7c9e6e6 vme: Fix wrong pointer utilization in ca91cx42_slave_get
d5fcd719e889 xhci: fix deadlock at host remove by running watchdog correctly
ae76af251806 i2c: fix kernel memory disclosure in dev interface
f64b9acc368c i2c: print correct device invalid address
085f4ebec797 Input: elants_i2c - avoid divide by 0 errors on bad touchscreen data
214a8e98e6bc USB: serial: ch341: fix open and resume after B0
802b4ef3b989 USB: serial: ch341: fix control-message error handling
bc74606d8d80 USB: serial: ch341: fix open error handling
e29f709c2f56 USB: serial: ch341: fix initial modem-control state
3ef5bc0b385f USB: serial: kl5kusb105: fix line-state error handling
4a1ecf37a59f nl80211: fix sched scan netlink socket owner destruction
9d3875c0c462 KVM: x86: Introduce segmented_write_std
3490e72ad6d0 KVM: x86: emulate FXSAVE and FXRSTOR
d9c4c1e7c2cf KVM: x86: add asm_safe wrapper
4fa0090249fb KVM: x86: add Align16 instruction flag
1fc673d96f9d KVM: x86: flush pending lapic jump label updates on module unload
3d27cd4b2527 jump_labels: API for flushing deferred jump label updates
34a55c9d4a2d KVM: eventfd: fix NULL deref irqbypass consumer
816307c80d4d KVM: x86: fix emulation of "MOV SS, null selector"
1a46e6ecf896 mm/hugetlb.c: fix reservation race when freeing surplus pages
6bbb8ff3b68e ocfs2: fix crash caused by stale lvb with fsdlm plugin
70429b970bde mm: fix devm_memremap_pages crash, use mem_hotplug_{begin, done}
6de62ec07d2a selftests: do not require bash for the generated test
2deaeea23fbd selftests: do not require bash to run netsocktests testcase
2e2679a168fe Input: i8042 - add Pegatron touchpad to noloop table
51377793758a Input: xpad - use correct product id for x360w controllers
d9ea51a9bea4 Linux 4.4.43
e21901d7a5eb mm/init: fix zone boundary creation
e3f77bb158f9 ALSA: usb-audio: Add a quirk for Plantronics BT600
a1c81f839c6f spi: mvebu: fix baudrate calculation for armada variant
dfd64d112a02 ARM: OMAP4+: Fix bad fallthrough for cpuidle
04dc1be104fe ARM: zynq: Reserve correct amount of non-DMA RAM
bed280bbc995 powerpc: Fix build warning on 32-bit PPC
fa48a1607580 ALSA: firewire-tascam: Fix to handle error from initialization of stream data
a2f727149ee4 HID: hid-cypress: validate length of report
70e05a9f2f4f net: vrf: do not allow table id 0
c177d491a948 net: ipv4: Fix multipath selection with vrf
67b21973ecf4 gro: Disable frag0 optimization on IPv6 ext headers
db7119eaacf4 gro: use min_t() in skb_gro_reset_offset()
5169043e9722 gro: Enter slow-path if there is no tailroom
0d3b9c2746d3 r8152: fix rx issue for runtime suspend
c31a3c79928b r8152: split rtl8152_suspend function
807cac887d95 ipv4: Do not allow MAIN to be alias for new LOCAL w/ custom rules
0d431f94c181 igmp: Make igmp group member RFC 3376 compliant
14e8d568f14f drop_monitor: consider inserted data in genlmsg_end
81e7916476ca drop_monitor: add missing call to genlmsg_end
1ff0308f33ce net/mlx5: Avoid shadowing numa_node
18d971f84c84 net/mlx5: Check FW limitations on log_max_qp before setting it
3f2847608cb9 net: stmmac: Fix race between stmmac_drv_probe and stmmac_open
67bce5821c9a net, sched: fix soft lockup in tc_classify
58d0d7a45ef8 ipv6: handle -EFAULT from skb_copy_bits
6ac0b3810cdc net: vrf: Drop conntrack data after pass through VRF device on Tx
1e5298d4c82b ser_gigaset: return -ENOMEM on error instead of success
33c7b0f74c57 netvsc: reduce maximum GSO size
49c4446a2e13 Linux 4.4.42
adf640eaefac usb: gadget: composite: always set ep->mult to a sensible value
f108b2de9cd0 Revert "usb: gadget: composite: always set ep->mult to a sensible value"
6053479cbbc5 tick/broadcast: Prevent NULL pointer dereference
af817b3fc6e5 drm/radeon: Always store CRTC relative radeon_crtc->cursor_x/y values
9205be7fa632 cx23885-dvb: move initialization of a8293_pdata
6b59fb520123 net: vxge: avoid unused function warnings
8003ac65d0a5 net: ti: cpmac: Fix compiler warning due to type confusion
becfb50c66cb cred/userns: define current_user_ns() as a function
f5a636fd416f staging: comedi: dt282x: tidy up register bit defines
8f251525da14 powerpc/pci/rpadlpar: Fix device reference leaks
ccd7bd29c2e6 md: MD_RECOVERY_NEEDED is set for mddev->recovery
1d3124821f3a crypto: arm64/aes-ce - fix for big endian
5b21c5489206 crypto: arm64/aes-xts-ce: fix for big endian
abca9c2d2cab crypto: arm64/sha1-ce - fix for big endian
83f8a200af45 crypto: arm64/aes-neon - fix for big endian
bd17e2d36615 crypto: arm64/aes-ccm-ce: fix for big endian
bed5c78798e1 crypto: arm/aes-ce - fix for big endian
4c575a30db8c crypto: arm64/ghash-ce - fix for big endian
820c2ac4c9f4 crypto: arm64/sha2-ce - fix for big endian
6119edd2d87a s390/crypto: unlock on error in prng_tdes_read()
85baf9416b7e mmc: mmc_test: Uninitialized return value
b0cb7f60998c PM / wakeirq: Fix dedicated wakeirq for drivers not using autosuspend
fc44d3d05478 irqchip/bcm7038-l1: Implement irq_cpu_offline() callback
69dc8473b750 target/iscsi: Fix double free in lio_target_tiqn_addtpg()
e57c830c9041 scsi: mvsas: fix command_active typo
079c4b43e1fe ASoC: samsung: i2s: Fixup last IRQ unsafe spin lock call
83882724eb65 iommu/vt-d: Flush old iommu caches for kdump when the device gets context mapped
91bc81b9661c iommu/vt-d: Fix pasid table size encoding
dc78a9e1b4f8 iommu/amd: Fix the left value check of cmd buffer
b54dcc3b68ef iommu/amd: Missing error code in amd_iommu_init_device()
46105512474f clk: imx31: fix rewritten input argument of mx31_clocks_init()
f371ee85268d clk: clk-wm831x: fix a logic error
92e993abb928 hwmon: (g762) Fix overflows and crash seen when writing limit attributes
fd504f529160 hwmon: (nct7802) Fix overflows seen when writing into limit attributes
5e351caeaa96 hwmon: (ds620) Fix overflows seen when writing temperature limits
fbab1832e7e8 hwmon: (amc6821) sign extension temperature
07c05622f63d hwmon: (scpi) Fix module autoload
9453d46a12ba cris: Only build flash rescue image if CONFIG_ETRAX_AXISFLASHMAP is selected
8353a5deec10 ath10k: use the right length of "background"
56ef587b77fd stable-fixup: hotplug: fix unused function warning
acb7df233b72 usb: dwc3: ep0: explicitly call dwc3_ep0_prepare_one_trb()
ecd4ad9ab7e9 usb: dwc3: ep0: add dwc3_ep0_prepare_one_trb()
efcd2e082f0f usb: dwc3: gadget: always unmap EP0 requests
7927c0314060 staging: iio: ad7606: fix improper setting of oversampling pins
3e4302f99aed mei: bus: fix mei_cldev_enable KDoc
e94800df8c1f USB: serial: io_ti: bind to interface after fw download
1224bb23fe15 USB: phy: am335x-control: fix device and of_node leaks
d36d0122ff51 ARM: dts: r8a7794: Correct hsusb parent clock
de2cf4998a52 USB: serial: kl5kusb105: abort on open exception path
f5531856c2c7 ALSA: usb-audio: Fix bogus error return in snd_usb_create_stream()
d576c36a3e1f usb: musb: blackfin: add bfin_fifo_offset in bfin_ops
e675483ee2f1 usb: hub: Move hub_port_disable() to fix warning if PM is disabled
02ef64ac647f usb: musb: Fix trying to free already-free IRQ 4
60dffc173220 usb: dwc3: pci: add Intel Gemini Lake PCI ID
59185ef00b46 xhci: Fix race related to abort operation
ce737ba8e23e xhci: Use delayed_work instead of timer for command timeout
b07b4fa72500 usb: xhci-mem: use passed in GFP flags instead of GFP_KERNEL
3e3f05182b39 USB: serial: mos7720: fix parallel probe
5c83e07c3c8b USB: serial: mos7720: fix parport use-after-free on probe errors
2f525ed5efb8 USB: serial: mos7720: fix use-after-free on probe errors
f2e8b37a9970 USB: serial: mos7720: fix NULL-deref at open
857757872704 USB: serial: mos7840: fix NULL-deref at open
1b1fdc715807 USB: serial: kobil_sct: fix NULL-deref in write
b60b91268cd0 USB: serial: cyberjack: fix NULL-deref at open
b835f4cd6700 USB: serial: oti6858: fix NULL-deref at open
374250ed9b26 USB: serial: io_edgeport: fix NULL-deref at open
ad4de3d91872 USB: serial: ti_usb_3410_5052: fix NULL-deref at open
f0bdd7e0ccb2 USB: serial: garmin_gps: fix memory leak on failed URB submit
e3d6a0da47e6 USB: serial: iuu_phoenix: fix NULL-deref at open
11743d704e51 USB: serial: io_ti: fix I/O after disconnect
7ef8807cce7d USB: serial: io_ti: fix another NULL-deref at open
33a5d0cc25f4 USB: serial: io_ti: fix NULL-deref at open
0243498813d2 USB: serial: spcp8x5: fix NULL-deref at open
65d107038ec6 USB: serial: keyspan_pda: verify endpoints at probe
c6aa86222ec5 USB: serial: pl2303: fix NULL-deref at open
4e106709060f USB: serial: quatech2: fix sleep-while-atomic in close
7b5d7880019c USB: serial: omninet: fix NULL-derefs at open and disconnect
d88f0f6c5ba0 usb: xhci: hold lock over xhci_abort_cmd_ring()
f286c2513ba6 xhci: Handle command completion and timeout race
86bb666386ee usb: host: xhci: Fix possible wild pointer when handling abort command
3447b3772934 usb: xhci: fix return value of xhci_setup_device()
2d1b4fcba4a7 xhci: free xhci virtual devices with leaf nodes first
b303a108541e usb: xhci: apply XHCI_PME_STUCK_QUIRK to Intel Apollo Lake
b4b404b99177 xhci: workaround for hosts missing CAS bit
e224b8b7215f usb: xhci: fix possible wild pointer
438efb640e83 usb: dwc3: core: avoid Overflow events
96a21e702606 usb: gadget: composite: Test get_alt() presence instead of set_alt()
bd4e78bbc93f USB: dummy-hcd: fix bug in stop_activity (handle ep0)
7cc00abef071 USB: fix problems with duplicate endpoint addresses
f6ff9981743c USB: gadgetfs: fix checks of wTotalLength in config descriptors
74e36bffe645 USB: gadgetfs: fix use-after-free bug
fe75330a27fc USB: gadgetfs: fix unbounded memory allocation bug
10a4380ea145 usb: gadgetfs: restrict upper bound on device configuration size
9cc601b40d76 usb: storage: unusual_uas: Add JMicron JMS56x to unusual device
96175db0a647 usb: musb: dsps: implement clear_ep_rxintr() callback
2a0e2a89cc41 usb: musb: core: add clear_ep_rxintr() to musb_platform_ops
e72575d2d76e KVM: MIPS: Flush KVM entry code from icache globally
7b95f36fc6fa KVM: x86: reset MMU on KVM_SET_VCPU_EVENTS
9b73f43fcef4 mac80211: initialize fast-xmit 'info' later
6e28a02f0e86 ARM: davinci: da850: don't add emac clock to lookup table twice
bb1cacd88e07 ALSA: usb-audio: Fix irq/process data synchronization
16b968a1ca96 ALSA: hda - Apply asus-mode8 fixup to ASUS X71SL
b87483c27624 ALSA: hda - Fix up GPIO for ASUS ROG Ranger
(From OE-Core rev: bf00e5e265d3f878d2af36a48d597ce477bd6f4f)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>