aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2017-09-08selftest/devtool: Avoid writing on TOPDIR on kernel test casejperez/devtool-kernel-no-topdirJose Perez Carranza
Use a tempdir to copy the .config file from the kernel instead of being copied to build directory. Signed-off-by: Jose Perez Carranza <jose.perez.carranza@linux.intel.com>
2017-09-05mesa-gl: Fix build after recent mesa PACKAGECONFIG changesJussi Kukkonen
48d39cf43b added "opengl" PACKAGECONFIG option to mesa: before that the configuration was always enabled. "opengl" should have been added to mesa-gl default PACKAGECONFIG but wasn't: do it now. (From OE-Core rev: cc319b6dcc5b4a5019fb91c9771b12ce17f3c953) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-05gstreamer1.0-plugins-good: fix 4k playback for v4l2 decoderNicolas Dechesne
Backport a fix already merged upstream in master and 1.12 branch, it fixes 4K video playback on any platform that uses v4l2 codecs, such as Dragonboard 820c. (From OE-Core rev: b662944b28080dfb68833d4a81655262b04ada67) Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-05util-linux: split out ionice into its own packageAndré Draszik
For systems that don't otherwise depend on the full util-linux package, ionice is a mere 31k (on mipsel). (From OE-Core rev: 50d6f2c21eca162b82d5cbe135b87c1b1ea871b9) Signed-off-by: André Draszik <adraszik@tycoint.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-05cve-check.bbclass: detect patched CVE's also from patch file namesMikko Rapeli
While poky master branch has been fixed so that all CVE patch files have the: CVE: CVE-2017-1234556 strings in the patch comments, many older versions of poky and other meta layers are not, but the CVE patches quite often have the CVE id in the patch file name. If the CVE: string also found, there are no duplicates in the report. (From OE-Core rev: 5ee5b0c66627c9e974c838b86e2e659c2f601f2a) Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-05rootfs-postcommands: add test for unsatisfied RRECOMMENDSJose Alarcon
The do_rootfs log contains a number of unsatisfied package recommendations. At the moment those are only visible when reviewing the rootfs log. This patch adds an extra check to surface any unsatisfied recommendation as WARNINGS to the build output. Enable this check with: ROOTFS_POSTPROCESS_COMMAND += "rootfs_log_check_recommends;" (From OE-Core rev: 9d049bf7941f30e35c51775684559e95185fba96) Signed-off-by: Jose Alarcon <jose.alarcon@ge.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-05rootfs-postcommands: remove empty lineJose Alarcon
(From OE-Core rev: 76a801da7fe5651d9e8310a2b32c275e1700daf3) Signed-off-by: Jose Alarcon <jose.alarcon@ge.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-05systemtap: Add HOMEPAGE info into recipe file.Fan Xin
(From OE-Core rev: 492f43f1aa402a60902fafb2d524ae67007f59bd) Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-05curl: fix CVE-2017-1000099, 1000100, 1000101Wenzong Fan
Backport upstream commits to fix: - CVE-2017-1000099 https://curl.haxx.se/docs/adv_20170809C.html https://curl.haxx.se/CVE-2017-1000099.patch - CVE-2017-1000100 https://curl.haxx.se/docs/adv_20170809B.html https://curl.haxx.se/CVE-2017-1000100.patch - CVE-2017-1000101 https://curl.haxx.se/docs/adv_20170809A.html https://curl.haxx.se/CVE-2017-1000101.patch (From OE-Core rev: 2eb590bbeab4dbf2583a78fcbaf3723757116123) Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-05gconf: Add HOMEPAGE info into recipe file.Fan Xin
(From OE-Core rev: 5fca1aa08e2ca2de5a9ee6cdedaab057cbfd7a03) Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-05readline: Add HOMEPAGE info into recipe file.Fan Xin
(From OE-Core rev: 516e0dda595c3c40bda4f4d3f4fd86225ace55c9) Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-05perf: Add HOMEPAGE info into recipe file.Fan Xin
(From OE-Core rev: c46e49c06e16e46422f925662cd2c8c698dc04ee) Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-05cups: Add HOMEPAGE info into recipe file.Fan Xin
(From OE-Core rev: b4fb21c5d21dc1b0e3a4560aa51f43b0915e6de0) Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-05curl: enable threaded resolverAndré Draszik
Multi-threaded applications using libcurl crash on DNS timeouts when built using OE. The reason is as follows: By default, libcurl implements DNS timeouts using a timer (alarm()) and a pair of setjmp()/longjmp(). This approach is unsafe in multi-threaded applications for various reasons, as e.g. explained in the relevant man-pages. To avoid this, libcurl can be compiled with a built-in threaded resolver, or against the c-ares asynchronous resolver library. To keep extra dependencies to a minimum, and to mimic other distributions (debian at least), and because c-ares is not available in OE-core, add a PACKAGECONFIG to be able to enable use of of the built-in threaded resolver and enable it by default. (From OE-Core rev: 41f1e44fce976c4140cda62a41349e91e69d04ef) Signed-off-by: André Draszik <adraszik@tycoint.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-05bitbake: cooker: clear extra config settings and remote datastores on client ↵Paul Eggleton
disconnect When the UI disconnects, we can throw away any server-side remote datastores we created in response to calls from the UI, and we *must* drop everything in extraconfigdata or it will taint any future operations. Dropping extraconfigdata upon disconnect fixes taskhash mismatch errors when running devtool.DevtoolTests.test_devtool_update_recipe_local_files within oe-selftest with BB_SERVER_TIMEOUT=100 in OpenEmbedded. (Bitbake rev: 1ca2eec459424892391f060442ef38cf28d6a54a) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-05bitbake: cooker.py: Fix layer priority processingMark Hatle
If you have a layer with a blank BBFILE_PATTERN the layer was ignored when processing the list of layers with priorities. This list is not only used for processing recipes, but also by additional programs such as bitbake-layers show-layers. Without this change, a layer that provides configuration or classes only does now show up in show-layers, which is used by the yocto-compat-layer.py script. This causes a failures in the compatibility check. (Bitbake rev: a0eaf8c0f228f984bafff09e4e9739f758dc1a9b) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-05bitbake: siggen: move reset() definition to base SignatureGenerator classPaul Eggleton
If we're implementing reset() in SignatureGenerator at all (and we need to for a basic non-OE BitBake setup where that is the default signature generator), then we need it to be clearing out the internal values properly. (Bitbake rev: 13f52d38fdbcb84c2a0c46f85baa44b22d53fdc1) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-05bitbake: toaster: edit column list not sortedDavid Reyna
The list of columns in the many 'Edit Columns' pop-ups became unsorted with the 'Toaster Table' implementation. These entries need to be gathered and sorted in the column processing. [YOCTO #12004] (Bitbake rev: 17aa1ef8f0a00dd3456aac199e558a2f96bf7ad9) Signed-off-by: David Reyna <David.Reyna@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-05bitbake: toaster: recipe links broken for default layersDavid Reyna
The default layers are missing the recipe link definitions in the fixture files, and because they are predefined they do not get the updated information from the Layer Index. [YOCTO #12006] (Bitbake rev: 2ff5592baf011de9c778d3c2481b8ed3912f1a4b) Signed-off-by: David Reyna <David.Reyna@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-05bitbake: toaster: missing ToasterSetting importDavid Reyna
The file "lsupdates.py" is missing the import of 'ToasterSetting', and that breaks setting up and updating Toaster and its database. [YOCTO #12036] (Bitbake rev: d4aef1f1f03d88acc76423b55d8bd6c137f66f44) Signed-off-by: David Reyna <David.Reyna@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-05bitbake: toaster: set default pokydirname if no external layersOlaf Mandel
If no external layers are defined, pokydirname is not set. Rectify this by taking the 'be.sourcedir' as the pokydirname. [YOCTO #12015] (Bitbake rev: 3b0f04c7b00aaf44ba146c432fcb5d6fd7dafcea) Signed-off-by: Olaf Mandel <o.mandel@menlosystems.com> Signed-off-by: David Reyna <David.Reyna@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-05bitbake: toaster: debug message for lists layers missing separatorsOlaf Mandel
One of the debug messages during build contains a list of all layers but without spaces or other separators between them. Use pformat instead. [YOCTO #12014] (Bitbake rev: 9fe38f94b54a8644ac6f493c49e63dd6da5bfbdf) Signed-off-by: Olaf Mandel <o.mandel@menlosystems.com> Signed-off-by: David Reyna <David.Reyna@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-05bitbake: toaster: Order column in Tasks selectableAwais Belal
The build page provides tables related to performance that cover build time, CPU time and disk IO. The "Edit columns" drop down does not allow selection of the Order column and makes it hidden as well which is not accurate from user interaction point of view. This patch enables the hideable property for the Order column so it is hidden by default but the user can enable it through the drop down if need be. [YOCTO #11040] (Bitbake rev: 1f1cc1edb21aeec684ef7323554794b33d84d414) Signed-off-by: Awais Belal <awais_belal@mentor.com> Signed-off-by: David Reyna <David.Reyna@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-05bitbake: toaster: display error when the fstype select is emptyDavid Reyna
There must be at least one FSTYPE selected in the Toaster bitbake variable editor page. When the user deselects all the "Save" button gets disabled, but the error message is missing. [YOCTO #8126] (Bitbake rev: 193577655b7491126ca5fa91fa76d79329e900c2) Signed-off-by: David Reyna <David.Reyna@windriver.com> Signed-off-by: David Reyna <David.Reyna@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-02kernel-dev: Removed bad reference for creating patches.Scott Rifenbark
We do not want to mix traditional kernel development with kernel development using devtool. This reference implied that was okay to do. (From yocto-docs rev: 38c3a5d3b47e15880ca10ed30ae4a450ecc851cd) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-02kernel-dev: Added output to kernel clone example.Scott Rifenbark
(From yocto-docs rev: d5880262ab74499fbeef620af7907ee6e5d328fd) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-02kernel-dev: Removed bare clone stuff for trad. kernel dev.Scott Rifenbark
Bare clone setup is no longer recommended or necessary for traditional kernel development. All that is required is to clone the kernel Git repo locally. (From yocto-docs rev: cbe6d79da4fc2d5bba530b0fe6abead7783bdfbe) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-02kernel-dev: Some cleanup of the output for the kernel flow ex.Scott Rifenbark
(From yocto-docs rev: 30bbe308339ad0665d59d8238e9420d1d594332e) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-02bsp-guide, mega-manual: Updated BSP dev flow figureScott Rifenbark
Removed spelling warning that was underlining "BSP" in the figure (From yocto-docs rev: 354fe8c39057ab3aec24474ead65d2d13a5bb3b7) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-02dev-manual, kernel-dev: Working kernel flow process using devtoolScott Rifenbark
A work-in-progress of an example that modifies the kernel using the devtool. The procedure is not complete yet as it does not run properly. (From yocto-docs rev: 462ba2e46f237c294f05805ad5044291a085975d) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-02dev-manual: Added "next steps" for setting up a native linux hostScott Rifenbark
The end of this section did not direct the user to the next logical step for preparing a development host. I added a paragraph to guide the user to the next area they would need to read based on their development methods. (From yocto-docs rev: 4a1aa7800e7bca82dddef0ed83e14e075b3aa9f2) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-02sdk-manual: Updated Eclipse informationScott Rifenbark
Fixed [YOCTO #11970] Updated the field description for "Specify Sysroot Location" to note that the user can have this either downloaded or built and the ramifications of using a downloaded root filesystem. Updated the "Deploying and Debugging the Application" steps for both supported Eclipse versions to tell the user what to do if a browse operation fails or times out. (From yocto-docs rev: 623000af186cb5632af551f95384d4c96d4d6c54) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-02dev-manual: Added support for signed RPM package feedsKristi Rifenbark
Fixed [YOCTO #11209] Rewrote so text indicates signed RPM package feeds work. (From yocto-docs rev: 41c1e3d786f4436de59697431b2494cbabdebb8d) Signed-off-by: Kristi Rifenbark <kristi.rifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-02ref-manual: Added review commentsKristi Rifenbark
Added review comments to variables COMPONENTS_DIR, and SYSROOT_DESTDIR. Added review comments to task do_prepare_recipe_sysroot. (From yocto-docs rev: 362998c71b44ddf89d32ed5c45e4251e932a9217) Signed-off-by: Kristi Rifenbark <kristi.rifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-02ref-manual: Added new variable COMPONENTS_DIR to glossaryKristi Rifenbark
Added new description and created a link for an existing occurance of the variable. (From yocto-docs rev: 9ab6e6aed685c9419cb7df3df3ab029033d9ba0e) Signed-off-by: Kristi Rifenbark <kristi.rifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-02ref-manual: Fixed broken link.Scott Rifenbark
(From yocto-docs rev: 79d1615389f51a0856ea4130684a618abb1c6a93) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-02ref-manual: Removed duplicate section id.Scott Rifenbark
(From yocto-docs rev: b5ef950136b2d2bb00fdd86f971f77cb744a8c82) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-02dev-manual: removed note indicating signed RPM packages unsupported.Scott Rifenbark
(From yocto-docs rev: 00c312e7515d82661fb16cd51f8fe9d03b4ea394) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-02ref-manual: Added a cross-reference link to "tmp/sysroots-components"Kristi Rifenbark
(From yocto-docs rev: 29458d81901336ae7c904a23e02786e024f20963) Signed-off-by: Kristi Rifenbark <kristi.rifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-02ref-manual: Updated SSTATE_SCAN_FILES variable descriptionKristi Rifenbark
(From yocto-docs rev: 190b257e788d7f6f2f87e4e8c031bcda4a9f6d46) Signed-off-by: Kristi Rifenbark <kristi.rifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-02ref-manual: Added tmp/sysroots-components taskKristi Rifenbark
(From yocto-docs rev: ae635dfc2f53e026b597c1d2ca93ecaa9416417c) Signed-off-by: Kristi Rifenbark <kristi.rifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-02ref-manual: Corrected spelling errorsKristi Rifenbark
Updated two instances of "sysroot-components" to "sysroots-components". (From yocto-docs rev: 035be964e6f345c058c1dacbb58b09745e8f827d) Signed-off-by: Kristi Rifenbark <kristi.rifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-02kernel-dev: Updates on how to prepare for kernel modification.Scott Rifenbark
WIP at this point. (From yocto-docs rev: 12e44f6ee7f9437d85c33d0789dbafe937af5664) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-02kernel-dev: Updated step 1 of flow and intro verbiageScott Rifenbark
Updated the step to include proper links and verbiage for setting up the system for YP development. (From yocto-docs rev: d5d908847d66178a995d2be985c605e6a5c48d76) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-02kernel-dev, dev-manual: Moved Kernel prep stepsScott Rifenbark
The dev-manual had a place-holder section for getting the build host ready for using YP and then doing kernel development. This stuff is better suited for the actual kernel development manual. I moved the section. Moving created several broken links in the manual set that had to be fixed. In the dev-manual, I updated the introductory list to include the newly moved kernel stuff. (From yocto-docs rev: 2e21260bb5f84e9e30eb353ec841d5962e8a7642) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-02Makefile: Fixed broken tar by adding ".png" to figureScott Rifenbark
The figure "figures/kernel-overview-2-generic.png" was missing the ".png" suffix in the TARFILES statment. This was throwing an error during the make process for the manual. Probably an error for quite some time and not noticed. I added the suffix to remove the make early exit error. (From yocto-docs rev: 00ad7874f8da149f193caeab8fd89bbf6d8132d7) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-02bsp-guide: Removed bogus link to Linux Yocto Kernel.Scott Rifenbark
(From yocto-docs rev: 7c267ede783dc25fa623673d51c49bf9535a4fcd) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-02dev-manual: Pulled Eclipse preparation sectionScott Rifenbark
I moved the section on preparing a build host to use the Eclipse IDE and placed it as introductory text for the section that talks about getting the system ready for either native Linux or CROPS use to use YP. I also created as part of that list, links to the BSP manual where I now talk about getting the system ready for BSP development. (From yocto-docs rev: f5b5d27ea5036792a96c0a42a3d7513a2a57a4b0) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-02bsp-guide, dev-manual: Moved BSP Layer prep steps to bsp-guideScott Rifenbark
The YP Development Manual had some build host preparation steps as part of the chapter that talks about getting a host ready for using YP. These steps are better suited in the BSP Guide. I moved them there and filled out the steps to be more complete. (From yocto-docs rev: 2277812d0dd411a103a4a4252d4cb90c471901c9) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-02dev-manual, kernel-dev, sdk-manual: Moved patching kernel sectionScott Rifenbark
Moved the "Patching the Kernel" section, which was in the dev-manual to the kernel-dev manual. During the move, renamed the section to "Using devtool to Patch the Kernel". This move bothered a lot of links so I had to fix them in various manuals. (From yocto-docs rev: a000be1eddf33e4d7de8f350e076d48e27ca4b98) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>