]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
6 years agolinux-yocto/4.18: update to v4.18.17
Bruce Ashfield [Mon, 17 Dec 2018 03:38:19 +0000 (22:38 -0500)]
linux-yocto/4.18: update to v4.18.17

Integrating the korg -stable updates that comprise the following
commits:

   2237effd7edc Linux 4.18.17
   1757ec69500e net: bridge: remove ipv6 zero address check in mcast queries
   2ec673dbb0cd sparc: Throttle perf events properly.
   12176be9fc14 sparc: Fix syscall fallback bugs in VDSO.
   366187ea2b33 sparc: Fix single-pcr perf event counter management.
   4ce6adbc410a sparc64: Wire up compat getpeername and getsockname.
   a756494fb7bd sparc64: Set %l4 properly on trap return after handling signals.
   1a47e59c4471 sparc64: Make proc_id signed.
   f64ff34d414e sparc64: Make corrupted user stacks more debuggable.
   69e6b8f41fbf sparc64: Export __node_distance.
   6a84bdb84df3 mlxsw: core: Fix devlink unregister flow
   2d484ce0a878 net/mlx5: WQ, fixes for fragmented WQ buffers API
   f8e70fa84f76 net: fix pskb_trim_rcsum_slow() with odd trim offset
   4eb937395873 net: drop skb on failure in ip_check_defrag()
   dc4526d3bfeb net: bpfilter: use get_pid_task instead of pid_task
   79a6dd1cb8e3 mlxsw: spectrum_switchdev: Don't ignore deletions of learned MACs
   f235cdcf4fc4 net/smc: fix smc_buf_unuse to use the lgr pointer
   d09a8fb16103 net/mlx5: Fix memory leak when setting fpga ipsec caps
   63f8939f793b sctp: not free the new asoc when sctp_wait_for_connect returns err
   c1b1e96cffd2 sctp: fix the data size calculation in sctp_data_size
   81e31abfa81d net/ipv6: Allow onlink routes to have a device mismatch if it is the default route
   c5038b492cb1 net/sched: cls_api: add missing validation of netlink attributes
   45675e6e6344 net: sched: Fix for duplicate class dump
   11681b07d320 net: bcmgenet: Poll internal PHY for GENETv5
   b9a30ce087b4 net/mlx5: Take only bit 24-26 of wqe.pftype_wq for page fault type
   739b2449f0cf net: ipmr: fix unresolved entry dumps
   f8c96597387e openvswitch: Fix push/pop ethernet validation
   0b73d75ab52f ip6_tunnel: Fix encapsulation layout
   2f75b5a2c832 bonding: fix length of actor system
   03e00d0609eb ethtool: fix a privilege escalation bug
   e30293d0a03a virtio_net: avoid using netif_tx_disable() for serializing tx routine
   c75d697c8197 vhost: Fix Spectre V1 vulnerability
   886de7239b16 udp6: fix encap return code for resubmitting
   b3c2e8e106df tipc: fix unsafe rcu locking when accessing publication list
   721933262ef7 sctp: fix race on sctp_id2asoc
   2645237c90e7 rtnetlink: Disallow FDB configuration for non-Ethernet device
   9ae97da02a54 r8169: fix NAPI handling under high load
   6c5f9c2de021 net: udp: fix handling of CHECKSUM_COMPLETE packets
   cbfb26f3eb03 net: stmmac: Fix stmmac_mdio_reset() when building stmmac as modules
   a04092cebd73 net: socket: fix a missing-check bug
   ea824d70d673 net: sched: gred: pass the right attribute to gred_change_table_def()
   7344adab32c7 net/mlx5e: fix csum adjustments caused by RXFCS
   60a2c3b4a991 net/ipv6: Fix index counter for unicast addresses in in6_dump_addrs
   4dcde3a4c5ea net: fec: don't dump RX FIFO register when not available
   cc30c16a04cb llc: set SOCK_RCU_FREE in llc_sap_add_socket()
   23b5d05d9114 ipv6: rate-limit probes for neighbourless routes
   9198d01eb02d ipv6/ndisc: Preserve IPv6 control buffer if protocol error handlers are called
   558af64846ca ipv6: mcast: fix a use-after-free in inet6_mc_check
   9801a672beb6 bridge: do not add port to router list when receives query with source 0.0.0.0
   b13411edcf71 perf tools: Disable parallelism for 'make clean'
   f1f040bf29b7 Revert "netfilter: ipv6: nf_defrag: drop skb dst before queueing"
   d496cdeede28 Revert "mm: slowly shrink slabs with a relatively small number of objects"
   4afb03f48e7e fs/fat/fatent.c: add cond_resched() to fat_count_free_clusters()
   9721f5af4d23 afs: Fix cell proc list
   9277b65e04d6 vmlinux.lds.h: Fix linker warnings about orphan .LPBX sections
   e266c397e724 vmlinux.lds.h: Fix incomplete .text.exit discards
   c4659254b987 selftests: udpgso_bench.sh explicitly requires bash
   92e648292600 selftests: rtnetlink.sh explicitly requires bash.
   941a8d0b8409 rds: RDS (tcp) hangs on sendto() to unresponding address
   87113db1242c IB/mlx5: Unmap DMA addr from HCA before IOMMU
   e14b8b11ac50 gpio: Assign gpio_irq_chip::parents to non-stack pointer
   e7579cb736ec net: ena: fix NULL dereference due to untimely napi initialization
   2abc117c9799 net: ena: fix rare bug when failed restart/resume is followed by driver removal
   b0af327d145f net: ena: fix warning in rmmod caused by double iounmap
   6be48d8274ef KVM: x86: support CONFIG_KVM_AMD=y with CONFIG_CRYPTO_DEV_CCP_DD=m
   98154205f7a9 rxrpc: Fix connection-level abort handling
   47af9661cc87 rxrpc: Only take the rwind and mtu values from latest ACK
   54776c736d41 rxrpc: Carry call state out of locked section in rxrpc_rotate_tx_window()
   e3dcbf121240 rxrpc: Don't check RXRPC_CALL_TX_LAST after calling rxrpc_rotate_tx_window()
   903fb78f7436 perf record: Use unmapped IP for inline callchain cursors
   37e241d14094 perf python: Use -Wno-redundant-decls to build with PYTHON=python3
   2b401f26406f ARM: dts: imx53-qsb: disable 1.2GHz OPP
   755b72711bbc compiler.h: Allow arch-specific asm/compiler.h
   ff78e12f6587 HID: i2c-hid: Remove RESEND_REPORT_DESCR quirk and its handling
   e911f46c0cc5 tls: Fix improper revert in zerocopy_from_iter
   2033959b7421 perf report: Don't try to map ip to invalid map
   15ea940bc3fb libertas: call into generic suspend code before turning off power
   d33c4297bac5 clk: mvebu: armada-37xx-periph: Remove unused var num_parents
   e7f8508aca5e x86/paravirt: Fix some warning messages
   3b917cecac61 mm/migrate.c: split only transparent huge pages when allocation fails
   28d6d2236564 mm/gup_benchmark: fix unsigned comparison to zero in __gup_benchmark_ioctl
   203711a8820b ocfs2: fix crash in ocfs2_duplicate_clusters_by_page()
   72c25b9bf77d yam: fix a missing-check bug
   4c8345b62cfe net: cxgb3_main: fix a missing-check bug
   3397d28b3e27 powerpc/numa: Skip onlining a offline node in kdump path
   a7af3a2ae488 be2net: don't flip hw_features when VXLANs are added/deleted
   43cb734246c0 drm/amd/display: Signal hw_done() after waiting for flip_done()
   76c84d0a2313 locking/ww_mutex: Fix runtime warning in the WW mutex selftest
   1ac18a1dbc3f Revert "serial: 8250_dw: Fix runtime PM handling"
   0cf9edba8270 RISCV: Fix end PFN for low memory
   5278d9550d4d declance: Fix continuation with the adapter identification message
   c770ce978ac2 net: fec: fix rare tx timeout
   5613fc70844b thunderbolt: Initialize after IOMMUs
   1699207e9c7c thunderbolt: Do not handle ICM events after domain is stopped
   14ad1e0af45f perf/x86/amd/uncore: Set ThreadMask and SliceMask for L3 Cache perf events
   9f1aaaae92ff perf/x86/intel/uncore: Fix PCI BDF address of M3UPI on SKX
   8764955cc03e perf/ring_buffer: Prevent concurent ring buffer access
   3617d16a5744 perf/x86/intel/uncore: Use boot_cpu_data.phys_proc_id instead of hardcorded physical package ID 0
   d318ef466d5f perf/core: Fix perf_pmu_unregister() locking
   2f56f220a61e KVM: nVMX: Fix emulation of VM_ENTRY_LOAD_BNDCFGS
   3c81fff77cfd KVM: x86: Do not use kvm_x86_ops->mpx_supported() directly
   82ba86c25383 KVM: nVMX: Do not expose MPX VMX controls when guest MPX disabled
   2dbf48f8ffb3 cfg80211: fix use-after-free in reg_process_hint()
   9069c847f3fe smsc95xx: Check for Wake-on-LAN modes
   4f1268db2975 smsc75xx: Check for Wake-on-LAN modes
   e3935fa141b8 r8152: Check for supported Wake-on-LAN Modes
   e8f4ce7df75e sr9800: Check for supported Wake-on-LAN modes
   35c636108bc4 lan78xx: Check for supported Wake-on-LAN modes
   58d2f3f743a1 ax88179_178a: Check for supported Wake-on-LAN modes
   afc7b1940200 asix: Check for supported Wake-on-LAN modes
   723b7d86877d netfilter: avoid erronous array bounds warning
   8d3156b3c109 netfilter: nft_set_rbtree: add missing rb_erase() in GC routine
   18cb92701a5d rxrpc: Fix error distribution
   4ca2cf672c5b rxrpc: Fix transport sockopts to get IPv4 errors on an IPv6 socket
   1a75026c857a rxrpc: Fix RTT gathering
   6a14d1c9336f rxrpc: Fix checks as to whether we should set up a new call
   605c374d8d70 scsi: qedi: Initialize the stats mutex lock
   aa1945964a7c nl80211: Fix possible Spectre-v1 for CQM RSSI thresholds
   7a9bda693628 qed: Avoid implicit enum conversion in qed_iwarp_parse_rx_pkt
   d627d3b8bed3 qed: Avoid constant logical operation warning in qed_vf_pf_acquire
   02e2aef498f7 qed: Avoid implicit enum conversion in qed_roce_mode_to_flavor
   b65e69499980 qed: Fix mask parameter in qed_vf_prep_tunn_req_tlv
   a2b1a38ad02b qed: Avoid implicit enum conversion in qed_set_tunn_cls_info
   b9e005da34ff pxa168fb: prepare the clock
   6c2222c8f039 Bluetooth: SMP: fix crash in unpairing
   68fd462426c4 mac80211_hwsim: do not omit multicast announce of first added radio
   5b79f65376d3 mac80211_hwsim: fix race in radio destruction from netlink notifier
   a245a12394fe mac80211_hwsim: fix locking when iterating radios during ns exit
   de835e3911a3 nl80211: Fix possible Spectre-v1 for NL80211_TXRATE_HT
   4417f9e05c28 soc: fsl: qe: Fix copy/paste bug in ucc_get_tdm_sync_shift()
   d87e83a55f4b soc: fsl: qbman: qman: avoid allocating from non existing gen_pool
   da5e35d2f776 net: macb: Clean 64b dma addresses if they are not detected
   5499ce65ff9c ARM: dts: BCM63xx: Fix incorrect interrupt specifiers
   a958dc5482c1 arm64: hugetlb: Fix handling of young ptes
   eaab185b06cd netfilter: conntrack: get rid of double sizeof
   044c43754741 netfilter: bridge: Don't sabotage nf_hook calls from an l3mdev
   6b7174a50fb2 drm/i2c: tda9950: set MAX_RETRIES for errors only
   4abac4cf573a drm/i2c: tda9950: fix timeout counter check
   9981ca44ae4b xfrm: validate template mode
   3dc70478360e ARM: 8799/1: mm: fix pci_ioremap_io() offset check
   c473a489d409 xfrm: Fix NULL pointer dereference when skb_dst_force clears the dst_entry.
   53d617654c50 mac80211: fix TX status reporting for ieee80211s
   fd6b693e1d94 mac80211: TDLS: fix skb queue/priority assignment
   a9489521a39c cfg80211: Address some corner cases in scan result channel updating
   2c4739102f0e mac80211: fix pending queue hang due to TX_DROP
   2953d28476c3 cfg80211: reg: Init wiphy_idx in regulatory_hint_core()
   e20c2a6a7144 mac80211: Always report TX status
   c3767729df27 xfrm: reset crypto_done when iterating over multiple input xfrms
   fdb06c787b34 xfrm: reset transport header back to network header after all input transforms ahave been applied
   401979de6e8b xfrm6: call kfree_skb when skb is toobig
   36ad133bf987 xfrm: Validate address prefix lengths in the xfrm selector.
   6b3252287aa2 Linux 4.18.16
   645ad2d5cccc ARC: build: Don't set CROSS_COMPILE in arch's Makefile
   dfed0698a22e ARC: build: Get rid of toolchain check
   d80183541e60 mremap: properly flush TLB before releasing the page
   94d2da5ba1dd Revert "vfs: fix freeze protection in mnt_want_write_file() for overlayfs"
   7fde798123ef x86/boot: Fix kexec booting failure in the SEV bit detection code
   44e564aa4525 iommu/amd: Return devid as alias for ACPI HID devices
   0e963ecefb72 powerpc/numa: Use associativity if VPHN hcall is successful
   4a079f0a5398 powerpc/tm: Avoid possible userspace r1 corruption on reclaim
   8725b910e72d powerpc/tm: Fix userspace r13 corruption
   b0b901600550 pinctrl/amd: poll InterruptEnable bits in amd_gpio_irq_set_type
   0fe04d27b5e3 iommu/rockchip: Free irqs in shutdown handler
   1e23af485f89 RISC-V: include linux/ftrace.h in asm-prototypes.h
   086906d90bae RDMA/bnxt_re: Fix system crash during RDMA resource initialization
   87e75317fe81 clocksource/drivers/fttmr010: Fix set_next_event handler
   323ad7436184 net/mlx4: Use cpumask_available for eq->affinity_mask
   bcb2acdf27b3 bpf: test_maps, only support ESTABLISHED socks
   19e43942cbb7 bpf: sockmap, fix transition through disconnect without close
   60c302b7aea5 bpf: sockmap only allow ESTABLISHED sock state
   019a15f9bd44 scsi: sd: don't crash the host on invalid commands
   6dba1e338b6e scsi: ipr: System hung while dlpar adding primary ipr adapter back
   ce32caf41e53 drm: mali-dp: Call drm_crtc_vblank_reset on device init
   fab5471586f4 scsi: lpfc: Synchronize access to remoteport via rport
   7dc74b2622c2 RDMA/uverbs: Fix validity check for modify QP
   2c93f6f118ad PCI: dwc: Fix scheduling while atomic issues
   1093a05b5828 qed: Do not add VLAN 0 tag to untagged frames in multi-function mode.
   c23f22169cac qed: Fix populating the invalid stag value in multi function mode.
   9bdac39234d0 net/smc: fix sizeof to int comparison
   4b238ea05476 net/smc: fix non-blocking connect problem
   6b7d727a2d18 ravb: do not write 1 to reserved bits
   14bbe1ab20ac net: emac: fix fixed-link setup for the RTL8363SB switch
   66acb86c0905 selftests: pmtu: properly redirect stderr to /dev/null
   6a08cbb10aac Input: atakbd - fix Atari CapsLock behaviour
   ef17628c07da Input: atakbd - fix Atari keymap
   462809659a39 intel_th: pci: Add Ice Lake PCH support
   ee43eeb4d1b9 scsi: ibmvscsis: Ensure partition name is properly NUL terminated
   10ad9dcade4b scsi: ibmvscsis: Fix a stringop-overflow warning
   bb59249268cf clocksource/drivers/ti-32k: Add CLOCK_SOURCE_SUSPEND_NONSTOP flag for non-am43 SoCs
   385ce0611598 cxgb4: fix abort_req_rss6 struct
   413baacefef9 batman-adv: fix hardif_neigh refcount on queue_work() failure
   04125a63ea54 batman-adv: fix backbone_gw refcount on queue_work() failure
   39b0e1c4c79f batman-adv: Prevent duplicated tvlv handler
   c25ae7c479af batman-adv: Prevent duplicated global TT entry
   71d6d75e5801 batman-adv: Prevent duplicated softif_vlan entry
   2d1749b0fab0 batman-adv: Prevent duplicated nc_node entry
   d8ed2b187456 batman-adv: Prevent duplicated gateway_node entry
   eddab21dd463 batman-adv: Fix segfault when writing to sysfs elp_interval
   54231bb59a9a batman-adv: Fix segfault when writing to throughput_override
   52406f34bbb6 batman-adv: Avoid probe ELP information leak
   26c0bac0c117 spi: gpio: Fix copy-and-paste error
   affb1840c578 media: af9035: prevent buffer overflow on write
   1228a75335e0 soundwire: Fix acquiring bus lock twice during master release
   ad9107d7e1c7 soundwire: Fix incorrect exit after configuring stream
   b1bafbe4ff2d soundwire: Fix duplicate stream state assignment
   2724bf10255a Linux 4.18.15
   4a15f8a1de59 KVM: PPC: Book3S HV: Avoid crash from THP collapse during radix page fault
   726c11216e33 i2c: i2c-scmi: fix for i2c_smbus_write_block_data
   a249cdf8fc74 mm: Preserve _PAGE_DEVMAP across mprotect() calls
   7230bb7c98c1 filesystem-dax: Fix dax_layout_busy_page() livelock
   3c3bb028a3b7 mm/thp: fix call to mmu_notifier in set_pmd_migration_entry() v2
   ffa4d6624e1a mm/mmap.c: don't clobber partially overlapping VMA with MAP_FIXED_NOREPLACE
   53abe5164894 arm64: perf: Reject stand-alone CHAIN events for PMUv3
   59d9c7cba4ba pinctrl: mcp23s08: fix irq and irqchip setup order
   3df1331f63cd mmc: block: avoid multiblock reads for the last sector in SPI mode
   7088776eb06a drm/nouveau/drm/nouveau: Grab runtime PM ref in nv50_mstc_detect()
   ca45da09bc32 Input: xpad - add support for Xbox1 PDP Camo series gamepad
   d8408e8fc720 cgroup: Fix dom_cgrp propagation when enabling threaded mode
   012e6bceab53 dm linear: fix linear_end_io conditional definition
   996a427d8683 dm linear: eliminate linear_end_io call if CONFIG_DM_ZONED disabled
   689ba84574c2 dm: fix report zone remapping to account for partition offset
   e725141c0f4e dm cache: destroy migration_cache if cache target registration failed
   d8e15b143e4d s390/cio: Fix how vfio-ccw checks pinned pages
   b51943f088e5 perf script python: Fix export-to-sqlite.py sample columns
   cfb08fb1815f perf script python: Fix export-to-postgresql.py occasional failure
   37e64cb69f0f percpu: stop leaking bitmap metadata blocks
   71cfcc667ffa vsprintf: Fix off-by-one bug in bstr_printf() processing dereferenced pointers
   254754169d9d mach64: detect the dot clock divider correctly on sparc
   e4882348eaa9 MIPS: VDSO: Always map near top of user memory
   baa63c6a5b11 MIPS: Fix CONFIG_CMDLINE handling
   84a397478153 afs: Fix clearance of reply
   b28b1a5f8653 afs: Fix afs_server struct leak
   04473bb7793b mm/vmstat.c: fix outdated vmstat_text
   62aad93f09c1 mm: slowly shrink slabs with a relatively small number of objects
   3792c002b9ff drm/amdkfd: Fix ATS capablity was not reported correctly on some APUs
   c2fd5b21cbd9 drm/amdkfd: Change the control stack MTYPE from UC to NC on GFX9
   2d3966dd95dc drm/amdgpu: Fix SDMA HQD destroy error on gfx_v7
   1c9f357d3ebb x86/kvm/lapic: always disable MMIO interface in x2APIC mode
   5d85d4e0e105 pinctrl: cannonlake: Fix gpio base for GPP-E
   9f8318a1c50c clk: x86: Stop marking clocks as CLK_IS_CRITICAL
   81b8b9dffca8 clk: x86: add "ether_clk" alias for Bay Trail / Cherry Trail
   b25a8dd9895b PCI: hv: support reporting serial number as slot information
   aed5429279f8 ARM: dts: at91: add new compatibility string for macb on sama5d3
   ee62a5d3ea8a net: macb: disable scatter-gather for macb on sama5d3
   53035808c294 net: ethernet: ti: add missing GENERIC_ALLOCATOR dependency
   8be050c4011b hwmon: (nct6775) Use different register to get fan RPM for fan7
   1d753e689276 stmmac: fix valid numbers of unicast filter entries
   d8eeee24ced8 hwmon: (nct6775) Fix RPM output for fan7 on NCT6796D
   510dc356ff2c hwmon: (nct6775) Fix virtual temperature sources for NCT6796D
   4dc76c13f297 bpf: use __GFP_COMP while allocating page
   d2440a0b0672 bpf: btf: Fix end boundary calculation for type section
   aeaca3563bea sound: don't call skl_init_chip() to reset intel skl soc
   9761976f8e01 sound: enable interrupt after dma buffer initialization
   a1d77f9cd10a scsi: qla2xxx: Fix an endian bug in fcpcmd_is_corrupted()
   9ac4572a7374 scsi: iscsi: target: Don't use stack buffer for scatterlist
   970f5df113b1 KVM: PPC: Book3S HV: Don't use compound_order to determine host mapping size
   ba73c6ed5010 mfd: omap-usb-host: Fix dts probe of children
   e7c4c41389ff Bluetooth: hci_ldisc: Free rw_semaphore on close
   0d95a3d1fcf6 Bluetooth: Use correct tfm to generate OOB data
   3194c412f471 Bluetooth: SMP: Fix trying to use non-existent local OOB data
   5421ce8b59bc drm/pl111: Make sure of_device_id tables are NULL terminated
   d0200873bc9c ASoC: AMD: Ensure reset bit is cleared before configuring
   5d1a5a5eed92 Fix cg_read_strcmp()
   636dd4536009 hwmon: (nct6775) Fix access to fan pulse registers
   59fcb2491ca0 ASoC: rsnd: don't fallback to PIO mode when -EPROBE_DEFER
   ee3953f7b81c ASoC: rsnd: adg: care clock-frequency size
   b7bad669da54 selftests: memory-hotplug: add required configs
   9a90b9e380c5 selftests/efivarfs: add required kernel configs
   40299ec565fa selftests: add headers_install to lib.mk
   36a89768d19f ASoC: q6routing: initialize data correctly
   64458ca97124 ASoC: sigmadsp: safeload should not have lower byte limit
   4a7f15b6d5fa ASoC: wm8804: Add ACPI support
   55261a2cddb5 ASoC: max98373: Added 10ms sleep after amp software reset
   686da99baa28 selftests: kselftest: Remove outdated comment
   6a4d1b70e323 selftests: android: move config up a level
   334411face5a ASoC: rt5514: Fix the issue of the delay volume applied again
   e4c577698c7c ASoC: max98373: Added speaker FS gain cotnrol register to volatile.
   6e6b32ed0413 ASoC: dapm: Fix NULL pointer deference on CODEC to CODEC DAIs
   ffac8fa2bee5 vxlan: fill ttl inherit info
   241e5a13a5ad r8169: set RX_MULTI_EN bit in RxConfig for 8168F-family chips
   87441df1e19e r8169: fix network stalls due to missing bit TXCFG_AUTO_FIFO
   761ea5beff71 qed: Fix shmem structure inconsistency between driver and the mfw.
   6133d8e499e6 net: mscc: fix the frame extraction into the skb
   d29a558b56ee net/ipv6: stop leaking percpu memory in fib6 info
   e3827b9bc3ba net/ipv6: Remove extra call to ip6_convert_metrics for multipath case
   47049f54f89d bnxt_en: get the reduced max_irqs by the ones used by RDMA
   dce53396b52d bnxt_en: Fix enables field in HWRM_QUEUE_COS2BW_CFG request
   23631aa634ef net/mlx5: Check for SQ and not RQ state when modifying hairpin SQ
   6691a126ed63 net: ipv4: don't let PMTU updates increase route MTU
   530a9463cbe6 bnxt_en: Fix VNIC reservations on the PF.
   5d4fe8e6344b rtnetlink: Fail dump if target netnsid is invalid
   36298c66d8dc net: dsa: b53: Keep CPU port as tagged in all VLANs
   efef3f2073d1 inet: make sure to grab rcu_read_lock before using ireq->ireq_opt
   9fd4b0122ac3 tcp/dccp: fix lockdep issue when SYN is backlogged
   54d72415f8b2 sfp: fix oops with ethtool -m
   24205e4e62dd net: phy: phylink: fix SFP interface autodetection
   37b309773a67 net-ethtool: ETHTOOL_GUFO did not and should not require CAP_NET_ADMIN
   2402fbb7aa01 bnxt_en: don't try to offload VLAN 'modify' action
   f219cd971281 nfp: avoid soft lockups under control message storm
   2b4588d75b89 net: stmmac: Rework coalesce timer and fix multi-queue races
   8f389cd37d10 bonding: fix warning message
   5fb48fe95e41 bonding: pass link-local packets to bonding master also.
   92a2a40c876f net/mlx5: E-Switch, Fix out of bound access when setting vport rate
   02e16d375ee6 net: aquantia: memory corruption on jumbo frames
   6db3fc2839be net/mlx5e: Set vlan masks for all offloaded TC rules
   42296a164196 net: dsa: bcm_sf2: Fix unbind ordering
   53afeb0b222b net/packet: fix packet drop as of virtio gso
   75ebeb2e6a60 net: stmmac: Fixup the tail addr setting in xmit path
   0c5eff9c2cf2 tun: napi flags belong to tfile
   d013c6b952f0 tun: initialize napi_mutex unconditionally
   7d96410f397b tun: remove unused parameters
   095a5309c6c6 net: qualcomm: rmnet: Fix incorrect allocation flag in receive path
   9db5df4c92dd net: qualcomm: rmnet: Fix incorrect allocation flag in transmit
   3283c92e91f7 net: qualcomm: rmnet: Skip processing loopback packets
   3ab83c6a1fb4 udp: Unbreak modules that rely on external __skb_recv_udp() availability
   4f6017d6ef53 tipc: fix flow control accounting for implicit connect
   0240ca1b11d3 team: Forbid enslaving team device to itself
   375c63d4a70c sctp: update dst pmtu with the correct daddr
   2ac4b03c0fcc rtnl: limit IFLA_NUM_TX_QUEUES and IFLA_NUM_RX_QUEUES to 4096
   5369306f960f rtnetlink: fix rtnl_fdb_dump() for ndmsg header
   7f4a4fa5fa58 qmi_wwan: Added support for Gemalto's Cinterion ALASxx WWAN interface
   cbf2e16dd724 qlcnic: fix Tx descriptor corruption on 82xx devices
   0993dc028ed2 net/usb: cancel pending work when unbinding smsc75xx
   a308452e12c0 net: systemport: Fix wake-up interrupt race during resume
   6da1bd2d008f net: sched: cls_u32: fix hnode refcounting
   57ad6586fd57 net: sched: Add policy validation for tc attributes
   94d93e549eb1 net: mvpp2: fix a txq_done race condition
   ac521a40054c net: mvpp2: Extract the correct ethtype from the skb for tx csum offload
   dbbae2c07809 netlabel: check for IPV4MASK in addrinfo_get
   e4a00db35924 net/ipv6: Display all addresses in output of /proc/net/if_inet6
   ff34695ced21 net: ipv4: update fnhe_pmtu when first hop's MTU changes
   87d57bb87dd8 net: hns: fix for unmapping problem when SMMU is on
   1ae21378ab43 net: dsa: bcm_sf2: Call setup during switch resume
   08e8e22b6d3a ipv6: take rcu lock in rawv6_send_hdrinc()
   18ea575f665d ipv4: fix use-after-free in ip_cmsg_recv_dstaddr()
   fa111ec2d2c5 ip_tunnel: be careful when accessing the inner header
   84b262a5a008 ip6_tunnel: be careful when accessing the inner header
   1b420a9999f0 bonding: avoid possible dead-lock
   2fc26dfba49d bnxt_en: free hwrm resources, if driver probe fails.
   f462adcb0638 bnxt_en: Fix TX timeout during netpoll.

(From OE-Core rev: 9c7770cf622571b7e8ba0f3447323bcf777b5486)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agolinux-yocto/4.18: bug fixes and configuration tweaks
Bruce Ashfield [Mon, 17 Dec 2018 03:38:18 +0000 (22:38 -0500)]
linux-yocto/4.18: bug fixes and configuration tweaks

Integrating the following commits:

  2ba9a28434f8 netfilter: use kvmalloc_array to allocate memory for hashtable
  6e1fae5d233a ipv4: net namespace does not inherit network configurations

As well as the following configuration changes:

  ed1978c99214 features/module-signing: add new feature
  a28fd4843381 edac: Drop CONFIG_EDAC_MM_EDAC and add dependency
  8ae63963256e xfs: add xfs support

(From OE-Core rev: d88ce948ff2c910e796b78be388bec9578f6eb9c)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agolinux-yocto/tiny: restore qemuarm support
Bruce Ashfield [Mon, 17 Dec 2018 03:38:17 +0000 (22:38 -0500)]
linux-yocto/tiny: restore qemuarm support

qemuarm-tiny support was added to the 4.15 linux-yocto kernel, and
was incorrectly dropped from 4.18.

This restores the support for out of the box builds in 4.18+.

(From OE-Core rev: bd066bf4aa47b6ca37fbeb4ac4909d75a8a1e285)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agolinux-yocto/tiny: switch default branch to standard/tiny/base
Bruce Ashfield [Mon, 17 Dec 2018 03:38:16 +0000 (22:38 -0500)]
linux-yocto/tiny: switch default branch to standard/tiny/base

The default KBRANCH for building -tiny should not be machine specific.
In fact, the SRCREVs that have been in place for -tiny have been using
the hashes from tiny/base for some time, but since the machine specific
branches all contain that hash, the mismatch hasn't been spotted.

Setting the default branch to standard/tiny/base makes sure that the
default branch and SRCREVs always match.

(From OE-Core rev: dc11aab60e7561d764c56808277b47e7bb40c6c0)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agolinux-yocto/4.18: -rt sync and config cleanups
Bruce Ashfield [Mon, 17 Dec 2018 03:38:15 +0000 (22:38 -0500)]
linux-yocto/4.18: -rt sync and config cleanups

Integrating the following -rt patches:

  cab37ca8426b rt: update localversion to match latest content
  186274b2b6dc tty: serial: pl011: explicitly initialize the flags variable
  ac121b7124a0 mm/kasan: make quarantine_lock a raw_spinlock_t
  6100773500e7 watchdog: prevent deferral of watchdogd wakeup on RT
  ce594291c4eb kthread: convert worker lock to raw spinlock

And the following configuration tweaks:

  e39413ec2bdd sound.cfg: enable SND_SOC_INTEL_SKYLAKE

(From OE-Core rev: a757e0638e8411fe6b4c58f3840ee27d49feb97e)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agolinux-yocto/4.14: configuration cleanups
Bruce Ashfield [Mon, 17 Dec 2018 03:38:14 +0000 (22:38 -0500)]
linux-yocto/4.14: configuration cleanups

Integrating the following configuration cleanups/tweaks:

 19c174f547e6 sound.cfg: enable SND_SOC_INTEL_SKYLAKE explicitly

(From OE-Core rev: bd754dbf1f0c8ba7a77e720cbc30232712ee34e0)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agolinux-yocto: remove obselete options from lxc config
Bruce Ashfield [Mon, 17 Dec 2018 03:38:13 +0000 (22:38 -0500)]
linux-yocto: remove obselete options from lxc config

The lxc config fragments have some options that are no long valid. So we
can safely drop them.

  721f3cfcb199 lxc: drop CONFIG_MM_OWNER
  3b5f717d0311 vfio: drop CONFIG_KVM_DEVICE_ASSIGNMENT

(From OE-Core rev: b7ddaeab2c48b68e2be24c8f810ac9e84c6bb171)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agolicence: Add license file CC-BY-SA-4.0
Eric Chanudet [Tue, 27 Nov 2018 23:44:56 +0000 (23:44 +0000)]
licence: Add license file CC-BY-SA-4.0

Original legalcode.txt:
https://creativecommons.org/licenses/by-sa/4.0/legalcode.txt

(From OE-Core rev: fa06fcce7942f5960178dcdeb61a7b659f7f8207)

Signed-off-by: Eric Chanudet <chanudete@ainfosec.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agopiglit: add missing waffle-bin dependency
Ross Burton [Fri, 30 Nov 2018 14:29:23 +0000 (14:29 +0000)]
piglit: add missing waffle-bin dependency

The sanity test uses wflinfo, so depend on waffle-bin.

(From OE-Core rev: 0f5c8ce010a296904f767f38e262eef251417c4e)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agobinconfig: only try to mangles files
Ross Burton [Fri, 30 Nov 2018 10:40:38 +0000 (10:40 +0000)]
binconfig: only try to mangles files

If a file matches the glob that is an absolute symlink then sed will try to
alter files on the host, so restrict the search to just actual files.

(From OE-Core rev: 5556b5ca9efac132754bd82af52a0f68bc4ce85a)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agolibc-package: fix postinst error when ENABLE_BINARY_LOCALE_GENERATION = "0"
Alexander Kanavin [Thu, 29 Nov 2018 16:11:50 +0000 (17:11 +0100)]
libc-package: fix postinst error when ENABLE_BINARY_LOCALE_GENERATION = "0"

[YOCTO #13028]

(From OE-Core rev: f630da64b010795482e013362c3fe184dcbd8d25)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agopython: Adds instructions to the manifest file
Alejandro Enedino Hernandez Samaniego [Fri, 16 Nov 2018 19:31:46 +0000 (11:31 -0800)]
python: Adds instructions to the manifest file

While there is a bit of documentation regarding building a new
manifest file for python, it seems that users usually only read
the manifest file.

The manifest file is in JSON format which doesn't allow comments,
hence why instructions were initially put elsewhere.

This patch hacks the call to open the JSON manifest file by using a
marker to trick it into reading only part of the file as the manifest
itself, and keep the other part as comments, which contain instructions
for the user to run the create_manifest task after an upgrade or
when adding a new package.

(From OE-Core rev: 5641a24a70b54544012c04c6a082514d9a5aa49a)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agolibtasn1: no need to inherit binconfig
Ross Burton [Thu, 29 Nov 2018 12:10:20 +0000 (12:10 +0000)]
libtasn1: no need to inherit binconfig

This recipe doesn't ship a *-config binary, so don't inherit binconfig.

(From OE-Core rev: 8b7d74aa7bb73daf84593fafde3eef4595918b63)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agoimage_types: use cpio-native to build cpio images
Ross Burton [Thu, 29 Nov 2018 11:42:15 +0000 (11:42 +0000)]
image_types: use cpio-native to build cpio images

As per the previous commit, upstream cpio has a bug which means it crashes on
append. If the image being built has already had testimage ran then cpio-native
will be in the sysroot.  It's also possible that some distributions are shipping
this broken CVE patch too.

Now that our cpio-native is fixed, until we can be sure that the host cpio isn't
broken depend on cpio-native if building a cpio image.

[ YOCTO #13042 ]

(From OE-Core rev: c3b9aedcbe538d7fa74bd814644b4899769dec46)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agocpio: fix crash when appending to archives
Ross Burton [Thu, 29 Nov 2018 11:42:14 +0000 (11:42 +0000)]
cpio: fix crash when appending to archives

The upstream fix for CVE-2016-2037 introduced a read from uninitialized memory
bug when appending to an existing archive, which is an operation we perform when
building an image.

(From OE-Core rev: 046e3e1fca925febf47b3fdd5d4e9ee2e1fad868)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agometa-selftest/error: Cleanup large trailing whitespace
Richard Purdie [Thu, 29 Nov 2018 12:03:32 +0000 (12:03 +0000)]
meta-selftest/error: Cleanup large trailing whitespace

(From OE-Core rev: 0772b6de9dfbb276845c0a08ebcce41896b8056e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agonspr: improve reproducibility
Mingli Yu [Fri, 16 Nov 2018 07:09:59 +0000 (23:09 -0800)]
nspr: improve reproducibility

Remove _BUILD_STRING and _BUILD_TIME in _pl_bld.h
to avoid introducing timestamp in the .so library
such as libnspr4.so as below:
 $ readelf --wide --decompress --hex-dump=.rodata libnspr4.so
 [snip]
  0x00004000 32303138 2d31312d 31352030 353a3439 2018-11-15 05:49
 [snip]

[YOCTO #12639]

(From OE-Core rev: a3ca6272845c33f48430210470f133034ad8399d)

Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agoghostscript: 9.25 -> 9.26
Hongxu Jia [Wed, 28 Nov 2018 07:02:54 +0000 (15:02 +0800)]
ghostscript: 9.25 -> 9.26

- Drop backported CVE fixes
  000[1-8]*.patch

(From OE-Core rev: f30bd6bf01dbf81f0872382be44d507fb981f953)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agoscripts/runqemu: Fix logic error causing failures with MACHINE from the environment
Richard Purdie [Wed, 28 Nov 2018 16:09:56 +0000 (16:09 +0000)]
scripts/runqemu: Fix logic error causing failures with MACHINE from the environment

MACHINE=qemux86-64 oe-selftest -r runqemu.RunqemuTests.test_boot_machine_slirp_qcow2

fails yet

oe-selftest -r runqemu.RunqemuTests.test_boot_machine_slirp_qcow2

with MACHINE in local.conf would work.

It turns out that:

runqemu slirp wic.qcow2 qemux86-64

works but:

MACHINE=qemux86-64 runqemu slirp wic.qcow2 qemux86-64

does not.

The reason are the misplaced return statements in runqemu, its skipping a block
of logic when MACHINE is set in the environment when it shouldn't. Fix this.

(From OE-Core rev: 98d113ae52cbbc88773a81a17b0933412a8e463b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agogst-validate: upgrade 1.14.2 -> 1.14.4
Anuj Mittal [Tue, 27 Nov 2018 08:55:24 +0000 (16:55 +0800)]
gst-validate: upgrade 1.14.2 -> 1.14.4

(From OE-Core rev: 21387613fec1a8c142ed48d7a74d587e205b0c98)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agogstreamer1.0-python: upgrade 1.14.3 -> 1.14.4
Anuj Mittal [Tue, 27 Nov 2018 08:55:23 +0000 (16:55 +0800)]
gstreamer1.0-python: upgrade 1.14.3 -> 1.14.4

(From OE-Core rev: 454129a0dc8eabb53753f9d416cf7271c796acf4)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agogstreamer1.0-omx: upgrade 1.14.3 -> 1.14.4
Anuj Mittal [Tue, 27 Nov 2018 08:55:22 +0000 (16:55 +0800)]
gstreamer1.0-omx: upgrade 1.14.3 -> 1.14.4

(From OE-Core rev: 9b613f029490a3540492393206be004b649c0806)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agogstreamer1.0-rtsp-server: upgrade 1.14.3 -> 1.14.4
Anuj Mittal [Tue, 27 Nov 2018 08:55:21 +0000 (16:55 +0800)]
gstreamer1.0-rtsp-server: upgrade 1.14.3 -> 1.14.4

(From OE-Core rev: 8a73dc7da63bbd3c57bde2a3733d172d784e5f46)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agogstreamer1.0-vaapi: upgrade 1.14.3 -> 1.14.4
Anuj Mittal [Tue, 27 Nov 2018 08:55:20 +0000 (16:55 +0800)]
gstreamer1.0-vaapi: upgrade 1.14.3 -> 1.14.4

(From OE-Core rev: 9caacfe4c3ef92f3701f24ff3c924f50adb5f9de)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agogstreamer1.0-libav: upgrade 1.14.3 -> 1.14.4
Anuj Mittal [Tue, 27 Nov 2018 08:55:19 +0000 (16:55 +0800)]
gstreamer1.0-libav: upgrade 1.14.3 -> 1.14.4

(From OE-Core rev: 14370389a50bda84eee7b3a024709fd43fc7c5aa)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agogstreamer1.0-plugins-ugly: upgrade 1.14.3 -> 1.14.4
Anuj Mittal [Tue, 27 Nov 2018 08:55:18 +0000 (16:55 +0800)]
gstreamer1.0-plugins-ugly: upgrade 1.14.3 -> 1.14.4

(From OE-Core rev: d1e5c9b85f980e747c9d6c5682448e0756bd25cd)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agogstreamer1.0-plugins-bad: upgrade 1.14.3 -> 1.14.4
Anuj Mittal [Tue, 27 Nov 2018 08:55:17 +0000 (16:55 +0800)]
gstreamer1.0-plugins-bad: upgrade 1.14.3 -> 1.14.4

(From OE-Core rev: 74d9bd02f41d555317eef6b82e94f351ffc61529)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agogstreamer1.0-plugins-good: upgrade 1.14.3 -> 1.14.4
Anuj Mittal [Tue, 27 Nov 2018 08:55:16 +0000 (16:55 +0800)]
gstreamer1.0-plugins-good: upgrade 1.14.3 -> 1.14.4

(From OE-Core rev: adeec11d875a5603bd64b9bfb888da5cdb7631e5)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agogstreamer1.0-plugins-base: upgrade 1.14.3 -> 1.14.4
Anuj Mittal [Tue, 27 Nov 2018 08:55:15 +0000 (16:55 +0800)]
gstreamer1.0-plugins-base: upgrade 1.14.3 -> 1.14.4

(From OE-Core rev: 868059f052547a73e428fe8d4066dc4412e29478)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agogstreamer1.0: upgrade 1.14.3 -> 1.14.4
Anuj Mittal [Tue, 27 Nov 2018 08:55:14 +0000 (16:55 +0800)]
gstreamer1.0: upgrade 1.14.3 -> 1.14.4

This release only contains bugfixes and it should be safe to update from
1.14.x.

Release notes:

https://gstreamer.freedesktop.org/releases/1.14/

(From OE-Core rev: 4286f191c4b10cf5f3a14ed391902a11a9d61a09)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agogst-plugins-bad: add PACKAGECONFIG for msdk
Anuj Mittal [Tue, 27 Nov 2018 08:55:13 +0000 (16:55 +0800)]
gst-plugins-bad: add PACKAGECONFIG for msdk

gst-msdk is a plugin for Intel Media SDK. More details:

https://cgit.freedesktop.org/gstreamer/gst-plugins-bad/tree/sys/msdk/README

(From OE-Core rev: c138fa26dde7fca5b366ab69bac84359ebbd0fd7)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agogstreamer1.0-python: upgrade to version 1.14.3
Carlos Rafael Giani [Wed, 26 Sep 2018 17:42:42 +0000 (19:42 +0200)]
gstreamer1.0-python: upgrade to version 1.14.3

(From OE-Core rev: 750e03a231eb3bcf31c30cf67ff80a6bc821ee66)

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agogstreamer1.0-omx: upgrade to version 1.14.3
Carlos Rafael Giani [Wed, 26 Sep 2018 17:42:41 +0000 (19:42 +0200)]
gstreamer1.0-omx: upgrade to version 1.14.3

(From OE-Core rev: ea4882b89500d9da8d7a731968ea7a311737f6ea)

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agogstreamer1.0-vaapi: upgrade to version 1.14.3
Carlos Rafael Giani [Wed, 26 Sep 2018 17:42:40 +0000 (19:42 +0200)]
gstreamer1.0-vaapi: upgrade to version 1.14.3

(From OE-Core rev: c3d863f4f989461c61e7d61259423fe0e8202eed)

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agogstreamer1.0-rtsp-server: upgrade to version 1.14.3
Carlos Rafael Giani [Wed, 26 Sep 2018 17:42:39 +0000 (19:42 +0200)]
gstreamer1.0-rtsp-server: upgrade to version 1.14.3

(From OE-Core rev: f62a87b3c6638c6da764d19133eba552f2102bae)

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agogstreamer1.0-libav: upgrade to version 1.14.3
Carlos Rafael Giani [Wed, 26 Sep 2018 17:42:38 +0000 (19:42 +0200)]
gstreamer1.0-libav: upgrade to version 1.14.3

(From OE-Core rev: 4508d6f0befb1b91f9cfe74b0ca84c8fb5f79da5)

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agogstreamer1.0-plugin-ugly: upgrade to version 1.14.3
Carlos Rafael Giani [Wed, 26 Sep 2018 17:42:37 +0000 (19:42 +0200)]
gstreamer1.0-plugin-ugly: upgrade to version 1.14.3

(From OE-Core rev: aedec50bc8fb2ddcd1ea7cadbdd07f9d103840aa)

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agogstreamer1.0-plugin-bad: upgrade to version 1.14.3
Carlos Rafael Giani [Wed, 26 Sep 2018 17:42:36 +0000 (19:42 +0200)]
gstreamer1.0-plugin-bad: upgrade to version 1.14.3

(From OE-Core rev: 22e124ef0b01c3aae75e8e29a3078cb42a47ae17)

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agogstreamer1.0-plugin-good: upgrade to version 1.14.3
Carlos Rafael Giani [Wed, 26 Sep 2018 17:42:35 +0000 (19:42 +0200)]
gstreamer1.0-plugin-good: upgrade to version 1.14.3

(From OE-Core rev: 63753e9c06641025ba4711af61a4f34e2388ec72)

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agogstreamer1.0-plugin-base: upgrade to version 1.14.3
Carlos Rafael Giani [Wed, 26 Sep 2018 17:42:34 +0000 (19:42 +0200)]
gstreamer1.0-plugin-base: upgrade to version 1.14.3

(From OE-Core rev: df2a0fd27a23ece636c018d007e2dcf9343fb7a8)

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agogstreamer1.0: upgrade to version 1.14.3
Carlos Rafael Giani [Wed, 26 Sep 2018 17:42:33 +0000 (19:42 +0200)]
gstreamer1.0: upgrade to version 1.14.3

(From OE-Core rev: fb840932018cb449ee96904b8a2f17e7693a5669)

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agomaintainers.inc: update Intel owners
Anuj Mittal [Tue, 27 Nov 2018 08:55:11 +0000 (16:55 +0800)]
maintainers.inc: update Intel owners

(From OE-Core rev: 198fe6d08f000b3db9082b5fd4337536931719ee)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agodevtool: fix target-deploy --strip
Adrian Freihofer [Mon, 26 Nov 2018 22:00:46 +0000 (23:00 +0100)]
devtool: fix target-deploy --strip

This is a fixup for: e1ba46109ea4be3d3b310abaf7f2da3c84a83930

devtool deploy-target --strip foo root@192.168.7.2
ended up with:
Traceback (most recent call last):
  File "/home/user/bar_sdk/sysroots/x86_64-pokysdk-linux/usr/bin/
        devtool", line 344, in <module>
   ret = main()
  File "/home/user/bar_sdk/sysroots/x86_64-pokysdk-linux/usr/bin/
        devtool", line 331, in main
    ret = args.func(args, config, basepath, workspace)
  File "/home/user/bar_sdk/layers/poky/scripts/lib/devtool/
        deploy.py", line 187, in deploy
    rd.getVar('base_libdir'))
TypeError: strip_exbar() missing 1 required positional argument: 'd'

(From OE-Core rev: bc349b2d99d74f6d7fb590fd97750e5ff8d6e6c4)

Signed-off-by: Adrian Freihofer <adrian.freihofer@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agomultilib_script: fix packages split
Kai Kang [Mon, 26 Nov 2018 03:14:54 +0000 (22:14 -0500)]
multilib_script: fix packages split

In multilib_script.bbclass it renames script file which listed in
MULTILIB_SCRIPTS. It may mix up packages split. Take package curl as
example, ${bindir}/curl-config is packaged to curl-dev originally. But
it is renamed to curl-config-${MULTILIB_SUFFIX} and packaged to curl
when multilib is enabled.

And expand 'pkg' to fix QA warning:

| WARNING: Variable key FILES_${PN}-dev (
| ${bindir}/curl-config-${MULTILIB_SUFFIX}) replaces original key
| FILES_curl-dev (${includedir} ${FILES_SOLIBSDEV} ... ${bindir}/*-config)

Insert a necessary space to the argument 'value' of d.appendVar() as well.

(From OE-Core rev: 841bcbe429dcab54de3b89a927394750f9ccae60)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agosystemd: fix PN-container package splitting
Adrian Freihofer [Sun, 25 Nov 2018 19:45:03 +0000 (20:45 +0100)]
systemd: fix PN-container package splitting

- Fix package splitting for services installed with
  systemd-container. Some files have been installed with systemd
  package instead of systemd-container package. (*.service,
  *.socket, *.html...)
- Split journal-upload, journal-remote, journal-gatewayd into
  separate packages. These services are not strictly related to
  nspawn containers. Remote logging is now possible without
  installing all the container stuff.
- systemd-container package rrecommends journal-upload, journal-
  remote, journal-gatewayd packages.

(From OE-Core rev: d31ff84a5f4723700ed48fd14ace81d3c707065e)

Signed-off-by: Adrian Freihofer <adrian.freihofer@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agoarchiver.bbclass: Fix COPYLEFT_LICENSE_{IN, EX}CLUDE
Adrian Bunk [Sun, 25 Nov 2018 18:54:03 +0000 (20:54 +0200)]
archiver.bbclass: Fix COPYLEFT_LICENSE_{IN, EX}CLUDE

Setting them to empty before inheriting copyleft_filter
made them not getting their documented values there.

(From OE-Core rev: ee1f86ca7affc65265f219f0718f89406c9181a5)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agoopenssl: update to 1.1.1a
Alexander Kanavin [Sat, 24 Nov 2018 17:13:53 +0000 (18:13 +0100)]
openssl: update to 1.1.1a

(From OE-Core rev: eec95f90093a6aa1d8be145e351fc9df4abef172)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agoimage.bbclass: fix a wrong position blank
Ming Liu [Sat, 24 Nov 2018 12:54:05 +0000 (13:54 +0100)]
image.bbclass: fix a wrong position blank

A flaw was introduced by commit c5fa6034:
[ image.bbclass: use prependVarFlag for postfuncs ]

it changed to use prependVarFlag instead of appendVarFlag, then the
blank also needs change to adapt it.

(From OE-Core rev: 6085023158ffbfbaf0f3d65ef18054c003d3f463)

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agomdadm: improve the run-ptest
Mingli Yu [Fri, 23 Nov 2018 06:58:49 +0000 (22:58 -0800)]
mdadm: improve the run-ptest

* There are 120+ cases under ${libdir}/mdadm/ptest/tests,
  but the test will break if one test fails as
  below logic in run-ptest.
  ./test &>./test.log

  That's to say, the tests after the failed test
  have no chance to run with the current logic.

  To guarantee all the tests can run even one
  of the tests fails, the option --keep-going
  should be added.

* Refactor the test report to make the report
  more detailed and more common

(From OE-Core rev: 80d17497b719efb2ca9f36b8a730815547e93aa7)

Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agomeson: Correct use of the _append operator
Peter Kjellerstedt [Tue, 27 Nov 2018 23:01:07 +0000 (00:01 +0100)]
meson: Correct use of the _append operator

The value to SRC_URI_append_class-native was not prefixed with a space.
This was not noticed as the SRC_URI before applying the _append contains
trailing spaces. However, if one, e.g., has a .bbappend and adds to the
SRC_URI using SRC_URI += "file://foo.patch", then there no longer is any
trailing space and the _append concatenates the two URIs together,
leading to a build failue.

(From OE-Core rev: c07ee11e99dfe28405a7225903a541b33aeb1de6)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agomeson: Disable rpath stripping at install time
Richard Purdie [Fri, 23 Nov 2018 15:28:28 +0000 (15:28 +0000)]
meson: Disable rpath stripping at install time

As discussed in https://github.com/mesonbuild/meson/issues/2567 there
needs to be a way to allow our rpath options passed to the linker to be
preserved, else we run into weird build failures.

(e.g. libmodulemd-native used by libdnf can't find libyaml)

Disable this for now until upstream come up with a better way of handling
this.

(From OE-Core rev: b4e36281631e0b59d1058f5cf391eb8b15e605cf)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agomeson: do not manipulate the environment when looking for python via pkg-config
Alexander Kanavin [Mon, 19 Nov 2018 14:55:41 +0000 (15:55 +0100)]
meson: do not manipulate the environment when looking for python via pkg-config

meson does it in a way that breaks oe builds (they export a bunch of PKG_CONFIG_ variables)

(From OE-Core rev: f071c5eb0a46b8ac5424c5baeb471a8080d4a078)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agoethtool: 4.17 -> 4.19
Changhyeok Bae [Thu, 22 Nov 2018 01:48:30 +0000 (01:48 +0000)]
ethtool: 4.17 -> 4.19

(From OE-Core rev: 565bbbf43da14de466fccdfaa259bdb9b50b686e)

Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agoiproute2: 4.18.0 -> 4.19.0
Changhyeok Bae [Thu, 22 Nov 2018 01:48:29 +0000 (01:48 +0000)]
iproute2: 4.18.0 -> 4.19.0

(From OE-Core rev: b5acefc041b2316c75eefae745d894412ac7bd78)

Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agosstate.bbclass: Only remove sstate file when task is existed
Robert Yang [Fri, 23 Nov 2018 02:37:56 +0000 (10:37 +0800)]
sstate.bbclass: Only remove sstate file when task is existed

This can improve the performance a lot for "bitbake <recipe-native/cross/crosssdk>
-ccleansstate" when there are a lot of sstate files.

For example:
* Before
  $ bitbake quilt-native -ccleansstate
  - Check log.do_cleansstate:
  Removing /sstate-cache/*/*/sstate:quilt-native:x86_64-linux:0.65:r0:x86_64:3:*_package.tgz*
  Removing /sstate-cache/*/*/sstate:quilt-native:x86_64-linux:0.65:r0:x86_64:3:*_package_qa.tgz*
  Removing /sstate-cache/*/*/sstate:quilt-native:x86_64-linux:0.65:r0:x86_64:3:*_package_write_rpm.tgz*
  Removing /sstate-cache/*/*/sstate:quilt-native:x86_64-linux:0.65:r0:x86_64:3:*_packagedata.tgz*
  Removing /sstate-cache/*/sstate:quilt-native::0.65:r0::3:*_populate_lic.tgz*
  Removing /sstate-cache/*/*/sstate:quilt-native:x86_64-linux:0.65:r0:x86_64:3:*_populate_sysroot.tgz*

  There are no package tasks for quilt-native, so the first 4 lines doesn't
  make any sense, but the glob pattern "sstate-cache/*/*" is very time
  consuming when there are no disk caches. E.g., I have more than 600,000
  sstate files:
  - Without disk caches
  # echo 3 >/proc/sys/vm/drop_caches
  $ time python3 -c 'import glob; glob.glob("/sstate-cache/*/*/sstate:quilt-native:x86_64-linux:0.65:r0:x86_64:3:*_package.tgz*")'
    real    4m32.583s
    user    0m5.768s
    sys     0m12.892s

  - With disk caches (e.g., run it in the second time)
  $ time python3 -c 'import glob; glob.glob("/sstate-cache/*/*/sstate:quilt-native:x86_64-linux:0.65:r0:x86_64:3:*_package.tgz*")'
    real    0m5.128s
    user    0m2.772s
    sys     0m2.308s

  So the 4 removing *package* commands cost more than 20s or 272s in theory.

* After
  $ bitbake quilt-native -ccleansstate
  - Check log.do_cleansstate:
  Removing /sstate-cache/*/sstate:quilt-native::0.65:r0::3:*_populate_lic.tgz*
  Removing /sstate-cache/*/*/sstate:quilt-native:x86_64-linux:0.65:r0:x86_64:3:*_populate_sysroot.tgz*

  We can see that it saved 20s or 272s in theory.

(From OE-Core rev: bb2d6349ea87f090c58001f0d4348b24c2982cde)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agobugzilla.bbclass: Remove it since obsoleted
Robert Yang [Fri, 23 Nov 2018 10:23:00 +0000 (18:23 +0800)]
bugzilla.bbclass: Remove it since obsoleted

It is a still python2 bbclass, so it has been broken since bitbake changed to
python3 which was 2 years ago. No one reported/fixed it for python3 in recent 2
years. So we can assume that no one uses it anymore.

(From OE-Core rev: 7f6da5fb54cbcf8e358e988382f45839a8b80019)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agolibgcrypt: upgrade 1.8.3 -> 1.8.4
Hongxu Jia [Fri, 23 Nov 2018 07:47:22 +0000 (15:47 +0800)]
libgcrypt: upgrade 1.8.3 -> 1.8.4

(From OE-Core rev: 1100e7f1519be91c90b139c337799c7ea635a8b3)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agognupg: upgrade 2.2.10 -> 2.2.11
Hongxu Jia [Fri, 23 Nov 2018 07:47:21 +0000 (15:47 +0800)]
gnupg: upgrade 2.2.10 -> 2.2.11

(From OE-Core rev: 4a373ce7d718ee3299bcf7f9fa62e7337d41e40a)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agognupg: upgrade 2.2.9 -> 2.2.10
Hongxu Jia [Fri, 9 Nov 2018 09:07:04 +0000 (17:07 +0800)]
gnupg: upgrade 2.2.9 -> 2.2.10

(From OE-Core rev: 5efe9eb79ac325f55fc52f67b522afaf7ebb847a)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agognutls: update to 3.6.4
Armin Kuster [Sat, 20 Oct 2018 14:55:49 +0000 (15:55 +0100)]
gnutls: update to 3.6.4

Notable change:

libgnutls: Added the final (RFC8446) version numbering of the TLS1.3 protocol.
see: https://lists.gnupg.org/pipermail/gnutls-help/2018-September/004457.html

(From OE-Core rev: 0697141e7be0b755db600aa0d5a975eac62cc7b8)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
--
[v2]
Fix typo in version in subject

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agoelfutils: 0.174 -> 0.175
Hongxu Jia [Fri, 23 Nov 2018 07:47:20 +0000 (15:47 +0800)]
elfutils: 0.174 -> 0.175

- Drop backport CVE patches
  0001-libdwfl-Sanity-check-partial-core-file-data-reads.patch
  0001-size-Handle-recursive-ELF-ar-files.patch
  0001-arlib-Check-that-sh_entsize-isn-t-zero.patch

- Drop patches that upstream has fixed
  0005-fix-a-stack-usage-warning.patch [9a74c19 backends: ppc use define
  instead of const for size of dwarf_regs array.]

- Update debian patches to 0.175

- Rebase local patch to 0.175
  0008-build-Provide-alternatives-for-glibc-assumptions-hel.patch

(From OE-Core rev: 8748de4df5a4ece303f07f8bbb248920a199478a)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agorecipes: Remove tab indentations in python code
Robert Yang [Fri, 23 Nov 2018 11:04:52 +0000 (19:04 +0800)]
recipes: Remove tab indentations in python code

Use 4 spaces to replace a tab.

(From OE-Core rev: cbb6743d46752481782789fa1a0dfade11057114)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agoclasses: Remove tab indentations in python code
Robert Yang [Fri, 23 Nov 2018 11:04:51 +0000 (19:04 +0800)]
classes: Remove tab indentations in python code

Use 4 spaces to replace a tab.

(From OE-Core rev: 55eaf8779170b9396e94dc4a44667824c4f36363)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agoptest: Reproducibility: Take control of umask
Douglas Royds [Thu, 22 Nov 2018 05:39:42 +0000 (18:39 +1300)]
ptest: Reproducibility: Take control of umask

The build host umask was leaking into the thing-ptest packages
at do_install_ptest() time.

(From OE-Core rev: 891343e8ba6490ca3e1876c892269b611ddc7877)

Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agoreproducible: Don't look for youngest file when no source tarball
Douglas Royds [Thu, 22 Nov 2018 20:41:57 +0000 (09:41 +1300)]
reproducible: Don't look for youngest file when no source tarball

Some packages (eg. init-ifupdown) take their source files entirely from
openembedded-core, that is, they download no source tarball.
These recipes either don't use S at all (ie. it is empty at unpack time),
or they set S = WORKDIR (as in init-ifupdown).
Looking at the file timestamps in the WORKDIR causes a non-reproducible
SOURCE_DATE_EPOCH, as files taken from file:// URIs do not have
reproducible timestamps.

If S == WORKDIR, we are better to assume that there is no source tarball,
and to fall back to a fixed timestamp for the SOURCE_DATE_EPOCH.
This makes the init-ifupdown build reproducible.

(From OE-Core rev: d395bad0179037eb5d0fa4d921985c87ae13f3a4)

Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agoreproducible: Refactor: Break out fixed_source_date_epoch() function
Douglas Royds [Thu, 22 Nov 2018 20:41:56 +0000 (09:41 +1300)]
reproducible: Refactor: Break out fixed_source_date_epoch() function

(From OE-Core rev: 4eb6def4fe82959c2a348142b9eada27d3354aef)

Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agoboost-context: Reproducibility: Set .file section for all *_elf_gas.S files
Douglas Royds [Thu, 22 Nov 2018 20:34:07 +0000 (09:34 +1300)]
boost-context: Reproducibility: Set .file section for all *_elf_gas.S files

Add a .file directive explicitly for all *_elf_gas.S files to prevent the linker
adding a host build-system path as a FILE symbol to the object file.

This replaces the existing patch that added the .file directive to a small
subset of these files.

Upstream-Status: Submitted [https://github.com/boostorg/context/issues/91]
(From OE-Core rev: 5ff5f89f2db079a6baf0275ebf1333b4b9642504)

Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agoopkg-utils: Fix update-alternatives link relocation
Niko Mauno [Mon, 12 Nov 2018 17:30:08 +0000 (19:30 +0200)]
opkg-utils: Fix update-alternatives link relocation

Recently Debian-style support for link relocation was added to
'update-alternatives' script, but it fails under circumstances where
host rootfs root directory differs from target rootfs root directory
and two alternative packages provide a symbolic link with source
located in different directories.

An example of the case is busybox provided /bin/rev (symlinking to
/bin/busybox.nosuid) and util-linux provided /usr/bin/rev (symlinking
to /usr/bin/rev.util-linux) in which case following failure occurs
during image recipe's do_rootfs() task:

  ERROR: core-image-minimal-1.0-r0 do_rootfs: Postinstall scriptlets of ['util-linux'] 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.
  Details of the failure are in .../tmp/work/qemux86-poky-linux/core-image-minimal/1.0-r0/temp/log.do_rootfs.
  ERROR: core-image-minimal-1.0-r0 do_rootfs: Function failed: do_rootfs

Looking in log.do_rootfs file, following relevant lines can be observed:

  update-alternatives: renaming rev link from /bin/rev to /usr/bin/rev
  mv: cannot stat '/bin/rev': No such file or directory

Mitigate issue by applying patch which adds target root filesystem root
directory path prefix to failing 'mv' calls relevant variable references

(From OE-Core rev: f0912e23629758fe4303284e7db8f4089bb7b4cb)

Signed-off-by: Niko Mauno <niko.mauno@iki.fi>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agometa/icecc.bbclass: Update system blacklists
Joshua Watt [Tue, 20 Nov 2018 20:04:16 +0000 (14:04 -0600)]
meta/icecc.bbclass: Update system blacklists

Updates the system blacklists to include packages that are known to have
problems compiling under icecream

(From OE-Core rev: fc5418e7bbdecfb27bafe595084e0fd0f991a388)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agometa/icecc.bbclass: Move system blacklist to variables
Joshua Watt [Tue, 20 Nov 2018 20:04:15 +0000 (14:04 -0600)]
meta/icecc.bbclass: Move system blacklist to variables

The system blacklists are moved to variables which are ignore when
hashing. This prevents changes to the blacklists from causing all
taskhashes to change (and thus rebuild).

(From OE-Core rev: f5be9f6e9180ace3362bba52c7ced3b039441d7d)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agosocat: fix LICENSE
Paul Eggleton [Thu, 22 Nov 2018 21:55:50 +0000 (10:55 +1300)]
socat: fix LICENSE

According to both the README and source headers, the LICENSE value for
socat is explicitly GPLv2, not v2 or later, so adjust LICENSE
accordingly (leaving aside whether "GPL-2.0+-with-OpenSSL-exception"
should actually be considered a valid LICENSE string or not).

(From OE-Core rev: 466044a341a8b42159bd9388950c9079e0d7a2c3)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
6 years agooeqa/selftest/esdk: Fix typo causing test failure
Richard Purdie [Thu, 6 Dec 2018 23:25:49 +0000 (23:25 +0000)]
oeqa/selftest/esdk: Fix typo causing test failure

2018-12-06 23:19:24,564 - oe-selftest - INFO - Traceback (most recent call last):
  File "/media/build1/poky-sumo/meta/lib/oeqa/core/case.py", line 32, in _oeSetUpClass
    clss.setUpClassMethod()
  File "/media/build1/poky-sumo/meta/lib/oeqa/selftest/cases/eSDK.py", line 78, in setUpClass
    cls.tmpdir_eSDKQA = cls.tempdirobj.name
AttributeError: type object 'oeSDKExtSelfTest' has no attribute 'tempdirobj'

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agooeqa/selftest/esdk: Ensure parent directory exists
Richard Purdie [Thu, 6 Dec 2018 14:06:34 +0000 (14:06 +0000)]
oeqa/selftest/esdk: Ensure parent directory exists

INFO - ======================================================================
INFO - ERROR: setUpClass (eSDK.oeSDKExtSelfTest)
INFO - ----------------------------------------------------------------------
INFO - Traceback (most recent call last):
  File "/home/pokybuild/yocto-worker/oe-selftest-debian/build/meta/lib/oeqa/core/case.py", line 32, in _oeSetUpClass
    clss.setUpClassMethod()
  File "/home/pokybuild/yocto-worker/oe-selftest-debian/build/meta/lib/oeqa/selftest/cases/eSDK.py", line 76, in setUpClass
    cls.tmpdirobj = tempfile.TemporaryDirectory(prefix="selftest-esdk-", dir=bb_vars["WORKDIR"])
  File "/usr/lib/python3.5/tempfile.py", line 929, in __init__
    self.name = mkdtemp(suffix, prefix, dir)
  File "/usr/lib/python3.5/tempfile.py", line 507, in mkdtemp
    _os.mkdir(file, 0o700)
FileNotFoundError: [Errno 2] No such file or directory: '/home/pokybuild/yocto-worker/oe-selftest-debian/build/build/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/selftest-esdk-q7ln84gc'

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agotestimage/testsdk/selftest: Avoid platform.distro_identifier deprecation warnings
Richard Purdie [Thu, 15 Nov 2018 14:38:19 +0000 (14:38 +0000)]
testimage/testsdk/selftest: Avoid platform.distro_identifier deprecation warnings

Use our own lsb function instead as used elsewhere by the codebase.

(From OE-Core rev: acac45a6fd604d28ef7c23d67482af3d7e8bcfe3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agooeqa/concurrencytest: Avoid unclosed file warnings
Richard Purdie [Thu, 15 Nov 2018 14:35:41 +0000 (14:35 +0000)]
oeqa/concurrencytest: Avoid unclosed file warnings

Avoid an unclosed file per thread warning when running selftests concurrently
by closing the result stream.

(From OE-Core rev: 33a4a076e8aa72a872807332501e7f5ae1cee0e2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agooeqa/utils/qemurunner.py: Fix python regex warnings
Richard Purdie [Wed, 14 Nov 2018 11:34:02 +0000 (11:34 +0000)]
oeqa/utils/qemurunner.py: Fix python regex warnings

Fix the warnings:

meta/lib/oeqa/utils/qemurunner.py:250: DeprecationWarning: invalid escape sequence \.
  ips = re.findall("((?:[0-9]{1,3}\.){3}[0-9]{1,3})", cmdline.split("ip=")[1])
meta/lib/oeqa/utils/qemurunner.py:343: DeprecationWarning: invalid escape sequence \-
  if re.search("root@[a-zA-Z0-9\-]+:~#", output):
poky/meta/lib/oeqa/utils/qemurunner.py:350: DeprecationWarning: invalid escape sequence \-
  if re.search("root@[a-zA-Z0-9\-]+:~#", output):
meta/lib/oeqa/utils/qemurunner.py:448: DeprecationWarning: invalid escape sequence \-
  if re.search("[a-zA-Z0-9]+@[a-zA-Z0-9\-]+:~#", data):

by correctly marking the regexs.

(From OE-Core rev: 8e6987735002560fca714f77ea8ece9d4b28f7fa)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agooeqa/selftest/context: Replace deprecated imp module usage
Richard Purdie [Wed, 14 Nov 2018 11:32:49 +0000 (11:32 +0000)]
oeqa/selftest/context: Replace deprecated imp module usage

Avoid the warning:

meta/lib/oeqa/selftest/context.py:8: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
  import imp

In this case importlib is a direct replacement.

(From OE-Core rev: db7a60c36a2d3eefc61ae6e1ede01680dc932035)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agooeqa/utils/commands: Avoid unclosed file warnings
Richard Purdie [Tue, 13 Nov 2018 22:43:25 +0000 (22:43 +0000)]
oeqa/utils/commands: Avoid unclosed file warnings

Avoid warnings such as:

meta/lib/oeqa/utils/commands.py:213: ResourceWarning: unclosed file <_io.BufferedReader name=4>
  return runCmd(cmd, ignore_status, timeout, output_log=output_log, **options)

(From OE-Core rev: 6a68c42de08cffbadb59ebda63fa5e19f6e5acef)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agooeqa/core/runner: Correctly markup regexs
Richard Purdie [Tue, 13 Nov 2018 22:41:38 +0000 (22:41 +0000)]
oeqa/core/runner: Correctly markup regexs

Avoid the warning "DeprecationWarning: invalid escape sequence \(" by marking
the regexs correctly.

(From OE-Core rev: cb49980fa4a158d5529902df731dec61a8c9b3d4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agooeqa/loader: Fix deprecation warning
Richard Purdie [Tue, 13 Nov 2018 21:16:54 +0000 (21:16 +0000)]
oeqa/loader: Fix deprecation warning

Clean up the warning:
meta/lib/oeqa/core/loader.py:27: DeprecationWarning: inspect.getargspec() is deprecated, use inspect.signature() or inspect.getfullargspec()
  _failed_test_args = inspect.getargspec(unittest.loader._make_failed_test).args

(From OE-Core rev: d2deb66830be2d44532fea3d5db763b57778252a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agooeqa/runner: Sort the test result output by result class
Richard Purdie [Tue, 13 Nov 2018 21:11:50 +0000 (21:11 +0000)]
oeqa/runner: Sort the test result output by result class

We want to see failures/errors listed last since this is the most easily
visible part of the log on consoles or autobuilder output and makes
human processing easier rather than having to scroll up and scan for
a single failure.

(From OE-Core rev: 7954b19020c28a4120bc1671aa81b9e1e2b05fa2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agooeqa/runner: Always show a summary of success/fail/error/skip counts
Richard Purdie [Tue, 13 Nov 2018 21:10:43 +0000 (21:10 +0000)]
oeqa/runner: Always show a summary of success/fail/error/skip counts

Its useful to have the counts of success/failure/error/skipped at the end of the
results to allow for easier human reading of what happened.

(From OE-Core rev: 080d8900d470a8e7f929b0c5c2765ad461744fbb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agooeqa/selftest/esdk: run selftest inside workdir not /tmp
Ross Burton [Mon, 3 Dec 2018 20:35:15 +0000 (20:35 +0000)]
oeqa/selftest/esdk: run selftest inside workdir not /tmp

We've seen issues with rootfs size calculations and we've seen systems
like opensuse which have btrfs mounted on /tmp causing selftest failures.

(From OE-Core rev: 61be3cd748d1b7321a1fc4cfe84efa9b26a6aee0)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agooeqa: don't litter /tmp with temporary directories
Ross Burton [Mon, 3 Dec 2018 20:35:14 +0000 (20:35 +0000)]
oeqa: don't litter /tmp with temporary directories

If we need to create a temporary directory in targetbuild or buildproject use
tempfile.TemporaryDirectory so that when the test case is finished, the
directory is deleted.

Also synchronise the logic and don't possibly store the temporary directory in
self.tmpdir as nothing uses that.

(From OE-Core rev: db0e658097130d146752785d0d45f46a3e0bad71)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agooeqa/utils/qemurunner: Avoid tracebacks on closed files
Richard Purdie [Sun, 2 Dec 2018 11:23:17 +0000 (11:23 +0000)]
oeqa/utils/qemurunner: Avoid tracebacks on closed files

Reorder the shutdown/teardown to avoid:

  File "/home/pokybuild/yocto-worker/oe-selftest-ubuntu/build/meta/lib/oeqa/utils/qemurunner.py", line 224, in launch
    op = self.getOutput(output)
  File "/home/pokybuild/yocto-worker/oe-selftest-ubuntu/build/meta/lib/oeqa/utils/qemurunner.py", line 90, in getOutput
    fl = fcntl.fcntl(o, fcntl.F_GETFL)
ValueError: I/O operation on closed file

(From OE-Core rev: 8e7d756862d2a8d62f3c87497d6d65ddb3c1b962)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agooeqa/selftest/runqemu: Improve testcase failure handling
Richard Purdie [Mon, 3 Dec 2018 20:46:06 +0000 (20:46 +0000)]
oeqa/selftest/runqemu: Improve testcase failure handling

assertTrue doesn't give good debug information when things fail. Update
several to use assertIn which gives information upon failure, for the
others print the log information upon failure.

(From OE-Core rev: c29cb75d5ce6b0873a934f4709b0c8824f7164d3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolib/oe/utils: Improve multiprocess_lauch exception handling
Richard Purdie [Sat, 1 Dec 2018 14:05:16 +0000 (14:05 +0000)]
lib/oe/utils: Improve multiprocess_lauch exception handling

We've seen a cryptic:

"ERROR: Fatal errors occurred in subprocesses, tracebacks printed above"

message from oe-selftest with no other traceback information. Improve the
traceback logging to try and give a better indication of any errors that is
ocurring.

(From OE-Core rev: 521dd3d00979a27b6932e58d5497de68abac26e1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agooeqa/oelib/path: don't leak temporary directories
Ross Burton [Mon, 3 Dec 2018 11:47:58 +0000 (11:47 +0000)]
oeqa/oelib/path: don't leak temporary directories

setUp() is used to populate a directory of temporary files, and deleted in
__del__.  However setUp() is called once *per test* so __del__ would only be
able to remove the last directory created.

Fix the code by using the natural counterpart to setUp, tearDown(), to clean up.

(From OE-Core rev: 68b4723e6fb11d171869185bccf28f32f6284c18)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agooeqa/selftest/context: Improve log file handling
Richard Purdie [Thu, 29 Nov 2018 12:07:53 +0000 (12:07 +0000)]
oeqa/selftest/context: Improve log file handling

The existing logfile is simply placed in the current directory. Since the test
changes cwd to BUILDDIR, the symlink to the log can be placed in an invalid
directory. We also see trackbacks if the symlink is invalid.

Improve things by:

* Placing logs in LOG_DIR (or BUILDDIR if unset).
* Using a full path to the log meaning the log and link are placed in the same directory.
* Using lexists instead of exists so invalid symlinks are handled correctly.

(From OE-Core rev: 750ece11bed0e62a11e0003d1d16a81f7c219761)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agooeqa/selftest/buildoptions: Ensure diskmon tests run consistently
Richard Purdie [Thu, 29 Nov 2018 10:40:58 +0000 (10:40 +0000)]
oeqa/selftest/buildoptions: Ensure diskmon tests run consistently

Heartbeat events default to once a second and we need to ensure we have
enough time in the task to see them.

Add a nostamp delay task 5s long so we can have a consistently timed
task which doesn't need cleanup or have unneeded dependencies. This
ensures we should deterministically see the disk moinitor events
regardless of the state of the build. This is done in a way which
doesn't corrupt build state or need cleanup and is efficient.

(From OE-Core rev: ecc49ee8986929e2429d948000a0ca588fe63959)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agooeqa/selftest/buildoptions: Improve ccache test
Richard Purdie [Thu, 29 Nov 2018 10:22:15 +0000 (10:22 +0000)]
oeqa/selftest/buildoptions: Improve ccache test

This test occisionally fails as m4 doesn't recompile, meaning the logfile test
then doesn't find mention of ccache.

To ensure m4 does recompile, clean m4 before force compiling it.

(Reading the test is confusing due to the test cleanup also involving a clean)

(From OE-Core rev: 6e0b9214a0d57ed45a5df0ba5c9887a9045b89b1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agooeqa/qemurunner: Remove resource python warnings
Richard Purdie [Wed, 28 Nov 2018 16:12:51 +0000 (16:12 +0000)]
oeqa/qemurunner: Remove resource python warnings

If runqemu fails it would leak an unclosed socket and file. Ensure we
close these in all cases to remove the resource warning.

(From OE-Core rev: ed80e46ccbc8fe8e9148d80723152066fa00ba28)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agooeqa/utils/commands: Avoid log message duplication
Richard Purdie [Wed, 28 Nov 2018 13:00:11 +0000 (13:00 +0000)]
oeqa/utils/commands: Avoid log message duplication

Each time a runqemu() fails, the log handler would be left behind meaning
messages from any subsequent run would be duplicated (or worse/more).

This ensures we remove the handler regardless and means we no longer
have the duplication.

(From OE-Core rev: 532984708436bdfa3a8cac2c684a425eb249bad0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agooeqa/utils/qemurunner: Fix python ResourceWarning for unclosed file
Richard Purdie [Wed, 28 Nov 2018 11:18:30 +0000 (11:18 +0000)]
oeqa/utils/qemurunner: Fix python ResourceWarning for unclosed file

Fixes:

Stderr:
/media/build1/poky/meta/lib/oeqa/utils/qemurunner.py:381: ResourceWarning: unclosed file <_io.BufferedWriter name=16>
  self.runqemu = None

(From OE-Core rev: b9e0bf919e6fc1a58e02145a363ebe7066e5bf4f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agooeqa/utils/commands: Add extra qemu failure logging
Richard Purdie [Tue, 27 Nov 2018 23:38:44 +0000 (23:38 +0000)]
oeqa/utils/commands: Add extra qemu failure logging

Rather than just referring the user to the logs containing the failure, print
them on the console. This aids debugging with oe-selftest with parallelisation
as the logs may otherwise be lost.

(From OE-Core rev: 36a018e245a232f520ff946f152cc875927a6fb4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agooeqa/selftest/buildoptions: Improve ccache test failure output
Richard Purdie [Tue, 27 Nov 2018 12:19:39 +0000 (12:19 +0000)]
oeqa/selftest/buildoptions: Improve ccache test failure output

The current failure mode doesn't show us what the logs actually looked like
and later cleans can lose them. Show the whole log in case of failure
to aid debugging intermittent problems on the autobuilder.

(From OE-Core rev: 7c3a0dc5978cea898b1ca51decf4d6e7cf9d519f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agooeqa/selftest/case: Use bb.utils.remove() instead of shutil.remove()
Richard Purdie [Tue, 27 Nov 2018 12:03:50 +0000 (12:03 +0000)]
oeqa/selftest/case: Use bb.utils.remove() instead of shutil.remove()

This avoids problems where shutil.remove will error with:

  File "/usr/lib/python3.5/shutil.py", line 436, in _rmtree_safe_fd
    os.unlink(name, dir_fd=topfd)
FileNotFoundError: [Errno 2] No such file or directory: 'S.gpg-agent.extra'

when there are races over file deletion (gpg agent may be slow to exit).

We already worked around speed and race issues in bb.utils.

(From OE-Core rev: 00a8fd5b93a5c19ce0b7498e2bc653ce8ad58aaf)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agooeqa/selftest/signing: Use do_populate_lic target instead of do_package
Richard Purdie [Mon, 26 Nov 2018 17:03:13 +0000 (17:03 +0000)]
oeqa/selftest/signing: Use do_populate_lic target instead of do_package

This should speed the test up signficiantly without any loss of functionality
for the purposes of the test.

(From OE-Core rev: 3dde0b749643575878bfbca2f8d2d9ec30bad166)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agooeqa/selftest/signing: Allow tests not to need gpg on the host
Richard Purdie [Mon, 26 Nov 2018 17:00:10 +0000 (17:00 +0000)]
oeqa/selftest/signing: Allow tests not to need gpg on the host

We ideally don't want to use gpg from the host. This is straightforward for package
management but not for sstate.

For sstate, create a second build directory to run the test in using gnupg-native
from the original build directory.

(From OE-Core rev: 10afa94c3f0d7eb7524a26deda86949073d55fde)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agooeqa/selftest/signing: Skip tests if gpg isn't found
Richard Purdie [Sat, 24 Nov 2018 17:56:06 +0000 (17:56 +0000)]
oeqa/selftest/signing: Skip tests if gpg isn't found

Raising an assertionError in the class setup isn't a particuarly good way to
indicate gpg isn't installed. Instead skip the tests if the required binary
isn't present. For the signing tests we do require it to be present and can't
use a prebuilt one.

(From OE-Core rev: 2d486af97e51b9daa9c40482c31d637c9ab4ae79)

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