]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
5 years agolinux-yocto/5.2: update to v5.2.22
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>
5 years agolinux-yocto/5.2: update to v5.2.21
Bruce Ashfield [Wed, 23 Oct 2019 02:15:45 +0000 (22:15 -0400)]
linux-yocto/5.2: update to v5.2.21

Updating linux-yocto/5.2 to the latest korg -stable release that comprises
the following commits:

    e91ef5bcdeda Linux 5.2.21

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
5 years agolinux-yocto-dev: bump to v5.4+
Bruce Ashfield [Wed, 16 Oct 2019 19:46:17 +0000 (15:46 -0400)]
linux-yocto-dev: bump to v5.4+

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
5 years agopiglit: upgrade to latest revision
Ross Burton [Thu, 19 Dec 2019 12:46:25 +0000 (12:46 +0000)]
piglit: upgrade to latest revision

Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agofribidi: upgrade 1.0.7 -> 1.0.8
Ross Burton [Thu, 19 Dec 2019 12:44:59 +0000 (12:44 +0000)]
fribidi: upgrade 1.0.7 -> 1.0.8

Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agolibical: upgrade 3.0.6 -> 3.0.7
Ross Burton [Thu, 19 Dec 2019 12:44:27 +0000 (12:44 +0000)]
libical: upgrade 3.0.6 -> 3.0.7

License-Update: URL updated.

Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agolibtasn1: upgrade 4.14 -> 4.15.0
Anuj Mittal [Thu, 19 Dec 2019 05:41:08 +0000 (13:41 +0800)]
libtasn1: upgrade 4.14 -> 4.15.0

Remove backported patches and explicitly pass -std=gnu99 to native CFLAGS
to make sure build passes on older and still supported OSes like CentOS 7.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agommc-utils: upgrade to latest revision
Anuj Mittal [Thu, 19 Dec 2019 05:41:07 +0000 (13:41 +0800)]
mmc-utils: upgrade to latest revision

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agostress-ng: upgrade 0.10.11 -> 0.10.13
Anuj Mittal [Thu, 19 Dec 2019 05:41:06 +0000 (13:41 +0800)]
stress-ng: upgrade 0.10.11 -> 0.10.13

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agolibsolv: upgrade 0.7.8 -> 0.7.10
Anuj Mittal [Thu, 19 Dec 2019 05:41:05 +0000 (13:41 +0800)]
libsolv: upgrade 0.7.8 -> 0.7.10

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agovte: upgrade 0.58.2 -> 0.58.3
Anuj Mittal [Thu, 19 Dec 2019 05:41:03 +0000 (13:41 +0800)]
vte: upgrade 0.58.2 -> 0.58.3

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agoopkg: upgrade to version 0.4.2
Alejandro del Castillo [Wed, 18 Dec 2019 14:00:28 +0000 (14:00 +0000)]
opkg: upgrade to version 0.4.2

- Drop open_inner.patch
- Drop opkg_archive.patch
- Remove "remove_test_binaries" function

Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agoopkg-utils: upgrade to version 0.4.2
Alejandro del Castillo [Wed, 18 Dec 2019 00:16:08 +0000 (18:16 -0600)]
opkg-utils: upgrade to version 0.4.2

- Drop 00001-Switch-all-scripts-to-use-Python-3.x.patch
- Drop 00001-opkg-build-clamp-mtimes-to-SOURCE_DATE_EPOCH.patch
- Drop pipefail.patch

Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agoxorgproto: merge .inc
Ross Burton [Fri, 13 Dec 2019 12:07:40 +0000 (12:07 +0000)]
xorgproto: merge .inc

This inc file isn't used anymore since the X.org protocol packages
merged into xorgproto.

Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agochrpath: do less work
Ross Burton [Thu, 12 Dec 2019 13:13:55 +0000 (13:13 +0000)]
chrpath: do less work

Instead of trying to change the RPATH in every file under the binary
directories, check that the file is an ELF first.

This means that we don't attempt to change the RPATH on the entire
Python standard library, for example.

Also return early if the directory to iterate doesn't exist.

Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agodistutils3: do out of tree builds
Ross Burton [Tue, 10 Dec 2019 13:42:06 +0000 (13:42 +0000)]
distutils3: do out of tree builds

Pass --build-base so the build tree is a location we specify, which we
can ensure is empty when building.

This means we can stub out do_configure entirely and use cleandirs
instead.

When installing we need to tell it to do a build so that we can pass
--build-base, so also pass --skip-build to avoid the potential rebuild.

Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agodistutils3: remove unused variable
Ross Burton [Tue, 10 Dec 2019 21:17:01 +0000 (21:17 +0000)]
distutils3: remove unused variable

This variable isn't used by the build task, despite it's name.

Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agodistutils3: remove unused stage tasks
Ross Burton [Tue, 10 Dec 2019 13:37:09 +0000 (13:37 +0000)]
distutils3: remove unused stage tasks

These staging tasks haven't been used since ~2010, so remove them.

Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agoscripts: add pkgdataui
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>
5 years agokernel-devsrc: fix error with old (<4.2) x86 kernels
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>
5 years agoinsane: don't use cachedpath
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>
5 years agorootfs: don't use oe.cachedpath
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>
5 years agotune-cortexa72-cortexa53: Add tunes
Joshua Watt [Sat, 14 Dec 2019 16:06:22 +0000 (10:06 -0600)]
tune-cortexa72-cortexa53: Add tunes

Adds tunes for Cortex-A72 Cortex-A53 big.LITTLE SoCs (with and without
crypto extensions), e.g. Rockchip RK3399

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agosystemd-bootchart: Add mips64 tuples
Khem Raj [Tue, 17 Dec 2019 03:47:07 +0000 (19:47 -0800)]
systemd-bootchart: Add mips64 tuples

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agognutls: upgrade 3.6.8 -> 3.6.11.1
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>
5 years agoeudev: upgrade 3.2.8 -> 3.2.9
Anuj Mittal [Mon, 18 Nov 2019 08:51:45 +0000 (16:51 +0800)]
eudev: upgrade 3.2.8 -> 3.2.9

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agocve-check: fail gracefully when file not found
Armin Kuster [Wed, 11 Dec 2019 16:16:04 +0000 (08:16 -0800)]
cve-check: fail gracefully when file not found

With out these changes, a traceback displayed when a file
is listed in the SRC_URI but the file does not exist.

raise FileNotFoundError and print the patch then mark the task as failed.

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agoassimp: fix search library failed on multilib
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>
5 years agosed: add PACKAGECONFIG for selinux
Martin Jansa [Tue, 10 Dec 2019 12:08:31 +0000 (13:08 +0100)]
sed: add PACKAGECONFIG for selinux

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agobitbake.conf: add number_threads to BB_SIGNATURE_EXCLUDE_FLAGS
Chris Laplante via Openembedded-core [Tue, 10 Dec 2019 19:05:29 +0000 (14:05 -0500)]
bitbake.conf: add number_threads to BB_SIGNATURE_EXCLUDE_FLAGS

Just as BB_NUMBER_THREADS is in BB_HASHCONFIG_WHITELIST.

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agolibepoxy: upgrade 1.5.3 -> 1.5.4
Wang Mingyu [Wed, 11 Dec 2019 07:27:36 +0000 (23:27 -0800)]
libepoxy: upgrade 1.5.3 -> 1.5.4

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agolibpng: Correct SRC_URI path
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>
5 years agogo: upgrade 1.13.3 -> 1.13.5
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.

https://github.com/golang/go/issues?q=milestone%3AGo1.13.4

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.

https://github.com/golang/go/issues?q=milestone%3AGo1.13.5

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agooe-run-native: fix typo
Ross Burton [Tue, 10 Dec 2019 12:38:56 +0000 (12:38 +0000)]
oe-run-native: fix typo

Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agosystemd: Rename the files instead of using PV
Adrian Bunk [Mon, 9 Dec 2019 14:44:01 +0000 (16:44 +0200)]
systemd: Rename the files instead of using PV

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agolibpam: consolidate a patch to a patch
Ross Burton [Tue, 10 Dec 2019 10:52:03 +0000 (10:52 +0000)]
libpam: consolidate a patch to a patch

Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agocross-localedef: Re-arrange patches
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>
5 years agonetbase: upgrade 5.7 -> 5.8
Wang Mingyu [Mon, 9 Dec 2019 14:59:59 +0000 (06:59 -0800)]
netbase: upgrade 5.7 -> 5.8

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agomesa: Fix vc4 build for 64bit time_t changes on 32bit arches
Khem Raj [Wed, 4 Dec 2019 22:48:45 +0000 (14:48 -0800)]
mesa: Fix vc4 build for 64bit time_t changes on 32bit arches

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agooeqa/selftest/package: mark string as raw
Ross Burton [Wed, 4 Dec 2019 21:58:56 +0000 (21:58 +0000)]
oeqa/selftest/package: mark string as raw

This regex uses \ so is actually parsed incorrectly, mark it up as a raw
string.

Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agosystemd-compat-units: this recipe doesn't need a compiler
Ross Burton [Wed, 4 Dec 2019 17:11:03 +0000 (17:11 +0000)]
systemd-compat-units: this recipe doesn't need a compiler

Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agooeqa: reproducible: Test core-image-sato and core-image-full-cmdline
Joshua Watt [Tue, 17 Dec 2019 20:36:23 +0000 (14:36 -0600)]
oeqa: reproducible: Test core-image-sato and core-image-full-cmdline

Adds core-image-sato and core-image-full-cmdline to the list of images
that the reproducible build test builds.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agosystemtap: fix builds with newer gettext
Alexander Kanavin [Tue, 17 Dec 2019 16:00:12 +0000 (17:00 +0100)]
systemtap: fix builds with newer gettext

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agosysklogd: Fix 2.0.3 upgrade fallouts on musl
Khem Raj [Thu, 12 Dec 2019 18:14:17 +0000 (19:14 +0100)]
sysklogd: Fix 2.0.3 upgrade fallouts on musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agosysklogd: update to 2.0.3
Alexander Kanavin [Thu, 12 Dec 2019 18:14:15 +0000 (19:14 +0100)]
sysklogd: update to 2.0.3

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>
5 years agopodfix: only alter normal files
Ross Burton [Mon, 16 Dec 2019 11:24:02 +0000 (11:24 +0000)]
podfix: only alter normal files

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoincompatible_lic.py: Add tests for incompatible licenses with wildcards
Peter Kjellerstedt [Wed, 11 Dec 2019 16:48:20 +0000 (17:48 +0100)]
incompatible_lic.py: Add tests for incompatible licenses with wildcards

Suggested-by: Quentin Schulz <quentin.schulz@streamunlimited.com>
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolicense_image.bbclass: Report only the licenses that are incompatible
Peter Kjellerstedt [Wed, 11 Dec 2019 16:48:19 +0000 (17:48 +0100)]
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>
5 years agopackage.bbclass: Report only the licenses that are incompatible
Peter Kjellerstedt [Wed, 11 Dec 2019 16:48:18 +0000 (17:48 +0100)]
package.bbclass: Report only the licenses that are incompatible

When excluding a package from being packaged due to incompatible
licenses, 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>
5 years agobase.bbclass: Report only the licenses that are incompatible for a package
Peter Kjellerstedt [Wed, 11 Dec 2019 16:48:17 +0000 (17:48 +0100)]
base.bbclass: Report only the licenses that are incompatible for a package

Instead of reporting ${LICENSE} when a package is identified as 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>
5 years agobase.bbclass: Simplify the check for whitelisted licenses
Peter Kjellerstedt [Wed, 11 Dec 2019 16:48:16 +0000 (17:48 +0100)]
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>
5 years agolicense.bbclass: Make incompatible_pkg_license return incompatible lics
Peter Kjellerstedt [Wed, 11 Dec 2019 16:48:15 +0000 (17:48 +0100)]
license.bbclass: Make incompatible_pkg_license return incompatible lics

This makes it possible to report the incompatible licenses.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolicenses.conf: Remove the SRC_DISTRIBUTE_LICENSES variable
Peter Kjellerstedt [Wed, 11 Dec 2019 16:48:14 +0000 (17:48 +0100)]
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>
5 years agolicense.bbclass: Introduce AVAILABLE_LICENSES that lists all licenses
Peter Kjellerstedt [Wed, 11 Dec 2019 16:48:13 +0000 (17:48 +0100)]
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>
5 years agomesa.inc: allow the user to choose the build type
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>
5 years agomeson.bbclass: allow buildtype to be changed
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>
5 years agocmake: 3.15.5 -> 3.16.1
Pascal Bach [Thu, 12 Dec 2019 08:25:07 +0000 (09:25 +0100)]
cmake: 3.15.5 -> 3.16.1

Patches have been refreshed and all of meta-oe and oe-core was sucessfully built.

Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agotcl: upgrade 8.6.9 -> 8.6.10
Yi Zhao [Thu, 12 Dec 2019 05:55:32 +0000 (13:55 +0800)]
tcl: upgrade 8.6.9 -> 8.6.10

Refresh patches:
  alter-includedir.patch
  tcl-remove-hardcoded-install-path.patch

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>
5 years agoopenssl: fix CVE-2019-1551
Anuj Mittal [Thu, 12 Dec 2019 01:50:54 +0000 (09:50 +0800)]
openssl: fix CVE-2019-1551

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agosysstat: fix CVE-2019-19725
Anuj Mittal [Wed, 11 Dec 2019 23:10:42 +0000 (07:10 +0800)]
sysstat: fix CVE-2019-19725

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa/runtime/apt dnf opkg: support running from within docker container
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>
5 years agooeqa/target/ssh oeqa/target/qemu: expose server listening port to tests
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>
5 years agooeqa/runtime/context.py: support listening port in TEST_SERVER_IP
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>
5 years agooeqa/utils/httpserver: allow to pass in listening port
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>
5 years agoconnman: update kernel module RRECOMMENDS for kernel >= v4.19
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>
5 years agoe2fsprogs: split dumpe2fs into its own package
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>
5 years agosystemd-systemctl: Fix handling of aliased targets
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>
5 years agolttng-modules: fix NULL pointer deference error when testing rpc_task_running
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>
5 years agogit: upgrade 2.24.0 -> 2.24.1
Anuj Mittal [Fri, 13 Dec 2019 02:31:27 +0000 (10:31 +0800)]
git: upgrade 2.24.0 -> 2.24.1

Fixes a bunch of CVEs:
https://github.com/git/git/commit/53a06cf39b756eddfe4a2a34da93e3d04eb7b728

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agosudo: update to 1.8.29
Alexander Kanavin [Thu, 12 Dec 2019 18:14:34 +0000 (19:14 +0100)]
sudo: update to 1.8.29

License-Update: added SPDX info.
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agocpio: update to 2.13
Alexander Kanavin [Thu, 12 Dec 2019 18:14:33 +0000 (19:14 +0100)]
cpio: update to 2.13

Drop a couple of backports.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoman-db: update to 2.9.0
Alexander Kanavin [Thu, 12 Dec 2019 18:14:31 +0000 (19:14 +0100)]
man-db: update to 2.9.0

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoman-pages: update to 5.04
Alexander Kanavin [Thu, 12 Dec 2019 18:14:30 +0000 (19:14 +0100)]
man-pages: update to 5.04

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoparted: update 3.2->3.3
Alexander Kanavin [Thu, 12 Dec 2019 18:14:24 +0000 (19:14 +0100)]
parted: update 3.2->3.3

0001-Unset-need_charset_alias-when-building-for-musl.patch is no longer
necessary as upstream has removed the code.

dm_check.patch is replaced with 0002-tests-use-skip_-rather-than-skip_test_-which-is-unde.patch

Rework ptests, in particular remove the generated Makefile
from the layer, and use the upstream Makefile.

Ptest pass rate is 100%.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibxml2: update to 2.9.10
Alexander Kanavin [Thu, 12 Dec 2019 18:14:23 +0000 (19:14 +0100)]
libxml2: update to 2.9.10

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoglide: update to 0.13.3
Alexander Kanavin [Thu, 12 Dec 2019 18:14:20 +0000 (19:14 +0100)]
glide: update to 0.13.3

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopuzzles: update to latest revision
Alexander Kanavin [Thu, 12 Dec 2019 18:14:19 +0000 (19:14 +0100)]
puzzles: update to latest revision

Remove 0001-Use-labs-instead-of-abs.patch as problem is fixed upstream.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agodos2unix: update to 7.4.1
Alexander Kanavin [Thu, 12 Dec 2019 18:14:18 +0000 (19:14 +0100)]
dos2unix: update to 7.4.1

License-Update: copyright years
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agosstatesig: Further optimise
Richard Purdie [Sun, 15 Dec 2019 17:44:35 +0000 (17:44 +0000)]
sstatesig: Further optimise

Optimise the call into the parent function to be only when needed.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoscripts/oe-build-perf-test: Use python3 from the environment
Richard Purdie [Sun, 15 Dec 2019 00:22:51 +0000 (00:22 +0000)]
scripts/oe-build-perf-test: Use python3 from the environment

On test machines we have python3 available at alternative locations. Use
these rather from the evnrionment rather than a hardcoded path.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agosstatesig: Optimise get_taskhash for hashequiv
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>
5 years agoconf/machine/x86-base: use wic instead of live
Ross Burton [Wed, 27 Nov 2019 13:30:47 +0000 (13:30 +0000)]
conf/machine/x86-base: use wic instead of live

Use wic instead of the live/hddimg filesystem type for x86 machines, as it
produces better filesystems and doesn't have a hard limit of 4GB.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobuildstats: Replace 'is' with '==' in python condition check expression
Khem Raj [Sun, 8 Dec 2019 21:42:11 +0000 (13:42 -0800)]
buildstats: Replace 'is' with '==' in python condition check expression

python 3.8 has started to throw this as a warning but usage is wrong see
[1], it seems to be working by accident and not design.

Fixes
SyntaxWarning: "is" with a literal. Did you mean "=="?

[1]: https://bugs.python.org/issue34850

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibjpeg-turbo: Build reproducibly
Joshua Watt [Mon, 9 Dec 2019 04:03:12 +0000 (22:03 -0600)]
libjpeg-turbo: Build reproducibly

Configures the options passed to nasm to remove build paths in the
generated object files.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agonasm: Add debug-prefix-map option
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>
5 years agoRevert "go: Reset unneeded GOARCH variables for native recipe"
Khem Raj [Fri, 13 Dec 2019 21:15:02 +0000 (13:15 -0800)]
Revert "go: Reset unneeded GOARCH variables for native recipe"

This reverts commit 4825eede606b075d0d529b38d6162999f1dec506.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agogoarch: Remove target specific dependencies
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>
5 years agocronie:fix SRC_URI path
Stefano Babic [Fri, 13 Dec 2019 15:34:11 +0000 (16:34 +0100)]
cronie:fix SRC_URI path

Signed-off-by: Stefano Babic <sbabic@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobluez5: disable debug output in ptests
Alexander Kanavin [Thu, 12 Dec 2019 18:14:22 +0000 (19:14 +0100)]
bluez5: disable debug output in ptests

This makes the log very large and breaks the ptest result
parser.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobluez: update 5.50 -> 5.52
Alexander Kanavin [Thu, 12 Dec 2019 18:14:21 +0000 (19:14 +0100)]
bluez: update 5.50 -> 5.52

Drop a big pile of backports.

Disable zsh completions, as they're unlikely to be useful.

(From OE-Core rev: dad8cd50bcc4203a65d153dc2445502c1e728975)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agokbd: avoid vlock conflict with busybox
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>
5 years agoreproducible_build_simple: inherit podfix
Ross Burton [Fri, 13 Dec 2019 23:21:56 +0000 (23:21 +0000)]
reproducible_build_simple: inherit podfix

When doing reproducible builds inherit podfix to remove the possibility
of differing Perl versions causing manpages to change.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopodfix: class to remove Pod::Man versions from manpages
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>
5 years agorunqemu: handle tap device creation failure properly
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>
5 years agorunqemu: log parameters correctly within testimage
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>
5 years agooeqa: qemu: ensure we print runqemu output in the event of failure
Paul Eggleton [Mon, 9 Dec 2019 10:59:07 +0000 (23:59 +1300)]
oeqa: qemu: ensure we print runqemu output in the event of failure

If we get here in the code it's because runqemu has failed, this is not
a debug situation - we need to see the output, so print it as an error.

Fixes [YOCTO #13681].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa: qemu: fix width of top output in host dump
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>
5 years agooeqa: qemu: ensure that host dump commands can be run properly
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>
5 years agobuild-appliance-image: Update to master head revision
Richard Purdie [Thu, 12 Dec 2019 14:21:40 +0000 (14:21 +0000)]
build-appliance-image: Update to master head revision

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobuild-appliance-image: Update to master head revision
Richard Purdie [Thu, 12 Dec 2019 13:15:09 +0000 (13:15 +0000)]
build-appliance-image: Update to master head revision

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>