summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFiles
2017-06-14allarch: Append to vardepsexclude, not overwriteRichard Purdie1
These have values set elsewhere and this code was overwriting them leading to odd signature issues. Append instead preserving the original values. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-06-13oeqa/core/loader: Use full and small module name on filteringAníbal Limón1
The small module name was added to support run a whole suite that has more that 3 levels in the test case name, but this broke the behaviour for use a full test case name. [YOCTO #11632] Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-06-13oeqa/core/runner: Don't log details twice if test failsAníbal Limón1
The details of a test failure is upper on the unittest output so don't log twice the actual failure. [YOCTO #11622] Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-06-13iproute2: Upgrade 4.10.0 -> 4.11.0Changhyeok Bae2
0001-ip-Remove-unneed-header.patch is to fix build error built with musl. Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-06-13rpm: add explicit dependency on bzip2-replacement-native for native buildsMing Liu1
This fixes a following error: | recipe-sysroot-native/usr/lib/rpm/debugedit: error while loading shared libraries: \ | libbz2.so.1: cannot open shared object file: No such file or directory Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-06-13kexec-tools: Pass -no-pie to linkerKhem Raj3
- This matches the linker flags to compiler flags in purgatory - Compile arm64 without PIC Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-06-13valgrind: Fix ptest build with muslKhem Raj8
musl unearthed a problem when building out of tree, config.h was being used from $(srcdir) instead of generated config.h in $(builddir) this assumed functions e.g. mallinfo() and more which are not in musl as a result tests broke. Also add fixes to build remaining tests when building on musl pass -fno-pie as it cant use PIE especially in ptests/x86_64 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-06-13libnsl2: Include stdint.hKhem Raj2
uintptr_t is defined in stdint.h Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-06-13ltp: Include stdint.h for uintptr_tKhem Raj2
Fixes build with musl and upcoming glibc Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-06-13binutils-2.28: Update to latest on release branchKhem Raj7
Drop patches to ChangeLog, they are in patch header anyway Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-06-13mpg123: Upgrade to 1.25.0Khem Raj1
No need to skip textrel QA for x86 as it has been fixed in 1.25.0 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-06-13rpm: run binary package generation via thread poolsAlexander Kanavin5
This greatly reduces build times when there is a large amount of small rpm packages to produce. The patches are rather invasive, and so will be submitted upstream. Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-06-12Revert "package.bbclass: Restore functionality to detect RPM dependencies"Richard Purdie2
This reverts commit aea90e9ee6f34e7c1c08307080b1e29646668df6. RP hadn't meant to merge this yet and its causing problems so delay it until its ready.
2017-06-12package.bbclass: Restore functionality to detect RPM dependenciesPeter Kjellerstedt2
During the transition to dnf and rpm4, the functionality to automatically make RPM determine dependencies was lost. Before the transition, an OE specific tool called rpmdeps-oecore had been added to the rpm suit. It was based on the rpmdeps tool that is part of rpm. For each file specified on its command line, it would output the provides and requires that RPM could determine. During the transition to rpm4, rpmdeps-oecore was replaced with the standard rpmdeps. However, what no one noticed was that unless rpmdeps is given options, e.g., -P or -R, to tell it what it should output, it will not output anything. Thus, it would do all the work to determine the requirements, but would keep silent about it. And since no output from rpmdeps is expected unless there are requirements, there were no warnings indicating that everything was not working as expected. Porting the old rpmdeps-oecore to work with rpm4 is not really possible since it relied on being able to access internals of RPM that are no longer available. However, it turned out that rpmdeps had a debug option, --rpmfcdebug, that would output exactly the information that we need, albeit in a different format and to stderr. To make this usable, rpmdeps has now received a new option, --alldeps, which sends the information we need to stdout. Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-06-12rpm: Add a new option --alldeps to rpmdepsPeter Kjellerstedt2
This will send the output from rpmfcPrint() to stdout. This is an alternative to using the --rpmfcdebug option, which will send the same output to stderr. The two options have totally different use cases though. While --alldeps is used when the output from rpmfcPrint() is what is wanted, --rpmfcdebug can be used together with the other output options, e.g., --requires, without affecting their output. Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-06-12oeqa/sdk/cases: Fix skip of buildgcalculator testAníbal Limón1
The tc.hasTargetPackage uses a re.search to see if gtk+3 is on the manifest but + in regex means 1 or more causing the test to be skipped. Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-06-12oeqa/sdk/cases: Added validation for SDK compatibility tests with eSDKFrancisco Pedraza4
The manifests for eSDK are generated using shared states so there is a need to validate to different "packages names" into the test cases. For example for perl: SDK provides nativesdk-perl eSDK provides perl-native [YOCTO #9090] Signed-off-by: Francisco Pedraza <francisco.j.pedraza.gonzalez@intel.com> Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-06-12meta/classes/populate_sdk: Adds support for generating eSDK manifest filesFrancisco Pedraza3
Add get_extra_sdk_info to reuse code in buildhistory The functionalities to generate SDK and eSDK manifest files are different, the SDK comes from package information and the eSDK comes from sstate artifacts. Only execute write_sdk_{host, target}_manifest when is on populate_sdk class. Adds new functions write_sdk{host, target}_ext_manifest to execute on postprocess in populate_sdk_ext because at the end we have all the sstate artifacts to generate the manifest. [YOCTO #9038] Signed-off-by: Francisco Pedraza <francisco.j.pedraza.gonzalez@intel.com> Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-06-12lib/oe/sdk: Adds get_extra_sdk_info to reuse code in buildhistoryFrancisco Pedraza2
This function is going to be used for generating the target and host manifest files packages for eSDK. Added some fixes for buildhistory.bblclass, and docstring for get_extra_sdkinfo at oe.sdk [YOCTO #9038] Signed-off-by: Francisco Pedraza <francisco.j.pedraza.gonzalez@intel.com> Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-06-12rpm: Use conditional to access %{_docdir} in macros.inPeter Kjellerstedt2
This avoids the following warning: warning: Ignoring invalid regex %{_docdir} when runing `rpmdeps -R <file>`, since %{_docdir} is only defined when parsing a spec file. Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-06-12rpm: Do not require that ELF binaries are executable to be identifiablePeter Kjellerstedt2
There is nothing that requires, e.g., a DSO to be executable, but it is still an ELF binary and should be identified as such. Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-06-12rpm: Create a wrapper for the native rpmdeps toolPeter Kjellerstedt1
Rather than trying to call rpmdeps with the correct arguments to work with the sysroot as was done in package.bbclass, create a wrapper for it like all the other native tools already had. Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-06-12rpm: Simplify the creation of wrappers for the native toolsPeter Kjellerstedt1
Use a loop rather than calling create_wrapper for each individual tool. Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-06-12toaster.bbclass: Ignore some dependencies in toaster_buildhistory_dump()Peter Kjellerstedt1
When using RPM, depends.dot may contain dependencies such as "/bin/sh", which will confuse _toaster_load_pkgdatafile(). Ignore them. While at it, also ignore dependencies that contain parentheses, e.g., "libc.so.6(GLIBC_2.7)". Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-06-12toaster.bbclass: Simplify parsing of depends.dotPeter Kjellerstedt1
By using a single regular expression, the parsing of the depends.dot file can be simplified a lot. This should also make it less susceptible to formatting changes in that file. Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-06-12buildhistory.bbclass: Improve the generated depends.dot filePeter Kjellerstedt1
* Convert incorrectly formatted dependencies such as: "bar -> "foo" ">=" "1.2.3" into dependencies with edge labels: "bar -> "foo" [label=">= 1.2.3"] * Remove rpmlib() and config() dependencies such as: "foo" -> "rpmlib(CompressedFileNames)" [label="<= 3.0.4-1"] and: "base-files" -> "config(base-files)" [label="= 3.0.14-r89.49"] * Remove the trailing semicolon that was added to each line. It fills no purpose. Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-06-12insane.bbclass: Improve the handling of runtime file dependenciesPeter Kjellerstedt1
This makes the file-rdeps test support: * versioned dependencies, e.g., "perl (>= 5.000)", and * package dependencies among the file dependencies, e.g., "perl". It also ignores all "perl(...)" dependencies since it is expected that these are generated and handled by rpm itself and there is no reason to second guess what it is doing. Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-06-12insane.bbclass: Report all file-rdeps errors, not just the firstPeter Kjellerstedt1
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-06-12libxml2: Make ptest run the Python tests if Python support is enabledPeter Kjellerstedt2
Since we go through the trouble of copying the Python tests, we may as well actually run them... This also avoids the following QA issue: ERROR: libxml2-2.9.4-r0 do_package_qa: QA Issue: /usr/lib/libxml2/ptest/python/tests/push.py contained in package libxml2-ptest requires /usr/bin/python, but no providers found in RDEPENDS_libxml2-ptest? [file-rdeps] Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-06-12package_manager.py: Generate correct RPM package names againPeter Kjellerstedt1
During the transition to RPM4, the package names returned by RpmPM.list_installed() changed from the expected names of the packages that were installed into the image to some fictitious source RPM names. This restores the original functionality so that the installed-packages.txt files produced by inheriting buildhistory yet again contains a list of the names of the installed packages. Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-06-12buildhistory: force writing SRCREV valuesEd Bartosh1
Enabling SSTATE_MIRRORS sometimes causes SRCREV values not to be written/updated in the build history. This happens more often if SRCREV is set to ${AUTOREV} Explicitly writing SRCREVs when recipe history is being written should fix this. [YOCTO #10948] Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-06-12native/nativesdk: Ensure DISTRO_FEATURES is determisticRichard Purdie2
set() order is random and hence the filtered native/nativesdk DISTRO_FEATURES could be set to random ordering. We've been lucky so far this tended not to cause issues but some queued changes highedlighted this. Thrown in a sorted() so the order is deterministic and we get consistent hash checksums between runs and between machines. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-06-12mesa.inc: enable texture float for galliumTrevor Woerner3
Following the lead from Fedora (as suggested by Rob Clark) always enable --enable-texture-float for all gallium drivers, but then modify the code to not enable it, at runtime, where the implementation isn't backed by hardware. The patch comes from unpacking fedora-25's mesa-17.0.5-3.fc25.src.rpm from https://dl.fedoraproject.org/pub/fedora/linux/updates/25/SRPMS/m/ Somewhere along the path from OpenGL ES 2.0 to OpenGL ES 3.0 are some algorithms that are encumbered by patents. These algorithms are enabled with mesa's --enable-texture-float configure flag. However, if hardware acceleration is being used and the hardware supports --enable-texture-float, it means the hardware vendor has paid for the patents. Note that with this solution, non-hardware gallium drivers (e.g. swrast) can't --enable-texture-float, which might cause issues with some piglit tests. This solution was discussed and agreed-to on the mailing list: http://lists.openembedded.org/pipermail/openembedded-core/2017-May/137233.html Signed-off-by: Trevor Woerner <twoerner@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-06-12utils.py: helper function for optional include filesPatrick Ohly1
The main intention is to provide easy-to-use and read helper functions for including files only when certain distro features are set. Functionally they are the same as bb.utils.contains and bb.utils.contains_any. Distro features are part of the base configuration and thus safe to use for conditional inclusion in recipes and bbappends, in contrast to recipe variables which might still change during parsing. Therefore the check is limited to DISTRO_FEATURES. This is the reason for having this in OE-core instead of bitbake. Default values are set so that no redundant parameters have to be passed for conditional includes. As a secondary usage, the functions can also be used in boolean checks. Signed-off-by: Patrick Ohly <patrick.ohly@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-06-12bitbake.conf: DISTRO_FEATURES as overridesPatrick Ohly1
As discussed in "[Openembedded-architecture] Yocto Compatible 2.0 + signature changes", changes in .bbappend must depend on some explicit configuration change, typically selecting a distro feature. For _append and _remove, adding an override that is set only when the corresponding entry is in DISTRO_FEATURES achieves that: In local.conf: DISTRO_FEATURES_append = " my-distro-feature" In layer.conf: DISTRO_FEATURES_OVERRIDES += "my-distro-feature" In a .bbappend: do_install_append_df-my-distro-feature () { ... } The subset of DISTRO_FEATURES that are made available as overrides must be configured explicitly because using them this way should be a conscious decision. Signed-off-by: Patrick Ohly <patrick.ohly@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-06-12runqemu-export-rootfs: don't change RPC portsCody P Schafer1
RPC ports (also known as rpc program numbers) are values: - given to rpcbind (aka portmapper) to allow nfsv3 clients that don't know the tcp/udp port number of nfsd and mountd to look it up the tcp/udp port number, and to - allow a single transport (ie: tcp/udp port) to provide multiple sunrpc services. OE has carried patches to nfsutils & linux for some time to support the mountprog & nfsprog options. In the case of runqemu-export-rootfs, we don't need to use custom rpc program numbers because runqemu-export-rootfs tells unfsd not to register with the portmapper, and unfsd runs the nfs and mount rpc services on tcp/udp ports unfsd binds itself (iow: the tcp/udp ports are not shared in the sunrpc sense). Linux's nfs client does not query rpcbind when tcp/udp port numbers are specified (in net/sunrpc/clnt.c, call_bind checks for the tcp/udp port with xprt_bound() and skips the call to rpcbind if xprtsock.c's xs_setup_udp() or xs_setup_tcp() has found a non-zero tcp/udp port). The program numbers _are_ sent over the mount & nfs protocol (really, over sunrpc), and checked to match at both ends. As a result, even when rpcbind is unused, using different program numbers in unfsd vs linux nfs client causes mounts to fail (and nfsroot mounts to timeout). The result is that specifying custom program numbers in runqemu-export-rootfs doesn't solve any conflicts, it simply requires that users of runqemu-export-rootfs carry a kernel patch & adds 2 extra parameters to the kernel command line unnecessarily. Change runqemu-export-rootfs to use the default program numbers. For now, I have not dropped the custom program number patches to linux, nfs-utils, and unfsd just in case someone is using them in a non-runqemu-export-rootfs context. CC: Bruce Ashfield <bruce.ashfield@gmail.com> CC: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Cody P Schafer <dev@codyps.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-06-12testimage.bbclass: Correct the comment to state right dir for test casesKhem Raj1
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-06-12rng-tools: Fix textrels on 32bit x86Khem Raj2
When testing core-image-sato with hardening flags, it fails with SIGSEGV in libc.so during relocation time This is due to relocations in .text [textrel] build QA points it out clearly during qemux86 build as well AssertionError: 2 != 0 : Log: /mnt/a/oe/build/tmp/work/qemux86-bec-linux-musl/core-image-sato/1.0-r0/dmesg_output.log ----------------------- Central error: [ 19.043597] rngd[525]: segfault at 80098bb7 ip b77b14fc sp bfe9b380 error 7 in libc.so[b774c000+97000] Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-06-12gnutls: Upgrade to 3.5.13Fan Xin2
1. Upgrade gnutls from 3.5.9 to 3.5.13 2. Rebase the following patch file. use-pkg-config-to-locate-zlib.patch Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-06-12diffutils: prevent host path leaks, set pr pathJussi Kukkonen1
Note that this just removes a host path leakage: diffutils still doesn't depend on coreutils so 'pr' might not actually be there on image (this only breaks "diff -l" so no big deal). Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-06-12librepo: Fix typo: correct LRO_SSLVERIFYHOST with CURLOPT_SSL_VERIFYHOSTHongxu Jia2
The commit 51d32c6cd88ba0139c32793183fd6a236c1ef456 in git://github.com/rpm-software-management/librepo.git ... Author: Tomas Mlcoch <tmlcoch@redhat.com> Date: Mon May 5 14:31:35 2014 +0200 Add LRO_SSLVERIFYPEER and LRO_SSLVERIFYHOST options (RhBug: 1093014) ... It incorrectly setopt CURLOPT_SSL_VERIFYPEER for LRO_SSLVERIFYHOST. Use CURLOPT_SSL_VERIFYHOST to correct. Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-06-12classes/buildhistory: use BB_CMDLINE to get bitbake command linePaul Eggleton1
We put the bitbake command line in the buildhistory commit message for informational purposes, but calling sys.argv to get that as we were previously doesn't really work in memory resident mode - that gives you the command used to start the bitbake server which is much less interesting. Use the just-introduced BB_CMDLINE variable instead. Part of the fix for [YOCTO #11634]. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-06-12bitbake.conf: add BB_CMDLINE to BB_HASHCONFIG_WHITELISTPaul Eggleton1
We really don't want the just-introduced BB_CMDLINE influencing the config hash. Part of the fix for [YOCTO #11634]. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-06-12dpkg: Add missing RDEPENDS for dpkg-perlTom Rini1
In order to be able to use dpkg-perl on a system various stock perl modules must also be installed on the system. Create the list of required modules based on a read of the code and testing with additional utilities and list them in RDEPENDS_${PN}-perl. Signed-off-by: Tom Rini <trini@konsulko.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-06-12dpkg: Fix perl modules by moving them to the versioned perl directoryTom Rini1
In order for the dpkg perl modules to be used the must reside in the versioned perl library directory (as to be in the default include path). Be explicit about this location in our FILES_${PN}-perl directive, so that if this breaks in the future, the recipe will fail). We can now drop the custom do_configure as it wasn't fixing this problem. Signed-off-by: Tom Rini <trini@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-06-12cpan-base.bbclass: Move PERLVERSION and get_perl_version to a new fileTom Rini2
It is possible for non-CPAN recipes to contain perl modules. These perl modules must reside in the versioned perl library directory in order to work in normal circumstances.. Export this logic to a separate class so that it can be reused without the rest of the cpan logic. Without this, dpkg will not export its perl code to the correct location and will not be found by utilities that expect to use it. Signed-off-by: Tom Rini <trini@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-06-12openssh: allow to override OpenSSL HostKeys when read-only-rootfsAndré Draszik2
With these changes it is possible to have a .bbappend that - sets SYSCONFDIR to some persistent storage - modifies SYSCONFDIR/sshd_config to use ssh host keys from the (writable) sysconfdir Signed-off-by: André Draszik <adraszik@tycoint.com> Reviewed-by: Stephane Ayotte <sayotte@tycoint.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-06-12busybox: add backported patch to support iproute 'scope'André Draszik3
This is needed for avahi-autoipd, which attempts to create a link-scope route as part of its work. Without iproute scope support in busybox, the route is not created due to an error message, and hence we aren't accessible by, and can't access ourselves, IP addresses outside the link-local scope (169.254.0.0/16) unless we also have a proper non link-local IP address, which somehow defeats the purpose of zeroconf. Signed-off-by: André Draszik <adraszik@tycoint.com> Reviewed-by: Stephane Ayotte <sayotte@tycoint.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-06-12package_rpm.bbclass: use multithreaded xz compressionAlexander Kanavin1
RPM's default is single-threaded gz; the change greatly helps with both buildtimes (when there is a small number of large-sized packages) and disk space taken by resulting rpms. Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-06-12linux-yocto/4.4: update to v4.4.71Bruce Ashfield3
Updating the the latest 4.4 -stable release which comprises the following commits: 4bbbc7696405 Linux 4.4.71 9d65be36a7cc xfs: only return -errno or success from attr ->put_listent 1b03d85a4f37 xfs: in _attrlist_by_handle, copy the cursor back to userspace c56605c69ba6 xfs: fix unaligned access in xfs_btree_visit_blocks 9f7b5da0570f xfs: bad assertion for delalloc an extent that start at i_size 3ba13d7f5b2b xfs: fix indlen accounting error on partial delalloc conversion 1d41dd5c1fd6 xfs: wait on new inodes during quotaoff dquot release 9d97d6a15265 xfs: update ag iterator to support wait on new inodes 8e25af0dc5ad xfs: support ability to wait on new inodes cf55c35974e1 xfs: fix up quotacheck buffer list error handling a76647a71c8e xfs: prevent multi-fsb dir readahead from reading random blocks 8caa9a54b32b xfs: handle array index overrun in xfs_dir2_leaf_readbuf() 0ace12c11401 xfs: fix over-copying of getbmap parameters from userspace fe705621b9b4 xfs: fix off-by-one on max nr_pages in xfs_find_get_desired_pgoff() b9a7816997a3 xfs: Fix missed holes in SEEK_HOLE implementation 03489bfc7830 mlock: fix mlock count can not decrease in race condition 7e13bab109ea mm/migrate: fix refcount handling when !hugepage_migration_supported() 4e4b72c0ee3d drm/gma500/psb: Actually use VBT mode when it is found 14bfe118dd7d slub/memcg: cure the brainless abuse of sysfs attributes 023a8b0925be ALSA: hda - apply STAC_9200_DELL_M22 quirk for Dell Latitude D430 85ddc41a6c4a pcmcia: remove left-over %Z format 69877793e23d drm/radeon: Unbreak HPD handling for r600+ 15de2e4c90b7 drm/radeon/ci: disable mclk switching for high refresh rates (v2) 3529600b1601 scsi: mpt3sas: Force request partial completion alignment 58b7cb10f6e2 HID: wacom: Have wacom_tpc_irq guard against possible NULL dereference c0fd730b678d mmc: sdhci-iproc: suppress spurious interrupt with Multiblock read 2ca57fc82436 i2c: i2c-tiny-usb: fix buffer not being DMA capable 1b5286ba9f13 vlan: Fix tcp checksum offloads in Q-in-Q vlans e989f9bf2a9d net: phy: marvell: Limit errata to 88m1101 605b6b2b4d8a netem: fix skb_orphan_partial() 338f665acb4b ipv4: add reference counting to metrics 97f54575ff57 sctp: fix ICMP processing if skb is non-linear fe22b6005538 tcp: avoid fastopen API to be used on AF_UNSPEC d7ed7fcecf20 virtio-net: enable TSO/checksum offloads for Q-in-Q vlans 8380f16d0702 be2net: Fix offload features for Q-in-Q packets 38f02f2ce0ca ipv6: fix out of bound writes in __ip6_append_data() 3a854210f9a5 bridge: start hello_timer when enabling KERNEL_STP in br_stp_start b543ccc4f627 qmi_wwan: add another Lenovo EM74xx device ID 94c0bf3cbb99 bridge: netlink: check vlan_default_pvid range f76d54a8882e ipv6: Check ip6_find_1stfragopt() return value properly. 017fabead5c2 ipv6: Prevent overrun when parsing v6 header options 640bfcf232a9 net: Improve handling of failures on link and route dumps 7ede5c90fcdd tcp: eliminate negative reordering in tcp_clean_rtx_queue ffa551def59c sctp: do not inherit ipv6_{mc|ac|fl}_list from parent 704e6c6b8651 sctp: fix src address selection if using secondary addresses for ipv6 90e3f8a55871 tcp: avoid fragmenting peculiar skbs in SACK 182abc4e74a1 s390/qeth: avoid null pointer dereference on OSN 21b871582375 s390/qeth: unbreak OSM and OSN support 2ac37098ee3d s390/qeth: handle sysfs error during initialization d1428ee54073 ipv6/dccp: do not inherit ipv6_mc_list from parent 5f67a1663c03 dccp/tcp: do not inherit mc_list from parent b9978c27454c sparc: Fix -Wstringop-overflow warning b409ba3b0535 Linux 4.4.70 837bfdb41337 drivers: char: mem: Check for address space wraparound with mmap() 52cf24769487 nfsd: encoders mustn't use unitialized values in error cases da922dc48dcf drm/edid: Add 10 bpc quirk for LGD 764 panel in HP zBook 17 G2 bc428e94070e PCI: Freeze PME scan before suspending devices 5f36c8b4e4a3 PCI: Fix pci_mmap_fits() for HAVE_PCI_RESOURCE_TO_USER platforms 6384f782a69c tracing/kprobes: Enforce kprobes teardown after testing d5fb96b955ff osf_wait4(): fix infoleak e07db0d720d3 genirq: Fix chained interrupt data ordering 1736f2b3de62 uwb: fix device quirk on big-endian hosts ca19dd15e7bb metag/uaccess: Check access_ok in strncpy_from_user 2d9b2e780832 metag/uaccess: Fix access_ok() 98d5e84363ea iommu/vt-d: Flush the IOTLB to get rid of the initial kdump mappings cb89b1f9dff9 staging: rtl8192e: rtl92e_get_eeprom_size Fix read size of EPROM_CMD. 427907e599fa staging: rtl8192e: fix 2 byte alignment of register BSSIDR. 8b26f53bf026 mm/huge_memory.c: respect FOLL_FORCE/FOLL_COW for thp f03484fd5a3a xc2028: Fix use-after-free bug properly e0188a556da6 arm64: documentation: document tagged pointer stack constraints 06dd8281a7d3 arm64: uaccess: ensure extension of access_ok() addr c23fee69f5b5 arm64: xchg: hazard against entire exchange variable acbab784a9b6 ARM: dts: at91: sama5d3_xplained: not all ADC channels are available 6ae3be7167b7 ARM: dts: at91: sama5d3_xplained: fix ADC vref 1ab43a598996 powerpc/64e: Fix hang when debugging programs with relocated kernel 33c0c0f8edb9 powerpc/pseries: Fix of_node_put() underflow during DLPAR remove a86b9ecf1158 powerpc/book3s/mce: Move add_taint() later in virtual mode f3ffc64bf3dd cx231xx-cards: fix NULL-deref at probe 3208e455284b cx231xx-audio: fix NULL-deref at probe bd14c18861c7 cx231xx-audio: fix init error path f7c778fa707d dvb-frontends/cxd2841er: define symbol_rate_min/max in T/C fe-ops e5a9ebb4387a zr364xx: enforce minimum size when reading header a6e0caa34715 dib0700: fix NULL-deref at probe a896652f6ad3 s5p-mfc: Fix unbalanced call to clock management fc9753aa6ce9 gspca: konica: add missing endpoint sanity check 04f522476a26 ceph: fix recursion between ceph_set_acl() and __ceph_setattr() 0e9e19a66530 iio: proximity: as3935: fix as3935_write 8a5b15e198f1 ipx: call ipxitf_put() in ioctl error path 4ae1efc7cc98 USB: hub: fix non-SS hub-descriptor handling af4e23402409 USB: hub: fix SS hub-descriptor handling 1e6e9c4c36f9 USB: serial: io_ti: fix div-by-zero in set_termios 4be0ae3d314c USB: serial: mct_u232: fix big-endian baud-rate handling 704f23f20c5e USB: serial: qcserial: add more Lenovo EM74xx device IDs 1c7f99aa2979 usb: serial: option: add Telit ME910 support 319be2ab4731 USB: iowarrior: fix info ioctl on big-endian hosts 1beae7405705 usb: musb: tusb6010_omap: Do not reset the other direction's packet size 5cbfae4ad360 ttusb2: limit messages to buffer size 9737909ff9d4 mceusb: fix NULL-deref at probe f05c0dfd394f usbvision: fix NULL-deref at probe 14d0cafd3f95 net: irda: irda-usb: fix firmware name on big-endian hosts ec0b553bd8df usb: host: xhci-mem: allocate zeroed Scratchpad Buffer c0791b605fac xhci: apply PME_STUCK_QUIRK and MISSING_CAS quirk for Denverton 65ba07489dcd usb: host: xhci-plat: propagate return value of platform_get_irq() ada79b5ecda7 sched/fair: Initialize throttle_count for new task-groups lazily f01ae9cb0de2 sched/fair: Do not announce throttled next buddy in dequeue_task_fair() ae3d7b8931eb fscrypt: avoid collisions when presenting long encrypted filenames 129a883b0191 f2fs: check entire encrypted bigname when finding a dentry 269d8211c400 fscrypt: fix context consistency check when key(s) unavailable 0aa3b8ef6975 net: qmi_wwan: Add SIMCom 7230E 22823e95193a ext4 crypto: fix some error handling 0a76f023e6f2 ext4 crypto: don't let data integrity writebacks fail with ENOMEM f0486aa7bc80 USB: serial: ftdi_sio: add Olimex ARM-USB-TINY(H) PIDs 16ac61cf707c USB: serial: ftdi_sio: fix setting latency for unprivileged users 6a70a5833ecc pid_ns: Fix race between setns'ed fork() and zap_pid_ns_processes() ddf9b92f12dd pid_ns: Sleep in TASK_INTERRUPTIBLE in zap_pid_ns_processes 060d2642682e iio: dac: ad7303: fix channel description 14323b731072 of: fix sparse warning in of_pci_range_parser_one 000959316365 proc: Fix unbalanced hard link numbers d22b933fb8eb cdc-acm: fix possible invalid access when processing notification e4add1cf6b41 drm/nouveau/tmr: handle races with hw when updating the next alarm time 9d78e40f5f41 drm/nouveau/tmr: avoid processing completed alarms when adding a new one 5e07724c28f4 drm/nouveau/tmr: fix corruption of the pending list when rescheduling an alarm 27f82df2f026 drm/nouveau/tmr: ack interrupt before processing alarms 3819271d8a5f drm/nouveau/therm: remove ineffective workarounds for alarm bugs 7d2d6022807a drm/amdgpu: Make display watermark calculations more accurate 349666cfbe76 drm/amdgpu: Avoid overflows/divide-by-zero in latency_watermark calculations. 670a7c5db22e ath9k_htc: fix NULL-deref at probe 8431037ba10b ath9k_htc: Add support of AirTies 1eda:2315 AR9271 device c26190b5378d s390/cputime: fix incorrect system time d1f8ea3bd095 s390/kdump: Add final note de74aedd71c0 regulator: tps65023: Fix inverted core enable logic. 6d380f50113c KVM: X86: Fix read out-of-bounds vulnerability in kvm pio emulation e9c9e7588ef5 KVM: x86: Fix load damaged SSEx MXCSR register 08e589a97d38 ima: accept previously set IMA_NEW_FILE 0c99c8a22cc4 mwifiex: pcie: fix cmd_buf use-after-free in remove/reset e367d1b00f81 rtlwifi: rtl8821ae: setup 8812ae RFE according to device type c5ff397f075e md: update slab_cache before releasing new stripes when stripes resizing d3df9403c075 dm space map disk: fix some book keeping in the disk space map 1dc9fb3cc12e dm thin metadata: call precommit before saving the roots ea4889d6f39d dm bufio: make the parameter "retain_bytes" unsigned long 4a9631ffe520 dm cache metadata: fail operations if fail_io mode has been established 8d8fb01a62f2 dm bufio: check new buffer allocation watermark every 30 seconds 5d1df36c9d2c dm bufio: avoid a possible ABBA deadlock 4df4bf1df916 dm raid: select the Kconfig option CONFIG_MD_RAID0 fa499b361bd4 dm btree: fix for dm_btree_find_lowest_key() c04397351fe5 infiniband: call ipv6 route lookup via the stub interface 63450e38efe3 tpm_crb: check for bad response size 025e33ee387a ARM: tegra: paz00: Mark panel regulator as enabled on boot b171ce6c5e41 USB: core: replace %p with %pK cda5c7e625ce char: lp: fix possible integer overflow in lp_setup() ea99c2248495 watchdog: pcwd_usb: fix NULL-deref at probe ca157f64dc9c USB: ene_usb6250: fix DMA to the stack b572de59915e usb: misc: legousbtower: Fix memory leak 8a7f9dfbd4ae usb: misc: legousbtower: Fix buffers on stack bb56ca291305 Linux 4.4.69 35df2085ec02 ipmi: Fix kernel panic at ipmi_ssif_thread() d4392269f7ce wlcore: Add RX_BA_WIN_SIZE_CHANGE_EVENT event 4b86b46ef410 wlcore: Pass win_size taken from ieee80211_sta to FW 8ef67e0078b3 mac80211: RX BA support for sta max_rx_aggregation_subframes d13333edbcc7 mac80211: pass block ack session timeout to to driver 0fe94dd915fd mac80211: pass RX aggregation window size to driver f85e0c5f592c Bluetooth: hci_intel: add missing tty-device sanity check bf3feec82ce3 Bluetooth: hci_bcm: add missing tty-device sanity check ff1c4cf24642 Bluetooth: Fix user channel for 32bit userspace on 64bit kernel 9bd2cc56a089 tty: pty: Fix ldisc flush after userspace become aware of the data already 814c2bac9032 serial: omap: suspend device on probe errors a52e1012585f serial: omap: fix runtime-pm handling on unbind 605fa1a2aa03 serial: samsung: Use right device for DMA-mapping calls db467fee7ffb arm64: KVM: Fix decoding of Rt/Rt2 when trapping AArch32 CP accesses f08bc4d63377 padata: free correct variable 9f4ba9062c2c CIFS: add misssing SFM mapping for doublequote 9a4050669919 cifs: fix CIFS_IOC_GET_MNT_INFO oops a8900a64eabf CIFS: fix mapping of SFM_SPACE and SFM_PERIOD b85fa4129e7a SMB3: Work around mount failure when using SMB3 dialect to Macs 89d23005fd63 Set unicode flag on cifs echo request to avoid Mac error 7aad381af8c3 fs/block_dev: always invalidate cleancache in invalidate_bdev() bb7031c7e50f ceph: fix memory leak in __ceph_setxattr() eb04a7344c83 fs/xattr.c: zero out memory copied to userspace in getxattr a3e6be0e9447 ext4: evict inline data when writing to memory map ab7ebca418bb IB/mlx4: Reduce SRIOV multicast cleanup warning message to debug level 1ad689bdc12d IB/mlx4: Fix ib device initialization error flow 1360f4301c78 IB/IPoIB: ibX: failed to create mcg debug file 1549c883d39b IB/core: Fix sysfs registration error flow d96bb545d6ff vfio/type1: Remove locked page accounting workqueue 341adf516842 dm era: save spacemap metadata root after the pre-commit dcd4004ae521 crypto: algif_aead - Require setkey before accept(2) 21cb4dc57b3c block: fix blk_integrity_register to use template's interval_exp if not 0 cbaeca8251bb KVM: arm/arm64: fix races in kvm_psci_vcpu_on 7b268351860c KVM: x86: fix user triggerable warning in kvm_apic_accept_events() a2d5dcf338ea um: Fix PTRACE_POKEUSER on x86_64 b8cd9dd513bf x86, pmem: Fix cache flushing for iovec write < 8 bytes d34ecdc9712c selftests/x86/ldt_gdt_32: Work around a glibc sigaction() bug e89233f53e3d x86/boot: Fix BSS corruption/overwrite bug in early x86 kernel startup 3d3ca81d5e35 usb: hub: Do not attempt to autosuspend disconnected devices 0b4dad7c2cf4 usb: hub: Fix error loop seen after hub communication errors 7cad8a47ca94 usb: Make sure usb/phy/of gets built-in 6c3785cca656 usb: misc: add missing continue in switch d3c04901f750 staging: comedi: jr3_pci: cope with jiffies wraparound 7fc6659b19a2 staging: comedi: jr3_pci: fix possible null pointer dereference 5ac489a80ffb staging: gdm724x: gdm_mux: fix use-after-free on module unload 265500bf9802 staging: vt6656: use off stack for out buffer USB transfers. 9d3c45786f27 staging: vt6656: use off stack for in buffer USB transfers. de9d2d297ebe USB: Proper handling of Race Condition when two USB class drivers try to call init_usb_class simultaneously fcd9a083cd22 USB: serial: ftdi_sio: add device ID for Microsemi/Arrow SF2PLUS Dev Kit af3c8bf0e06b usb: host: xhci: print correct command ring address 8e1a740a5d66 iscsi-target: Set session_fall_back_to_erl0 when forcing reinstatement 6cd0200a9554 target: Convert ACL change queue_depth se_session reference usage de41b0e12d6e target/fileio: Fix zero-length READ and WRITE handling a1c2b01c310a target: Fix compare_and_write_callback handling for non GOOD status 8e209a07b106 xen: adjust early dom0 p2m handling to xen hypervisor behavior Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>