Bruce Ashfield [Mon, 18 Nov 2019 03:17:20 +0000 (22:17 -0500)]
linux-yocto/5.2: update to v5.2.23
Updating linux-yocto/5.2 to the latest korg -stable release that comprises
the following commits:
6e5893ab1fe2 Linux 5.2.23 86ac741509b1 kvm: x86: mmu: Recovery of shattered NX large pages c553a0a399c9 kvm: Add helper function for creating VM worker threads f2bf2c447af6 kvm: mmu: ITLB_MULTIHIT mitigation f06ad290c8f0 KVM: x86: make FNAME(fetch) and __direct_map more similar 18b180d7a0f1 kvm: x86, powerpc: do not allow clearing largepages debugfs entry ff893d92a664 Documentation: Add ITLB_MULTIHIT documentation f9adaf5c4457 cpu/speculation: Uninline and export CPU mitigations helpers 0b2c4ab2b97c x86/cpu: Add Tremont to the cpu vulnerability whitelist eaa0b155027e x86/bugs: Add ITLB_MULTIHIT bug infrastructure dccf9a56da2e x86/speculation/taa: Fix printing of TAA_MSG_SMT on IBRS_ALL CPUs 32bd35cc9e6c x86/tsx: Add config options to set tsx=on|off|auto c4ed63015b6a x86/speculation/taa: Add documentation for TSX Async Abort 43e4f038964c x86/tsx: Add "auto" option to the tsx= cmdline parameter 995c701aa712 kvm/x86: Export MDS_NO=0 to guests when TSX is enabled 085db27a9d8a x86/speculation/taa: Add sysfs reporting for TSX Async Abort 0d7366963e51 x86/speculation/taa: Add mitigation for TSX Async Abort 10d64704b2e6 x86/cpu: Add a "tsx=" cmdline option with TSX disabled by default e97aa6c96e2e x86/cpu: Add a helper function x86_read_arch_cap_msr() 817956f7cd90 x86/msr: Add the IA32_TSX_CTRL MSR 4ad18dc35ed7 x86/cpu: Move arch_smt_update() to a neutral place
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Bruce Ashfield [Mon, 11 Nov 2019 03:30:12 +0000 (22:30 -0500)]
linux-yocto/5.2: update to v5.2.22
Updating linux-yocto/5.2 to the latest korg -stable release that comprises
the following commits:
0bea818b6e18 Linux 5.2.22 5f1126e23315 nbd: verify socket is supported during setup 4888496abcfe USB: usblp: fix use-after-free on disconnect 0ba545e8fda8 USB: legousbtower: fix a signedness bug in tower_probe() 4c6f2341bb9f CIFS: Fix use after free of file info structures f9c400068647 scsi: mpt3sas_ctl: fix double-fetch bug in _ctl_ioctl_main() 14c5cace4634 wcd9335: fix a incorrect use of kstrndup() da7b0f2312c9 clk-sunxi: fix a missing-check bug in sunxi_divs_clk_setup() ee72fe755500 cfg80211: wext: avoid copying malformed SSIDs fc86526a556d rtlwifi: Fix potential overflow on P2P code 0ebeef211891 io_uring: only flush workqueues on fileset removal e6a26dac8182 x86/asm: Fix MWAITX C-state hint value 65113f3d3937 mtd: rawnand: au1550nd: Fix au_read_buf16() prototype 31012d874e0c hwmon: Fix HWMON_P_MIN_ALARM mask 3abf2667e95a tracing: Get trace_array reference for available_tracers files be0e6c911005 ftrace: Get a reference counter for the trace_array on filter files a2a980deef30 tracing/hwlat: Don't ignore outer-loop duration when calculating max_latency 225fca30418d tracing/hwlat: Report total time spent in all NMIs during the sample 19b6d82baabe arm64/sve: Fix wrong free for task->thread.sve_state 2473b968eecb media: stkwebcam: fix runtime PM after driver unbind eecc5223277d drm/i915: Mark contents as dirty on a write fault 04887f273e41 drm/i915: Whitelist COMMON_SLICE_CHICKEN2 60624198d203 Fix the locking in dcache_readdir() and friends c5325876ceb9 arm64: topology: Use PPTT to determine if PE is a thread 393cf2726151 ACPI/PPTT: Add support for ACPI 6.3 thread flag daa13a4b0635 RDMA/vmw_pvrdma: Free SRQ only once 6243ecc8cab6 MIPS: elf_hwcap: Export userspace ASEs ae0799a4da1b MIPS: Disable Loongson MMI instructions for kernel build f0f81c9999ab NFS: Fix O_DIRECT accounting of number of bytes read/written 7a80e6581ea9 btrfs: fix uninitialized ret in ref-verify ddf6cef435f0 btrfs: fix incorrect updating of log root tree 1296b41cc1d3 Btrfs: fix memory leak due to concurrent append writes with fiemap 810f5770978a btrfs: fix balance convert to single on 32-bit host CPUs 7816678e3934 btrfs: allocate new inode in NOFS context 74ec5aa2c30a btrfs: relocation: fix use-after-free on dead relocation roots bc1f6ac176a6 firmware: google: increment VPD key_len properly 9fc11ae5dee9 IB/core: Fix wrong iterating on ports fee3c62537ff mm/vmpressure.c: fix a signedness bug in vmpressure_register_event() e3a378783419 mm/page_alloc.c: fix a crash in free_pages_prepare() e4891ccaef9e mm/z3fold.c: claim page in the beginning of free 7831f5a6c097 kernel/sysctl.c: do not override max_threads provided by userspace 44481a12c9bf cifs: use cifsInodeInfo->open_file_lock while iterating to avoid a panic 16ae17c41281 CIFS: Force reval dentry if LOOKUP_REVAL flag is set 2c272ff0cbd5 CIFS: Force revalidate inode when dentry is stale 43273ccd3283 CIFS: Gracefully handle QueryInfo errors during open ca814325c659 selinux: fix context string corruption in convert_context() ad8d7e2a7a26 blk-wbt: fix performance regression in wbt scale_up/scale_down 1b64f52e03de perf inject jit: Fix JIT_CODE_MOVE filename 5cc59bf53d49 perf llvm: Don't access out-of-scope array 7f9ed4c203f0 efivar/ssdt: Don't iterate over EFI vars if no SSDT override was specified 5ef016833bac iio: accel: adxl372: Perform a reset at start up 9f77cc5a7309 iio: accel: adxl372: Fix push to buffers lost samples d3db274a52ef iio: accel: adxl372: Fix/remove limitation for FIFO samples a9ab504bfa61 iio: adc: stm32-adc: fix a race when using several adcs with dma and irq 29166478ab00 iio: adc: stm32-adc: move registers definitions 05505674fad5 iio: adc: axp288: Override TS pin bias current for some models f418fb5e545d iio: adc: ad799x: fix probe error handling dc9b7ddfd0e5 iio: adc: hx711: fix bug in sampling of data 5f711a67527d staging: vt6655: Fix memory leak in vt6655_probe e72f973d2600 staging: rtl8188eu: fix HighestRate check in odm_ARFBRefresh_8188E() 34a95338fd57 Staging: fbtft: fix memory leak in fbtft_framebuffer_alloc b83f3fd3dc3c staging: bcm2835-audio: Fix draining behavior regression fe77671d3437 staging/fbtft: Depend on OF 597abe928ec2 gpio: eic: sprd: Fix the incorrect EIC offset when toggling 5e7c238cfafe mei: avoid FW version request on Ibex Peak and earlier 4e68c8ad0d11 mei: me: add comet point (lake) LP device ids 74a2ab15fa03 USB: legousbtower: fix use-after-free on release d5a37b79b977 USB: legousbtower: fix open after failed reset request 470d1d920d61 USB: legousbtower: fix potential NULL-deref on disconnect b1c95308efbb USB: legousbtower: fix deadlock on disconnect 0d7afcc3e67d USB: legousbtower: fix slab info leak at probe 2164d586fe13 usb: typec: ucsi: displayport: Fix for the mode entering routine ed9dc2e12645 usb: typec: tcpm: usb: typec: tcpm: Fix a signedness bug in tcpm_fw_get_caps() ae07c4d583f0 usb: renesas_usbhs: gadget: Fix usb_ep_set_{halt,wedge}() behavior 59f9a556d12c usb: renesas_usbhs: gadget: Do not discard queues in usb_ep_set_{halt,wedge}() c73e4656e029 USB: dummy-hcd: fix power budget for SuperSpeed mode 8604ad319705 USB: microtek: fix info-leak at probe 942d159f33d5 USB: usblcd: fix I/O after disconnect 45e6742b3543 USB: serial: fix runtime PM after driver unbind f07e614a1eae USB: serial: option: add support for Cinterion CLS8 devices 60efccd42001 USB: serial: option: add Telit FN980 compositions 96464fe403ed USB: serial: ftdi_sio: add device IDs for Sienna and Echelon PL-20 e05502d06a6e USB: serial: keyspan: fix NULL-derefs on open() and write() eb98769b935a serial: uartps: Fix uartps_major handling 7dba6bf5f7d8 serial: uartlite: fix exit path null pointer 46f1bfcd1c4e USB: ldusb: fix NULL-derefs on driver unbind 536e1ab01853 USB: chaoskey: fix use-after-free on release 2443d5a06e95 USB: usblp: fix runtime PM after driver unbind 78941115be20 USB: iowarrior: fix use-after-free after driver unbind 52f1bf2513ae USB: iowarrior: fix use-after-free on release 259a1454a1c4 USB: iowarrior: fix use-after-free on disconnect 63ee1fedd6de USB: adutux: fix use-after-free on release b6c09eee2d43 USB: adutux: fix NULL-derefs on disconnect 0c72bbbe474a USB: adutux: fix use-after-free on disconnect a12a9cd6c351 xhci: Increase STS_SAVE timeout in xhci_suspend() a260279b7617 xhci: Prevent deadlock when xhci adapter breaks during init c8d9f36aa6b1 usb: xhci: wait for CNR controller not ready bit in xhci resume 6885498721be xhci: Fix USB 3.1 capability detection on early xHCI 1.1 spec based hosts 137c690e919a xhci: Check all endpoints for LPM timeout 2cef9b4aef68 xhci: Prevent device initiated U1/U2 link pm if exit latency is too long fc87747823b9 xhci: Fix false warning message about wrong bounce buffer write length 861e3b12fed9 USB: usb-skeleton: fix NULL-deref on disconnect 9f4070d847cf USB: usb-skeleton: fix runtime PM after driver unbind 968a3ec8e2de USB: yurex: fix NULL-derefs on disconnect f2f71a47512c USB: yurex: Don't retry on unexpected errors f12a275ccbf6 panic: ensure preemption is disabled during panic() f80586c5fc9e coresight: etm4x: Use explicit barriers on enable/disable f38e48b51908 vfs: Fix EOVERFLOW testing in put_compat_statfs64 a74f766b8f43 riscv: Avoid interrupts being erroneously enabled in handle_exception() 185f61b3655a perf stat: Reset previous counts on repeat with interval 1479778a1947 tick: broadcast-hrtimer: Fix a race in bc_set_next a41c9cac2d45 KVM: nVMX: Fix consistency check on injected exception error code b52c034939de Btrfs: fix selftests failure due to uninitialized i_mode in test inodes a125322d48ac drm/radeon: Bail earlier when radeon.cik_/si_support=0 is passed ea9d6a619d30 nfp: abm: fix memory leak in nfp_abm_u32_knode_replace 1f9e6c30c7ef mlxsw: spectrum_flower: Fail in case user specifies multiple mirror actions cd2fdf60a063 perf unwind: Fix libunwind build failure on i386 systems 161dda893af0 i2c: qcom-geni: Disable DMA processing on the Lenovo Yoga C630 86b33efd649a bpf: Fix bpf_event_output re-entry issue aaa8c1b8daa9 blk-mq: move lockdep_assert_held() into elevator_exit fc1b4d3e8239 kernel/elfcore.c: include proper prototypes 6b2721b403ee include/trace/events/writeback.h: fix -Wstringop-truncation warnings cee4aad767a2 perf build: Add detection of java-11-openjdk-devel package 043372e0afa3 sched/core: Fix migration to invalid CPU in __set_cpus_allowed_ptr() adf80f2feec5 sched/membarrier: Fix private expedited registration check 61fa5ee7216c sched/membarrier: Call sync_core only before usermode for same mm 096f6c8487c3 libnvdimm/nfit_test: Fix acpi_handle redefinition 12a9a49442b2 fuse: fix memleak in cuse_channel_open 7912cdc163b2 libnvdimm: Fix endian conversion issues 4db2cd0d1ce5 libnvdimm/region: Initialize bad block for volatile namespaces 6fda5a687329 iommu/amd: Fix downgrading default page-sizes in alloc_pte() 3a019ac29c6b thermal_hwmon: Sanitize thermal_zone type 5d08f30e96d8 thermal: Fix use-after-free when unregistering thermal zone device a429d11015c3 ntb: point to right memory window index 5aec3da44913 x86/purgatory: Disable the stackleak GCC plugin for the purgatory 833db2db7272 selftests/seccomp: fix build on older kernels 407e0ee74d22 pwm: stm32-lp: Add check in case requested period cannot be achieved 52e5ea59746f SUNRPC: Don't try to parse incomplete RPC messages c0636eed33f0 pNFS: Ensure we do clear the return-on-close layout stateid on fatal errors 18fce724c0ea drm/amdgpu: Check for valid number of registers to read aecbaa9bc7af drm/amdgpu: Fix KFD-related kernel oops on Hawaii 342e564c9b0f netfilter: nf_tables: allow lookups in dynamic sets 4c53aef11956 watchdog: aspeed: Add support for AST2600 fa83953efe4b SUNRPC: RPC level errors should always set task->tk_rpc_status f835934a6275 ceph: reconnect connection if session hang in opening state 7403dda16eb9 ceph: fetch cap_gen under spinlock in ceph_add_cap 5c3e30081baa ceph: fix directories inode i_blkbits initialization e821008425d5 fuse: fix request limit 92549d8ceef5 xen/pci: reserve MCFG areas earlier e99fd0070701 9p: avoid attaching writeback_fid on mmap with type PRIVATE 5f374721b520 9p: Transport error uninitialized d9b57935af8d xprtrdma: Send Queue size grows after a reconnect d478e5024a78 xprtrdma: Toggle XPRT_CONGESTED in xprtrdma's slot methods 111e51fcf8b3 fs: nfs: Fix possible null-pointer dereferences in encode_attrs() b3703c37a780 ima: fix freeing ongoing ahash_request 4752354b2b94 ima: always return negative code for error 9370b48fcb79 drivers: thermal: qcom: tsens: Fix memory leak from qfprom read 38ab9316e558 cfg80211: initialize on-stack chandefs bc518ad5972a cfg80211: validate SSID/MBSSID element ordering assumption b1515120bb24 nl80211: validate beacon head dc1118edbc7c ieee802154: atusb: fix use-after-free at disconnect dd72ec13bbe3 xen/xenbus: fix self-deadlock after killing user process ffbd4ae78614 xen/balloon: Set pages PageOffline() in balloon_add_region() fb019e226331 DTS: ARM: gta04: introduce legacy spi-cs-high to make display work again fd5a2a47f144 libnvdimm/altmap: Track namespace boundaries in altmap f6e67e8fdfac Revert "locking/pvqspinlock: Don't wait if vCPU is preempted" 9898906f5274 mmc: sdhci: Let drivers define their DMA mask 8968e606a47f mmc: sdhci-of-esdhc: set DMA snooping based on DMA coherence 56ced5e6024c mmc: sdhci: improve ADMA error reporting ba5d052c4e62 mmc: tegra: Implement ->set_dma_mask() 31565ffd9d5d mac80211: keep BHs disabled while calling drv_tx_wake_queue() c5fcd037a2b2 drm/i915/gvt: update vgpu workload head pointer correctly 359d2cb5c30a drm/nouveau/kms/nv50-: Don't create MSTMs for eDP connectors 0b1757e6f255 drm/msm/dsi: Fix return value check for clk_get_parent 00eccaeb55aa drm/omap: fix max fclk divider for omap36xx 88f34afe2774 drm: mali-dp: Mark expected switch fall-through ccc3bc0df68d drm/atomic: Take the atomic toys away from X d88c0c23427b drm/atomic: Reject FLIP_ASYNC unconditionally 6aecce20a2cd perf stat: Fix a segmentation fault when using repeat forever 1b4371e819e8 perf tools: Fix segfault in cpu_cache_level__read() 7311201faf48 watchdog: imx2_wdt: fix min() calculation in imx2_wdt_set_timeout 79f5df7f2f92 selftests/tpm2: Add the missing TEST_FILES assignment a895c40ca633 PCI: Restore Resizable BAR size bits correctly for 1MB BARs 0ea26a3c4336 PCI: vmd: Fix shadow offsets to reflect spec changes 7dfe1d4b949d PCI: hv: Avoid use of hv_pci_dev->pci_slot after freeing it 2bd27a041f5b PCI: vmd: Fix config addressing when using bus offsets 04576078716b timer: Read jiffies once when forwarding base clk d964d65c20ae usercopy: Avoid HIGHMEM pfn warning 37fdb252a315 tracing: Make sure variable reference alias has correct var_ref_idx 212d21abd0f9 power: supply: sbs-battery: only return health when battery present 1cee0eb9f606 power: supply: sbs-battery: use correct flags field 51b90fe021de MIPS: Treat Loongson Extensions as ASEs b127de42d3ea crypto: ccree - use the full crypt length value f244496b19f2 crypto: ccree - account for TEE not ready to report de6922d9ab63 crypto: caam - fix concurrency issue in givencrypt descriptor 4fd6651142be crypto: caam/qi - fix error handling in ERN handler c4b56f7746ff crypto: cavium/zip - Add missing single_release() a2edd8487639 crypto: skcipher - Unmap pages after an external error 85a3e980d873 crypto: qat - Silence smp_processor_id() warning f00ae50250a7 tools lib traceevent: Do not free tep->cmdlines in add_new_comm() on failure 623451aba2cf tools lib traceevent: Fix "robust" test of do_generate_dynamic_list_file 3dcc2fed6e40 can: mcp251x: mcp251x_hw_reset(): allow more time after a reset 82262ec35ddb powerpc/mm: Fixup tlbie vs mtpidr/mtlpidr ordering issue on POWER9 ff2880ac0da2 powerpc/mm: Fix an Oops in kasan_mmu_init() 5a2987852f46 powerpc/mm: Add a helper to select PAGE_KERNEL_RO or PAGE_READONLY 45a769de36eb powerpc/book3s64/radix: Rename CPU_FTR_P9_TLBIE_BUG feature flag cf2b70b6b656 powerpc/book3s64/mm: Don't do tlbie fixup for some hardware revisions 2685e06f19a6 powerpc/kasan: Fix shadow area set up for modules. 5e7044ab7567 powerpc/kasan: Fix parallel loading of modules. 5e56a0800d67 powerpc/powernv/ioda: Fix race in TCE level allocation e0f04cdca674 powerpc/pseries: Fix cpu_hotplug_lock acquisition in resize_hpt() e76223f82362 powerpc/powernv: Restrict OPAL symbol map to only be readable by root dae12b5175c7 powerpc/ptdump: Fix addresses display on PPC32 1552ecc37cf8 powerpc/32s: Fix boot failure with DEBUG_PAGEALLOC without KASAN. aeea368a2c97 powerpc/603: Fix handling of the DIRTY flag 838485d94fac powerpc/mce: Schedule work from irq_work 5a707634e866 powerpc/mce: Fix MCE handling for huge pages 789e9c0c699d powerpc/xive: Implement get_irqchip_state method for XIVE to fix shutdown race f7f281ee8c8d ASoC: sgtl5000: Improve VAG power and mute control 917b868fc1db ASoC: Define a set of DAPM pre/post-up events f153e91caf36 PM / devfreq: tegra: Fix kHz to Hz conversion 883dbbc1e7ca nbd: fix max number of supported devs f3a500b77c59 KVM: X86: Fix userspace set invalid CR4 15153db63642 KVM: PPC: Book3S HV: Don't lose pending doorbell request on migration on P9 a0bc470fc62e KVM: PPC: Book3S HV: Check for MMU ready on piggybacked virtual cores 9772769d3990 KVM: PPC: Book3S HV: Fix race in re-enabling XIVE escalation interrupts 93fd3eab6a8a KVM: PPC: Book3S HV: Don't push XIVE context when not using XIVE device 2d09838ea088 KVM: PPC: Book3S HV: XIVE: Free escalation interrupts before disabling the VP 1da0d7bce2bc KVM: PPC: Book3S: Enable XIVE native capability only if OPAL has required functions ed90a05c0b1b KVM: s390: fix __insn32_query() inline assembly 87a6398ef7b8 s390/cio: exclude subchannels with no parent from pseudo check bd54ca01c976 s390/cio: avoid calling strlen on null pointer fbba7e0326fe s390/topology: avoid firing events before kobjs are created 8892a0c67e9a KVM: s390: Test for bad access register and size at the start of S390_MEM_OP dac32cc04e95 s390/sclp: Fix bit checked for has_sipl d08741d62973 s390/process: avoid potential reading of freed stack
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Ross Burton [Tue, 14 Mar 2017 10:26:16 +0000 (10:26 +0000)]
scripts: add pkgdataui
pkgdataui is a Python 3/GObject Introspection/GTK+ 3 tool to browse the pkgdata
database at your leisure. By being graphical it is easier to explore and can
follow links between packages.
This is very much a work in progress, so be gentle and patches are welcome.
Signed-off-by: Ross Burton <ross.burton@intel.com>
Peter Bergin [Thu, 28 Nov 2019 06:14:24 +0000 (07:14 +0100)]
kernel-devsrc: fix error with old (<4.2) x86 kernels
When using kernel-devsrc for older kernels do_install fails with:
| cp: failed to get attributes of 'arch/x86/entry': No such file or directory
In the Linux kernel commit 1f57d5d85
"x86/asm/entry: Move the arch/x86/syscalls/ definitions to arch/x86/entry/syscalls/"
moved some files copied in the kernel-devsrc recipe. Commit 1f57d5d85 was added in
v4.2.
To be able to use kernel-devsrc for kernels older than v4.2 this commit make use of find
for the files that shall be copied.
Signed-off-by: Peter Bergin <peter@berginkonsult.se> Signed-off-by: Ross Burton <ross.burton@intel.com>
Ross Burton [Thu, 5 Dec 2019 21:17:27 +0000 (21:17 +0000)]
insane: don't use cachedpath
Unless cachedpath is used correctly then it's just a glorified clone of
os.walk, but without any of the recent optimisations in os.walk. In
this codepath there is no point to using cachedpath.
Signed-off-by: Ross Burton <ross.burton@intel.com>
Ross Burton [Thu, 5 Dec 2019 21:12:52 +0000 (21:12 +0000)]
rootfs: don't use oe.cachedpath
Unless cachedpath is used correctly then it's just a glorified clone of
os.walk, but without any of the recent optimisations in os.walk. In
this codepath there is no point to using cachedpath.
Signed-off-by: Ross Burton <ross.burton@intel.com>
Alex Kiernan [Tue, 17 Dec 2019 05:26:19 +0000 (05:26 +0000)]
gnutls: upgrade 3.6.8 -> 3.6.11.1
Drop patch from 81485be19b18 ("gnutls: don't use HOSTTOOLS_DIR/bash as a
shell on target") as upstream now honours POSIX_SHELL when set as the
primary target shell.
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Hongxu Jia [Fri, 13 Dec 2019 06:28:58 +0000 (14:28 +0800)]
assimp: fix search library failed on multilib
While multilib enabled, it builds vulkan-demos failed
...
|CMake Error at tmp-glibc/work/aarch64-wrs-linux/vulkan-demos/git-r0/
recipe-sysroot/usr/lib64/cmake/assimp-5.0/assimpTargets.cmake:85 (message):
| The imported target "assimp::assimp" references the file
| "tmp-glibc/work/aarch64-wrs-linux/vulkan-demos/git-r0/recipe-sysroot/usr/lib/libassimp.so.5"
| but this file does not exist. Possible reasons include:
...
Since oe-core set ASSIMP_LIB_INSTALL_DIR to baselib, use it rather than
hardcoded `/lib' to search library
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Khem Raj [Wed, 11 Dec 2019 04:06:00 +0000 (20:06 -0800)]
libpng: Correct SRC_URI path
Fixes fetcher warning
WARNING: libpng-1.6.37-r0 do_fetch: Failed to fetch URL https://downloads.sourceforge.net/project/libpng/libpng16/1.6.37/libpng-1.6.37.tar.xz, attempting MIRRORS if available
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Tim Orling [Wed, 11 Dec 2019 01:01:35 +0000 (17:01 -0800)]
go: upgrade 1.13.3 -> 1.13.5
go1.13.4 (released 2019/10/31) includes fixes to the net/http and syscall
packages. It also fixes an issue on macOS 10.15 Catalina where the non-
notarized installer and binaries were being rejected by Gatekeeper.
See the Go 1.13.4 milestone on our issue tracker for details.
go1.13.5 (released 2019/12/04) includes fixes to the go command, the runtime,
the linker, and the net/http package. See the Go 1.13.5 milestone on our issue
tracker for details.
Khem Raj [Sat, 7 Dec 2019 18:40:41 +0000 (10:40 -0800)]
cross-localedef: Re-arrange patches
Patches are currently, crossing across repo boundaries, between glibc
and localedef, therefore it is better to divide the patches
accordiningly, with this patchset makery patch is spun out since that
applies to localedef alone.
There are no other code changes
Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Jason Wessel <jason.wessel@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Drop all patches as they are no longer necessary with autotools,
fix problems that are addressed upstream, or (in case of no-vectorization.patch)
don't apply to the old version either, which means no one is using that hw target
anymore.
Remove custom systemd configs (provided by upstream), and custom
syslog config (also provided by upstream but not installed by default).
Adjust parselogs to not error out on not being able to find
System.map file during boot (that is packaged into kernel-dev
and is not normally installed).
License-Update: various tweaks; the license terms are the same. Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
license_image.bbclass: Report only the licenses that are incompatible
Instead of reporting ${LICENSE} when a package cannot be installed
into an image because it is using an incompatible license, report the
license(s) that are actually incompatible.
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
base.bbclass: Simplify the check for whitelisted licenses
After a number of rewrites, the code checking if a package has been
whitelisted for an incompatible license was calculating the
whitelisted packages twice (as 'whitelist' and as 'incompatwl').
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
licenses.conf: Remove the SRC_DISTRIBUTE_LICENSES variable
The SRC_DISTRIBUTE_LICENSES variable and its static list of licenses
has been replaced by AVAILABLE_LICENSES, which automatically contains
all available licenses.
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
license.bbclass: Introduce AVAILABLE_LICENSES that lists all licenses
Previously, there was SRC_DISTRIBUTE_LICENSES, an undocumented
variable that contained a static list of licenses. It was used by
expand_wildcard_licenses() to expand any wildcards used in, e.g.,
INCOMPATIBLE_LICENSE. However, since this static list of licenses has
not been kept up-to-date, many licenses were missing, with the result
that if one tried to use any of those licenses with a wildcard, no
licenses would be found, effectively ignoring that they should be
marked as incompatible.
This introduces a new (documented) variable, AVAILABLE_LICENSES, that
is automatically updated to contain all licenses found in any
directories specified by ${COMMON_LICENSE_DIR} and ${LICENSE_PATH},
and uses it instead of SRC_DISTRIBUTE_LICENSES when expanding
wildcards.
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Trevor Woerner [Wed, 11 Dec 2019 17:23:34 +0000 (12:23 -0500)]
mesa.inc: allow the user to choose the build type
Upstream mesa can either be built as a debug release (the default) or a
production release. This patch allows the user to choose which one they
want by setting MESA_BUILD_TYPE to either 'production' or 'debug' as
they see fit. Under OpenEmbedded a production build will be performed by
default.
Signed-off-by: Trevor Woerner <twoerner@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Trevor Woerner [Wed, 11 Dec 2019 17:08:18 +0000 (12:08 -0500)]
meson.bbclass: allow buildtype to be changed
Some upstream projects are employing the buildtype parameter so users
can create, say, "production" versus "debug" builds. Therefore create a
configurable parameter so recipes/users can tweak it.
Signed-off-by: Trevor Woerner <twoerner@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport a patch to fix tk build failure with cross compile:
0001-Fix-abd4abedd2-Failed-to-build-tk-8.6.10-with-cross-.patch
See:
https://core.tcl-lang.org/tk/tktview/abd4abedd2f01c12839f0ad94564ae31137f7af5
Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
André Draszik [Thu, 12 Dec 2019 21:52:12 +0000 (21:52 +0000)]
oeqa/runtime/apt dnf opkg: support running from within docker container
If the user specified an http port to use for serving
files, use that instead of a random one. At the same
time, have the http server bind to all interfaces.
Binding to the server_ip might not always be possible,
e.g. in the case of running bitbake / oeqa from within
a docker container. In this case, the ip address is valid
outside the container, but not inside, and hence can't
be bound to. So switch to simply binding to all interfaces.
Signed-off-by: André Draszik <git@andred.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
André Draszik [Thu, 12 Dec 2019 21:52:11 +0000 (21:52 +0000)]
oeqa/target/ssh oeqa/target/qemu: expose server listening port to tests
Allow tests to access the listening port as just introduced.
Note that when using qemu this infrastructure shouldn't be
needed, but we still need to set the port to 0 so that
a listening port is determined automatically (e.g. by the
python http server).
Signed-off-by: André Draszik <git@andred.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
André Draszik [Thu, 12 Dec 2019 21:52:10 +0000 (21:52 +0000)]
oeqa/runtime/context.py: support listening port in TEST_SERVER_IP
Similar to the existing possibility to specify a port in
TEST_TARGET_IP, allow TEST_SERVER_IP to also contain a
port.
The intention is for this port to be passed into e.g.
the http server from the apt / dnf / opkg tests, or
any other (custom) tests that might need the target to
connect to a service spawned by bitbake / oeqa, where
bitbake is actually running inside a docker container.
Signed-off-by: André Draszik <git@andred.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
André Draszik [Thu, 12 Dec 2019 21:52:09 +0000 (21:52 +0000)]
oeqa/utils/httpserver: allow to pass in listening port
Being able to specify the listening port is useful when
running OEQA from within a docker container, e.g.
crops or any other solution.
In that case, a port on the outside must be mapped to a
specific port inside the container. If no port is specified
for the http server module in this case, the http server
would choose a random port, which is unlikely to be mapped
and thus won't be reachable from the outside.
Signed-off-by: André Draszik <git@andred.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
André Draszik [Thu, 12 Dec 2019 21:41:58 +0000 (21:41 +0000)]
connman: update kernel module RRECOMMENDS for kernel >= v4.19
nf_tables_inet.ko and nf_tables_ipv4.ko and nf_tables_ipv6.o
(and nf_tables_arp.ko and nf_tables_netdev.ko) were merged into
the core nf_tables.ko before v4.17 in kernel commit 02c7b25e5f54 netfilter: nf_tables: build-in filter chain type
nf_meta.ko was merged to be a builtin of nf_tables.ko before
v4.18 in kernel commit 8a22543c8e70 netfilter: nf_tables: make meta expression builtin
Signed-off-by: André Draszik <git@andred.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
André Draszik [Thu, 12 Dec 2019 21:41:40 +0000 (21:41 +0000)]
e2fsprogs: split dumpe2fs into its own package
This is a mere 24KB (on 32bit arm), avoiding to pull in
all of the remainder +300KB in small initramfs images
when not needed.
Add this new package to RDEPENDS of e2fsprogs so as to
not break existing users.
Also, remove a stale reference to the non-existent
e2fsprogs-fsck package which was removed in 2012 from here
in commit 98b1b9f047ef ("e2fsprogs: Drop fsck binary"),
commit 93d647172786 in poky, and sort some of the lists
alphabetically.
Signed-off-by: André Draszik <git@andred.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Slavic Brutalik [Thu, 12 Dec 2019 22:30:54 +0000 (00:30 +0200)]
systemd-systemctl: Fix handling of aliased targets
The script scans for services, parses them and makes sure those targets are still
there. The exists file check fails if the target is an alias, such as default.target
so add an additional test.
[YOCTO #13685]
Signed-off-by: Werner Grift <sky.captin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Quanyang Wang [Fri, 13 Dec 2019 06:19:52 +0000 (14:19 +0800)]
lttng-modules: fix NULL pointer deference error when testing rpc_task_running
This is a backport from upstream https://github.com/lttng/lttng-modules.git stable-2.10
to fix NULL pointer deference error when running kts testcase lttng_syscall_events.
Signed-off-by: Quanyang Wang <quanyang.wang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update: copyright years Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Sat, 14 Dec 2019 12:51:24 +0000 (12:51 +0000)]
sstatesig: Optimise get_taskhash for hashequiv
With hashequiv the get_taskhash function is called much more regularly
and contains expensive operations. This these don't change based upon
hash in a given build, improve the caching within the function to
reduce overhead.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Joshua Watt [Mon, 9 Dec 2019 04:03:11 +0000 (22:03 -0600)]
nasm: Add debug-prefix-map option
Adds an option to nasm to change the prefix for file paths encoded in
the object files. This allows builds to be reproducible regardless of
the build directory.
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Khem Raj [Fri, 13 Dec 2019 21:15:01 +0000 (13:15 -0800)]
goarch: Remove target specific dependencies
goarch is used in all classes of recipes ranging from native to target,
therefore its best to contain the variables and not spill over into
recipe classes where they can adversely affect shared state reuse e.g.
go-native currently gets TUNE_FEATURES into dependency chain of
referenced variables which means go-native gets rebuilt when we change
from qemuarm to qemux86 machine types since TUNE_FEATURES is defined
with DEFAULTTUNE which would change as machines are switched
These variables are specific to arm/mips/x86 so marking them with
appropriate overrides for native recipes will be right thing here
Chose 'hardfloat' for mips which is default too, 7 for arm and sse2 for x86
somehow go-native bootstrap compiler (1.4) still needs them so feed
commonly used values or defaults.
Fixes
ERROR: go-native different signature for task do_configure.sigdata between qemux86copy and qemuarm
...
List of dependencies for variable TUNE_FEATURES changed from '{'DEFAULTTUNE', 'TUNE_FEATURES_tune-core2-32'}' to '{'DEFAULTTUNE', 'TUNE_FEATURES_tune-armv7vethf-neon'}'
changed items: {'TUNE_FEATURES_tune-core2-32', 'TUNE_FEATURES_tune-armv7vethf-neon'}
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Hongxu Jia [Sat, 14 Dec 2019 03:59:08 +0000 (11:59 +0800)]
kbd: avoid vlock conflict with busybox
busybox as well as vlock utility from meta-oe provides vlock utility
which can conflict when with kbd if pam is a enabled distro_feature
Fixes image build errors
update-alternatives: Error: not linking <rootfs>/usr/bin/vlock to /bin/busybox.suid since <rootfs>/usr/bin/vlock exists and is not a link
ERROR: yoe-qt5-wayland-image-1.0-r0 do_rootfs: Postinstall scriptlets of ['busybox'] have failed. If the intention is to defer them to first boot,
then please place them into pkg_postinst_ontarget_${PN} ().
Deferring to first boot via 'exit 1' is no longer supported.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The vlock doesn't exist if PAM isn't enabled.
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ross Burton [Fri, 13 Dec 2019 23:21:55 +0000 (23:21 +0000)]
podfix: class to remove Pod::Man versions from manpages
Manpages generated by Pod::Man contain the version number, which isn't
reproducible if we're using the host Perl to generate manpage.
One option is to always depend on perl-native when generating manpages
but this is a heavy dependency, so instead strip out the versions in
do_install().
Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Paul Eggleton [Mon, 9 Dec 2019 10:59:09 +0000 (23:59 +1300)]
runqemu: handle tap device creation failure properly
If we fail to run the command to generate the tap devices then we should
show a reasonable message and then exit, without showing a traceback.
"return 1" at this point in the code does nothing because the caller
doesn't check the return, so just use sys.exit().
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Paul Eggleton [Mon, 9 Dec 2019 10:59:08 +0000 (23:59 +1300)]
runqemu: log parameters correctly within testimage
It is not a good idea to mix logging and calls to print() - if the
output is being captured the result can be that the two types of output
are not recorded contiguously; this could be observed if an error
occurred running runqemu from inside testimage:
---------- snip ----------
ERROR: core-image-minimal-1.0-r0 do_testimage: Output from runqemu:
runqemu - INFO - Continuing with the following parameters:
runqemu - INFO - Setting up tap interface under sudo
sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper
runqemu - ERROR - Setting up tap device failed:
Command '('sudo', '/home/paul/poky/poky/scripts/runqemu-ifup', '1000', '1000', '/home/paul/poky/poky/build/tmp/work/x86_64-linux/qemu-helper-native/1.0-r1/recipe-sysroot-native/usr/bin')' returned non-zero exit status 1.
Run runqemu-gen-tapdevs to manually create one.
runqemu - INFO - Cleaning up
KERNEL: [/home/paul/poky/poky/build/tmp/deploy/images/qemux86-64/bzImage--5.2.20+git0+bd0762cd13_dd25a04fc5-r0-qemux86-64-20191205213021.bin]
MACHINE: [qemux86-64]
FSTYPE: [ext4]
ROOTFS: [/home/paul/poky/poky/build/tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.ext4]
CONFFILE: [/home/paul/poky/poky/build/tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.qemuboot.conf]
---------- snip ----------
What we should see here is the KERNEL, MACHINE, etc. lines appearing
immediately after the "Continuing with the following parameters:" line
as they do when you run runqemu directly. If we put all of the lines
through the logger instead then it works properly.
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Paul Eggleton [Mon, 9 Dec 2019 10:59:06 +0000 (23:59 +1300)]
oeqa: qemu: fix width of top output in host dump
If runqemu fails, there is some logic to run a set of commands to dump
various bits of information that might help debug the issue
(particularly in a busy situation such as on the autobuilder). One of
those commands is "top -bn1", however top restricts the output to the
width of the calling terminal, and for whatever reason this is a little
restrictive when called from inside testimage, so set COLUMNS in the
environment to a high value to fix it. (Another way is to use the -w
option, but that is not supported by our default busybox configuration
so it will then fail when this same list of commands is used on the
target).
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Paul Eggleton [Mon, 9 Dec 2019 10:59:05 +0000 (23:59 +1300)]
oeqa: qemu: ensure that host dump commands can be run properly
If runqemu fails, there is some logic to run a set of commands to dump
various bits of information that might help debug the issue
(particularly in a busy situation such as on the autobuilder). However,
when we try to run these we are inside the normal build environment
which restricts commands to be run on the host to those specified in
HOSTTOOLS. Since this isn't a place where host contamination is going to
be a problem, override PATH to a reasonable default so that we run the
actual host tools directly to avoid the issue. (Logically we would want
to use the original PATH value here, but it is not easily accessible.)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>