summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFiles
2017-08-31linux-yocto/4.12: update to v4.12.10Bruce Ashfield3
Updating to the korg -stable release with the following commit summary: 6371f030c4dc Linux 4.12.10 849e96758ab2 powerpc/mm: Ensure cpumask update is ordered 53220a20cec0 ACPI: EC: Fix regression related to wrong ECDT initialization order 6e80b88a7f7d ACPI: APD: Fix HID for Hisilicon Hip07/08 49fa8c02e4a6 ntb: transport shouldn't disable link due to bogus values in SPADs ab75f0274d34 ntb: ntb_test: ensure the link is up before trying to configure the mws 03e58884668e Clarify (and fix) MAX_LFS_FILESIZE macros 0b9a3f300f89 iommu: Fix wrong freeing of iommu_device->dev 75005bf89ad7 staging: rtl8188eu: add RNX-N150NUB support 91628e2afc86 iio: magnetometer: st_magn: remove ihl property for LSM303AGR e59c095c11af iio: magnetometer: st_magn: fix status register address for LSM303AGR fc7957b6cdd7 iio: hid-sensor-trigger: Fix the race with user space powering up sensors a1d7b7e7e116 iio: imu: adis16480: Fix acceleration scale factor for adis16480 bf9b9d3b382b ANDROID: binder: fix proc->tsk check. f6fc60d91549 binder: Use wake up hint for synchronous transactions. 7771e3f4b0b9 binder: use group leader instead of open thread 62ccb816aab8 Revert "android: binder: Sanity check at binder ioctl" b42c44ade798 Bluetooth: bnep: fix possible might sleep error in bnep_session b741896229c1 Bluetooth: cmtp: fix possible might sleep error in cmtp_session e792d2d48928 Bluetooth: hidp: fix possible might sleep error in hidp_session_thread 1eb33a1b89e1 netfilter: nfnetlink: Improve input length sanitization in nfnetlink_rcv 8b5041077024 netfilter: nat: fix src map lookup f5263887165a netfilter: expect: fix crash when putting uninited expectation 4909a7b79965 net: sunrpc: svcsock: fix NULL-pointer exception a8da876c1e45 x86/mm: Fix use-after-free of ldt_struct 2e11eedec6f0 timers: Fix excessive granularity of new timers after a nohz idle 2c0dc7f00e19 perf/core: Fix group {cpu,task} validation aa2da6c4d548 ftrace: Check for null ret_stack on profile function graph entry function 1b8ca8851c25 virtio_pci: fix cpu affinity support 78f2e29f27f1 ring-buffer: Have ring_buffer_alloc_read_page() return error on offline CPU 8d4f126c0791 nfsd: Limit end of page list when decoding NFSv4 WRITE ea5745a5117f cifs: return ENAMETOOLONG for overlong names in cifs_open()/cifs_lookup() 1bc1c4391b79 cifs: Fix df output for users with quota limits 3b278d7e8945 kbuild: linker script do not match C names unless LD_DEAD_CODE_DATA_ELIMINATION is configured 51f49383a924 RDMA/uverbs: Initialize cq_context appropriately 53a38dfbb5e4 tracing: Fix freeing of filter in create_filter() when set_str is false 983ba8148e18 tracing: Fix kmemleak in tracing_map_array_free() a23e782823d6 tracing: Missing error code in tracer_alloc_buffers() 3888c3aeb6bc tracing: Call clear_boot_tracer() at lateinit_sync 1344db83ee17 ACPI: device property: Fix node lookup in acpi_graph_get_child_prop_value() dbe5b2d70cfd Revert "drm/amdgpu: fix vblank_time when displays are off" 4ac9a5daaf82 drm/i915/gvt: Fix the kernel null pointer error bbb04b377f85 drm/i915/vbt: ignore extraneous child devices for a port d76df456a313 drm/atomic: If the atomic check fails, return its value first 247122f138c0 drm/atomic: Handle -EDEADLK with out-fences correctly d4ae641cc285 drm/sun4i: Implement drm_driver lastclose to restore fbdev console 08353913312a drm: Release driver tracking before making the object available again b96c15655125 drm: Fix framebuffer leak 865d89f80907 arm64: fpsimd: Prevent registers leaking across exec 1c229d7ad7b9 mm/memblock.c: reversed logic in memblock_discard() f5024bb32d4d fork: fix incorrect fput of ->exe_file causing use-after-free 4823f4630bfd mm/madvise.c: fix freeing of locked page with MADV_FREE c237efed8b35 i2c: designware: Fix system suspend 3a9495fd3719 dax: fix deadlock due to misaligned PMD faults 735a252fc5b8 mm, shmem: fix handling /sys/kernel/mm/transparent_hugepage/shmem_enabled b2719637b16e PM/hibernate: touch NMI watchdog when creating snapshot 8b366972d7d4 ARCv2: PAE40: set MSB even if !CONFIG_ARC_HAS_PAE40 but PAE exists in SoC fcedf2f28570 ARCv2: PAE40: Explicitly set MSB counterpart of SLC region ops addresses 763ad31728e8 ARCv2: SLC: Make sure busy bit is set properly for region ops 8537b1e0ff7f ALSA: firewire-motu: destroy stream data surely at failure of card initialization 59d000610dc3 ALSA: firewire: fix NULL pointer dereference when releasing uninitialized data of iso-resource 2f45c61ba400 ALSA: hda - Add stereo mic quirk for Lenovo G50-70 (17aa:3978) ba6b08b62f0c ALSA: core: Fix unexpected error at replacing user TLV 1157dcda136a ALSA: usb-audio: Add delay quirk for H650e/Jabra 550a USB headsets 2f76f62aef90 KVM: x86: block guest protection keys unless the host has them enabled 3c498d4bde88 KVM, pkeys: do not use PKRU value in vcpu->arch.guest_fpu.state d0e52c825f00 KVM: x86: simplify handling of PKRU 6dc06cd600d0 KVM: s390: sthyi: fix specification exception detection e516834ae81b KVM: s390: sthyi: fix sthyi inline assembly ddae9e6ec5d5 Input: ALPS - fix two-finger scroll breakage in right side on ALPS touchpad 8dcee8e81a0e Input: elan_i2c - add ELAN0602 ACPI ID to support Lenovo Yoga310 38c36f9d1fca Input: trackpoint - add new trackpoint firmware ID c9c682f3f029 bpf/verifier: fix min/max handling in BPF_SUB eb6cf01cd6b7 bpf: fix mixed signed/unsigned derived min/max value bounds 659ee9687a11 bpf, verifier: add additional patterns to evaluate_reg_imm_alu d8a4ae09809a net_sched: fix order of queue length updates in qdisc_replace() 09e1d36d0289 net: sched: fix NULL pointer dereference when action calls some targets f4e4a2969919 irda: do not leak initialized list.dev to userspace 754df4da61d1 net/mlx4_core: Enable 4K UAR if SRIOV module parameter is not enabled 2d093adfb109 tcp: when rearming RTO, if RTO time is in past then fire RTO ASAP 7bbc60d9c916 ipv6: repair fib6 tree in failure case 368129fe14f6 ipv6: reset fn->rr_ptr when replacing route c549de482f89 tipc: fix use-after-free 62b3580fc3f0 sctp: fully initialize the IPv6 address in sctp_v6_to_addr() dda844773c47 tun: handle register_netdevice() failures properly 3c3181e17b35 nfp: fix infinite loop on umapping cleanup 9c579acf6522 ipv4: better IP_MAX_MTU enforcement 12ee6d75d6a1 ptr_ring: use kmalloc_array() cb445bfc1041 openvswitch: fix skb_panic due to the incorrect actions attrlen c6fc7b9892a5 net: igmp: Use ingress interface rather than vrf device 921739a95d4f bpf: fix bpf_trace_printk on 32 bit archs 99f635d1e70d net_sched: remove warning from qdisc_hash_add cf665a603368 net_sched/sfq: update hierarchical backlog when drop packet 163db2c61aa1 ipv4: fix NULL dereference in free_fib_info_rcu() f1d055463980 dccp: defer ccid_hc_tx_delete() at dismantle time a8de69b93e86 dccp: purge write queue in dccp_destroy_sock() 94fd355614e3 af_key: do not use GFP_KERNEL in atomic contexts 729420142979 bonding: ratelimit failed speed/duplex update warning b39ae1c8bdc4 bonding: require speed/duplex only for 802.3ad, alb and tlb 16caf8dff7ee sparc64: remove unnecessary log message e0e7ae96b723 Linux 4.12.9 3f40666fff96 usb: qmi_wwan: add D-Link DWM-222 device ID e2322bcce288 usb: optimize acpi companion search for usb port devices 6632ae821b59 debug: Fix WARN_ON_ONCE() for modules c170b7930db3 pids: make task_tgid_nr_ns() safe e950adf8983f Sanitize 'move_pages()' permission checks 7cbc3a8aaaa3 kernel/watchdog: Prevent false positives with turbo modes ee7025fef78c genirq/ipi: Fixup checks against nr_cpu_ids 8eee5da54afe genirq: Restore trigger settings in irq_modify_status() 399193e8ef2d irqchip/atmel-aic: Fix unbalanced refcount in aic_common_rtc_irq_fixup() 2eceab663b9d irqchip/atmel-aic: Fix unbalanced of_node_put() in aic_common_irq_fixup() c4ab73ef2cfc x86/elf: Remove the unnecessary ADDR_NO_RANDOMIZE checks 932769e10de9 x86: Fix norandmaps/ADDR_NO_RANDOMIZE c588e0cb269d x86/asm/64: Clear AC on NMI entries 44e9d5afcec3 perf/x86: Fix RDPMC vs. mm_struct tracking 33f1d0c79b04 xen-blkfront: use a right index when checking requests bd876f33dbeb powerpc: Fix VSX enabling/flushing to also test MSR_FP and MSR_VEC a77b5b81ad59 blk-mq-pci: add a fallback when pci_irq_get_affinity returns NULL e88bdec3ff7c ARM: dts: imx6qdl-nitrogen6_som2: fix PCIe reset c1cee6062ac9 xen: fix bio vec merging aab425db4279 mm: revert x86_64 and arm64 ELF_ET_DYN_BASE base changes 8ac8e1d2a254 mm/vmalloc.c: don't unconditonally use __GFP_HIGHMEM 6b2676ed32ba mm/mempolicy: fix use after free when calling get_mempolicy 8b53b7560a8b mm/cma_debug.c: fix stack corruption due to sprintf usage 76e8fe02bf50 mm: fix double mmap_sem unlock on MMF_UNSTABLE enforced SIGBUS 889a17078f25 slub: fix per memcg cache leak on css offline 4d45f00b927c mm: discard memblock data later c24138794d14 ALSA: usb-audio: add DSD support for new Amanero PID c482b084491b ALSA: usb-audio: Add mute TLV for playback volumes on C-Media devices b33fcbb01b3a ALSA: usb-audio: Apply sample rate quirk to Sennheiser headset 8f05296965d8 ALSA: seq: 2nd attempt at fixing race creating a queue 6a280cd12306 MD: not clear ->safemode for external metadata array 7987c4066cbb md: always clear ->safemode when md_check_recovery gets the mddev lock. febaf83252f2 md: fix test in md_write_start() 5f46f337bdeb Input: elan_i2c - Add antoher Lenovo ACPI ID for upcoming Lenovo NB 04d0645d62a5 Input: elan_i2c - add ELAN0608 to the ACPI table b5e042f90f1f drm/amdgpu: save list length when fence is signaled 2149506faff1 drm/i915: Perform an invalidate prior to executing golden renderstate aac1a12cc700 crypto: x86/sha1 - Fix reads beyond the number of blocks passed f1615538cd1c crypto: ixp4xx - Fix error handling path in 'aead_perform()' 0a76684da5c2 parisc: pci memory bar assignment fails with 64bit kernels on dino/cujo dfaf892df105 audit: Fix use after free in audit_remove_watch_rule() a0fb6543b40f Linux 4.12.8 1d4efdd222c4 powerpc: Fix /proc/cpuinfo revision for POWER9 DD2 d40a54500008 MIPS: Octeon: Fix broken EDAC driver. bc60edb6aa3f Revert "MIPS: Don't unnecessarily include kmalloc.h into <asm/cache.h>." 0a5a16f6cefd MIPS: DEC: Fix an int-handler.S CPU_DADDI_WORKAROUNDS regression 888986477133 pinctrl: meson-gxl: Add missing GPIODV_18 pin entry d7b28b4cae66 pinctrl: meson-gxbb: Add missing GPIODV_18 pin entry 155407bbf9f2 pinctrl: samsung: Remove bogus irq_[un]mask from resource management 21d22dffc344 pinctrl: uniphier: fix WARN_ON() of pingroups dump on LD20 338ac5dd59b9 pinctrl: uniphier: fix WARN_ON() of pingroups dump on LD11 be9f65893e3b pinctrl: intel: merrifield: Correct UART pin lists 5fa72b4b746a pinctrl: sunxi: add a missing function of A10/A20 pinctrl driver c75a48eed01f pinctrl: cherryview: Add Setzer models to the Chromebook DMI quirk cc7f330bed71 pnfs/blocklayout: require 64-bit sector_t e8a1edad18fa iio: adc: vf610_adc: Fix VALT selection value for REFSEL bits 0e1f0eaed6c2 xhci: Reset Renesas uPD72020x USB controller for 32-bit DMA issue ea9647cf87f5 PCI: Add pci_reset_function_locked() c71305e6854d PCI: Remove __pci_dev_reset() and pci_dev_reset() 31e71939a4dd PCI: Protect pci_error_handlers->reset_notify() usage with device_lock() b23ef7b8dd7e usb:xhci:Add quirk for Certain failing HP keyboard on reset after resume 73e7a2dca9cc usb: quirks: Add no-lpm quirk for Moshi USB to Ethernet Adapter 488f4d8048e2 usb: core: unlink urbs from the tail of the endpoint's urb_list 7ff799af2c21 USB: Check for dropped connection before switching to full speed c45923eb9413 usb: renesas_usbhs: Fix UGCTRL2 value for R-Car Gen3 f5324020bcef usb: gadget: udc: renesas_usb3: Fix usb_gadget_giveback_request() calling 7926348676f5 block: Make blk_mq_delay_kick_requeue_list() rerun the queue at a quiet time 67e1a98e3a74 firmware: avoid invalid fallback aborts by using killable wait b1b5c0b23a90 firmware: fix batched requests - send wake up on failure on direct lookups c2c32ed5e6bf firmware: fix batched requests - wake all waiters f0834df3d97e uas: Add US_FL_IGNORE_RESIDUE for Initio Corporation INIC-3069 c208cb9a5596 staging: comedi: comedi_fops: do not call blocking ops when !TASK_RUNNING 20035abc9e08 iio: adc: Revert "axp288: Drop bogus AXP288_ADC_TS_PIN_CTRL register modifications" c1164cc258bc iio: light: tsl2563: use correct event code 39e07a5c112c iio: pressure: st_pressure_core: disable multiread by default for LPS22HB 8886738d06fa iio: accel: bmc150: Always restore device to normal mode after suspend-resume 3fdd0854800e iio: accel: st_accel: add SPI-3wire support 5f26ebe1afdc iio: aspeed-adc: wait for initial sequence. f0ab97d1aa14 staging:iio:resolver:ad2s1210 fix negative IIO_ANGL_VEL read 9ccd63a6fdbd USB: hcd: Mark secondary HCD as dead if the primary one died 792c00cb2377 usb: musb: fix tx fifo flush handling again ab51515ece30 USB: serial: pl2303: add new ATEN device id 492eb6125c83 USB: serial: cp210x: add support for Qivicon USB ZigBee dongle b576de1e12c9 USB: serial: option: add D-Link DWM-222 device ID 59f1322cc1e5 drm/i915: Fix out-of-bounds array access in bdw_load_gamma_lut 4eedc8a7f03b drm/etnaviv: Fix off-by-one error in reloc checking 8f0f15cc167d drm/bridge: tc358767: fix probe without attached output node 1cc5cd5b97b5 nfs/flexfiles: fix leak of nfs4_ff_ds_version arrays 8d189f60407f mmc: mmc: correct the logic for setting HS400ES signal voltage 3329fe0e05f8 nand: fix wrong default oob layout for small pages using soft ecc 1f2f0f1a75bd i2c: designware: Some broken DSTDs use 1MiHz instead of 1MHz cfea0422a154 fuse: initialize the flock flag in fuse_file on allocation 59c74236092d target: Fix node_acl demo-mode + uncached dynamic shutdown regression 7b0d44e25fdb usb-storage: fix deadlock involving host lock and scsi_done 428048128bf0 iscsi-target: Fix iscsi_np reset hung task during parallel delete f838bd1752be iscsi-target: fix memory leak in iscsit_setup_text_cmd() a0e1953e0310 mtd: nand: Declare tBERS, tR and tPROG as u64 to avoid integer overflow 867c07788e97 mtd: nand: Fix timing setup for NANDs that do not support SET FEATURES a34d48d5ca47 mtd: nand: atmel: Fix DT backward compatibility in pmecc.c 0eda7e0bf238 pinctrl: armada-37xx: Fix number of pin in south bridge 8452494828f7 xfs: Fix leak of discard bio 0af6995672cb xtensa: don't limit csum_partial export by CONFIG_NET 094849d602a0 xtensa: mm/cache: add missing EXPORT_SYMBOLs 5e96389b3adc xtensa: fix cache aliasing handling code for WT cache 5c1d458de22b futex: Remove unnecessary warning from get_futex_key 5f064f8a0d4b mm: fix list corruptions on shmem shrinklist 10df347170c3 mm: ratelimit PFNs busy info message Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2017-08-31linux-yocto/4.12: silence qeumarma9 config warningsBruce Ashfield3
When building the qemuarma9 BSP, we get the following warnings: ---------- CONFIG_VGA_CONSOLE ----------------- Config: CONFIG_VGA_CONSOLE From: tmp/work-shared/qemuarma9/kernel-source/.kernel-meta/configs/standard/arm-versatile-926ejs/bsp/qemuarma9/qemuarma9.cfg Requested value: # CONFIG_VGA_CONSOLE is not set Actual value: ---------- CONFIG_USB_ISP1760_HCD ----------------- Config: CONFIG_USB_ISP1760_HCD From: tmp/work-shared/qemuarma9/kernel-source/.kernel-meta/configs/standard/arm-versatile-926ejs/bsp/qemuarma9/qemuarma9.cfg Requested value: CONFIG_USB_ISP1760_HCD=y Actual value: Both of these options no longer need to be in the BSP fragments for qemuarma9, we fix them with these meta data changes: a2edeff915b9 qemuarma9: remove USB_ISP1760_HCD 5f76e8f64fa5 qemuarma9: drop VGA console disable Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2017-08-31linux-yocto/4.10/4.9: fix BRCMFMAC_PROTO_MSGBUF warningBruce Ashfield6
The 4.10 and 4.9 kernels need a fix applied to 4.12 to deal with a configuration warning: Author: Bruce Ashfield <bruce.ashfield@windriver.com> Date: Fri Aug 18 17:03:27 2017 -0400 wifi: drop BRCMFMAC_PROTO_MSGBUF, since it is selected Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2017-08-31linux-yocto/4.12: fix yaffs2 buildBruce Ashfield3
Yaffs2 needs some tweaks to build against the 4.12 kernel, we import the following two commits: 084d8ae2f349 fs: yaffs2: includes the missing header file 595f7d1759d9 fs: yaffs2: replace CURRENT_TIME by other appropriate apis Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2017-08-31linux-yocto/4.10: fix aufs buildBruce Ashfield3
The aufs patches were out of sync with the latest upstream and hence didn't build against 4.10. With this update, we are once again building and up to date with the upstream repo. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2017-08-31selftest/prservice: Adapt to BB_SERVER_TIMEOUTRichard Purdie1
In the memory resident mode, the user may not see a message about the server starting, it would be in the cookerdeamon logfile. We don't need this to test the server is functioning correctly so just drop the test. Add in an extra check that the file we expected to be created was created when exporting PR values. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-31waffle: fix REQUIRED_DISTRO_FEATURES and PACKAGECONFIG virtual/libgl ↵Leonardo Sandoval1
dependencies Waffle's REQUIRED_DISTRO_FEATURES statement looks into DEPENDS and if virtual/libgl is present, it includes opengl as distro feature. However, in a multilib environment, recipes provides virtual/${MLPREFIX}libgl, thus waffle recipe needs to include the prefix. Also PACKAGECONFIG statements need this change in order to properly include the libgl dependency. The way this error showed up was in a multilib environment and a distro not containing opengl, i.e. nodistro, leading the following error when building world -S none (because opengl was not included as required distro feature): ERROR: Nothing PROVIDES 'virtual/lib32-libgl' (but virtual:multilib:lib32:/meta/recipes-graphics/waffle/waffle_1.5.2.bb DEPENDS on or otherwise requires it). Close matches: virtual/lib32-libsdl virtual/lib32-libc virtual/lib32-libsdl2 ERROR: Required build target 'lib32-meta-world-pkgdata' has no buildable providers. Missing or unbuildable dependency chain was: ['lib32-meta-world-pkgdata', 'meta-world-pkgdata', 'lib32-waffle', 'virtual/lib32-libgl'] Summary: There were 2 ERROR messages shown, returning a non-zero exit code. [YOCTO #10900] Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-31classes/license: drop erroneous sha256 parameter in LIC_FILES_CHKSUMPaul Eggleton1
In OE-Core commit a48fea275b08ff3d3dfc9a928aeb04768db35873, a check on the value of a "sha256" parameter was added, however there was no mention of this in the commit message and no corresponding code to actually verify the checksum as sha256 was added along with it either, so there's no point in getting the value. Additionally it was assuming that a sha256 value would be present without checking first, with the result that if you leave out the md5 value in a recipe intentionally in order to get it to tell you the correct value on the next build, you got a traceback instead of the appropriate error containing the information. Drop this entirely - if we want to implement this we need to do it properly. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-31ca-certificates: update to 20170717Alexander Kanavin1
This is actually the same version as previously; upstream didn't have a tag for it before and now it does, so we can reduce confusion. The SRCREV change is due to a few added commits which modify upstream's debian packaging (not used by us). Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-08-31musl: Update to latestKhem Raj1
Alexander Monakov (1): __init_libc: add fallbacks for __progname setup Daniel Sabogal (1): fix signed overflow in ftok Rich Felker (4): fix unsynchronized access to FILE structure in fflush(0) fix undefined behavior in memset due to missing sequence points add powerpc64 and s390x to list of supported archs in INSTALL file move IPPORT_RESERVED from netdb.h to netinet/in.h Szabolcs Nagy (2): fix mips ioctl macros to match linux asm/sockios.h add SIOCGSTAMPNS socket ioctl macro to ioctl.h Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-08-31openssl10: set right target for ilp32 buildVishal Bhoj1
Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-08-31scriptutils: fix fetch_url() to use lowercase dummy recipe namePaul Eggleton1
recipetool create (and hence devtool add) and devtool upgrade use fetch_url() which creates a dummy recipe in order to fetch source. Previously the random part of the name was using uppercase characters, and this triggers a QA warning after OE-Core commit 4713f8b2c4f2c74239d284adcf1e59e61aa66576, so use lowercase instead as I really should have in the first place. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-31oe-selftest: tinfoil: add a test for variable historyPaul Eggleton1
I recently found that variable history wasn't working properly for recipes when we enable history tracking, resulting in minor functionality loss in devtool upgrade, so add a test to ensure this doesn't regress now that it's fixed. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-31recipetool: create: detect Eclipse licensesPaul Eggleton1
Add detection of EPL 1.0 and EDL 1.0 license files. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-31recipetool: create: suppress npm shrinkwrap/lockdown warnings againPaul Eggleton1
Since OE-Core revision 9a47a6690052ef943c0d4760630ee630fb012153 the mechanism we were using to suppress the warnings about NPM_LOCKDOWN and NPM_SHRINKWRAP not being set on the first fetch of the source is no longer available since we are using the normal fetch/unpack tasks to do the job. Use the newly added noverify parameter to suppress the warnings again. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-31recipetool: create: fix SRCPV prefix for non-git SCMsPaul Eggleton1
If you're fetching from an SCM other than git (for example subversion or mercurial) then we need to use a different prefix for the SRCPV in PV instead of +git. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-31recipetool: create: make recently added branch/tag handling git specificPaul Eggleton1
The branch and tag handling code that was recently added in OE-Core revs ecca596b75cfda2f798a0bdde75f4f774e23a95b and 3afdcbdc9a3e65bc925ec61717784ffec67d529d is specific to git, so only apply it when we're fetching from a git URL. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-31devtool: add: add explicit srcrev/branch optionsPaul Eggleton2
At the moment when fetching source from a git repository you have to know that you can specify the revision and branch in the URL with ';rev=' and ';branch=' respectively, and you can also get thrown off by the shell splitting on the ; character if you forget to surround the URL in quotes. Add explicit -S/--srcrev and -B/--srcbranch options (consistent with devtool upgrade) to make this easier for the user to discover and use. (The rev and branch URL parameters will continue to work, however.) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-31oe-selftest: devtool: test find-recipe and edit-recipePaul Eggleton1
We weren't testing the devtool find-recipe and edit-recipe subcommands, with the result that when they regressed recently we didn't notice. Add some code into the test_devtool_add to test this (since we need a recipe in the workspace, and adding a new test with all that preamble would seem a bit excessive for these simple checks). Also take the opportunity to refactor the test a little bit so that the recipe name and version are variables rather than hardcoding them everywhere. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-31devtool: edit-recipe: fix regressionPaul Eggleton1
OE-Core commit 5a16b3c804c5eca331a1c08a7ce31a54909af105 attempted to use the same function to get the path to a recipe as the new "find-recipe" command it implemented, except that cannot work because (a) it didn't return anything and (b) event if it had tried, a command function can only return an exit code and we don't want that for find-recipe if it succeeded. Split out a separate reusable function for both commands. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-31devtool: upgrade: workaround for recipes which apply patches conditional ↵Paul Eggleton2
upon class If we're upgrading a recipe that appends additional patches for, say, class-native, and we're just upgrading the target variant, then when we copied the recipe into the workspace we skipped copying the additional patches for the native variant. This caused warnings because the workspace recipe is preferred. Look at SRC_URI for all variants when copying files to work around this. More work is needed to make it easier to work with recipes that use BBCLASSEXTEND where you need to build more than one variant at once, but this at least fixes the immediate ugliness. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-31devtool: upgrade: fix handling of non-absolute pathsPaul Eggleton2
If your BBLAYERS has non-absolute paths in it (e.g. "${COREBASE}/../something") then none of the paths matched in copy_recipe_files() with the result that no files got copied and you ended up with an error later on because the recipe file couldn't be found at the destination. Fix this as well as adding an explicit check to see if no files got copied - error out earlier if so. Fixes [YOCTO #10981]. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-31devtool: update-recipe: ensure patches get deleted in srcrev modePaul Eggleton1
Patches that we identify as having been "deleted" (i.e. patches in SRC_URI that no longer appear in the git tree) need to be dropped even if we're updating in srcrev mode. This fixes the case where HEAD of the git tree is valid upstream (i.e. no extra commits), but there are patches left over in the recipe, e.g. when we do devtool upgrade and then all of the commits rebased on top of the new branch get skipped. Fixes [YOCTO #11972]. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-30image_types.bbclass: improve reproducibility of .gz filesJuro Bystricky1
When compressing with "gzip", do not save the time stamp in the compressed file metadata. Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-30qemuboot.bbclass: create deterministic qemuboot.conf fileJuro Bystricky1
The lines in qemuboot.conf are in random order. This patch fixes this by printing the lines in sorted order. This makes it easier to compare two different builds for any differences. Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-30eudev_3.2.2: improve reproducibilityJuro Bystricky1
Remove all host build references from the eudev-dbg package Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-30diffutils_3.6.bb: remove build host referencesJuro Bystricky1
Remove build host references from diffutils-ptest package. Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-30package_manager.py: improve reproducibilityJuro Bystricky1
When creating Packages.gz, do not save the time stamp in the compressed file metadata. Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-30bash.inc: improve reproducibilityJuro Bystricky1
Remove all host build references from the following bash packages: bash-ptest, bash-bashbug, bash-dev, bash-loadable. [YOCTO #11918] Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-30flex_2.6.0.bb: remove build host referencesJuro Bystricky1
Remove build host references from flex-ptest package. [YOCTO #11667] Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-30zlib_1.2.11.bb: remove build host referencesJuro Bystricky1
Remove build host references from libz-ptest package. [YOCTO #11668] Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-30lsof: remove host information from version.hLi Wang2
lsof -v would show some information for host. Clean up these from version.h. Signed-off-by: Li Wang <li.wang@windriver.com> Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-30bitbake.conf: add definition for BUILDSDK_CXXFLAGSChang Rebecca Swee Fun1
${BUILDSDK_CXXFLAGS} was introduced since commit 55c83cb239df5faf5e2143fffca47f2f16931cb3 cross.bbclass: override TARGET_* flags bitbake.conf has definitions for both ${BUILDSDK_CPPFLAGS} and ${BUILDSDK_CFLAGS} but there is none for ${BUILDSDK_CXXFLAGS}. This was a regression as in the past, CXXFLAGS is the same as CFLAGS in SDK environment. Adding definition for ${BUILDSDK_CXXFLAGS} will resolve CXXFLAGS being set wrongly in SDK environment. [YOCTO #11769] Signed-off-by: Chang Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-30libpcre2: Fix CVE-2017-7186Robert Yang2
A fuzz on libpcre1 through the pcretest utility revealed an invalid read in the library. For who is interested in a detailed description of the bug, will follow a feedback from upstream: This was a genuine bug in the 32-bit library. Thanks for finding it. The crash was caused by trying to find a Unicode property for a code value greater than 0x10ffff, the Unicode maximum, when running in non-UTF mode (where character values can be up to 0xffffffff). Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-30libpcre2: Fix CVE-2017-8786Robert Yang2
The pcre2test.c in PCRE2 10.23 allows remote attackers to cause a denial of service (heap-based buffer overflow) or possibly have unspecified other impact via a crafted regular expression. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-30initramfs-framework: Change recipe to be allarchOtavio Salvador2
There is no COMPATIBLE_HOST in the recipe neither it makes sense for this to be machine specific. Possibly, initramfs-framework's based modules may be machine specific but if there is the case they can just RDEPENDS on initramfs-framework-base and provide the specific module as another recipe. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-30bluez5: cosmetic fixes to bluetooth bootscriptJavier Viguera1
Fix booting messages wrapped over two different lines: Starting bluetooth bluetoothd Stopping bluetooth /usr/libexec/bluetooth/bluetoothd Also reworked whitespace (removed some empty lines). Signed-off-by: Javier Viguera <javier.viguera@digi.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-30(PRE)MIRRORS: fix pattern for npm:// without slashOlaf Mandel2
For URIs with the npm:// transport but with no other slash in it, the common MIRRORS and PREMIRRORS pattern of npm://.*/.* fails to match. Make the last slash in the pattern optional in the mirros.bbclass and own-mirrors.bbclass classes. Many URIs with the npm:// transport have no slash after the host part: npm://registry.npmjs.org;name=foo;version=0.1.2 This means that MIRRORS and PREMIRRORS containing entries like the first one will not match these URIs: npm://.*/.* # fails to match npm://.*/?.* # matches this and URIs with path components For normal regular expressions, a pattern like 'npm://.*(/.*)?' would probably be preferred, but that won't work here: the pattern gets split into the substrings 'npm', '.*(' and '/.*)?', which are not valid regular expressions individually. Signed-off-by: Olaf Mandel <o.mandel@menlosystems.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-30xserver-xorg: Enable xwayland only with openglJussi Kukkonen1
This is a bit academic as building with wayland without opengl should be uncommon: still, libepoxy needs opengl so we shouldn't depend on it without opengl. Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-30vulkan: rrecommended drivers unconditionallyJussi Kukkonen1
mesa can now build vulkan drivers without opengl: remove workaround. Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-30mesa: Support building without openglJussi Kukkonen3
mesa can build certain things without opengl: most importantly vulkan drivers. Add comments on the dependencies between the packageconfigs. Also add a few dependencies to packageconfigs. Modify default packageconfig to do the reasonable thing based on distro features. Add a backported patch to fix the build with --disable-opengl. Fix do_install_append() so it works even if dri drivers are not built. Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-30signing-keys: do not use DISTRO_VERSION in key namesAlexander Kanavin2
DISTRO_VERSION may contain the current date, and so is prone to mismatches particularly when keys are created on one date, and dnf is configured to use the keys on another date. [YOCTO #11983] Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-30subversion: inherit pkgconfig, so that serf can be foundAlexander Kanavin1
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-30pciutils: inherit pkgconfig so that libkmod can be foundAlexander Kanavin1
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-30gtk+3: remove superfluous vardepsexcludeStefan Müller-Klieser1
This seems to be a leftover from the recipe sysroot transition. Remove it, as it might mask configuration errors. Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-29scripts/runqemu: Don't print error messages about tap file locksRichard Purdie1
Errors like: runqemu - ERROR - Acquiring lockfile /tmp/qemu-tap-locks/tap0.lock failed: [Errno 11] Resource temporarily unavailable are not really fatal errors. Change these to info messages instead so people look later in the log for the real errors. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-29qemurunner: Tweak qemu pid starting timeout codeRichard Purdie1
We're seeing timeouts in the autobuilder testing code. Increase these timeouts to 120, print the length of time we're having to wait, change the error messages to really be errors and don't print empty logs, its not helpful, print a message about the empty log instead. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-29libdrm: Upgrade to 2.4.83Otavio Salvador1
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-29watchdog: enable systemd supportKai Kang1
Inherit systemd.bbclass to enable systemd support for watchdog. And fix indentation of do_install_append() as well according to: https://www.openembedded.org/wiki/Styleguide#Format_Guidelines Signed-off-by: Kai Kang <kai.kang@windriver.com>
2017-08-29gettext.bbclass: do not add virtual/gettext to DEPENDSAlexander Kanavin2
gettext has a notoriously slow configuration step, and so in my testing this greatly speeds up building core-image-minimal: from 21m36s to 19m2s (empty sstate and tmp, but pre-populated downloads). I have also built world, and core-image-sato to make sure it doesn't break or modify the build, and there is no difference whatsoever in packages and images content. Target gettext seems not to be used for anything. Also fix up insane.bbclass to remove the corresponding QA check. Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>