summaryrefslogtreecommitdiffstats
path: root/meta
Commit message (Collapse)AuthorAgeFilesLines
...
* ver_linux: Use /usr/bin/awk instead of /bin/awkBruce Ashfield2017-02-053-13/+13
| | | | | | | | | | | | | | | | To avoid kernel-devsrc failing with missing a dependency on "/bin/awk". Due to the way this script is invoked, using #!/usr/bin/env can run into issue when invoked. Since most distros have awk in /usr/bin and not /bin, we change the script while this is sorted out upstream. (From OE-Core rev: 3360eadb719f1d3b406e6cf48d99a74fdb2f6c77) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel-yocto: ecryptfs, NFC and CAN bus config updatesBruce Ashfield2017-02-053-3/+3
| | | | | | | | | | | | | | | | Integrating the following kernel config updates: f7f388ec4d89 Add support and drivers for CAN bus as feature 2b20935eb14b Filesystem encryption support 8520e18f2956 Update NFC support a079d66845cd Add eCryptFS filesystem feature (From OE-Core rev: 8a83c808988f646bd6ecab4905a74c33699451ef) Signed-off-by: Jussi Laako <jussi.laako@linux.intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kern-tools: re-enable scc merge commandBruce Ashfield2017-02-052-2/+16
| | | | | | | | | | | | | | | The ability to merge two branches directly from a .scc file was dropped during the streamlining of the tools. As was pointed out by David Vincent <freesilicon@gmail.com>, there is once again a valid use case for this functionality, so we restore the capability. (From OE-Core rev: a0059ebbb52c659282e355664bba1a2fa282170e) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel-yocto/features: enable TPMBruce Ashfield2017-02-056-6/+6
| | | | | | | | | | | | Adding a feature fragment that enables a broad range of TPM drivers. They service as a baseline for production kernels. (From OE-Core rev: 460071785c58de6d45698046e70f1121438537cd) Signed-off-by: Patrick Ohly <patrick.ohly@intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/4.9: update to 4.9.4Bruce Ashfield2017-02-053-16/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Integrating the korg -stable release with the following changes: 75353ac8ff43 Linux 4.9.4 6fea974494af rtlwifi: rtl_usb: Fix missing entry in USB driver's private data 7dae85b5c355 rtlwifi: Fix enter/exit power_save 3f41ee3a45cb drm/i915/gen9: Fix PCODE polling during CDCLK change notification 93f2976eb027 ALSA: usb-audio: Add a quirk for Plantronics BT600 f52e670a5b29 spi: mvebu: fix baudrate calculation for armada variant 05b7bdf1c3d8 ARM: omap2+: am437x: rollback to use omap3_gptimer_timer_init() b8ba5faa7a6b ARM: 8631/1: clkdev: Detect errors in clk_hw_register_clkdev() for mass registration 87dbf3dc1652 ARM: OMAP4+: Fix bad fallthrough for cpuidle b336dc57bc92 ARM: OMAP5: Fix build for PM code 0f665deba9bc ARM: OMAP5: Fix mpuss_early_init aa1c7b01c9c7 bus: arm-ccn: Prevent hotplug callback leak bd99e7a6036e svcrdma: Clear xpt_bc_xps in xprt_setup_rdma_bc() error exit arm c2ce1c4133b3 ARM: qcom_defconfig: Fix MDM9515 LCC and GCC config e925eb342659 ARM: zynq: Reserve correct amount of non-DMA RAM 78e2d9405e2d ARM: pxa: fix pxa25x interrupt init 596ff0afbe8e ARM64: dts: bcm2835: Fix bcm2837 compatible string e3937bc1cc0b ARM64: dts: bcm2837-rpi-3-b: remove incorrect pwr LED d40152d5ac67 arm64: dts: mt8173: Fix auxadc node 08aed6e8883d tools/virtio: fix READ_ONCE() e7d05ec1923e powerpc: Fix build warning on 32-bit PPC 2fc33ff4ba81 ALSA: firewire-tascam: Fix to handle error from initialization of stream data 2c867216c555 HID: hid-cypress: validate length of report e425ed1d3c75 net: vrf: do not allow table id 0 7b7a5a85b1d9 net: ipv4: Fix multipath selection with vrf 7cc73483a4c7 net/mlx5e: Remove WARN_ONCE from adaptive moderation code 17a561b19a27 gro: Disable frag0 optimization on IPv6 ext headers 934ca017c850 gro: use min_t() in skb_gro_reset_offset() ec0fdcb88c6f gro: Enter slow-path if there is no tailroom 33364eee1fe4 net: add the AF_QIPCRTR entries to family name tables 2ff4a0243c9e net: dsa: Ensure validity of dst->ds[0] 66f24d624baa r8152: fix rx issue for runtime suspend c8a89b4f5248 r8152: split rtl8152_suspend function 294f2c889637 net: dsa: bcm_sf2: Utilize nested MDIO read/write ac77aab46168 net: dsa: bcm_sf2: Do not clobber b53_switch_ops b55f6ca7380d bpf: change back to orig prog on too many passes a4d205a59521 net: vrf: Add missing Rx counters efc455f08ea8 ipv4: Do not allow MAIN to be alias for new LOCAL w/ custom rules fe1e13cfe2c4 igmp: Make igmp group member RFC 3376 compliant 7826d11cf44c flow_dissector: Update pptp handling to avoid null pointer deref. 9f65f5d4746b drop_monitor: consider inserted data in genlmsg_end 9f7551e05b0f drop_monitor: add missing call to genlmsg_end a8a213f296ae net: ipv4: dst for local input routes should use l3mdev if relevant e7422080e35d net: fix incorrect original ingress device index in PKTINFO 2ffc694b5727 rtnl: stats - add missing netlink message size checks 8cb7d6277f01 net/mlx5e: Disable netdev after close ee9f2fd3f6b6 net/mlx5e: Don't sync netdev state when not registered 33c782dd1514 net/mlx5: Prevent setting multicast macs for VFs b22c86ff8e78 net/mlx5: Mask destination mac value in ethtool steering rules efbbc75c00fc net/mlx5: Avoid shadowing numa_node ca8a64467f2a net/mlx5: Cancel recovery work in remove flow 7bf1de7f2749 net/mlx5: Check FW limitations on log_max_qp before setting it 9b4a34ff8987 net/sched: cls_flower: Fix missing addr_type in classify 99f40c6bf565 net: stmmac: Fix race between stmmac_drv_probe and stmmac_open 09babe4ce12e net, sched: fix soft lockup in tc_classify ee99e2bc5e8a ipv6: handle -EFAULT from skb_copy_bits d36a1cb1e328 inet: fix IP(V6)_RECVORIGDSTADDR for udp sockets ed3cc329c7bc sctp: sctp_transport_lookup_process should rcu_read_unlock when transport is null 8b8fbe5c25ab net: vrf: Drop conntrack data after pass through VRF device on Tx d4a0b2e40c46 net: vrf: Fix NAT within a VRF (From OE-Core rev: 9b4c9986ebed75ee71a8179e04a4384624c0e7e0) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: update to 13.0.4Nicolas Dechesne2017-02-052-2/+2
| | | | | | | | | | | | | Bug fixes release. This is really needed for Qualcomm based h/w since freedreno driver had a regression in 13.0.x branch which is fixed in 13.0.4. (From OE-Core rev: bc4804dccb268831e2fdffb21c15d6d78a2a06d3) Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: Upgrade to 2.8.0Aníbal Limón2017-02-058-224/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | Added patches: - target-ppc-fix-user-mode.patch Rebased patches: - exclude-some-arm-EABI-obsolete-syscalls.patc Removed patches (already in upstream): - 0003-fix-CVE-2016-7908.patch - 0004-fix-CVE-2016-7909.patch - 0001-target-mips-add-24KEc-CPU-definition.patch Changelog, http://wiki.qemu.org/ChangeLog/2.8 (From OE-Core rev: ab7eb1c896e4ba38b6c16acae3d25534296f62b8) Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libtasn1: Upgrade 4.9 -> 4.10Maxin B. John2017-02-056-191/+66
| | | | | | | | | | | | | | | | | | | | | Removed the following Backported patches: 1. 0001-configure-don-t-add-Werror-to-build-flags.patch 2. 0002-ASN.y-corrected-compiler-warning.patch 3. 0003-parser_aux-corrected-potential-null-pointer-derefere.patch 4. 0004-tools-eliminated-compiler-warnings.patch fixed the following build error with musl ... | from ../../libtasn1-4.10/gl/getopt.c:28: | ./stdint.h:89:5: error: #if with no expression | #if | ^ (From OE-Core rev: 70138279e4f4da74cd63402d7201c74ab2528fa8) Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ffmpeg: disable cpu autodetectionAndreas Oberritter2017-02-051-0/+7
| | | | | | | | | | | | | Just pass the correct -mcpu= configure switch (fallback to generic). Avoids warnings like: | warning: switch -mcpu=cortex-a15 conflicts with -march=armv7-a switch (From OE-Core rev: 68aad8d179161c5fec75bf311060d829e4346c9f) Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-3-manifest: split out typingAnders Darander2017-02-051-3/+7
| | | | | | | | | | | This allows us to use typing.py without having to add the whole python3-misc package. (From OE-Core rev: 66c282541a13f2d1224d3ba933a953c0f613fb2a) Signed-off-by: Anders Darander <anders@chargestorm.se> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-3-manifest: add ipaddress to python3-ioAnders Darander2017-02-051-1/+1
| | | | | | | | | | | This allows us to use ipaddress without requiring the add the whole python3-misc. (From OE-Core rev: d0e9013f6c68104369de940f5dd8a6ef76cd0210) Signed-off-by: Anders Darander <anders@chargestorm.se> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-3-manifest: add _compat_pickle to python3-pickleAnders Darander2017-02-051-1/+1
| | | | | | | | | | | This allows us to depend on _compat_pickle.* wihtout having to add the whole python3-misc. (From OE-Core rev: 6c435672b27d1c97ce3776c98d073a92fde887cd) Signed-off-by: Anders Darander <anders@chargestorm.se> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-3-manifest: add socketserver to netserverAnders Darander2017-02-051-1/+1
| | | | | | | | | | socketserver.* should be part of python3-netserver. (From OE-Core rev: 8aa71c7133f996f6ed09a3c094e553bed7f33c7a) Signed-off-by: Anders Darander <anders@chargestorm.se> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-3-manifest: add argparse to RDEPENDS for netclientAnders Darander2017-02-051-1/+1
| | | | | | | | | | http/server.py requires argparse. (From OE-Core rev: 04d3e78b31c247ee521a2d4c15286a8c030637cb) Signed-off-by: Anders Darander <anders@chargestorm.se> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-manifest: move htlm.py to python3-htmlAnders Darander2017-02-051-1/+1
| | | | | | | | | | This allows us to use html.py without importing misc. (From OE-Core rev: d1fefcaa10b85837d18458e291a3df9093b3a6ea) Signed-off-by: Anders Darander <anders@chargestorm.se> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libbsd: libbsd-overlay.pc: Set Cflags to use -I instead of -isystemFabio Berton2017-02-052-0/+34
| | | | | | | | | | | | | | | | | | | | | | | pkg-config currently only handles -I and -L correctly, but misses -isystem, so we need to do this workaround to fix this issue. There's a open bug in: https://bugzilla.freedesktop.org/show_bug.cgi?id=99516 This appears when building lldpd and shows error: ERROR: lldpd-0.9.6-r0 do_configure: This autoconf log indicates errors, it looked at host include and/or library paths while determining system capabilities. Rerun configure task after fixing this. ERROR: lldpd-0.9.6-r0 do_configure: Function failed: do_qa_configure Change-Id: I83255b5952e19bb2f516b1186276cd03eb67eed3 (From OE-Core rev: 5bd23c01fd800c43ba3979b23585fe8ac30d7ec8) Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libsolv: split libsolvext into it's own pkg-configAlejandro del Castillo2017-02-052-0/+68
| | | | | | | | | | | Opkg only depends on libsolv proper, splitting libsolv-ext pkg-config reduces opkg dependencies. (From OE-Core rev: fa9a75c5c968ca878c702bd52f983ddf96ecca65) Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xserver-xorg: fix 16bit modesAndreas Müller2017-02-052-0/+47
| | | | | | | | | | Discovered on beaglebone black (From OE-Core rev: 21fcb42d97e90eb76283b69ab876729f4cee7ad7) Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pkgconfig: fix typo introduced during recent conversion to PACKAGECONFIGAndre McCurdy2017-02-021-1/+2
| | | | | | | (From OE-Core rev: 424768191b4a55823d4a212d1fc38edda966f57c) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eudev: add RPROVIDES so eudev-hwdb provides udev-hwdbRoss Burton2017-02-021-0/+1
| | | | | | | | | | Otherwise the common name udev-hwdb is only provided by systemd, meaning that other recipes can't depend on a single name. (From OE-Core rev: dea267d576695e23223a2f402f6c9c126b0413dc) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* uninative: Make patchelf modified files sparseRichard Purdie2017-02-021-7/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When we switched to recipe specific sysroots (rss), performance took a nose dive. Its easy to blame rss but it turns out not to be entirely at fault. Three configurations are compared here: a) Pre-RSS (revision 45df694a9f472ac2f684aadac4d864c3dfdc48a7) b) Post-RSS (revision 226a508da955439b881b2f0a544a3aee76e59919) c) as b) with this change Overall build times: a) 22794.25user 2687.88system 30:32.84elapsed 1390%CPU (0avgtext+0avgdata 919056maxresident)k b) 22677.25user 3238.79system 36:16.68elapsed 1190%CPU (0avgtext+0avgdata 918896maxresident)k c) 23571.84user 3383.65system 31:36.83elapsed 1421%CPU (0avgtext+0avgdata 919068maxresident)k For the overall build and sstate directories, du -s shows: a) 3992588 build-pre-rss/sstate-cache 30804484 build-pre-rss/tmp b) 4013272 build-with-rss/sstate-cache 36519084 build-with-rss/tmp c) 4014744 build-with-rss2/sstate-cache 35336960 build-with-rss2/tmp However more worryingly: $ du -s build-pre-rss/tmp/sysroots/ 2506092 build-pre-rss/tmp/sysroots/ $ du -s build-with-rss/tmp/sysroots-components/ 3790712 build-with-rss/tmp/sysroots-components/ $ du -s build-with-rss2/tmp/sysroots-components/ 2467544 build-with-rss2/tmp/sysroots-components/ These numbers *should* be equivalent but as you can see, b) is ~1.2GB larger. The reason turned out to be patchelf. Taking a specific binary from a specific recipe, bc from bc-native, in a) its 82kb (stripped) yet in b) its 2.17MB. $ ./patchelf --set-interpreter /bin/rp bc warning: working around a Linux kernel bug by creating a hole of 2084864 bytes in ‘bc’ https://github.com/NixOS/patchelf/blob/master/src/patchelf.cc#L710 shows that this "hole" is just padded zeros using memset, its not a proper sparse hole. This patch copies files with cp --sparse=always after modifying them with patchelf, then replacing the original file. The better fix will be to fix this in patchself itself and seek() there when writing the new file but that means new uninative tarballs and will take a bit of work so I'm proposing this workaround in the meantime. Also, this patch drops error handling since subprocess check_output() tracebacks will print this information if the command fails so we can simplify the code. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* usbutils: add dependency on udev-hwdb, not libudevRoss Burton2017-02-021-1/+1
| | | | | | | | | | libudev will be autodetected by the linkage, the intention here was to depend on udev-hwdb to ensure that the USB ID lists are installed. (From OE-Core rev: 04624464690da71b3ec904a48d5caa8087ca6381) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* selftest/runtime-tests: Modify positins test to reduce execution timeJose Perez Carranza2017-02-021-5/+6
| | | | | | | | | | | | Currently test_postinst_roofs_and_boot is building a full-cmdline image this is taking a lot of time to execute the test, so a minimal image will be build instead. (From OE-Core rev: 3a6b0b9f94b7097a825edf3fe258a2f86b73edd6) Signed-off-by: Jose Perez Carranza <jose.perez.carranza@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* selftest/bbtests: use write_config instead of local.conf fileLeonardo Sandoval2017-02-021-4/+1
| | | | | | | | | | | Extra configuration data should be write using the write_config method instead of manually appending to the local.conf file (From OE-Core rev: 65c26d51eedc687c92e8ade262d24dc53ca71cec) Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* selftest: wic: stop using hddimg in FSTYPESEd Bartosh2017-02-021-4/+4
| | | | | | | | | | | | | Removed hddimg from FSTYPES in wic test suite as wic doesn't depend on hddimg anymore. [YOCTO #10835] (From OE-Core rev: a332d9618c2d0f46b6c0c8fdeee8bec4cc73f2cf) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wic-tools: Do not remove sysroot with rm_work, because wic needs it.Kristian Amlie2017-02-021-0/+4
| | | | | | | | | | | The sysroot of wic-tools is needed for wic, but if rm_work is enabled, it will be removed before wic has a chance to use it, hence this fix. (From OE-Core rev: fc59d35a8ceae6302e0a161bab04829fdfd157cd) Signed-off-by: Kristian Amlie <kristian.amlie@mender.io> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pkgconfig: use packageconfigRoss Burton2017-02-021-7/+4
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pkg-config: depend on pkgconfig-native for target buildsRoss Burton2017-02-021-1/+1
| | | | | | | | | | | When building for the target, pkg-config uses the target glib-2.0 instead of it's own minimal fork. To find this it needs to use pkg-config so ensure this dependency exists in case it doesn't exist on the host already. (From OE-Core rev: 2e55ecb93ecbbd8bfe626c07d3a032c2fe98efca) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cups: add missing pkgconfig inheritRoss Burton2017-02-021-1/+1
| | | | | | | (From OE-Core rev: c2eb2a2a990e402c532cccfe742ca33d3e8c46f3) 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 revision2.3_M2Richard Purdie2017-02-011-1/+1
| | | | | | (From OE-Core rev: 303868c8976523342026817c6aa1a04ce0408c5d) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta-environment: Clean up the task structure to reduce manifest warningsRichard Purdie2017-02-011-7/+5
| | | | | | | | | This puts the dependencies on the correct task and removes pointless noexec tasks allowing for a slightly cleaner task structure. (From OE-Core rev: 8b80aee29150fcd50b11dedaab42cdec6e3f222b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* staging: Reduce the number of mkdirs callsRichard Purdie2017-02-011-10/+17
| | | | | | | | | | | | The number of mkdir calls was showing up high on the profile charts since it was getting called once per file which is excessive. Each call results in one or more syscalls which is bad for performance. Cache which directories we've seen to reduce the calls to a more reasonable number and speed up recipe specific sysroots. (From OE-Core rev: 680fb343be5d0a7f9abbe9c75ca232abe5871663) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sstate/staging: Batch log messages for performanceRichard Purdie2017-02-012-8/+17
| | | | | | | | | | | | | | | | | | | According to profile data, repeated calls to bb.debug and bb.note in the extend_recipe_sysroot() codepath were accounting for 75% of the time (1.5s) in calls from tasks like do_image_complete. This batches up the log messages into one call into the logging system which gives similar behaviour to disabling the logging but retains the debug information. Since setscene_depvalid is also called from bitbake's setscene code, we have to be a little creative with the function parameters and leave the other debug output mechanism in place. This should hopefully speed up recipe specific sysroots. (From OE-Core rev: 3b0af8dc0f796345d1f1ba77ea35bbd090a5feb3) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xmlto: Don't hardcode the path to tailRichard Purdie2017-01-311-1/+1
| | | | | | | | | We don't need to hardcode a path to tail, follow the other tools examples and don't specify a path since PATH is good enough for us. (From OE-Core rev: 1a1e70304932cce5ad194e0a7ebb495da7b24c2e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* binutils-cross: Remove exec_prefix from the linker search pathRichard Purdie2017-01-312-0/+52
| | | | | | | | | | | | | We don't put target libs into a native/cross ${exec_prefix} but having this in the default search path means all linker scripts have to be relocated. This is a considerable chunk of files to create multiple copies of for no good reason. Instead, patch out the paths we don't need. (From OE-Core rev: 20816eb5398512652c971a37589a2ca28ffd3d68) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* distro/defaultsetup: Enable removal of libtool .la files by defaultRichard Purdie2017-01-311-1/+1
| | | | | | | | | | | | | Relocation of native .la files during recipe specific sysroot relocation is probably the final straw in just killing these files off. Change things so this class is inherited by default. If distros don't want to do this, they can opt out but it seems like the best thing to do now since .la files aren't needed on Linux. (From OE-Core rev: 11d801f6a7319a95f824842df118c446f8da7a71) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* relocatable: Make native .pc files relocatableRichard Purdie2017-01-311-1/+12
| | | | | | | | | | | | | The native .pc files currently have hardcoded paths in them meaning each has to be relocated at final install time. pkg-config has built in functionality to avoid this, namely the pcfiledir variable. This function translates .pc files to use the variable meaning further relocation later is unnecessary. (From OE-Core rev: a3f4e9ff55c7d9eba175e83eb6c99cf349a74432) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* utils: Avoid need to relocate wrapper scriptsRichard Purdie2017-01-311-2/+16
| | | | | | | | | | | | | Whilst the path to the executable is dynamically determined, the passed in environment variables or parameters are not relocatable and rely on the sstate remapping code. In the recipe specific sysroot case this has become more costly. This patch translates such paths into relocatable entries which means that a sed replacement at final installation isn't needed. (From OE-Core rev: 3e02a7cda0ba70e3f9886c5cce37d71361280b11) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/core/context.py: Add validation for run-tests optionAníbal Limón2017-01-311-1/+5
| | | | | | | | | | The run-tests option is optional so if isn't specified set to None instead of crash on split(). (From OE-Core rev: 877732406cad2ee4bf11293dc8ccddc2998ffbaf) Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/runtime/cases: Rename syslog module to oe_syslogAníbal Limón2017-01-312-4/+4
| | | | | | | | | | | | | | Debian based distros has a builtin syslog module so when try to load tests using unittest it references the builtin module instead of runtime/cases. [YOCTO #10964] (From OE-Core rev: 9923e3cdb58c2b3c54ec5fe99b2cec4cdc9fff92) Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* testimage.bbclass: Fixes about suites and dependenciesMariano Lopez2017-01-311-4/+5
| | | | | | | | | | | | | | | | | There are some missing suites on sato-sdk and lsb-sdk images so add it. The createrepo-native needs to be built before run testimage in order to create a repository from install packages. The DL_DIR data also needs to be updated from the current bitbake environment instead of use the value from testdata file. [YOCTO #10964] (From OE-Core rev: 42f3026b39519ba98ae3153329622ce670d57c09) Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* runtime/cases: Fix case numbers, missing cases and unused classesMariano Lopez2017-01-313-4/+10
| | | | | | | | | | | | | | | gcc: Removed unneded lines. multilib: fixed case number. syslog: added a missing test. [YOCTO #10964] (From OE-Core rev: 3f1c57191802309e58a7b3b42e8ec812e83bd8ed) Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libtasn1: depends on yaccPatrick Ohly2017-01-311-0/+2
| | | | | | | | | | | | | | This fixes a potential pollution by the build host and build error when yacc isn't installed on the build host: | ../../libtasn1-4.9/build-aux/ylwrap: line 175: yacc: command not found | Makefile:1116: recipe for target 'ASN1.c' failed | make[3]: *** [ASN1.c] Error 127 (From OE-Core rev: 1135024502bb120c331e065f4c441d6a3efb6d4f) Signed-off-by: Patrick Ohly <patrick.ohly@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* populate_sdk_ext: fix == bashismPatrick Ohly2017-01-311-1/+1
| | | | | | | | | Found via verify-bashisms. (From OE-Core rev: b690b8dc634844b4f6672d524f0e6f1d86dc4e20) Signed-off-by: Patrick Ohly <patrick.ohly@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* at-spi2-atk: depend on glib-2.0-nativeMarkus Lehtonen2017-01-311-1/+1
| | | | | | | | | | | | | Missing dependency revealed by recipe specific sysroots. If the host system does not have glib-compile-schemas installed have (via libglib2.0-dev, glib2, glib2-tools or similar) do_configure would fail with: configure: error: glib-compile-schemas not found. (From OE-Core rev: 483801020f358fb201703b56326cb90e6df84fdb) Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wpa-supplicant: inherit pkgconfigMarkus Lehtonen2017-01-311-1/+1
| | | | | | | | | Missing dependency uncovered after recipe specific sysroots were enabled. (From OE-Core rev: 3173505ba6014271e59fdde2450ecc0d3cd4c8c2) Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpm: inherit pkgconfigMarkus Lehtonen2017-01-311-1/+1
| | | | | | | | | | | Rpm needs pkg-config in order to build successfully. Recipe specific sysroots revealed this missing dependency when trying to build on a host without pkg-config. (From OE-Core rev: 6ad1deb0d728b8d34589b1a42acc8fa268e95f28) Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* grep: add missing pkgconfig inheritRoss Burton2017-01-311-1/+1
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python: add missing pkgconfig inheritRoss Burton2017-01-311-1/+1
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* grub-efi: Deploy grub named efi binariesSaul Wold2017-01-311-2/+2
| | | | | | | | | This allows both grub and systemd-boot efi bootloaders to co-exisit (From OE-Core rev: 26f4eb19b6e9c71374659605a01af762a0361f41) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>