aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2018-03-03latencytop: remove recipeAlexander Kanavin
Last commit and release were in 2009; website is down; it's a dead project. Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2018-03-03libpam: be more strict about user's sanityMartin Jansa
* replace do_pam_sanity function with distro_features_check inherit * fixes: WARNING: libpam-1.3.0-r5 do_pam_sanity: Building libpam but 'pam' isn't in DISTRO_FEATURES, PAM won't work correctly in world builds and prevents user to build libpam at all without pam in DISTRO_FEATURES, I don't see any users of this which wouldn't respect pam in DISTRO_FEATURES * only libuser is depending on libpam without respecting DISTRO_FEATURES * there are few recipes in meta-oe layers depending on libpam without respecting DISTRO_FEATURES, I've sent patch for them: samba, openwsman, pam-ssh-agent-auth, sblim-sfcb, passwdqc, python-pam, smbnetfs and omxplayer in meta-raspberrypi, I've sent PR for that one: https://github.com/agherzan/meta-raspberrypi/pull/192 * poky-lsb will need to add pam to DISTRO_FEATURES in order to build packagegroup-core-lsb Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2018-03-03openssh: remove unused patchMaxin B. John
Remove unused patch: 0001-openssh-Fix-syntax-error-on-x32.patch Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2018-03-03pseudo: update to latest masterAlexander Kanavin
Dropped patches: 0001-Use-epoll-API-on-Linux.patch replaced by http://git.yoctoproject.org/cgit/cgit.cgi/pseudo/commit/?id=0a3e435085046f535074f498a3de75a7704fb14c (also add --enable-epoll to configure options) b6b68db896f9963558334aff7fca61adde4ec10f.patch merged upstream efe0be279901006f939cd357ccee47b651c786da.patch merged upstream fastopreply.patch replaced by http://git.yoctoproject.org/cgit/cgit.cgi/pseudo/commit/?id=449c234d3030328fb997b309511bb54598848a05 toomanyfiles.patch rebased Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2018-03-03glib: no need to depend on python3nativeRoss Burton
The glib build doesn't appear to use python3native, so remove it to streamline build dependencies. Signed-off-by: Ross Burton <ross.burton@intel.com>
2018-03-03linux-yocto/4.12: add stratix10 SoC development boardBruce Ashfield
Integrating the patches to introduce support for stratix10 SOC, which comprises the following commits: 22f73c1fe991 drivers: ethernet: stmmac: keep Ethernet clock in enable status on Stratix10 platform c3ceae6df341 drivers: ethernet: stmmac: improve phy control during ethernet suspend/resume 883d8df59543 drivers: ethernet: stmmac: set delay_us value as 0 063b17881fed arm64: dts: stratix10: add interrupt-parent property in root node e991516fa777 arm64: dts: stratix10: correct PMU interrupt number 555f51414098 arm64: dts: stratix10: add alias for i2c1 a5dd201f0e8c arm64: dts: stratix10: control FPGA IO from linux kernel 67e763e631bd mtd: spi-nor: add support for mt25qu02g serial flash 6068e35ed261 arm64: dts: stratix10: enable qspi feature 2d019c47939c arm64: dts: stratix10: add USB ECC reset bit d9b9d63a6417 FogBugz #516572: add clock to USB nodes f4bca65baf07 arm64: dts: stratix10: enable USB on the devkit 1ed12c04eac6 arm64: dts: stratix10: remove phy node for usb b9b8f08f50ca usb: dwc2: add optional usb ecc reset bit 7a04b5cba903 usb: dwc2: disable erroneous overcurrent condition aac3bd2a2e23 dts: stratix10_socdk: enable gpio1 and leds 9807c107b1c3 arm64: dts: stratix10: fix interrupt number for gpio1 cbd264cde6bc arm64: dts: stratix10: add gpio header f91f7117ef93 gpio: gpio-dwapb: add optional reset 3aa90a6801aa mtd: spi-nor: Allow Cadence QSPI support for ARM64 3bb156eb80b6 FogBugz #495013-1: dts: stratix10: Add QSPI support for Stratix10 81981997697b reset: socfpga: fix for 64-bit compilation 882cc1f9800d FogBugz #491967-5: dts: stratix10: add ltc2497 d7b3bc0833a6 FogBugz #492768: Revert "i2c: dw: temporary workaround for i2c clocks" 60711b82517f arm64: dts: stratix10: add reset property for various peripherals f9aeefce1310 arm64: stratix10: add the 'altr,modrst-off' property e65b02b3b5b7 arm64: stratix10: include the reset manager bindings 7ffbb161ee30 reset: socfpga: build the reset-socfpga for Stratix10 SOC 95197b89dd72 FogBugz #493310: dts: use the clocks for the timers and uarts c6ec92c9222a FogBugz #493306: mark the l4_sp_clk as a critical clock 7caf335dd0fa FogBugz #492768: i2c: dw: temporary workaround for i2c clocks b247b5ed60c0 FogBugz #491967-2: dts: stratix10: enable i2c b0ea5bac0b3a FogBugz #492420: fix up the correct order of parents for noc_clk c81d19a6683b arm64: dts: stratix10: add ethernet/sdmmc support to S10 devkit 00d6740c9ec9 FogBugz #491251: temporary remove PSCI node 789aabac6e9d arm64: dts: fix up the gic register for the Stratix10 platform 9504049ea576 FogBugz #488936-2: Add clocks to emac/sdmmc node 8ad32e880376 FogBugz #488936-1: dts: bringup SoCFPGA Stratix10 devkit f826ccc79752 FogBugz #488843-2: add clock driver for Stratix10 SOC 56594bb54083 FogBugz #488843-1: dts: clock bindings for the SoCFPGA Stratix10 2a25f1e19487 FogBugz #488851: dts: use spin-table for SMP d36f9d7f16c3 net: stmmac: Adjust dump offset of DMA registers for ethtool 50eb2994beea Revert "FogBugz #470510: Update stratix10_swvp.dts file for S10 SoC Simics/VP" 9cc3c6bc11a7 net: stmmac: Add additional registers for dwmac1000_dma ethtool 4b12474ecb09 FogBugz #470512: Update stratix10_swvp.dts file for S10 SoC Simics/VP 2e1cf1b70e9a FogBugz #468942-2: Modify QSPI read_delay for Arria10. a2baa4e9366e FogBugz #454145: Update stratix10_swvp.dts file for S10 SoC VP 352eccb9c28e dt-bindings: reset: Add reset manager offsets for Stratix10 4951f51f6650 FogBugz #458420-2: ARM: dts: add lcd character panel 52625560a859 FogBugz #458420-1: dts: arria10 socdk: add max1619 a7926b2fe419 ARM: dts: socfpga: set the i2c frequency af2c59f5810f FogBugz #374571: Fix Sysid driver hotplug support. b1d136a8001d FogBugz #284482-2: A10 cache coherency is different than A5/C5. 8dc53e9000e6 FogBugz #284482-1: A10 cache coherency is different than A5/C5. cf59a2fb8882 FogBugz #408870: add debugfs interface for fpga config complete timeout a2a924222a02 FogBugz #421690: use a unique name to register freeze controller db0c754560cb FogBugz #403389-1: Altera Partial Reconfiguration IP Core 2b11bb966e23 FogBugz #412211: fpga: fix fpga mgr debugfs for module 546b85ceb86f FogBugz #411427: fpga: memory leaks in fpga manager debugfs 186529660ef2 FogBugz #405628-1: fpga: doc: add config complete timeout e97cb7797091 FogBugz #404467: add missing binding documentation 9454b288338e FogBugz #411698-3: hwmon: Add Altera A10-SR power supply alarms 181766fbe257 FogBugz #411698-2: Add Altera A10-SR power supply alarms 995c713ce65a FogBugz #408205: fix printf format error ff30a92ebff5 FogBugz #398879-2: fpga mgr debugfs 46856886744c FogBugz #398879-1: fpga: doc: documentation for FPGA debugfs 559f1b2b61f1 FogBugz #365525-3: socfpga: dts: remove fpga image specific info 6ac61db6de48 ARM: DT: Enable symbols when CONFIG_OF_OVERLAY is used 784a7fe5585c OF: DT-Overlay configfs interface (v7) dcc6ae577325 FogBugz #334039: enable SMP for the Stratix10 SWVP 83c3f4a2b7dc FogBugz #332965: missing Makefile to build Stratix10 SWVP dts 5604a2ed0cd1 FogBugz #331066: misc: altera_hwmutex: remove redundant unused of_match_ptr e5ad2362d2bc FogBugz #331067: misc: altera_hwmutex: remove .owner fdcb3fa5a3a5 FogBugz #332657-2: Stratix 10 Software Virtual Platform d64f00ea688a FogBugz #332657-1: Stratix 10 Software Virtual Platform 86026fe01b25 FogBugz #299928: arria10 swvp: add device tree 146f064db340 devicetree: net: micrel-ksz90x1.txt: correct documentation 71244d32db2b TRCom NAND board device tree. bb328948b0b5 FogBugz #184650: Cleanup Altera license headers. 8e855ce4b0c2 misc: sysid: use IS_ERR and PTR_ERR to check for error d5e88e198db0 misc: hwmutex: use IS_ERR and PTR_ERR to check for error 8e7d24910197 FogBugz #236669: Add a Kconfig for ILC driver 790e85ef4b28 misc: ilc: replace devm_request_and_ioremap with devm_ioremap_and_resource 1025d2218b88 misc: sysid: replace devm_request_and_ioremap with devm_ioremap_and_resource 0b1dbbb5a411 misc: hwmutex: replace devm_request_and_ioremap with devm_ioremap_resource f78ea9d901c6 FogBugz #240546: Move VIP driver into FB hardware folder 56c37d32951b FogBugz #177284: add Altera VIP framebuffer driver c006613bfc15 FogBugz #229601: newhaven lcd: fix kbuild test robot warnings a20f46e5560c FogBugz #101176: add sys entry to set lcd module brightness effc29afd46a FogBugz #125882: lcd module needs time to process commands. ffab5da4edbf FogBugz #118160: support tilde character on newhaven lcd module c72219530e09 FogBugz #114479: load custom character for backslash 0eb518db5832 FogBugz #107683: handle backspace better in lcd driver c62a261496fc tty: newhaven_lcd: Remove devinit and devexit 717f3b73f7c7 FogBugz #102358: i2c newhaven lcd driver uses faulty hyphen 394b437bac51 FogBugz #100586: Set lcd backlight brightness to max 3754d6b77c1b FogBugz #84276: lcd driver on i2c 115230c21271 FogBugz #143478: drivers/misc: Move sysid from arch to drivers 8e28bdd388c4 FogBugz #178225: Add Altera interrupt latency counter driver 095297e45627 FogBugz #144109: Remove extra lines from license header 6534e0969ae2 FogBugz #143451: Fix mutex compatible string 8eb7914d1532 FogBugz #138162: Add Altera hardware mutex driver 075f0367ff60 FogBugz #184646: Turn on all peripheral clocks for a system reboot d695a0616fda FogBugz #172665: Sample driver for DMA transfer to FPGA soft IP (FIFO) f7b3f6418bbc FogBugz #143478: arch/arm: Move sysid from arch to drivers 1dd2f4af39a0 ARM: socfpga: Turn on ARM errata for L2 cache 40146055677a mm/sparsemem: Fix ARM64 boot crash when CONFIG_SPARSEMEM_EXTREME=y Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2018-03-03linux-yocto/4.14/4.15: yaffs2 fixesBruce Ashfield
Integrating the following fixes for yaffs2: 9f9649fffac9 yaffs2: Adjust the timer callback and init functions 0ef24a829eee yaffs2: include rawnand.h instead of nand.h Signed-off-by: Kevin Hao <kexin.hao@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2018-03-03mesa: 17.3.5 -> 17.3.6Huang Qiyu
Upgrade mesa form 17.3.5 to 17.3.6. Signed-off-by: HuangQiyu <huangqy.fnst@cn.fujitsu.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2018-03-03webkitgtk_2.16.6.bb: Remove gl3.h header referenceBhargava Sreekantappa Gayathri
GLES 2 application cannot use gl3.h header files, remove including gl3.h when OpenGLESv2 is enabled in webkitgtk Signed-off-by: Bhargava Sreekantappa Gayathri <bhargava.sreekantappa-gayathri@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2018-03-03maintainers: Change icecc-create-env maintainerJoshua Watt
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2018-03-03musl: Upgrade to 1.1.19 release pointKhem Raj
Changes from the current commit https://git.musl-libc.org/cgit/musl/log/?qt=range&q=628cf979b249fa76a80962e2eefe05073216a4db..55df09bfccbfe21fc9dd7d8f94550c0ff25ace04 Summary of this release http://www.openwall.com/lists/musl/2018/02/22/2 Author list has been enhanced no changes to license itself https://git.musl-libc.org/cgit/musl/commit/?id=1366b3c5e6d89d5ba90dd41fe5bf0246c5299b84 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2018-03-03wic: Set a miniumum FAT16 volume size.Paulo Neves
Set a miniumum FAT16 volume size because images are not valid to parted if this minimum value is not respected. The value set is determined experimentally forr a logical sector size of 512. This fixed my local problem but, there may be better solutions. Signed-off-by: Paulo Neves <ptsneves@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2018-03-03wic: partition plugin wrongly assumes it is rootfsPaulo Neves
The partition plugin is used as the base for other plugins. One of the methods the plugins use, is the prepare_rootfs method. The prepare_rootfs method wrongly assumes that the value ROOTFS_SIZE from bitbake datastore is relevant to every invocation of prepare_rootfs, which it clearly is not, for example in the bootimg-partition case. This commit adds an optional argument to prepare_rootfs where a caller can tell prepare_rootfs if it is an actual rootfs and whether related rootfs information retrieved from bitbake is valid. The default behavior of this optional argument is to assume that the invocation is an actual rootfs, to maintain compatibility with previous implementations. Signed-off-by: Paulo Neves <ptsneves@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2018-03-03wic: Add post operation hook for SourcePluginParthiban Nallathambi
do_post_partition hook is needed if some operations like security signing the parition needs to be done. source plugins can make use of this to implement post operatiosn in do_post_partition. do_post_partition is called after do_prepare_partition if present. Signed-off-by: Parthiban Nallathambi <pn@denx.de> Signed-off-by: Ross Burton <ross.burton@intel.com>
2018-03-03kernel-yocto: check git config during checkoutJustin Bronder
Initialize the git config prior creating a git repository in a plain directory. Signed-off-by: Justin Bronder <jsbronder@cold-front.org> Signed-off-by: Ross Burton <ross.burton@intel.com>
2018-03-03pkgconf: revert changes to pkg-config-wrapperMaxin B. John
To maintain the status quo, revert changes to pkgconf wrappers. This helps to keep it compatible with freedesktop.org pkg-config. Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2018-03-03libmpc: upgrade to 1.1.0Oleksandr Kravchuk
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2018-03-03gstreamer-rtsp-server: remove unnecessary dependenciesAnuj Mittal
libcheck dep was removed from gst-rtsp-server some time back [1]. Disable building of examples and tests and remove dep on libcgroup which was needed, if present, to build only one specific example. [1] https://cgit.freedesktop.org/gstreamer/gst-rtsp-server/commit?id=43ec4e7c786227b85aec06599c3955626e241a01 Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2018-03-03gcc: Fix internal compiler error for PPC test case "gcc.dg/vmx/7d-02.c"Mark Hatle
Fix an internal compiler error on PPC from building a specific test: $ $CC -S 7d-02.c 7d-02.c: In function â: 7d-02.c:11:5: internal compiler error: in copy_to_mode_reg, at explow.c:612 vec_st(v, i*16,p); ^~~~~~ The failure appears to happen on all optimizations levels as well. Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2018-03-03gcc: Fix test case issue when SSE is not enabledMark Hatle
Whenever "-mno-sse" is used, "-mfpmath" should be set to 387. The test case should be modified accordingly as below: /* { dg-additional-options "-mno-sse -mfpmath=387 " { target { i?86-*-* x86_64-*-* } } } */ Original patch from: RAGHUNATH LOLUR <raghunath.lolur@kpit.com> Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2018-03-03cmake: refactor compile and install for easier re-useAndré Draszik
cmake_do_compile() and cmake_do_install() basically do the same, except they use a different --target, and at the moment this is copy/pasted code with a minor modification. Other recipes which e.g. might want to support compilation as part of ptest have to do the same. This is a bit inconvenient. By factoring out all of this into a common helper, cmake_runcmake_build(), this is easily re-used. An (imaginary) recipe can compile ptest support simply by using cmake_runcmake_build --target buildtest-TESTS (assuming such a build target exists). Also, this now is very similar to oe_runmake(). Signed-off-by: André Draszik <andre.draszik@jci.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2018-03-03icecc: Remove several getVar() expand argumentsJoshua Watt
Several of the calls to getVar() were either superfluously passing True for the expand argument, or were wrongly passing False Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2018-03-03u-boot-mkimage: Add dependency on dtcOtavio Salvador
The dtc is used when generating images which use Device Tree and we must use the OE version to avoid relying on the host one. Reported-by: Renato Caldas <rm.santos.caldas@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Ross Burton <ross.burton@intel.com>
2018-03-03opkg-utils: upgrade to version 0.3.6Alejandro del Castillo
0.3.5 -> 0.3.6 Patches: - Add support for tar versions that don't support --sort - Use local time when setting the modication time on the archives Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2018-03-03opkg: upgrade to version 0.3.6Alejandro del Castillo
0.3.5 -> 0.3.6 Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2018-03-03git: 2.15.0 -> 2.16.1Robert Yang
Add /usr/share/git-core/templates/hooks/fsmonitor-watchman.sample to PERLTOOLS to fix: ERROR: git-2.16.1-r0 do_package_qa: QA Issue: /usr/share/git-core/templates/hooks/fsmonitor-watchman.sample contained in package git requires /usr/bin/perl, but no providers found in RDEPENDS_git? [file-rdeps] ERROR: git-2.16.1-r0 do_package_qa: QA run found fatal errors. Please consider fixing them. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2018-03-03kbd: build tests only when ptest is enabledAnuj Mittal
Also include the libcheck dependency only when tests are to be built. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2018-03-03bluez5: remove dependency on libcheckAnuj Mittal
It was removed a while back and isn't needed anymore. https://git.kernel.org/pub/scm/bluetooth/bluez.git/commit/?id=292a37990cf0b9517135a4d58c8c1df6b9123cb4 Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2018-03-01glibc: Enable static PIE support when security_flags are enabledKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-01sdk: generate locale archive and remove packagesRoss Burton
Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-01populate_sdk: install UTF-8 locales in SDKsRoss Burton
As glibc 2.27 can't read older locale-archives, SDKs using glibc 2.27 on hosts using glibc earlier than 2.27 won't be able to find any locales, so bitbake won't start and Python can't use UTF-8. So by default install all locales into the SDK. Special-case Extensible SDKs by installing no locales as they ship glibc in a buildtools, and that will have the locales. Locale installation requires cross-localedef, so add that to DEPENDS. Also remove the explicit en_US addition in buildtools-tarball as it is now redundant. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-01sdk: install specified locales into SDKRoss Burton
Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-01package-manager: add install_glob()Ross Burton
Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-01package_manager: improve install_complementaryRoss Burton
- No need to use bb.utils.which() as subprocess will search $PATH - Clarity flow by moving the install inside the try/except Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-01cross-localedef-native: add way to specify which locale archive to writeRoss Burton
localedef has no way to specify which locale archive to use, and the compile-time default isn't useful as it points to the work directory. Add support to read an environmental variable for the path, and don't fail to write a new locale archive. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-01glibc: relocate locale paths in nativesdkRoss Burton
nativesdk is built with a specific prefix but this will be different at install time, however glibc hard-codes the path to locale files. Expand these strings to 4K and move them to a magic segment which we can relocate when the SDK is installed. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-01glibc: don't use host locales in nativesdkRoss Burton
Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-01default-distrovars: don't rename locales for nativesdkRoss Burton
Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-01glibc: Upgrade to 2.27 releaseRoss Burton
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-01dbus-test_1.12.2: various fixesJuro Bystricky
The result of running dbus-test-ptest was a series of various segfaults, interpreted as FAILs. This was a direct consequence of the test suite loading the installed shared library libdbus-1.so, not the one built along the test suite. While we normally want to test against the installed libraries, we cannot do this in this case as the test suite expects a library that is configured/compiled differently from the installed one. We could configure the installed library identically as the test suite expects, (and there should be no issues), however this is not desirable for performance reasons. Hence we need to use the library built along with the test suite. Of course, running the test suite against its own library does not test the installed library, however they are both built from the same sources so that can give us some kind of indication. The following changes were made: 1. Configure the test library as close as possible to the installed one, with some additional configuration options that are needed for testing. (Use dbus_1.12.2.bb recipe as a template) 2. Include the shared libraries in the package, use LD_LIBRARY_PATH during testing to load them instead of the installed ones. 3. Add a few more tests. (There are still some additional tests built that are not used, but they would have to be special-cased). 4. When evaluating the test results, differentiate between "FAIL" and "SKIP" [YOCTO #10841] [YOCTO #12277] (From OE-Core rev: 5d148aa9c3c338fabab1e60e2ca64d09c9b8477f) Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-01package.bbclass: fetch PRIVATE_LIBS twice as we iterate twiceRoss Burton
The shlibs detection/handling iterates the package list twice, but PRIVATE_LIBS is only fetched in the first loop which means the second loop only considers the value set. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-01meta-world-pkgdata: This recipe is machine specific, mark as suchRichard Purdie
The recipe depends on many machine specific tasks and should be marked as machine specific itself. This fixes signature tests after some dependency issues were fixed at the bitbake level which exposed that issue. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-01devtool: search: tweak help textPaul Eggleton
* We now match on more than just target recipes, so don't specify that only target recipes are searched. * We're printing the SUMMARY value in addition to the name, so mention that so it's clear where that text is coming from. * Remind users that they should use quotes around the keyword to avoid shell expansion when using regular expressions. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-01devtool: search: also look in recipe cachePaul Eggleton
If pkgdata isn't present or is incomplete, then you get either a traceback or you don't see the results you were hoping for. The recipe cache that bitbake collects during startup contains some useful information for each recipe that we could search through as well, and we can access it easily using tinfoil's all_recipes() API function, so add some code that does that. (We still show a warning if pkgdata isn't present, as there are certain dynamic packages that are generated at packaging time that won't show up in the cache). One side-effect of this is that we will start showing non-target recipes - that's actually a good thing, since seeing those is useful, however we exclude nativesdk recipes when in the eSDK to avoid confusion since nativesdk isn't directly applicable there. Fixes [YOCTO #12356]. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-01lib/oe/recipeutils: add .txz extension to archive listPaul Eggleton
Prompted by bitbake commit 2ba8a6b25ccc12e7b543e8450121e5311c7a701d, add .txz to the list of archives used within get_recipe_local_files() here as well. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-01devtool: deploy-target: don't specify ssh/scp port unless user doesPaul Eggleton
If the user doesn't specify a port then we should avoid specifying one on the ssh/scp command line in case the user has configured one for the host they are connecting to, which was being overridden unnecessarily. Fixes [YOCTO #12381]. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-01devtool: finish: fix erroneously creating bbappend for relative pathsPaul Eggleton
After OE-Core rev 5e3fe00a0233d563781849a44f53885b4e924a9c we call os.path.abspath() on the original layer path, but we later compare that to the destination layer path. If that layer path isn't absolute but is effectively the same path, it should be writing to the original recipe but because we weren't making it absolute we were writing a bbappend instead. Call os.path.abspath() on the destination path as well to avoid that. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-01devtool: reset: delete bbappend file if _check_preserve() doesn'tPaul Eggleton
If the .devtool_md5 file doesn't contain a reference to the bbappend file (e.g. because devtool was interrupted before it could write that out) then _check_preserve() won't delete it, so we need to delete it separately because otherwise the recipe won't actually be reset. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-01devtool: fix poor handling of upgraded BBCLASSEXTENDed recipesPaul Eggleton
Fix two aspects of handling BBCLASSEXTENDed targets (e.g. openssl-native) that have been run through "devtool upgrade": * Fix recipe name not showing up in "devtool status" * Fix "devtool reset" not deleting empty directories under the recipe directory within the workspace, which may lead to problems if you subsequently run "devtool upgrade" on the same target again Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-01lib/oe/path: implement is_path_parent()Paul Eggleton
In a few places we have checks to see path B is the parent of path A, by adding / to the end of the path B and then seeing if path A starts with the suffixed path B. Unfortunately there are two potential flaws: (1) path A needs to be suffixed with / as well or the directory itself won't match (semantics perhaps, but in a lot of scenarios returning True is correct); (2) you need to run os.path.abspath() on both paths first or you will wrongly return False for some relative paths where you should return True. Let's solve this once and for all by writing a function that takes care of these and put it in oe.path. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>