summaryrefslogtreecommitdiff
path: root/meta
AgeCommit message (Collapse)AuthorFiles
2017-04-21testimage.bbclass: add additional dependencybrian avery1
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] Signed-off-by: brian avery <brian.avery@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-04-21openssl: Bump SONAME to match the ABIJussi Kukkonen2
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. Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-04-21Revert "logrotate: set downloadfilename"Ross Burton1
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 99c6e89db193d572e845f95eabbd9ec89c3508c7. Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-04-21busybox: fix typo in CVE-2016-2147_2.patch Upstream-Status tagAndre McCurdy1
Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-04-20build-appliance-image: Update to master head revisionRichard Purdie1
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-20build-appliance-image: Update to master head revisionRichard Purdie1
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-20kexec-tools: Add again the x32 patchAníbal Limón1
kexec-tools upstream previously integrated the patch into master rev 587778e24c9 but for a bug report it was remove [1][2], after an intensive testing on OpenSUSE 13.1 64 bits and in poky variants: qemux86 [3], qemux86-64-x32 [4] and generix86-64 (minnow) [5] it worked. I think that the upstream revert was due to some integration issue while testing into OpenSUSE [2], i will try to push again to upstream. [1] http://lists.infradead.org/pipermail/kexec/2015-March/013482.html [2] https://github.com/horms/kexec-tools/commit/5041d45b1c6b66a0e6c48f6121c24cd9be506c68 [3] https://bugzilla.yoctoproject.org/show_bug.cgi?id=11050#c3 [4] https://bugzilla.yoctoproject.org/show_bug.cgi?id=11050#c4 [5] https://bugzilla.yoctoproject.org/show_bug.cgi?id=11050#c4 [YOCTO #11050] Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-20Revert "kexec-tools: Remove unused patch"Aníbal Limón1
This reverts commit ec1f1c4abe1d40708fefd56f01c58fff38f28960. Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-20qemuboot.bbclass: save relative paths in conf filebrian avery1
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] Signed-off-by: brian avery <brian.avery@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-04-20rootfs-postcommands.bbclass: save relative pathsbrian avery1
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] Signed-off-by: brian avery <brian.avery@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-04-20meta: add search, replace strings to export2jsonbrian avery1
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] Signed-off-by: brian avery <brian.avery@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-04-20kernel-arch.bbclass: conditional error messageJuro Bystricky1
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. Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-04-20package_rpm.bbclass: Dosen't filter Conflicts if found in ProvidesAníbal Limón1
This filter was add to make compilence with debian packaging but in package_deb.bbclass is allowed to have the same values in Conflicts and Provides. With this filtering errors in recipe meta-data are hidden and could end on install two packages that conflicts [2]. Reviewing the RPM spec from Fedora doesn't have anything that denies to use the both Conflicts and Provides with the same value [3], also in debian manual section 7.6.2 of [4] this behaviour is allowed to force the removal of the conflicted package and RPM is compilence with this behaviour after remove the filtering this is seen [5]. [1] http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=4b611b66743a5ec220aef34d796af63029bb5fd9 [2] https://bugzilla.yoctoproject.org/show_bug.cgi?id=9349#c9 [3] https://docs.fedoraproject.org/en-US/Fedora_Draft_Documentation/0.1/html/RPM_Guide/ch-advanced-packaging.html [4] https://www.debian.org/doc/debian-policy/ch-relationships.html [5] https://bugzilla.yoctoproject.org/show_bug.cgi?id=9349#c12 Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-04-20libsdl2: fix build failures on powerpcKai Kang2
Backport patch from upstream to fix build failures on ppc and ppc64. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-04-20bitbake.conf: add sha256sum to HOSTTOOLSRichard Leitner1
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. 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>
2017-04-20package_manager.py: Reverse rpm arch orderJussi Kukkonen1
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]. 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>
2017-04-20documentation.conf: update TCLIBC[doc] to match current options in oe-coreAndre McCurdy1
Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-20tclibc-musl.inc: fix stray comment reference to uclibcAndre McCurdy1
Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-19ext-sdk-prepare.py: use quiet mode when preparing sysrootPaul Eggleton1
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. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-19classes/populate_sdk_ext: work around runqemu behaviour within the eSDKPaul Eggleton1
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]. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-19cmake.bbclass: Set CMAKE_CROSSCOMPILING correctlyKyle Russell1
If CMAKE_SYSTEM_NAME is defined, CMake assumes we're cross-compiling, which is not necessarily the case. Signed-off-by: Kyle Russell <bkylerussell@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-04-19package_manager: don't race on a file when installing complementary packagesRoss Burton1
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. Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-04-19pixbufcache.bbclass: update postinst script nameMaxin B. John1
The name of postinst scripts created by pixbufcache class contains "useradd" in it. Remove it to avoid confusion. As suggested by RP. Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-04-19Revert "openssl: Fix symlink creation"Jussi Kukkonen1
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 Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-04-19ltp: fix an incorrect macro checkingJackie Huang1
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 Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-04-19logrotate: set downloadfilenameRobert Yang1
Otherwise, the filename is r3-9-1.tar.gz which isn't straightforward. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-04-19mesa-demos: add glut dependencyTrevor Woerner1
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). Signed-off-by: Trevor Woerner <twoerner@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-04-19acl: fix race issue when do_compileRobert Yang2
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] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-04-19devupstream.bbclass: minor typo fixAndre McCurdy1
Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-04-14pseudo: Backport two upstream fixesRichard Purdie3
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. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-14populate_sdk_ext: Add do_addto_recipe_sysroot to BB_SETSCENE_ENFORCE_WHITELISTRichard Purdie1
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). Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-14linux-firmware: Fix build failure when update SRCREV to latest HEADChang, Rebecca Swee Fun1
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. 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>
2017-04-14linux-firmware: Set the license for carl9170 to GPLv2Ng, Wei Tee1
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] Signed-off-by: Ng, Wei Tee <wei.tee.ng@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-14linux-firmware: update to revision a4dde74bNg, Wei Tee1
-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 Signed-off-by: Ng, Wei Tee <wei.tee.ng@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-13busybox: drop unmaintained _git recipeAndre McCurdy1
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. Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-04-13unzip: add missing CVE headers to patchesRoss Burton2
Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-04-13Revert "dnf: remove systemd units in nativesdk builds"Ross Burton1
nativesdk builds now control the DISTRO_FEATURES (oe-core 731744) so this workaround is no longer required. This reverts commit 415b72ffcbd26e5f3664370d8b2a9b8105fb6342. Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-04-13package_manager.py: Generate separate repo entries per archIan.Arkver1
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. Signed-off-by: Ian.Arkver <ian.arkver.dev@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-13gpgme: add a dependency on python-unixadmin to Python bindings packageAlexander Kanavin1
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-13gpgme: correctly avoid host contaminationAlexander Kanavin3
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. Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-13classes/populate_sdk_ext: reset TCLIBCAPPEND to get consistent TMPDIRMikko Ylinen1
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] Signed-off-by: Mikko Ylinen <mikko.ylinen@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-13grep: do_configure: fix "Argument list too long"Robert Yang1
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. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-13apt: fix libdir path for apt.systemd.dailyRobert Yang1
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] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-13binconfig.bbclass: fix typo in get_binconfig_mangle()Robert Yang1
It should be -IOEINCDIR, not -I-IOEINCDIR. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-13base-passwd/useradd: Various improvements to useradd with RSSRichard Purdie4
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] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-12sstate.bbclass: check if mirror directory is writableEd Bartosh1
Commit 51edde653707e7a3cd2186082458f01f32cd1996 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] Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-12qemuboot: write native sysroot of qemu-helper into qemuboot.confEd Bartosh1
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] Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-12qemu-helper-native: prepare native sysroot for runqemubrian avery1
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] 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>
2017-04-12linux-yocto-dev: update to v4.11+Bruce Ashfield1
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-12linux-yocto/4.10: update to v4.10.9Bruce Ashfield3
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 Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>