summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* sdk-installer: Fix unclear SDK installer messageTodor Minchev2016-10-111-1/+1
| | | | | | | | | | | | | | When the host and the SDK architectures are incompatible the SDK installer outputs an incomplete error message "Error: Installation machine not supported!". This commit adds a more verbose error message e.g "Error: Incompatible SDK installer! Your host is i686 and this SDK was built for x86_64 hosts." (From OE-Core rev: dc3964f1c3457cc1265d1ed0095c0c491a97b47f) Signed-off-by: Todor Minchev <todor.minchev@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sysklogd and busybox: ignore return code from init script stopMarkus Lehtonen2016-10-112-2/+2
| | | | | | | | | | | | | | The init script will return '1' if we try to stop the service and it is not currently running. The prerm scriptlet must not fail because of this because it will cause package deinstallation of upgrade fail if opkg package manager is used. [YOCTO #10299] (From OE-Core rev: 806a910927f479207d47b06c20a0497e91203266) Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* update-rc.d.bbclass: ignore init script return codeMarkus Lehtonen2016-10-111-2/+2
| | | | | | | | | | | | | | | | | We need to ignore the return code from the init script 'stop' command in the preinst and prerm scriptlets. Otherwise package upgrade or deinstallation (at least when opkg is used) is likely to fail if the daemon is not running. That is because an init script possibly returns '1' if you try to stop a service that is not running which, in turn, causes the scriptlet to fail which, in turn, causes the package (de-)installation to fail. [YOCTO #10299] (From OE-Core rev: daa3c266a7ffa060b52381fa00df518102fceda8) Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* insane: display names instead of ELF machine numbersRoss Burton2016-10-111-2/+2
| | | | | | | | | | | The 'arch' QA test currently simply outputs the ELF machine field as a number which isn't helpful. Display this as a human-readable name to make it clearer to the user what the problem is. (From OE-Core rev: 607a2a1de4b77818c3e801a4de7ff0888229e036) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lib/oe/qa: add ELF machine to string functionRoss Burton2016-10-112-0/+41
| | | | | | | | | | Add a function (and test suite) to turn the ELF machine field (e_machine) into a string, so we can tell the user "x86-64" instead of 0x3E. (From OE-Core rev: 72336003741fb16a7ecdd6b753eae56310413ff7) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: Update to master head revisionRichard Purdie2016-10-111-1/+1
| | | | | | (From OE-Core rev: 70b9b1f5bbc07d97f90b62793bf2c5aa01884436) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* vte: Build without vala by defaultJussi Kukkonen2016-10-112-5/+139
| | | | | | | | | | | | | | | | | vala.bbclass DEPENDS on vala and vala-native: Drop the inherit so that these dependencies can be added on-demand based on vte PACKAGECONFIG. Add relevant items from vala class into the recipe. Add copy of vapigen.m4 so building without vala actually succeeds. Make building without vala the default PACKAGECONFIG. Fixes [YOCTO #10386]. (From OE-Core rev: 516b5c407e19029c09b870d460f64b7133f742b4) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: Update to master head revisionRichard Purdie2016-10-111-1/+1
| | | | | | (From OE-Core rev: c33cd0b3d274d2c4253ff98f85b7ca4fced0aedb) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Updated the USERADD_ERROR_DYNAMIC and USERADDEXTENSION variables.Peter Kjellerstedt2016-10-111-7/+9
| | | | | | | | | | | | | | | The value for USERADD_ERROR_DYNAMIC changed from "1" to "error" to activate this variable. Also, the value "warn" is used to cause a warning to be issued. I updated the variable description to reflect this. For the USERADDEXTENSION variable, I updated the [doc] string to use proper quote marks. I was not nesting these properly. (From yocto-docs rev: f21277b3887134611fc567da05e8a590ecb0d7af) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Updated "Packaging Externally Produced Binaries"Scott Rifenbark2016-10-111-10/+58
| | | | | | | | | | | | | | | | Fixes [YOCTO #10392] People often needlessly put [noexec] on tasks, making the recipes more complicated than they need to be. I updated the first bullet item in this section to more clearly explain how to do this. Also, added a new bullet item to the end to point into the DEPENDS variable for more clarification. (From yocto-docs rev: c61e61c1a5f9524c50bfc26335ea6c2027cafd19) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bsp-guide: Updated the yocto-bsp create output in the example.Scott Rifenbark2016-10-111-5/+5
| | | | | | | | | | | | | | | | Fixes [YOCTO #10385] The output was incorrect for the default kernel type. In the Krogoth branch, the output uses 4.1 and the text indicates 4.4. In the master branch it was the same as well. This commit fixes the master branch to use the default 4.8 kernel in both the example output and the text. (From yocto-docs rev: a76d1cc91883dcd58743f2cd2626917e51419cb1) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Added link in the SYSROOT_DIRS_NATIVE descriptionScott Rifenbark2016-10-111-2/+2
| | | | | | | | | | | | Fixes [YOCTO #10377] Linkified the STAGING_DIR_NATIVE item in the the SYSROOT_DIRS_NATIVE glossary entry. (From yocto-docs rev: e02ecfac949b92ec32a621fccb0d1663bb7816ad) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Review edits to do_populate_sysroot and SYSROOT_DIRS_NATIVEScott Rifenbark2016-10-112-4/+11
| | | | | | | | | | | | Fixes [YOCTO #10377] Some minor wordsmithing. Also added a new note to the SYSROOT_DIRS_NATIVE variable. (From yocto-docs rev: 459666b01b8d6d8212a59c877ea6c324511a5883) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Updated three SYSROOT_DIRS* variables.Scott Rifenbark2016-10-111-7/+19
| | | | | | | | | | | | | Fixes [YOCTO #10377] Provided links back into the do_populate_sysroot task and other key variables. I updated the SYSROOT_DIRS, SYSROOT_DIRS_BLACKLIST, and SYSROOT_DIRS_NATIVE variables. (From yocto-docs rev: 23ed80e4884b00e303a15d0d191bd0dca385b064) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Updated the do_sysroot_populate task description.Scott Rifenbark2016-10-111-11/+18
| | | | | | | | | | | Fixes [YOCTO #10377] Added more detail and linked it to key variables. (From yocto-docs rev: d82c1d4e8cc95bee718388cfeced1566ce8569a0) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Updated QA error message.Scott Rifenbark2016-10-111-1/+1
| | | | | | | | | | Added wording to the "installed-vs-shipped" error message in the QA chapter. (From yocto-docs rev: cc9d22fb6dd8e45ef6b53608f0ebccf29721cc3f) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Added note about bb.fatal() raising an exception.Scott Rifenbark2016-10-111-0/+5
| | | | | | | | | | | | | Fixes [YOCTO #10363] Added a small note to the bullet item about bb.fatal(). Noted that the function raises an exception so the user does not have to put a "return" statement after the function call. (From yocto-docs rev: c27bae87192b7e109d995679c8c91fb3388d8d4c) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* documentation: Updated Manual revision table for 2.2Scott Rifenbark2016-10-118-8/+8
| | | | | | | | | Added string "October 2016" as the release date. (From yocto-docs rev: db40986677746afbbb138d9cbe3885111550b7c5) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Applied review changes to the STAGING_DIR_HOSTScott Rifenbark2016-10-111-33/+39
| | | | | | | | | | | | I basically moved the note from the bottome to a position within the bulleted list. Fixes [YOCTO #10348] (From yocto-docs rev: a55dc7e0f8465abf8398f51d90bbe2df7e639b3f) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Added a reference to viewing task variable dependencies.Scott Rifenbark2016-10-111-0/+7
| | | | | | | | | | | Put a closing reference in the "Stamp Files and the Rerunning of Tasks" section to point the user to the area that tells them how to view information about a task's signature. (From yocto-docs rev: 3f395ef1999a2aff1447da4d257fd5d53124aaa7) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* yocto-project-qs: Altered MinnowBoard MAX exampleScott Rifenbark2016-10-111-7/+23
| | | | | | | | | | | | | | | Fixes [YOCTO #9667] The example that built the image out for the MinnowBoard MAX was buiding a core-image-minimal. This was not ideal. I have fixed it so that several types of images are suggested as examples with a reference to the Images chapter in the ref-manual. The actual command now builds out core-image-base. (From yocto-docs rev: 588f9c06bf5dbad253826825dd2a9a67c89f3219) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mega-manual: Added new chapters to support building the manualScott Rifenbark2016-10-111-1/+6
| | | | | | | | | | | | Due to new chapters in the SDK manual and the movement of the devtool Quick Reference from the dev-manual to the ref-manual, I had to xinclude these various chapters in the mega-manual.xml file that builds out the manual. (From yocto-docs rev: 8d6fb3d97e6a64b53cfdf66d94d7306babb48378) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* poky.ent: Updated the variables for Morty release.Scott Rifenbark2016-10-111-4/+4
| | | | | | | | | Using Morty for the name, 17.0.0 for the poky version, etc. (From yocto-docs rev: b396626ca05820b51e78407a6c7cd6a0e113aad5) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Added new section on recipe style guidelinesScott Rifenbark2016-10-111-0/+22
| | | | | | | | | | | | | Fixes [YOCTO #10360] Added a new section to reference into the OpenEmbedded Styleguide. This will help people writing new recipes to conform to known styles. (From yocto-docs rev: 40c12742c78f5aba5bb4e43f759e8c478470fd83) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Fixed missing quote in SRC_URI example.Scott Rifenbark2016-10-111-1/+1
| | | | | | | | | Fixes [YOCTO #10360] (From yocto-docs rev: 4a8fce4962ca77f6840294f7942fffd0c3479874) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Updated build/tmp/cache/ reference sectionScott Rifenbark2016-10-111-3/+15
| | | | | | | | | | | Fixes [YOCTO #10356] Expanded the general description of this directory. (From yocto-docs rev: df71fe472f9d5cb5f809706ec4218952a49d31d3) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sdk-manual: Fixed example in "Passing Host Options"Scott Rifenbark2016-10-111-2/+1
| | | | | | | | | | | Fixes [YOCTO #10267] Changed the example to use a single long line. (From yocto-docs rev: c80d8bb8773b7bbe9c85c48880f42ffb273729b7) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Updated the STAGING_DIR_HOST variable description.Scott Rifenbark2016-10-111-1/+32
| | | | | | | | | | | | Fixes [YOCTO #10348] Added a note clarifying that -native recipes are not installed into host paths. (From yocto-docs rev: c0b4265350b558eec296c93f0829c3d687950c52) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Added explanation of the -C optionScott Rifenbark2016-10-111-5/+73
| | | | | | | | | | | | | Fixes [YOCTO #10345] There was no mention of the -C option in the "Running Specific Tasks" section. I added information to cover this command-line option. (From yocto-docs rev: 7b05c5dd3816414c1d3ca898fbd41ce588425057) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Fixed IMAGE_FEATURES examples in debug section.Scott Rifenbark2016-10-111-2/+2
| | | | | | | | | | | Fixes [YOCTO #9554] In the examples, I changes "IMAGE_FEATURE" to "IMAGE_FEATURES_append" (From yocto-docs rev: 3fc2cc217a0a67b3e0739c6a235ab8e350c4b7c3) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Update to GPL file finder script.Scott Rifenbark2016-10-111-1/+1
| | | | | | | | | | | | Fixes [YOCTO 10323] Made a code change to the example script that helps a user locate GPL files. (From yocto-docs rev: bd02012de75f0c30887d3a5bb4aa219703a3ee1c) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* poky.conf: Bump version for 2.2.0 morty releaseRichard Purdie2016-10-111-2/+2
| | | | | | (From meta-yocto rev: 4d72c9a750e531c6421fb094c1e7cfb74b770cf0) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: bitbake: Update version to 1.32.0Richard Purdie2016-10-112-2/+2
| | | | | | (Bitbake rev: d9713ed13d0c88c7ee38e8d7b52aa525318af6e3) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* archiver: fix gcc-source handlingSaul Wold2016-10-111-2/+3
| | | | | | | | | | | | | The source archiver was not handling the gcc-source target correctly, since it uses the work-shared directory, we don't want to unpack and patch it twice, just as the comments say, but the code was not there to check for the gcc-source target. [YOCTO #10265] (From OE-Core rev: bbac0699ceadb7a25a60643fb23dffce8b4d23d0) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: depexp: Close UI with error message on NoProvider eventJussi Kukkonen2016-10-111-0/+24
| | | | | | | | | | | | | | Without this the UI just sits there doing nothing. Showing an infobar in-UI would be nicer but not much more useful since currently user couldn't do anything in-UI to fix the situation. Implementation is based on the one in knotty. Fixes [YOCTO #9288] (Bitbake rev: eee9231a543f1d0b9ef3cd8377fc46fd23afb97b) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* genericx86-common.inc: add dependency do_image_wic -> do_bootimgEd Bartosh2016-10-111-0/+1
| | | | | | | | | | do_image_wic depends on do_bootimg on genericx86 machines as it copies files from hddimg/EFI/BOOT directory to boot partition. (From meta-yocto rev: 377a87d390ec3a3f19499f850b7f6b6dfb624389) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* README.hardware: Update Genericx86 sectionSaul Wold2016-10-111-65/+17
| | | | | | | | | | | | | This section was truly dated, update with newer hardware that is being tested. Update section on creating USB stick images using wic and alternate EFI_PROVIDER information about systemd-boot. (From meta-yocto rev: 4a8f28e2c18211a2cd1b380b0b2c8d175fe1e51a) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* genericx86-common.inc: produce EFI wic imageEd Bartosh2016-10-111-2/+2
| | | | | | | | | | | Used mkefidisk.wks as a default kickstart file for genericx86* machines. Added dependency do_image_wic -> gptfdisk-native as wic uses sgdisk tool from this package to set partition UUIDS. (From meta-yocto rev: a867b07634b49f75d3e7591b9bc83536eeecb3ad) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: linux 4.4: bump to the latest stable version for non-x86 BSPsKevin Hao2016-10-111-6/+6
| | | | | | | | | Boot test for all these boards. (From meta-yocto rev: 0fc5dc88faaf54ec7cfd1adc9da07a7fd28b3eae) Signed-off-by: Kevin Hao <kexin.hao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: linux 4.1: bump to the latest stable version for non-x86 BSPsKevin Hao2016-10-111-6/+6
| | | | | | | | | Boot test for all these boards. (From meta-yocto rev: b90c81322363ecbdc1e552fd15bc547441b69b78) Signed-off-by: Kevin Hao <kexin.hao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: linux 4.8: bump to the final v4.8 release for non-x86 BSPsKevin Hao2016-10-111-6/+6
| | | | | | | | | Boot test for all these boards. (From meta-yocto rev: 095731b7bde0539aeb4af79df56b5758a59c0e0f) Signed-off-by: Kevin Hao <kexin.hao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* net-tools: fix building with linux-4.8Jackie Huang2016-10-112-0/+53
| | | | | | | | | | | | | | | | | | | | | Fix a build error when using the linux-4.8 headers that results in: In file included from .../sysroots/qemuarm64/usr/include/linux/if_tunnel.h:6:0, from iptunnel.c:39: .../qemuarm64/usr/include/linux/ip.h:85:8: error: redefinition of 'struct iphdr' struct iphdr { ^~~~~ In file included from iptunnel.c:29:0: .../qemuarm64/usr/include/netinet/ip.h:44:8: note: originally defined here struct iphdr ^~~~~ (From OE-Core rev: 94d15885c516e3bfee4fb68dfb568f4da6904052) Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com> Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "linux-libc-headers: if_tunnel: remove include of if/ip/in6.h"Jackie Huang2016-10-112-34/+0
| | | | | | | | | | The issue is fixed in net-tools. This reverts commit fb71f34d7379569c23cc00e18d134093147613f5. (From OE-Core rev: 804bea398af3e3e3d134e5199eda61afbc285088) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* canned-wks: use GPT partition tableEd Bartosh2016-10-113-3/+3
| | | | | | | | | | | | | | | | | | | | | | | According to UEFI specification all EFI platforms must support GUID Partition Table(GPT) disk layout. Here is a list of advantages of using GPT disk layout over the legacy MBR partitioning: - Logical Block Addresses (LBAs) are 64 bits (rather than 32 bits). - Supports many partitions (rather than just four primary partitions). - Provides both a primary and backup partition table for redundancy. - Uses version number and size fields for future expansion. - Uses CRC32 fields for improved data integrity. - Defines a GUID for uniquely identifying each partition. - Uses a GUID and attributes to define partition content type. - Each partition contains a 36 character human readable name. Used GPT partitioning in all EFI kickstart files. Tested result images on NUC, MinnowBoard MAX and MinnowBoard Turbot. (From OE-Core rev: 66d4efeb0face5fc8a1755dcd2ed3a611997a04d) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd-bootdisk.wks: update kernel command lineEd Bartosh2016-10-111-1/+1
| | | | | | | | | | | | | Used ttyS0 console. Removed usage of ttyPCH0 (FRI2 leftover) Decreased bootloader timeout to 5 seconds Removed 'vmalloc=256MB snd-hda-intel.enable_msi=0' as it's not needed for any of reference BSPs. (From OE-Core rev: ee16a283d695112236906338887c6eba109c9fb5) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* flex: Backport buffer overflow fixJussi Kukkonen2016-10-112-0/+60
| | | | | | | | | | Fix a heap-based buffer overflow in yy_get_next_buffer() (CVE-2016-6354). (From OE-Core rev: 68d56306baa21e66756fb44c6c5680e725b1e3bc) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* flex: Update upstream check uriJussi Kukkonen2016-10-111-0/+2
| | | | | | | | | Flex has moved to github, update UPSTREAM_CHECK_URI. (From OE-Core rev: 591a5aecfe4a52dc3b9e11883334c604dd9fc957) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gnutls: Backport certificate check fixJussi Kukkonen2016-10-112-0/+36
| | | | | | | | | | Previously the OCSP certificate check wouldn't verify the serial length and could succeed in cases it shouldn't (CVE-2016-7444). (From OE-Core rev: d7e97992befd3fa5c1c6616652a3aa723d08c531) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: main: Check bitbake server-only port is a numberBenjamin Esquivel2016-10-091-0/+7
| | | | | | | | | | | | | | | | Either using the memres script or the bitbake call with --server-only if the port is a string instead of a number then the process hangs indefinitely causing a loop that never ends. Add a check at the beginning for the port being a number otherwise show an error message and exit cleanly. [YOCTO #10397] (Bitbake rev: 35927a98daeeb854ef5782e900206af6cd96b3d7) Signed-off-by: Benjamin Esquivel <benjamin.esquivel@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: runqueue: Optimise task id string manipulationsRichard Purdie2016-10-092-52/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | Some task id manipulations were suboptimal: * taskfn_fromtid and fn_from_tid were effectively the same function * many calls to split_tid(), then taskfn_fromtid() * taskfn_fromtid() called split_tid() internally This patch adds split_tid_mcfn() to replace split_tid() and returns the "taskfn" variant being used in many places. We update all core calls to the new function and ignore the return values we don't need since the function call overhead of the split_tid wrapper is higher than ignoring a return value. The one remaining standalone use of taskfn_fromtid is replaced with fn_from_tid. I couldn't see any external usage so it was dropped. There is external usage of split_tid so a wrapper remains for it. Combined together these changes should improve some of the runqueue task manipulation performance. (Bitbake rev: 1bf2ef874fbe47f1320007efa0bdeef8d630b8a1) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>