summaryrefslogtreecommitdiffstats
path: root/meta
Commit message (Collapse)AuthorAgeFilesLines
* sstate: Allow sstate_clean_manifest to take a prefixRichard Purdie2017-01-281-1/+3
| | | | | | | | | | Manifest files containing the same duplicated prefix are wasteful on space and ultimately this costs build time. Add support for manifest files with common prefixes removed and use the prefix if the path isn't absolute. (From OE-Core rev: 71e8c98238d627f9665faee9d7c226b9c07bd256) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gzip/pigz/expat/image: Simplify gzip-native/pigz-nativeRichard Purdie2017-01-286-14/+4
| | | | | | | | | With recipe specific sysroots, the gzip-replacement-native dance/class is obsolete, simplify the code accordingly. (From OE-Core rev: 39865fdf3698a130f792d41853f9c9ca1901e335) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* allarch: Drop STAGING_DIR_HOST expansionRichard Purdie2017-01-281-4/+0
| | | | | | | | | | Now that STAGINGDIR_HOST doesn't contain MACHINE, we no longer need to expand the value. Pre-expansion can mean components like PV can be expanded too early and cause problems for certain use cases. (From OE-Core rev: d04f0363a1e8ae641da3e80ffbd4c8803cb1c91a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* image/kernelsrc/packagegroups/recipes: Remove uneeded noexec tasksRichard Purdie2017-01-287-34/+34
| | | | | | | | | | | | | | | | We used to have issues removing tasks like do_fetch due to implications for targets like world and universe. These have now been resolved. Removing uneeded tasks has advantages compared to noexec since it means that accidentally left in dependencies are no longer needed/processed (e.g. do_patch depends on quilt-native). This cleans up a number of cases which local analysis highlighted as being unneeded leading to slightly cleaner task graphs. (From OE-Core rev: 4e6ee37e09c60e83c0dfd844ba9cf8a07507f099) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* image_types.bbclass: rebuild .wks file when .wks.in changesPatrick Ohly2017-01-281-0/+4
| | | | | | | | | | | | | | | | | | | WKS_FILE(S) can refer to .wks.in files which get expanded during the build by do_write_wks_template. The actual content of the .wks.in file gets added to the recipe meta data during parsing, and thus we need to ensure that the recipe gets re-parsed when the file changes. This fixes two related problems: - editing the .wks.in file and rebuilding an image did not recreate the image unless something else changed or "bitbake -c clean" was used explicitly - when forcing a rebuild, the cached meta data and the actual one do not match, leading to "ERROR: Taskhash mismatch ... for ....bb.do_write_wks_template" (From OE-Core rev: d00b95b18237b276c221b16dfc511a6da150ef06) Signed-off-by: Patrick Ohly <patrick.ohly@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc-cross: Ensure do_gcc_stash_builddir happens before do_buildRichard Purdie2017-01-281-1/+1
| | | | | | | | | If we don't do this, things break with rm_work which removes things before the task completes causing task failures. (From OE-Core rev: bfea0e6a5aee9ce15bf20bcb2781329e6281284c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sanity.conf: Update minimum bitbake version requirements to 1.33.0Richard Purdie2017-01-271-1/+1
| | | | | | | | | Recipe specific sysroots and mutliconfig need recent versions of bitbake, look for version 1.33.0 as a minimum (From OE-Core rev: 3a617a4c66941cecbdccb6f410e1b0d8bfde9845) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xserver-xorg: Upgrade 1.19.0 -> 1.19.1Jussi Kukkonen2017-01-261-2/+2
| | | | | | | | | Point release with bug fixes. (From OE-Core rev: a99cca0e8ee15f7b542986d89b70054ac7cb24be) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xf86-input-evdev: Upgrade 2.10.4 -> 2.10.5Jussi Kukkonen2017-01-261-2/+3
| | | | | | | | | Small release with bug fixes and config improvements. (From OE-Core rev: 8fcffd2ac817a44dc60f915977d498b944d4c74e) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libxpm: Upgrade 3.5.11 -> 3.5.12Jussi Kukkonen2017-01-261-2/+2
| | | | | | | | | Tiny bug fix release. (From OE-Core rev: e97f6c10fe18683406157d3c2193b833a53e9f7d) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libxkbcommon: Upgrade 0.7.0 -> 0.7.1Jussi Kukkonen2017-01-261-2/+2
| | | | | | | | | Small release with bug fixes. (From OE-Core rev: 043f0b03a4993a97b68128ce4a4666d33cf8f2be) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libxi: Upgrade 1.7.8 -> 1.7.9Jussi Kukkonen2017-01-261-2/+2
| | | | | | | | | Tiny bug fix release. (From OE-Core rev: c6cbc8fdd39b062f42372c75813b634b86bbe6c4) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libinput: Upgrade 1.5.0 -> 1.6.0Jussi Kukkonen2017-01-261-2/+2
| | | | | | | | | Bug fixes, new quirks and touchpad acceleration improvements. (From OE-Core rev: b719dc085b1f120a0520611e4df3d3bf2d25a7e9) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libevdev: Upgrade 1.5.4 -> 1.5.6Jussi Kukkonen2017-01-261-2/+2
| | | | | | | | | | Only changes in helper tools and a header (to support new keycodes in linux 4.9 headers). (From OE-Core rev: b84e78a793fec4e36d9f9c7821b20f63e19675d2) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gtk+3: Upgrade 3.22.5 -> 3.22.7Jussi Kukkonen2017-01-262-4/+4
| | | | | | | | | Point releases with mostly just bug fixes. (From OE-Core rev: 068a1e50ab1060238b8c320e1ebb5b3e05065852) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* freetype: Upgrade 2.7.0 -> 2.7.1Jussi Kukkonen2017-01-261-2/+2
| | | | | | | | | | Bug fixes and some new features: support for Adobe CFF2 font format and OpenType 1.8 variation fonts. (From OE-Core rev: 1f99a31609be7028444075b176e752a44c93115c) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* openssh: upgrade to 7.4p1Dengke Du2017-01-264-67/+28
| | | | | | | | | | | | 1. Drop CVE patch: fix-CVE-2016-8858.patch, because the version 7.4p1 have been fixed it. 2. Rebase the remaining patchs on the version 7.4p1. (From OE-Core rev: b648b382046bd94f0cf5fe0aa4b77ab250f126cd) Signed-off-by: Dengke Du <dengke.du@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libpng12: Upgrade 1.2.56 -> 1.2.57Maxin B. John2017-01-261-4/+4
| | | | | | | | | | | | | This upgrade fixes the vulnerability: CVE-2016-10087 License file changes are due to updates in Version and Copyright date. ie: 'libpng versions 1.0.7, July 1, 2000, through 1.2.57, December 29, 2016, are Copyright (c) 2000-2002, 2004, 2006-2016 Glenn Randers-Pehrson' (From OE-Core rev: ca763e7e784e7f485423752d1e23917652a057a1) Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libpng: Upgrade 1.6.26 -> 1.6.28Maxin B. John2017-01-261-4/+4
| | | | | | | | | | | | | This upgrade fixes the vulnerability: CVE-2016-10087 License file changes are due to updates in Package Version and Copyright date. ie: 'libpng version 1.6.28, January 5, 2017' (From OE-Core rev: 94bb606b9f21b7fe4c5d7e9ae3fda17da047ece5) Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* socat: support native compilationPatrick Ohly2017-01-261-1/+4
| | | | | | | | | | | | | | | | This is needed for building the swtpm TPM simulator (recipe in meta-security). Native compilation disables tcp-wrappers by default to simplify the build. "nativesdk" is added just in case that someone also wants this in an SDK. (From OE-Core rev: a33a252462e2d7b90a1c89e42a96b9696eb08b23) Signed-off-by: Patrick Ohly <patrick.ohly@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* expect: support native compilationPatrick Ohly2017-01-261-1/+8
| | | | | | | | | | | | | This is needed for building the swtpm TPM simulator (recipe in meta-security). "nativesdk" is added just in case that someone also wants this in an SDK. (From OE-Core rev: 4b43aab5b2043a5b83ef1fa9a8406f8a46ccfa72) Signed-off-by: Patrick Ohly <patrick.ohly@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-libc-headers: introduce 4.9 headersBruce Ashfield2017-01-262-5/+3
| | | | | | | | | | | | | | Bumping the linux-libc-headers to the 4.9 kernel variant. Since 4.9 will be a LTSI kernel, and there will be an associated linux-yocto it is worth moving to these headers sooner rather than later. This commit also drops the 4.8 headers and sets 4.9 to be the default. (From OE-Core rev: cb0ef6e5fe096cecade81d42e95918f056bba052) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* connman: Add workaround to build with musl & 4.9 headersJussi Kukkonen2017-01-262-1/+66
| | | | | | | | | | Kernel headers break when musl defines IFF_LOWER_UP. While waiting for more proper fix in musl, add a workaround to connman. (From OE-Core rev: e6178138968717e1bdb7af7b5aed42fc74d956ab) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* testimage.bbclass: Add systemd test automaticallyMariano Lopez2017-01-261-1/+2
| | | | | | | | | | | | This adds systemd test automatically when an image is build with systemd DISTRO_FEATURE [YOCTO #10935] (From OE-Core rev: 2e6ba167bee7c7b42b1e0e96eb5a7be2eb0fd2c0) Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gstreamer1.0-plugins-base: disable ivorbisRoss Burton2017-01-261-1/+1
| | | | | | | | | | Even old hardware these days doesn't really need fixed-integer Vorbis decoding by default, so disable Tremor out of the box. (From OE-Core rev: 958926dd51d5e18ef983280a6e3b50fc8f33eb12) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* selftest: sstatetests: skip glibc-initial tests in case of non-glibc distroLeonardo Sandoval2017-01-262-6/+20
| | | | | | | | | Some distros uses non-glibc so skip those tests requiring glibc-initial as target (From OE-Core rev: 41f02cb7307faec32b13733e41f78a0ebdc1b52b) Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* selftest/imagefeatures: skip weston test if required features are not presentLeonardo Sandoval2017-01-261-3/+3
| | | | | | | | | Also, remove hard-coded features because the image already contains them. (From OE-Core rev: 899680840d497343095d0e7d7264e3e278ba4602) Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* useradd_base: keep group if it still has usersIoan-Adrian Ratiu2017-01-261-4/+14
| | | | | | | | | | | | | | | | | | perform_groupdel() tries to delete a group irrespective if other users have it as their primary group, thus the call to groupdel will fail with the following error error: groupdel: cannot remove the primary group of user '<user>' Add a check to perform_groupdel() to determine if there are other users and keep the group, printing a warning. This is called right after a user is deleted to delete it's group. If the last user is deleted, only then the group is also deleted. (From OE-Core rev: bba1f02cb6d80279c6fed34bb18f010aa921fc1e) Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* useradd-staticids: Fix groupaddDavid Vincent2017-01-261-1/+3
| | | | | | | | | | | When a group name is duplicated between USERADD_PARAM and GROUPADD_PARAM, this class tries to add it twice which results in failure of the groupadd command. (From OE-Core rev: 5b84cc895500c28674d2a7b7c2dd618cf8fb30e9) Signed-off-by: David Vincent <freesilicon@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* toolchain-scripts: remove CCACHE_PATH from environment scriptJoshua Lock2017-01-261-2/+0
| | | | | | | | | | | | | | | | | | | | | CCACHE_PATH was added to the toolchain-scripts in commit 1d31ddb856a80ba9da1a64ed5d701dc0f7351ef7 without a detailed explanation as to why. This commit removes that environment variable as it's causing failures since the introduction of host_gcc_version() to oe.utils in d36f41e5658bbbb6080ee833027879c119edf3e0, as used by uninative to determine NATIVELSBSTRING. This causes errors when the host has ccache available in in PATH - host_gcc_version() fails because ccache has been told to only look for the compiler in CCACHE_PATH and can't find gcc in order to check its version. Toolchain compilers aren't detected due to the binaries being prefixed with the triplet of the target. (From OE-Core rev: e47fb403c2cb472d2666ed3ba4b10933467c8c7b) Signed-off-by: Joshua Lock <joshua.g.lock@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rsync: update SRC_URIRoss Burton2017-01-261-1/+1
| | | | | | | | | | rsync.samba.org has disappeared from the Internet and isn't responding anymore, so point the SRC_URI at the canonical samba.org download server instead. (From OE-Core rev: 792368afdf61e7670bc5002e99880449098d50fb) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ppp: update SRC_URIRoss Burton2017-01-261-1/+1
| | | | | | | | | | ppp.samba.org has disappeared from the Internet and isn't responding anymore, so point the SRC_URI at the canonical samba.org download server instead. (From OE-Core rev: 9b2f5a57bdff46973cc1625da78d04b666710209) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* unfs3: Switch to using mirror tarball instead of subversionRichard Purdie2017-01-261-3/+6
| | | | | | | | | This really is the last subversion url in OE-Core so replacing it with a mirror tarball will save us from the subversion-native build chain. (From OE-Core rev: 187f7c18582e76beca76c523cad6be2d5fff5786) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* autotools.bbclass: Change acpaths defaults to be a weak assignmentKhem Raj2017-01-261-1/+1
| | | | | | | | | | | We currently have to override the default setting using a particular assignment order in the recipe, setting it weakly helps to get rid of this problem. (From OE-Core rev: 57be81156f74666ff2ed2755f5faa48edf00e4dc) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* staging: Handle overlapping files for build-sysrootRichard Purdie2017-01-261-2/+7
| | | | | | | | | | | | | | | The use of bb.fatal means build-sysroots fails as soon as multiple gdb's are built with overlapping files, or multiple recipes with overlapping headers exist. Change the fatal call into an exception which we can then trap. Also avoid trying to call readlink on something with isn't a symlink. This allows build-sysroots to work better under various scenarios. (From OE-Core rev: e20343a90e401bc92167867729076d321081d120) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* image/packagegroup/populate_sdk: Drop do_populate_sysroot task properlyRichard Purdie2017-01-263-7/+3
| | | | | | | | | | | | | Setting do_populate_sysroot as noexec means the code keeps thinking it can find a manifest file for it. It also complicates sstate installtion since the code would believe there is an sstate object there it should look for. Instead, delete the task. This causes sdk failures as the dependencies are wrong so fix those as well. (From OE-Core rev: bd7d0314038a4c1a8e8c9ebdb7194f8e17db3fef) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc: Clean up unnecessary variable confusionRichard Purdie2017-01-264-46/+30
| | | | | | | | | | | | | | SDKPKGSUFFIX could only really be "nativesdk" and TARGET_SYS never contains that so the code manipulating TARGET_SYS is pointless. I suspect this once worked against MULTIMACH_TARGET_SYS which would be a different question but it no longer does. Its been cut and pasted everywhere. This patch cleans up the variable references to make things a little more readable. (From OE-Core rev: 5599cb72d17bce2ba6e2be16ef64d9a388bcfb25) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc/gcc-source: Move libcc1 manipulation into gcc-sourceRichard Purdie2017-01-263-12/+5
| | | | | | | | | | | | | | Currently there is a race where if you build -cross-canadian without building gcc (target) you see QA errors about RPATHS. I've tracked this down to this manipulation where the target gcc recipe changes libcc1 in the shared sources directory. As long as you build things in the right order, the problem doesn't occur. Since its changing ${S} move it to gcc-source and avoid the race, saving RP some head scratching about why unrelated changes failed to build cleanly. (From OE-Core rev: 626064c69b6fd1b5cead6995097f99e5fbda3f19) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc: Split builddir saving into its own sstate taskRichard Purdie2017-01-269-32/+41
| | | | | | | | | | | | | | | | | | When we stashed the gcc build directory for use in generating the various runtimes we were being lazy and just used the staging directory. With recipe specific sysroots this means we're copying a large chunk of data around with the cross compiler which we don't really need in most cases. Separate out the data into its own task and inject this into the configure step. We have to do that here since autotools will wipe out ${B} if it thinks we're rebuilding and we therefore have to time its recreation after that. This also takes the opportunity to remove some pointless (as far as I can tell) conditionals from the do_install code. (From OE-Core rev: dcf15ccf3cc9d55e77228ba8d526f967fc9791b4) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cross: Update MULTIMACH_TARGET_SYS to reflect modern recipesRichard Purdie2017-01-261-1/+1
| | | | | | | | | | | | | | | | | | | Mixing PACKAGE_ARCH with BUILD_* has always seemed somewhat odd. This comes into play when building different SDKMACHINES as the PN space for the recipes did once overlap. With the modern build process we use, this overlap is a thing of the past since PN has SDK_SYS appended to it. cross.bbclass sets PACKAGE_ARCH == BUILD_ARCH so this change only affects crosssdk.bbclass where PACKAGE_ARCH == SDK_ARCH. The current structure is quite confusing and this removes this artefact of history, allowing other gcc cleanups rather than meaning we futher complicate the code. (From OE-Core rev: 525bbfd08dacba84c92da0ab34310a85369526b7) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* staging/allarch: Remove hardcoded PACKAGE_ARCHS from the classRichard Purdie2017-01-262-7/+13
| | | | | | | | | | | | | | | | | The code was making an assumption that the only PACKAGE_ARCH in use was TUNE_PKGARCH. This is incorrect so iterate over the list from PACKAGE_EXTRA_ARCH instead. We also need to change allarch to preserve this variable, else the staging code doesn't function. We do this in a way which clears the variable history so that the task hashes remain unaffected. [Thanks to Andrew Goodbody <andrew.goodbody@cambrionix.com> for testing/fixing] (From OE-Core rev: b1bab7a6eff6b195824be7d754de58c6e9ee2bfb) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: Update to master head revisionRichard Purdie2017-01-231-1/+1
| | | | | | (From OE-Core rev: 40463f9d806b478a887128345a66135ef6fa2fe8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes/oeqa: Replace subprocess.check_call() with check_output()Richard Purdie2017-01-237-13/+13
| | | | | | | | | | If you use subprocess.check_output() the traceback will contain the output when the command fails which is very useful for debugging. There is no good reason not to use this everywhere. (From OE-Core rev: ad750dd1cc9d789abe723daddd098ce41d8547f5) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sanity/abi-version: Force a clean TMPDIR after recipe specific sysroot changesRichard Purdie2017-01-232-1/+3
| | | | | | | | | | | | | | With the recipe specific sysroots, we need a clean tmpdir, else pseudo-native, openssl-native, subversion-native and serf-native need to be manually cleaned. After these there are probably more places where software doesn't rebuild correctly even if we pass in new parameters to it. The simplest solution is to force people to start from a clean TMPDIR since everything would rebuild anyway. (From OE-Core rev: da58e27a0f8fc8200f1953f05888834abd79c9f8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gobject-introspection: Fix sysroot postinst scripting errorRichard Purdie2017-01-231-1/+1
| | | | | | | | | | Clearly the echo into ld.so.conf doesn't make sense and there was a cut and paste error when writing this code. As long as the directory existed, the builds worked so it created a race. Fix it as people hit build failures. (From OE-Core rev: b7b45faaf1246bef262a65d033aa1daa3219e318) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ed: use yoctoproject mirror for SRC_URIRoss Burton2017-01-231-1/+1
| | | | | | | | | | | | | | Upstream has removed a number of releases from the canonical download site, including the 1.9 release we were using. We shoud upgrade to the latest release but as new releases are only compressed using lzip that means adding lzip-native to oe-core, so this is a suitable short-term fix. (From OE-Core rev: 7d24d476e03f88bf47385f7a85ceb7c82662ed76) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tremor: Use mirror tarball instead of svn urlRichard Purdie2017-01-231-1/+6
| | | | | | | | | | This is the only remaining svn url in OE-Core and building subversion-native for things like the url checker is wearing and slows down builds. Since this rarely changes, use the mirror tarball instead. (From OE-Core rev: 0be6f3b5a69a65107b49a90bee98815a5a7ac9d8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox: Guard against interrupted compilesRichard Purdie2017-01-231-0/+4
| | | | | | | | | | | | | | If busybox is interrupted during do_compile, it can corrupt .config with the suid version, or worse. Typically this leads to files disappearing, particularly /etc/init.d/* which leads to an empty busybox-hwclock. That then results in errors at do_rootfs time due to the missing package. The fix is to use any 'orig' present to restore stat at the start of compile. (From OE-Core rev: 601abb497531823a73bdec3baf56952086e5b4f4) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel-fitimage: Use compressed ramdisks in FIT images if availableRick Altherr2017-01-231-4/+30
| | | | | | | | | | | | | kernel-fitimage:fitimage_assemble() was calling copy_initramfs from kernel.bbclass which decompresses the initramfs cpio. Assume that if INITRAMFS_FSTYPES includes a compressed cpio, that is what it desired in the FIT image. (From OE-Core rev: 842ad404b36e00c89f615a3f7db4a2d30062effa) Signed-off-by: Rick Altherr <raltherr@google.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/4.9: merge 4.9.3 and ethernet config changesBruce Ashfield2017-01-233-16/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merging the following meta-data changes: 03a2d3f7f999 Add support for NVMe storage devices 27a79fa51d44 Modularize PCI/PCIe ethernet drivers 53d2a7d9c9f8 Modularize USB network drivers And the 4.9.3 -stable update, which has the following shortlog: 584fd7872c1b Linux 4.9.3 3999c535da7a usb: gadget: composite: always set ep->mult to a sensible value 7ff469ceba26 Revert "usb: gadget: composite: always set ep->mult to a sensible value" ec3d5c521af8 Revert "rtlwifi: Fix enter/exit power_save" cf365b117388 tick/broadcast: Prevent NULL pointer dereference 34db201f0de7 clocksource/dummy_timer: Move hotplug callback after the real timers 1b9c2556809a xfs: fix max_retries _show and _store functions 91192ae41e6f xfs: fix crash and data corruption due to removal of busy COW extents b96e4e87d2b0 xfs: use the actual AG length when reserving blocks d9c7c9fa600a xfs: fix double-cleanup when CUI recovery fails aa38f370b25a xfs: use GPF_NOFS when allocating btree cursors 3c382dda47e4 xfs: ignore leaf attr ichdr.count in verifier during log replay c00203386d50 xfs: don't cap maximum dedupe request length f8b20705a383 xfs: don't allow di_size with high bit set 12815dd15c48 xfs: error out if trying to add attrs and anextents > 0 cd4bf1d416ef xfs: don't crash if reading a directory results in an unexpected hole b88398de1833 xfs: complain if we don't get nextents bmap records 4bb31bccea38 xfs: check for bogus values in btree block headers b85f32481d93 xfs: forbid AG btrees with level == 0 4081d4a79a95 xfs: handle cow fork in xfs_bmap_trace_exlist a585e1c4ec93 xfs: pass state not whichfork to trace_xfs_extlist bdbfd4ee6bc7 xfs: Move AGI buffer type setting to xfs_read_agi 06ac11df915d xfs: pass post-eof speculative prealloc blocks to bmapi 553937d3cce8 xfs: use new extent lookup helpers xfs_file_iomap_begin_delay 3d6e3b12bb4e xfs: clean up cow fork reservation and tag inodes correctly 4a323331d8c9 xfs: use new extent lookup helpers in __xfs_reflink_reserve_cow cf168f2ff8ba xfs: track preallocation separately in xfs_bmapi_reserve_delalloc() cf4fb510473b xfs: remove prev argument to xfs_bmapi_reserve_delalloc 390325766033 xfs: always succeed when deduping zero bytes 2b7dae91a134 xfs: factor rmap btree size into the indlen calculations 49dc19915d3b xfs: new inode extent list lookup helpers b49ef758f600 xfs: fix unbalanced inode reclaim flush locking 63fa793e757d xfs: check minimum block size for CRC filesystems f380ee72a7a4 xfs: provide helper for counting extents from if_bytes 3978c5bb0043 xfs: don't BUG() on mixed direct and mapped I/O 2f092422e1ce xfs: don't skip cow forks w/ delalloc blocks in cowblocks scan a11f90ca5f30 xfs: check return value of _trans_reserve_quota_nblks ae8b6cb40cb2 xfs: don't call xfs_sb_quota_from_disk twice 56d22b912542 tpm_tis: Check return values from get_burstcount. 4ffac6f06dfa drm/i915/gen9: fix the WM memory bandwidth WA for Y tiling cases f482823e99f0 drm/i915/gen9: unconditionally apply the memory bandwidth WA 2bdb638de2fc drm/i915: disable PSR by default on HSW/BDW 9ab30a6529b5 drm/radeon: Always store CRTC relative radeon_crtc->cursor_x/y values 5417f59cb996 s390/pci: fix dma address calculation in map_sg dae9151a88f7 s390/topology: always use s390 specific sched_domain_topology_level b3539f813578 powerpc/pci/rpadlpar: Fix device reference leaks 1aaa777ec009 PCI: Enable access to non-standard VPD for Chelsio devices (cxgb3) c444cc34534b PCI: Support INTx masking on ConnectX-4 with firmware x.14.1100+ e2822904ace5 PCI: Convert Mellanox broken INTx quirks to be for listed devices only 890661544739 PCI: Convert broken INTx masking quirks from HEADER to FINAL 04b97a6be2ed PCI: Add Mellanox device IDs 090cce6f6f88 PCI: rockchip: Correct the use of FTS mask 6e4bcf8539af PCI: rockchip: Fix negotiated lanes calculation 257349bedca3 staging: media: davinci_vpfe: unlock on error in vpfe_reqbufs() a299abd23081 f2fs: hide a maybe-uninitialized warning 725ba1a3ebc4 f2fs: remove percpu_count due to performance regression 5cc85ef4ffe6 md: fix refcount problem on mddev when stopping array. 60a931c20d1a md: MD_RECOVERY_NEEDED is set for mddev->recovery d33a490770e5 crypto: arm64/aes-ce - fix for big endian eb64cbc5665d crypto: arm64/aes-xts-ce: fix for big endian c3edfe038a75 crypto: arm64/sha1-ce - fix for big endian 39b7e1c2fdda crypto: arm64/aes-neon - fix for big endian d018dc9540f7 crypto: arm64/aes-ccm-ce: fix for big endian e6ce55f7be90 crypto: arm/aes-ce - fix for big endian a7c9666735f4 crypto: arm64/ghash-ce - fix for big endian cdeaed7dda7b crypto: arm64/sha2-ce - fix for big endian a05aa258b237 s390/crypto: unlock on error in prng_tdes_read() 5d7d362abc40 mm, compaction: fix NR_ISOLATED_* stats for pfn based migration dc1b6d0aed97 mm: khugepaged: fix radix tree node leak in shmem collapse error path 058a4a534c23 mm: khugepaged: close use-after-free race during shmem collapsing cd6d9ffffc4c docs-rst: fix LaTeX \DURole renewcommand with Sphinx 1.3+ 66c677037936 mm/hugetlb.c: use the right pte val for compare in hugetlb_cow 17df3e74fb51 rpmsg: qcom_smd: Correct return value for O_NONBLOCK 1d8286ccbcc6 mmc: mmc_test: Uninitialized return value 74e365e69687 genirq/affinity: Fix node generation from cpumask 65f796837e00 PM / wakeirq: Fix dedicated wakeirq for drivers not using autosuspend 3b198ddd5855 irqchip/bcm7038-l1: Implement irq_cpu_offline() callback 5cbea795f4d1 PCI/MSI: Check for NULL affinity mask in pci_irq_get_affinity() 825e6a0f7c51 ima: fix memory leak in ima_release_policy c4c11b4bdbf6 relay: check array offset before using it 3dd50a5e2be9 sbp-target: Fix second argument of percpu_ida_alloc() 0e79a6b45677 target/iscsi: Fix double free in lio_target_tiqn_addtpg() 962a12f8e523 scsi: mvsas: fix command_active typo 5157e98aa024 scsi: g_NCR5380: Fix release_region in error handling d451b3cc89c7 ASoC: samsung: i2s: Fixup last IRQ unsafe spin lock call 574bac4f4022 ASoC: Intel: Skylake: Fix a shift wrapping bug d61a969f0e94 ASoC: cht_bsw_rt5645: Fix leftover kmalloc 311742c40da9 ASoC: lpass-platform: initialize dma channel number afd7e2b4258a iommu/vt-d: Flush old iommu caches for kdump when the device gets context mapped ef41459ab279 iommu/vt-d: Fix pasid table size encoding 2148835de3c2 iommu/amd: Fix the left value check of cmd buffer 48ffae87e913 iommu/amd: Missing error code in amd_iommu_init_device() 54eed7ab1367 clk: renesas: mstp: Support 8-bit registers for r7s72100 5dd700e897e4 clk: imx31: fix rewritten input argument of mx31_clocks_init() 6c9f62846872 clk: sunxi-ng: sun8i-h3: Set CLK_SET_RATE_PARENT for audio module clocks 36a6f7005f38 clk: sunxi-ng: sun8i-a23: Set CLK_SET_RATE_PARENT for audio module clocks 7af503c02b33 clk: ti: dra7: fix "failed to lookup clock node gmac_gmii_ref_clk_div" boot message 411873a0390e clk: clk-wm831x: fix a logic error e3b665ef4110 clk: qcom: ipq806x: Fix board clk rates 447433e5f804 Input: synaptics-rmi4 - unlock on error 584cb7dd15a3 hwmon: (lm90) fix temp1_max_alarm attribute 2aca9a4fe104 hwmon: (g762) Fix overflows and crash seen when writing limit attributes 81616a9f751e hwmon: (nct7802) Fix overflows seen when writing into limit attributes a69a6ebd036a hwmon: (ds620) Fix overflows seen when writing temperature limits 29e7b170db90 hwmon: (amc6821) sign extension temperature af3cd3f0a805 hwmon: (scpi) Fix module autoload 7a13086bd457 platform/x86: fujitsu-laptop: use brightness_set_blocking for LED-setting callbacks 36c1bc65d211 x86/cpu: Probe CPUID leaf 6 even when cpuid_level == 6 bedcab8723ce x86/prctl/uapi: Remove #ifdef for CHECKPOINT_RESTORE e641c92fd2ae debugfs: improve DEFINE_DEBUGFS_ATTRIBUTE for !CONFIG_DEBUG_FS 629138cd28be clk: renesas: cpg-mssr: Fix inverted debug check 47e3472507f0 efi/efivar_ssdt_load: Don't return success on allocation failure 4e1dfb0035e1 cris: Only build flash rescue image if CONFIG_ETRAX_AXISFLASHMAP is selected 15e0355a1ec5 ath10k: use the right length of "background" ac86312e0870 mfd: tps65217: Fix page fault on unloading modules a24f1f3520e6 ath10k: fix failure to send NULL func frame for 10.4 45816391e1a5 nl80211: Use different attrs for BSSID and random MAC addr in scan req cd84516473a7 mac80211: fix tid_agg_rx NULL dereference 1d9c33f1b45c drm/i915: tune down the fast link training vs boot fail 8b4879154a67 drm/i915/dp: add lane_count check in intel_dp_check_link_status 5af6f56bb16c usb: dwc3: gadget: always unmap EP0 requests c008309f53e5 usb: dwc3: ep0: explicitly call dwc3_ep0_prepare_one_trb() 5f7fd4d2f94d usb: dwc3: ep0: add dwc3_ep0_prepare_one_trb() 96a0c8ee7ce6 iio: accel: st_accel: fix LIS3LV02 reading and scaling a673f99884e3 staging: iio: ad7606: fix improper setting of oversampling pins fc322290fc06 mei: move write cb to completion on credentials failures 5d46c4e9a05e mei: bus: fix mei_cldev_enable KDoc af776953108b mei: fix parameter rename KDoc c1ec6ba3d7c7 USB: serial: io_ti: bind to interface after fw download fb0a00fb0843 dibusb: fix possible memory leak in dibusb_rc_query() 5f6136debf7e ARM: dts: sun7i: bananapi-m1-plus: Enable USB PHY for USB host support 5ef54ae37b13 arm64: dts: hip06: Correct hardware pin number of usb node 93f6891a383f USB: phy: am335x-control: fix device and of_node leaks d387f98cb0c1 ARM: dts: r8a7794: Correct hsusb parent clock a10a1b797a0f usb: gadget: fix request length error for isoc transfer b429e37b80fd usb: gadget: Fix second argument of percpu_ida_alloc() 8da83724d491 USB: serial: kl5kusb105: abort on open exception path e7c72dccd725 ALSA: usb-audio: Fix bogus error return in snd_usb_create_stream() 2eb09ccfa45b usb: musb: blackfin: add bfin_fifo_offset in bfin_ops 64244edf304b usb: gadget: udc: core: fix return code of usb_gadget_probe_driver() 8ecf70fb0889 usb: hub: Move hub_port_disable() to fix warning if PM is disabled d7550d7d6ae2 usb: musb: Fix trying to free already-free IRQ 4 5e3c2920e9f2 usb: dwc3: gadget: Fix full speed mode 81f1f24d1873 usb: dwc3: pci: Fix dr_mode misspelling 6af3ba285acb usb: dwc3: pci: add Intel Gemini Lake PCI ID 63d92d10a820 xhci: Fix race related to abort operation 799dfdeb33a0 xhci: Use delayed_work instead of timer for command timeout 6db52153fea3 usb: xhci-mem: use passed in GFP flags instead of GFP_KERNEL 1bd67e85edf1 USB: serial: mos7720: fix parallel probe 6ea44fb2183c USB: serial: mos7720: fix parport use-after-free on probe errors e7cf756c8932 USB: serial: mos7720: fix use-after-free on probe errors ac81f1fa956f USB: serial: mos7720: fix NULL-deref at open bd52ddb0996a USB: serial: mos7840: fix NULL-deref at open 9de856caff86 USB: serial: kobil_sct: fix NULL-deref in write b2aa55142ea5 USB: serial: cyberjack: fix NULL-deref at open 4de811c61ac5 USB: serial: oti6858: fix NULL-deref at open 65914eeb39f4 USB: serial: io_edgeport: fix NULL-deref at open 2e5167b239e6 USB: serial: ti_usb_3410_5052: fix NULL-deref at open 0556702bf34e USB: serial: garmin_gps: fix memory leak on failed URB submit 9401cc62b7f5 USB: serial: iuu_phoenix: fix NULL-deref at open 69017618a61e USB: serial: io_ti: fix I/O after disconnect a66274a9b2f4 USB: serial: io_ti: fix another NULL-deref at open 32631d1a739f USB: serial: io_ti: fix NULL-deref at open b5264ea24484 USB: serial: spcp8x5: fix NULL-deref at open dda7611ec4a5 USB: serial: keyspan_pda: verify endpoints at probe 69c415ed5c98 USB: serial: pl2303: fix NULL-deref at open 2a4ae7bc3d8d USB: serial: quatech2: fix sleep-while-atomic in close 6ae3e89aa6b1 USB: serial: omninet: fix NULL-derefs at open and disconnect 9acba5179d6c usb: return error code when platform_get_irq fails cb02cce9a7f8 usb: xhci: hold lock over xhci_abort_cmd_ring() 9e6c400bb582 xhci: Handle command completion and timeout race 78ccc1966c9e usb: host: xhci: Fix possible wild pointer when handling abort command a2118d097409 usb: xhci: fix return value of xhci_setup_device() 3bf5e7410178 xhci: free xhci virtual devices with leaf nodes first 40359f915694 usb: xhci: apply XHCI_PME_STUCK_QUIRK to Intel Apollo Lake 9da8e3e48e88 usb: xhci: fix possible wild pointer 9bdd47c53b7c usb: dwc3: core: avoid Overflow events 2b95c939cb88 usb: gadget: composite: Test get_alt() presence instead of set_alt() 735daeec9e60 USB: dummy-hcd: fix bug in stop_activity (handle ep0) 05b0f2fc3c2f USB: fix problems with duplicate endpoint addresses da4543b3bce0 USB: gadgetfs: fix checks of wTotalLength in config descriptors 46427c247b62 USB: gadgetfs: fix use-after-free bug b946777664db USB: gadgetfs: fix unbounded memory allocation bug 404954e5b8a6 usb: gadgetfs: restrict upper bound on device configuration size 72271ae49d6b usb: storage: unusual_uas: Add JMicron JMS56x to unusual device 4a37dbe68289 usb: musb: dsps: implement clear_ep_rxintr() callback 5de2dd7f1be1 usb: musb: core: add clear_ep_rxintr() to musb_platform_ops 84fd8feb5bb5 KVM: MIPS: Flush KVM entry code from icache globally 26a401a6a52f KVM: MIPS: Don't clobber CP0_Status.UX f39969ab0418 KVM: x86: reset MMU on KVM_SET_VCPU_EVENTS fe4fc2d67d0b drm/i915: Initialize overlay->last_flip properly f0f7f38e8068 drm/i915: Force VDD off on the new power seqeuencer before starting to use it 73d425635989 drm/i915: Fix oops in overlay due to frontbuffer tracking 5652dd3f005d drm/i915: Fix oopses in the overlay code due to i915_gem_active stuff 8f8157c2a72a gcc-plugins: update gcc-common.h for gcc-7 8c775affbbd6 asm-prototypes: Clear any CPP defines before declaring the functions 5e7598a625ee mac80211: initialize fast-xmit 'info' later 3c4eef316703 pinctrl/amd: Set the level based on ACPI tables c7b1b7951d9d ARM: davinci: da850: don't add emac clock to lookup table twice 5f390df2baf7 HID: sensor-hub: Move the memset to sensor_hub_get_feature() 0c8033357b1d parisc: Mark cr16 clocksource unstable on SMP systems e569eef6298a parisc: Add line-break when printing segfault info d259b6853732 fscrypt: fix renaming and linking special files be4e3aec5667 ALSA: usb-audio: Fix irq/process data synchronization 5b2c3cafcafc ALSA: hda - Apply asus-mode8 fixup to ASUS X71SL 71c88fc3bde7 ALSA: hda - Fix up GPIO for ASUS ROG Ranger 755259ba2a3a staging: octeon: Call SET_NETDEV_DEV() ea991c8354c3 iio: bmi160: Fix time needed to sleep after command execution 7090b8da3836 iio: max44000: correct value in illuminance_integration_time_available cf49219364fd iio: common: st_sensors: fix channel data parsing (From OE-Core rev: 0f72ddb55b42bc96acca2ee52257e5beabf8d071) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>