aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2016-06-23linux-firmware: add iwlwifi-8000C-19 versionSaul Wold
This version is required for certain iwlwifi hardware can not use the most recent firmware blob. [YOCTO #9771] (From OE-Core rev: 8b3d3ac84f787bf4ecccdcbcb97f2dac56acd45c) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-23sysprof: fix pkgconfig packagingRoss Burton
pkgconfig files need to be in -dev. (From OE-Core rev: eca3347fef3d6010176c7569f181a16f0abe01d4) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-23autotools: ensure Makefile exists in do_compileRoss Burton
If a recipe is using the autotools class then presumably it is using Makefiles. However the default do_compile() is forgiving and silently handles a missing makefile, which means that if a recipe is using a hand-coded static Makefile (e.g. git) but doesn't use brokensep the recipe will fail in do_install. To make debugging this easier, override do_compile in autotools so that it fails if a Makefile isn't present. (From OE-Core rev: 14839515301754e0b512fe3054d95dabc77ad829) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-23package_manager.py: specify tmpdir for opkgChen Qi
Specify tmpdir for opkg via '-t' option so that opkg does not use the default 'TMPDIR' which usually is '/tmp' on build host. This would solve race problems like below. sh: /tmp/opkg-rOG6Tl/opkg-intercept-iPoEp5/depmod: Permission denied (From OE-Core rev: 5665e284b7e7ee071201664dc50a3412bd4ac8cd) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-23oeqa: fix hasPackage, add hasPackageMatchRoss Burton
hasPackage() was looking for the string provided as an RE substring in the manifest, which resulted in a large number of false positives (i.e. libgtkfoo would match "gtk+"). Rewrite the manifest loader to parse the files into a proper data structure, change hasPackage to do full string matches, and add hasPackageMatch which does RE substring matches. (From OE-Core rev: b9409863af71899e02275439949e3f4cdfaf2d0f) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-23xcb-proto: use python3 instead of python2Ross Burton
We previously patched configure to stop looking around for a Python to use, and to use the Python binary and install paths that we specify. Now that we depend on Python 3 its possible that bitbake is being built on a machine without Python 2 installed, so hardcode the python3 interpreter instead. (From OE-Core rev: bb5a43f049c1a7cffb5516b1c3d0264dea68ea3f) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-23toasterconf: exclude releases Toaster can't buildEd Bartosh
Due to the switch to Python 3, Toaster master can only build with master and not with earlier releases. Removed references to "jethro" and "krogoth" from toasterconf. (From meta-yocto rev: dc458077de015ce5e66ab7c95d67238ae348e494) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Elliot Smith <elliot.smith@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-23maintainers.inc: remove libmad, add mpg123Alexander Kanavin
(From meta-yocto rev: ef70c62548bba6f656a3259d4ac41de3507fc9ff) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-23maintainers.inc: reassign vala recipeAlexander Kanavin
(From meta-yocto rev: 9a662fc7d6b0f164319bd510df645554c59198ca) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-21build-appliance-image: Update to master head revisionRichard Purdie
(From OE-Core rev: 9431698a88430f0fa892d9b270c0849c4d3d2486) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-21e2fsprogs: Manually bump PR due to PV change (work around sstate confusion)Richard Purdie
(From OE-Core rev: cef26f5246db0806eec160c1a3bf77789e0ef1a2) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-21e2fsprogs: remove the extra dot from the recipe filenameAlexander Kanavin
(From OE-Core rev: e4624e76cd53b6aee270a04784b1597e755839d5) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-21sdk-manual: Updated configure.ac file in helloworld example.Scott Rifenbark
The file was named 'configure.in' and was slightly different than what it needed to be in order to work. The file needs to be named 'configure.ac' and have slightly different contents. Fixed both. (From yocto-docs rev: 1b80e90848d23737462f8b0e55b2ff604f9abf41) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-21ref-manual: Updated SSTATE_MIRRORS examples to match realityScott Rifenbark
Fixes [YOCTO #9773] Updated two examples that set SSTATE_MIRRORS so that they match the changes made by YOCTO #3220. (From yocto-docs rev: e07674cd0665c485173eaa05c4072c287411b81f) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-21dev-manual: Updated Runtime Testing for Package InstallationScott Rifenbark
Fixes [YOCTO #9672] Updated the "Exporting Tests" section to reflect the proper local.conf settings. Added a new section "Installing Packages in the DUT Without the Package Manager" that describes how to use a JSON file to accomplish package installation on a Device Under Test without a package manager. (From yocto-docs rev: 0275d2a8234a6418f32e802bcf46b7e68053e05a) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-21dev-manual: Updated the method to set SimpleHTTPServer for testingScott Rifenbark
Fixes [YOCTO #1882] Re-did the steps to set this server up. (From yocto-docs rev: 45e073a60ef7b1d540439b621266a9019a3d2947) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-21ref-manual: Fixed a typo for installing "python3-git"Scott Rifenbark
Fixes [YOCTO #9712] (From yocto-docs rev: 0ece224ec34b3b441af7a3a7a8c076d5cdce7c4d) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-21dev-manual: Applied edits to the package feed section.Scott Rifenbark
Fixes [YOCTO #1882] (From yocto-docs rev: 12e6b9f21fc6067389ea7632b5991d45173ae2ff) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-21ref-manual: Updated the UPSTREAM_CHECK_* variables.Scott Rifenbark
Fixes [YOCTO #9671] (From yocto-docs rev: 0f7e086e126d210cde0bd0cbe3e56d0808138e28) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-21dev-manual: Updated Host Server Machine Setup for package feedsScott Rifenbark
Removed the extra server instructions and just left the ones for SimpleHTTPServer. Fixes [YOCTO #1882] (From yocto-docs rev: fb502c608b015c37f361f4b54874ad199a67feb4) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-21ref-manual: Added note about installing Git-Python packageScott Rifenbark
buildhistory-diff tool requires the Git-python package. I added a note indicating this. Fixes [YOCTO #9712] (From yocto-docs rev: 2187df01f784b40608b30f62d19888cf183e67e9) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-21ref-manual: Updates to the UPSTREAM_CHECK_* variablesScott Rifenbark
I applied some grammar edits and re-wordings as directed by technical reviews. Fixes [YOCTO #9671] (From yocto-docs rev: b5a5d3d3b311cb83ed61bfd247fbf802027fe5c4) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-21dev-manual: Review edits applied to the package feed build considerations.Scott Rifenbark
(From yocto-docs rev: 0810f8272be51219d03b06d6771a35bbe6d6e552) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-21ref-manual: Edits to UPSTREAM_CHECK_* variables.Scott Rifenbark
Fixes [YOCTO #9671] Applied some review comments to these three variables. Edits to be sure to qualify that the variables only to recipes who inherit the distrodata class. (From yocto-docs rev: 1b094b0567fa75d1c77da7ec04641d034f29272d) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-21ref-manual: Added descriptions for three UPSTREAM* variables.Scott Rifenbark
Fixes [YOCTO #9671] Put in descriptions for the following variables: * UPSTREAM_CHECK_GITTAGREGEX_pn * UPSTREAM_CHECK_URI_pn * UPSTREAM_CHECK_URI_pn (From yocto-docs rev: e00470cbf98714236f3197dd538371488d8f03fb) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-21dev-manual: Updated Package Feed Creation sectionsScott Rifenbark
Fixes [YOCTO #1882] Edited the sections in the "Working with Packages" section beginning with the "Build Considerations" section with text received from Daniela Placencia. (From yocto-docs rev: 07a55662d6ac98875555f80f766de263b131185f) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-21ref-manual: Updated the INHIBIT_PACKAGE_STRIP variableScott Rifenbark
Fixes [YOCTO #9553] Added detail to this variable description. (From yocto-docs rev: 35407b9db582ebc23be89a6f9bc7b0ad9ab90979) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-21build-appliance-image: Update to master head revisionRichard Purdie
(From OE-Core rev: b4ccfdfeece9665d9ef8967495fdb1a1d5f494b4) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-21package_manager: Fix multilib package arch ordering issuesRichard Purdie
Order is not preserved in dict() and this code depends on the order of these lists of package architectures used when multilibs are enabled. This caused 'random' breakage where sometimes the correct order was present and sometimes it wasn't. Use collections.OrderedDict() to avoid this problem. Kudos to Bill Randle and Alejandro Hernandez who did most of the work debugging this, I simply took the problem they identified and wrote a patch to fix it. This unblocks the M1 build but this code needs auditing as there are clearly other ordering issues (e.g. the set() usage). [YOCTO #9717] (From OE-Core rev: 61a33582dfc964d612d20d34734a787d873e312c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-20bitbake: cooker: clean up EvertWriterEd Bartosh
Restructured EventWriter code to make it more readable: - got rid of init_file method as it's called only once - renamed exception variable e -> err - renamed event variable e -> evt - simplified main 'if' structure of send method (Bitbake rev: 31977e7bb98f676197c6cee66f6ab4c12d4dcbde) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-20bitbake: cooker: replace EventLogWriteHandler with namedtupleEd Bartosh
class EventLogWriteHandler is a simple wrapper class with only one class member. Replacing it with namedtuple makes code less nested and more readable. (Bitbake rev: 7c5b6812d32d173df36e7f9fc1d877329e79f994) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-20bitbake: cooker: don't remove event fileEd Bartosh
There is no need to remove output file as it gets rewritten by open(self.eventfile, 'w') anyway. (Bitbake rev: 1fc9957837b7038dfb983217a3fcd880f143e3a4) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-20bitbake: cooker: encode event objects to base64Ed Bartosh
pickle converts python objects into the binary form that can't be decoded to text and therefore can't be converted to JSON format. Attempt to convert event objects raises this error: TypeError: b'\x80\x03cbb.runqueue\nrunQueueTaskSkipped\nq\x00)... is not JSON serializable Encoded pickled event objects to base64 to be able to convert data structure to JSON. [YOCTO #9803] (Bitbake rev: f18055237e6084f90f6221442e3ba021dcc59c50) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-20bitbake: cooker: move EventLogWriteHandler to the top module levelEd Bartosh
EventLogWriteHandler object was created and used in BBCooker.initConfigurationData. This causes creation of multiple EventLogWriteHandler objects and results in duplicated entries in the output event file as BBCooker.initConfigurationData is called multiple times. Added eventlogfile parameter to EventLogWriteHandler to avoid using global variable DEFAULT_EVENTFILE. Moved EventLogWriteHandler to the module level. Created EventLogWriteHandler object in BBCooker.__init__ to ensure that only one handler object is created. (Bitbake rev: d3ad8eee850ec2df54aa09fae44cc7e69c12f32a) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-20bitbake: depexp.py: port to gtk+3Jussi Kukkonen
The code is still a bit icky (and should be refactored to not use Gdk.threads_enter/leave) but it should work about as reliably as it did with Gtk+2. Based on earlier patches by Maxin and Joshua. (Bitbake rev: 8eee64a64144e27b5b8c2aca88e138882c3deab7) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-20rootfs_rpm: Increase rootfs sizeSaul Wold
This doubles the amount of extra space that is provided for SMART and RPM, as they consume more disk space during qa testing via testimage [YOCTO #9800] (From OE-Core rev: 2d636068d9d3a1ea2db3ace49462be13ba9ef125) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-20Revert "cmake.bbclass: set the modules directory correctly"Richard Purdie
This reverts commit 642bd49964690259328f506df41a1764c5ac6226. This broke "bitbake cmake": | CMake Error at /home/jku/src/poky/build/tmp/work/core2-64-poky-linux/cmake/3.5.2-r0/toolchain.cmake:34 (list): | Syntax error in cmake code at | | /home/jku/src/poky/build/tmp/work/core2-64-poky-linux/cmake/3.5.2-r0/toolchain.cmake:34 | | when parsing string | | /home/jku/src/poky/build/tmp/sysroots/qemux86-64/usr/share/cmake-\3.5.${CMAKE_MINOR_VERSION}/Modules/ | | Invalid character escape '\3'. | Call Stack (most recent call first): | /home/jku/src/poky/build/tmp/sysroots/x86_64-linux/usr/share/cmake-3.5/Modules/CMakeDetermineSystem.cmake:98 (include) | CMakeLists.txt:19 (project) https://autobuilder.yoctoproject.org/main/builders/nightly-world/builds/832 https://autobuilder.yoctoproject.org/main/builders/nightly-world-lsb/builds/550 Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-17cmake.bbclass: set the modules directory correctlyJose Pardeiro
The CMake recipes contain a mismatch between the environmental variable which defines where the Modules are installed and the location where they actually are. This patch fixes the environmental variable to point to the proper folder defined according to the cmake version. (From OE-Core rev: 642bd49964690259328f506df41a1764c5ac6226) Signed-off-by: Jose Pardeiro <jpardeiro@rapyuta-robotics.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-17pseudo: remove rpath from libpseudo.soEd Bartosh
Setting rpath causes clash of host and sdk libc and makes pseudo to crash with relocation error: libpthread.so.0: symbol __libc_vfork, version GLIBC_PRIVATE not defined in file libc.so.6 with link time reference Removing rpath fixes this as it makes pseudo to use only host pthread and libc. [YOCTO #9761] (From OE-Core rev: be5c943e82a21d3ef2dfaaa5b41b6a2814f2fb19) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-17useradd-staticids.bbclass: Allow missing UIDs/GIDs to generate warningsPeter Kjellerstedt
Previously when USERADD_ERROR_DYNAMIC was set to "1", an exception was raised if no numeric UID/GID could be determined for a user/group. Now it is possible to set it to either "error", which results in the old behavior, or "warn" in which case a warning is issued instead. For backwards compatibility reasons, it is still possible to set USERADD_ERROR_DYNAMIC to "1" and get an exception in case of failure. (From OE-Core rev: 58c82f79efee8e68fa63b96a32f54660afb15769) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-17useradd-staticids.bbclass: Restore failure on missing UIDs/GIDsPeter Kjellerstedt
A regression was introduced with commit 3149319a whereby setting USERADD_ERROR_DYNAMIC no longer resulted in an error for users and groups that were missing numeric UIDs and GIDs but were not mentioned at all in any passwd or groups file. [YOCTO #9777] (From OE-Core rev: adc0f830a695c417b4d282fa580c5231e1f0afbe) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-17documentation.conf: Add information about USERADD variablesPeter Kjellerstedt
(From OE-Core rev: 6064ef3f3f9e03b2bafb5e55f02fac9b17901615) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-17base.bbclass: p4 fetcher supports srcrevAndrew Bradford
Enable the perforce fetcher to call bb.fetch2.get_srcrev() as it can use 'SRCREV = "${AUTOREV}"'. (From OE-Core rev: 9d6ac71e4d954d857ecb1708ab4fe4bc552244aa) Signed-off-by: Andrew Bradford <andrew.bradford@kodakalaris.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-17packagegroup-self-hosted: add back Python 2Ross Burton
Some recipes depend on Python 2 being present (eg glib and ncurses) so until they've all been migrated to Python 3 we should continue to ship Python 2 in the self-hosted packagegroup. (From OE-Core rev: 055e58e5cc73263a4112d5935ec871c3adf4cd9b) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-17gtk+3: Add patch for --disable-openglJussi Kukkonen
Patch is a bit nasty and not maintainer friendly, but it does make Gtk+3 compile without libepoxy (which means without OpenGL dev files). (From OE-Core rev: 82bedec89a86902456e924a3ac2f233b6a069dea) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-16bitbake: toaster: remove last css file with bootstrap v2 licensebavery
Remove unused css file that still had the bootstrap v2 license in it. (Bitbake rev: a8fe4177a6303aa57301c977c1daf7d4ff6ec586) Signed-off-by: bavery <brian.avery@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-16build-appliance-image: Add LC_ALL setting and drop pseudo piecesRichard Purdie
The pseudo pieces here date from times gone by when bitbake ran in two phases. Its long since obsolete and can be dropped. Also set LC_ALL so that bitbake works correctly and uses the local we're already installing into the image so we have utf-8 available. (From OE-Core rev: 7c1f1fc3d739d778886208d6833c34e6ca1dc148) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-16package_deb: Avoid chdir warnings and restore cwd after packagingRichard Purdie
dpkg-build needs to be executed in the root of the package, so save and restore the current directory so this task doesn't modify the state. (From OE-Core rev: c294f4ed5a02b055916cfc26a2fca672edee1208) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-16build-appliance-image: Install network componentsJuro Bystricky
Explicitly add network components into Build Appliance image, do not rely on packagegroup-self-hosted to pull them in. Network related dependencies were removed from packagegroup-self-hosted. YOCTO #9758 (From OE-Core rev: fc0d9c27b88a691b0fea98b9a2b2a4f3e978ec87) Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-16bitbake: runqueue: Use tid instead of taskid in find_chains()George McCollister
In 2c88afb6 find_chains()'s taskid argument was renamed to tid but taskid is still used as key to explored_deps dictionary. Use tid instead of taskid. (Bitbake rev: 29a34ae8f5306d2779bcc761c52f1f9d13a0c0c5) Signed-off-by: George McCollister <george.mccollister@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>