aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2016-05-17bitbake: toaster: don't show "Rebuild" button for cancelled cli buildsElliot Smith
[YOCTO #8515] (Bitbake rev: 71a45c600e47af5a19412bc3c5a9ba242bfb4638) Signed-off-by: Elliot Smith <elliot.smith@intel.com> Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-05-17bitbake: toasterui: capture keyboard interrupts the same way as knottyElliot Smith
knotty captures two levels of keyboard interrupt: a single interrupt or two interrupts in a row. These then trigger stateShutdown and stateForceShutdown respectively. toasterui doesn't have an equivalent way of capturing interrupts and using them to shut down bitbake. Now that we are no longer using knotty + XMLRPCServer for our command line builds (since switching to per-project build directories), we see some odd side effects of this, such as builds continuing after they have been interrupted on the command line. Bring toasterui in line with knotty (copy-paste most of the code in knotty.py which deals with interrupts) so that a keyboard interrupt actually shuts down the bitbake server (if not in observe only mode). Additionally use the cancel_cli_build() method to set the Build status to CANCELLED in Toaster's db when we get keyboard interrupts. This means that builds interrupted on the command line show as cancelled (same as if they'd been cancelled from the Toaster UI), as specified in the UI designs. [YOCTO #8515] (Bitbake rev: d39d2edca95900da433074ee95a192d7bfe7090d) Signed-off-by: Elliot Smith <elliot.smith@intel.com> Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-05-17bitbake: buildinfohelper: add method to set current build as CANCELLEDElliot Smith
This will be used from toasterui to cancel the current command-line build when a keyboard interrupt is captured. [YOCTO #8515] (Bitbake rev: 1486c770327b53bb5e04baa5f3ea26d8154aed63) Signed-off-by: Elliot Smith <elliot.smith@intel.com> Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-05-17bitbake: toaster: toastergui tests Fix toastertable testsMichael Wood
After clean ups remove api assumptions. Our table data often contains html snippets to display certain things such as dependency pop overs or simply links to other parts of the UI. Take these into account when testing the values of the table data. (Bitbake rev: 7f61a68f2caba538e302ca9c2727bb43a6c77c64) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Elliot Smith <elliot.smith@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-05-17bitbake: toaster: toastertables: Clean up and fix up a number of itemsMichael Wood
- Remove the unused 'computation' field - Remove the code to try to make the tables behave like an api - Remove custom JSON encoder in favour of DjangoJSONEncoder - Simplify get_data and add comments - Add exception type instead of using generic Exception - Clean up python style warnings (Bitbake rev: 16d8198e8f6668c5fa5467ff4bda86c5d66a6cad) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Elliot Smith <elliot.smith@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-05-17gcc: Security fix CVE-2016-4490Armin Kuster
(From OE-Core rev: 2fef37fab6967410aff33744c8843bcae028de56) Signed-off-by: Armin Kuster <akuster@mvista.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-05-17gcc: Security fix CVE-2016-2226Armin Kuster
(From OE-Core rev: 9b85d69584fdb0d2c607fa820b4515ee38202ab9) Signed-off-by: Armin Kuster <akuster@mvista.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-05-17gcc: Security fix CVE-2016-4489Armin Kuster
(From OE-Core rev: 84a1642f89801648728c61d3af42926b95533e07) Signed-off-by: Armin Kuster <akuster@mvista.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-05-17gcc: Security fix CVE-2016-4488Armin Kuster
(From OE-Core rev: 4d8096d77139e31f80b4cb54b6b747bbf19bb959) Signed-off-by: Armin Kuster <akuster@mvista.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-05-17eudev: remove eudev-hwdb from RRECOMMENDS_eudevRobert Yang
The eudev-hwdb needs 12M after install, this made small images like core-image-minimal much biggher than before, and may also hurt the devices which use udev, so remove it RRECOMMENDS_eudev by default. (From OE-Core rev: dfb2dc45943d64f3d6da84c0d7b99ac5254fc738) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-05-17mesa-demos: OpenVG demos with single frame need eglSwapBufferTom Hochstein
sp and text demos rendering single frame. to display the single frame rendered needed a eglSwapBuffer to diplay to window. Hence added eglutPostRedisplay to display the frame. (From OE-Core rev: 894885ab5de473abf860b8444e591fa2ec804a14) Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-05-17classes/base: get_lic_checksum_file_list imporve validaton of url'sAníbal Limón
When specify an URL different that supported file:// the function returns an empty path causing an exception without notice the user that the URL is Malformed. [YOCTO #9211] (From OE-Core rev: 6c28251d3d187b60ceb534055dbd8b4fffd06429) Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-05-17coreutils: fix for native and nativesdkDengke Du
The do_install_append is used for moving/renaming for ALTERNATIVE, but it breaks native, for example there is no ln, but ln.coreutils, that makes coreutils-native don't work. This patch fixes the problem. (From OE-Core rev: 1b5b831d1bbb92760ce01b38347cf0bcaa1bb59f) Signed-off-by: Dengke Du <dengke.du@windriver.com> Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-05-17oe-buildenv-internal: add BBPATH_EXTRA to BB_ENV_EXTRAWHITE_OERobert Yang
So that user can easily make their own conf files such as conf/site.conf work. For example, poky's default BBPATH in bblayers.conf is: BBPATH = "${TOPDIR}" Will change it to: BBPATH_EXTRA ??= "" BBPATH = "${BBPATH_EXTRA}${TOPDIR}" When user sets BBPATH_EXTRA in env to their own dir which contains conf/site.conf, it will work. Note, BBPATH_EXTRA must end with ":", we can't set BBPATH as "${BBPATH_EXTRA}:${TOPDIR}" since the sanity would fail when BBPATH_EXTRA is null. [YOCTO #7837] (From OE-Core rev: a3d223284854a21c84e8f6d075d23b32789afa01) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-05-17gnu-efi: set COMPATIBLE_HOST_armv4 to nullRobert Yang
It doesn't build with armv4: lib1funcs.S: Assembler messages: Assembler messages: gnu-efi-3.0.3/lib/arm/lib1funcs.S:140: Error: selected processor does not support `clz r3,r1' in ARM mode gnu-efi-3.0.3/lib/arm/div64.S:95: Error: selected processor does not support `clz r2,r4' in ARM mode gnu-efi-3.0.3/lib/arm/lib1funcs.S:140: Error: selected processor does not support `clz r2,r0' in ARM mode [snip] (From OE-Core rev: a3e958fae0cd6349a03fececcaa3d880c73b9298) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-05-17cogl-1.0: set COMPATIBLE_HOST_armv4 to nullRobert Yang
It doesn't build with armv4: cogl-texture-deprecated.c -fPIC -DPIC -o deprecated/.libs/cogl-texture-deprecated.o {standard input}: Assembler messages: {standard input}:831: Error: selected processor does not support `clz r3,r0' in ARM mode make[4]: *** [deprecated/cogl-fixed.lo] Error 1 [snip] (From OE-Core rev: 858dc0b21e2b65b90c115411c678ae8ca80134e5) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-05-17openssh: change URI to http:Ross Burton
The OpenBSD FTP server isn't accepting connections from wget, which breaks fetches. Luckily they also have a HTTP server on the same host. [ YOCTO #9628 ] (From OE-Core rev: 8b10f0af3c434145b460fd5d7a9f394dc1284260) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-05-17perl: use PACKAGESPLITFUNCS instead of populate_packages_prependGuojian Zhou
This is cleaner and leads to more accurate profiles. (From OE-Core rev: 76727170def4fe540bed28f79fca09037a1b3fe4) Signed-off-by: Guojian Zhou <guojian.zhou@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-05-17libsolv: upgrade to 0.6.20Maxin B. John
0.6.19 -> 0.6.20 Added the following patch to fix build with musl: 0001-Add-fallback-fopencookie-implementation.patch (From OE-Core rev: dcc5d6bc2e3e5848f36fe1001b8cb65576047b7d) Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-05-17libproxy: update to version 0.4.13Maxin B. John
1. libproxy moved from google-code to github 2. Remove upstreamed patch: a) 0001-test-Include-sys-select.h-for-select.patch (From OE-Core rev: 34e2db8ea7eb51be8549f343d6ff19cdd7db3ff1) Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-05-17xproto: Upgrade 7.0.28 -> 7.0.29Jussi Kukkonen
(From OE-Core rev: 9e83b6d4657b58fea844d4d9d3320b8c25f0cc7e) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-05-17expat: Upgrade 2.1.0 -> 2.1.1Jussi Kukkonen
* Remove backported CVE patch * Update autotools patch * Update SRC_URI to match current archive type (From OE-Core rev: 8a5a90aa6a7f398803f432038d56cdfea1651aaa) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-05-17libsoup-2.4: Upgrade 2.52.2 -> 2.54.1Jussi Kukkonen
(From OE-Core rev: 69803cf99577c6eefc8074aa40be85cefb154c4b) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-05-17json-glib: Upgrade 1.0.4 -> 1.2.0Jussi Kukkonen
(From OE-Core rev: 3930105ec36581f4b4bce10ffd33f84509a83cd0) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-05-17inputproto: Upgrade 2.3.1 -> 2.3.2Jussi Kukkonen
(From OE-Core rev: 1355114f89084a340671408d8e19abbd2faf81cc) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-05-17gsettings-desktop-schemas: Upgrade 3.19.3 -> 3.20.0Jussi Kukkonen
(From OE-Core rev: 2f20857b82d960517bdfddf7598e88d9e44acb96) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-05-17gdk-pixbuf: Upgrade 2.32.3 -> 2.34.0Jussi Kukkonen
(From OE-Core rev: b6ba695f38e5bbe5465d786a4661b9a3d9405455) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-05-17pango: Upgrade 1.38.1 -> 1.40.1Jussi Kukkonen
(From OE-Core rev: 8c3cebc2313bfec9a0e313fd21d1bac9c250580c) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-05-17glib-networking: Upgrade 2.46.1 -> 2.48.2Jussi Kukkonen
(From OE-Core rev: e68c645a5f1da9808b6450456847f367e9416e17) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-05-17sstate: Ensure we sort the value used for SSTATETASKS for determinismRichard Purdie
This avoids 'basehash changed' errors with python 3 but could break build determinism in general. (From OE-Core rev: 488f88fc12eea9788e5db1de354f0118e2c58878) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-05-16classes/oeqa: Update for print statements and file() -> open() for python3Richard Purdie
Found some more syntax cleanups needed for python3. (From OE-Core rev: 1181d86e8707c5b8e8d43d5e785d7d9cf01fa491) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-05-16oeqa: Print function python3 fixesRichard Purdie
Use print functions for comptibility with python3. (From OE-Core rev: 0c89a8a276b67a9292ee3100003c789126bd9ea9) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-05-15tcmode-default: Bump glibc,gdbKhem Raj
glibc 2.24, gdb 7.11 (From OE-Core rev: 95b0270e82b5d05d651c05e9c86681978013b346) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-05-15security_flags: Enable security flags on leafpad, ltp and libuser.Aníbal Limón
Now we have patches that solves the security formatting issues into those packages. (From OE-Core rev: 901cfa5a217f78464f8b81a990039fe60810650f) Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-05-15leafpad: Fix security formating issues.Aníbal Limón
[YOCTO #9546] (From OE-Core rev: 9f9d7e4934597bef099ee3986093d2b31592e040) Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-05-15libuser: Fix security string formatting issues.Aníbal Limón
[YOCTO #9547] (From OE-Core rev: c3f5a05f8d482608be964d200938ae3ed745fe09) Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-05-15ltp: Fixes security string printf on testcases/network/nfsv4/acl/acl1.cAníbal Limón
[YOCTO #9548] (From OE-Core rev: 9738bbcee1f0ad274a2c62bb483311ef99238ea6) Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-05-15linux-yocto/4.4: gcc6 build fixes (powerpc and mips)Bruce Ashfield
Khem provided fixes to fix gcc6 build issues, these are safe for all gcc versions, so we integrate them directly. (From OE-Core rev: f1c75b93a4e11425e595c5ce043fbb0276a41931) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-05-15glibc-initial.inc: fix py3 SyntaxError in cfgscript print()Tim Orling
Update so this works with python3. (From OE-Core rev: 20190566db6d77ee0ccd799587db3dfa35e8029a) Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-05-15autotools.bbclass: fix py3 SyntaxError in cfgscript print()Tim Orling
Update so this works with python3. (From OE-Core rev: f533a1f78411f5537f1395496aa39f453fee581c) Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-05-15oeqa/decorators: Use wraps consistentlyRichard Purdie
We want the decorator to leave the function names of the test unchanged. Some decorators are already using wraps for this but not all. Fix this to be consistent allowing inspection of the test to give the wanted values. (From OE-Core rev: 9e4d60b29ff5667d23a89953ce7139b34c11d40b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-05-14linux-yocto: Update SRCREV for genericx86* for 4.4Alejandro Hernandez
Upgrades to Linux version 4.4.10 (From meta-yocto rev: c2d6a13ed0f314085869c8b3ee3033928f41b335) Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-05-14linux-yocto: Update SRCREV for genericx86* for 4.1Alejandro Hernandez
Upgrades to Linux version 4.1.22 (From meta-yocto rev: 76eecb8b487f571acfaa4d56375baec37d3f454f) Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-05-14bitbake: toaster: use new syntax of except statementEd Bartosh
Used except 'except (<exception1>, <exception2>):' syntax as it's supported by python 2 and pythone 3. Old syntax 'except <exception1>, <exception2>:' is not supported by python 3. [YOCTO #9584] (Bitbake rev: d19e305ffa44a848b02ede63dc5de8d2640089e6) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-05-14bitbake: toaster: use print function in toaster scriptEd Bartosh
Used print() function instead of print statement to make toaster script to work with both python 2 and python 3 [YOCTO #9584] (Bitbake rev: 09d37ee51219edcd0be6fd24c82fce392533b39b) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-05-14bitbake: toaster: use 'in' instead of has_keyEd Bartosh
Dictionary method has_key is deprecated in python 2 and absent in python 3. Used '<key> in <dict>' statement to make the code working on both python 2 and python 3. [YOCTO #9584] (Bitbake rev: 3d7ad7ba0d1a6f688ae885817c049f2a8ced11b5) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-05-14bitbake: server/process: Fix missing log messages issueRichard Purdie
Currently if the server dies, its possible that log messages are never displayed which is particularly problematic if one of those messages is the exception and backtrace the server died with. Rather than having the event queue exit as soon as the server disappears, we should pop events from the queue until its empty before exiting. This patch tweaks that code so that even if the server is dead and we're going to exit, we return any events left in the pipe. This makes debugging certain failures much easier. (Bitbake rev: 29f6ade68fb2b506a23a7eb3a00cdcffa291b362) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-05-14bitbake: cooker/toasterui: Drop SEND_DEPENDS_TREE UI featureRichard Purdie
Now the event is sent unconditionally we can drop this feature as its no longer needed. (Bitbake rev: 473deeb0fc6065693e1fcfcbb8b79753103db537) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-05-14bitbake: runqueue.py: always emit bb.event.DepTreeGeneratedPatrick Ohly
The data included in the event is useful for implementing a pre-build check that warns about unexpected components, for example because of an incorrect configuration or changed dependencies. Such a check can be done in a .bbclass that gets inherited globally. But in contrast to a UI, such a class cannot request that the event shall be emitted, and thus the event has to be emitted whether there is a consumer or not. This was done conditionally earlier out of concerns about the performance impact. But now events are handled more efficiently, so that concern no longer seems valid: in some simple testing (admittedly on a fast build workstation), the two lines (generating the data and emitting the event with it) only took about 0.05 seconds (measured with timeit). That was for a build with roughly 500 recipes (from pn-buildlist aka depgraph['pn']), triggered via the command line. That was even with a consumer of the data active and doing some work, so it should be even faster when there is no consumer. (Bitbake rev: 5ddaf5b7ed1001d2dd3f67e7a6d704afa85479d2) Signed-off-by: Patrick Ohly <patrick.ohly@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-05-14selftest: add bmap testEd Bartosh
Added test_bmap to imagefeatures tests. It tests if bmap file is generated for the images and if the image is sparse. [YOCTO #9414] (From OE-Core rev: db27d8fbb44d2cdd524ac992630c781fd0c45b1b) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>