Bruce Ashfield [Tue, 6 Oct 2020 19:04:30 +0000 (15:04 -0400)]
linux-yocto/5.8: update to v5.8.11
Updating linux-yocto/5.8 to the latest korg -stable release that comprises
the following commits:
16b1d77227fe Linux 5.8.11 aac156c89083 nvme-loop: set ctrl state connecting after init f9aa4d81fa77 mm: memcg: fix memcg reclaim soft lockup e37b4e9e1fc9 dax: Fix compilation for CONFIG_DAX && !CONFIG_FS_DAX 19f02438a81b dm: Call proper helper to determine dax support e0c0897ec600 mm/memory_hotplug: drain per-cpu pages again during memory offline 94d6f8013692 dm/dax: Fix table reference counts d11304ec0540 selftests/vm: fix display of page size in map_hugetlb 685e3d17a7e4 powerpc/dma: Fix dma_map_ops::get_required_mask be0d3b6e4442 arm64: paravirt: Initialize steal time when cpu is online 1407ab558b48 ehci-hcd: Move include to keep CRC stable be0291fc11e1 s390/zcrypt: fix kmalloc 256k failure 6042dcf5b872 s390/pci: fix leak of DMA tables on hard unplug e094ddf047cb s390: add 3f program exception handler ac3019648329 mm/thp: fix __split_huge_pmd_locked() for migration PMD 97327790b719 kprobes: fix kill kprobe which has been marked as gone 9cceeff3757b ksm: reinstate memcg charge on copied pages 864744288911 x86/boot/compressed: Disable relocation relaxation 165b69c8f073 serial: core: fix console port-lock regression 8db58f3a6f16 serial: core: fix port-lock initialisation a406d438eba4 serial: 8250_pci: Add Realtek 816a and 816b ca5a4fe0fa71 thunderbolt: Retry DROM read once if parsing fails 0545c936808d Input: i8042 - add Entroware Proteus EL07R4 to nomux and reset lists 7a907c26212a Input: trackpoint - add new trackpoint variant IDs 75b98fcaf902 percpu: fix first chunk size calculation for populated bitmap b15c40405750 ALSA: hda/realtek - The Mic on a RedmiBook doesn't work e908c59ae0a7 ALSA: hda: fixup headset for ASUS GX502 laptop c3c48a64c61e Revert "ALSA: hda - Fix silent audio output and corrupted input on MSI X570-A PRO" c60801b98e5a i2c: i801: Fix resume bug 8a9e8484683f usb: typec: ucsi: Prevent mode overrun ee0ea57b4f48 usb: typec: ucsi: acpi: Increase command completion timeout value e61ab5c7d3af usblp: fix race between disconnect() and read() f85eb154c2bf USB: UAS: fix disconnect by unplugging a hub 1066fcb5a164 USB: quirks: Add USB_QUIRK_IGNORE_REMOTE_WAKEUP quirk for BYD zhaoxin notebook 8f600ead97e1 drm/i915: Filter wake_flags passed to default_wake_function cb7a0e1d8eea drm/i915/gem: Delay tracking the GEM context until it is registered 056bda592f48 drm/kfd: fix a system crash issue during GPU recovery 0a264d8dc84a x86/unwind/fp: Fix FP unwinding in ret_from_fork ce2b5fe9e7c6 locking/percpu-rwsem: Use this_cpu_{inc,dec}() for read_count abd90e56bcb3 efi: efibc: check for efivars write capability d82866f2f729 locking/lockdep: Fix "USED" <- "IN-NMI" inversions 4278efd55e04 riscv: Add sfence.vma after early page table changes a7e4fef63846 i2c: mxs: use MXS_DMA_CTRL_WAIT4END instead of DMA_CTRL_ACK f686668acfaa i2c: mediatek: Fix generic definitions for bus frequency 174cfa0a85d7 kconfig: qconf: use delete[] instead of delete to free array (again) 146206e3d115 iommu/amd: Restore IRTE.RemapEn bit for amd_iommu_activate_guest_mode 56cc04597bcf iommu/amd: Fix potential @entry null deref 387f1c6e7d4e arm64: bpf: Fix branch offset in JIT e1ddb18d2161 drm/mediatek: Add missing put_device() call in mtk_hdmi_dt_parse_pdata() d1025c54ecfd drm/mediatek: Add missing put_device() call in mtk_drm_kms_init() a51fc6150df5 drm/mediatek: Add exception handing in mtk_drm_probe() if component init fail 9a904d3afc88 drm/mediatek: Add missing put_device() call in mtk_ddp_comp_init() aa0157adb1c5 drm/mediatek: Use CPU when fail to get cmdq event 881ed5b2d144 MIPS: SNI: Fix spurious interrupts ebb11c9c737c fbcon: Fix user font detection test at fbcon_resize(). 9ac473087258 drm/i915/gem: Reduce context termination list iteration guard to RCU a0a9d14cc739 perf test: Free formats for perf pmu parse test fe2cdde3e8d2 perf parse-event: Fix memory leak in evsel->unit 015c08bc4d39 perf evlist: Fix cpu/thread map leak 91dcf4aea6a5 perf metric: Fix some memory leaks d60d09d4e133 perf test: Free aliases for PMU event map aliases test f8d4ba31972b MIPS: SNI: Fix MIPS_L1_CACHE_SHIFT 5c44b2d15e2f perf record: Don't clear event's period if set by a term 9f76fbfc49dc perf test: Fix the "signal" test inline assembly b3233e4ae6d3 Drivers: hv: vmbus: Add timeout to vmbus_wait_for_unload 9065c93d5640 arm64: Allow CPUs unffected by ARM erratum 1418040 to come in late 8bf2d2009792 scsi: libsas: Fix error path in sas_notify_lldd_dev_found() 5037cc230723 Drivers: hv: vmbus: hibernation: do not hang forever in vmbus_bus_resume() 5fc19caaf6b7 ASoC: core: Do not cleanup uninitialized dais on soc_pcm_open failure bdfdc751259e ASoC: Intel: haswell: Fix power transition refactor d64aac6b2c54 ASoC: tlv320adcx140: Fix accessing uninitialized adcx140->dev 7cee8e91e3ad ASoC: meson: axg-toddr: fix channel order on g12 platforms b41bd0dce2e8 ASoC: soc-core: add snd_soc_find_dai_with_mutex() 7031ebb9566d powerpc/book3s64/radix: Fix boot failure with large amount of guest memory 6d035d5e2c5b drm/mediatek: dsi: Fix scrolling of panel with small hfp or hbp eb6acd695420 ASoC: qcom: common: Fix refcount imbalance on error 3ae4251f2035 ASoC: rt700: Fix return check for devm_regmap_init_sdw() a177ede1a20d ASoC: rt715: Fix return check for devm_regmap_init_sdw() 1e8715398cb5 ASoC: rt711: Fix return check for devm_regmap_init_sdw() b78a087abb32 ASoC: rt1308-sdw: Fix return check for devm_regmap_init_sdw() 574b0af715f0 ASoC: qcom: Set card->owner to avoid warnings 4c2cd3865663 ASoC: Intel: skl_hda_dsp_generic: Fix NULLptr dereference in autosuspend delay fa678750d166 clk: rockchip: Fix initialization of mux_pll_src_4plls_p ee5725e6919f clk: davinci: Use the correct size when allocating memory 26f03f98c056 KVM: MIPS: Change the definition of kvm type 9fc3d4819f91 spi: Fix memory leak on splited transfers 13773c6dba30 i2c: algo: pca: Reapply i2c bus settings after reset f50a7062223d f2fs: Return EOF on unaligned end of file DIO read f200e3825c34 f2fs: fix indefinite loop scanning for free nid d7595c8deeba block: only call sched requeue_request() for scheduled requests 5dec8fe9f89a nvme-tcp: cancel async events before freeing event struct 64e977c91b88 nvme-rdma: cancel async events before freeing event struct 70554f7dc455 nvme-fc: cancel async events before freeing event struct a640a4a43c64 openrisc: Fix cache API compile issue when not inlining c1da3b82db73 cifs: fix DFS mount with cifsacl/modefromsid d28c42ad8958 rapidio: Replace 'select' DMAENGINES 'with depends on' e0b6509ae4a6 SUNRPC: stop printk reading past end of string 7e4b9125c899 NFS: Zero-stateid SETATTR should first return delegation e917cbad17f2 interconnect: Show bandwidth for disabled paths as zero in debugfs 03a0df5665d9 spi: spi-loopback-test: Fix out-of-bounds read 7296270e61f1 regulator: pwm: Fix machine constraints application 3235c4db152b scsi: lpfc: Extend the RDF FPIN Registration descriptor for additional events c37f8c7ca46b scsi: lpfc: Fix FLOGI/PLOGI receive race condition in pt2pt discovery 6cb6f48d68db scsi: libfc: Fix for double free() 3972281afdb6 scsi: pm8001: Fix memleak in pm8001_exec_internal_task_abort 6cbfc91797d4 habanalabs: fix report of RAZWI initiator coordinates 48ef8d42478f habanalabs: prevent user buff overflow 201e44aeb011 phy: omap-usb2-phy: disable PHY charger detect ddf3bb7322a1 NFSv4.1 handle ERR_DELAY error reclaiming locking state on delegation recall 237345a3cfca xprtrdma: Release in-flight MRs on disconnect cc283bfae1f0 firmware_loader: fix memory leak for paged buffer 3531913b68be loop: Set correct device size when using LOOP_CONFIGURE 0fb2de68a876 hv_netvsc: Remove "unlikely" from netvsc_select_queue a5da15d1716c dt-bindings: PCI: intel,lgm-pcie: Fix matching on all snps,dw-pcie instances 3d4987232282 net: handle the return value of pskb_carve_frag_list() correctly 22f290ab6825 mptcp: sendmsg: reset iter on error 0c43f56ed9be dt-bindings: spi: Fix spi-bcm-qspi compatible ordering 38e8e8273535 RDMA/bnxt_re: Restrict the max_gids to 256 67f65fb8318a Linux 5.8.10 08cb27d67d53 gcov: add support for GCC 10.1 10cb6c2e406d drm/msm/gpu: make ringbuffer readonly a6915129ae97 usb: typec: intel_pmc_mux: Do not configure SBU and HSL Orientation in Alternate modes 41e3571c02ec usb: typec: intel_pmc_mux: Do not configure Altmode HPD High efec148aa4eb usb: typec: intel_pmc_mux: Un-register the USB role switch fd23e24737de usb: typec: ucsi: acpi: Check the _DEP dependencies 5f98bc578de9 usb: Fix out of sync data toggle if a configured device is reconfigured a55d0aa3a917 USB: serial: option: add support for SIM7070/SIM7080/SIM7090 modules 3c04f365d1f9 USB: serial: option: support dynamic Quectel USB compositions 64de97011bc9 USB: serial: ftdi_sio: add IDs for Xsens Mti USB converter 3356a2fe9ba7 usb: core: fix slab-out-of-bounds Read in read_descriptors 4ee2ea67a64c phy: qcom-qmp: Use correct values for ipq8074 PCIe Gen2 PHY init 97364c2546d5 staging: greybus: audio: fix uninitialized value issue b56b1e392e7e video: fbdev: fix OOB read in vga_8planes_imageblit() b2d5d5ea7c56 ARM: dts: vfxxx: Add syscon compatible with OCOTP 737bfb9d464b arm64: dts: imx8mp: correct sdma1 clk setting f17c2fe6ea89 test_firmware: Test platform fw loading on non-EFI systems 46230cc3ff26 debugfs: Fix module state check condition bf4c17b74472 Revert "usb: dwc3: meson-g12a: fix shared reset control use" 68c125324b5e KVM: fix memory leak in kvm_io_bus_unregister_dev() a5ba8c6f24b1 kvm x86/mmu: use KVM_REQ_MMU_SYNC to sync when needed 1e1f9fd4a852 KVM: arm64: Do not try to map PUDs when they are folded into PMD 209c934c9708 KVM: VMX: Don't freeze guest when event delivery causes an APIC-access exit 20782abbbdfe vgacon: remove software scrollback support ffa74c8e58b8 fbcon: remove now unusued 'softback_lines' cursor() argument 245a228891e3 fbcon: remove soft scrollback code 20a3fda3dc88 RDMA/mlx4: Read pkey table length instead of hardcoded value ef5c5dc2c83b RDMA/rxe: Fix the parent sysfs read when the interface has 15 chars 81f5de838b82 rbd: require global CAP_SYS_ADMIN for mapping and unmapping 49947f869fdf nvme: Revert: Fix controller creation races with teardown flow c10bc9123c25 mmc: sdhci-of-esdhc: Don't walk device-tree on every interrupt fe7c9fa20fc2 mmc: sdio: Use mmc_pre_req() / mmc_post_req() 3f4f13a91d87 drm/msm: Disable the RPTR shadow 16f3920c6508 drm/msm: Disable preemption on all 5xx targets c657e400e735 drm/msm: Split the a5xx preemption record 8e6a2ad4658b drm/tve200: Stabilize enable/disable 79e1d5d7e3d1 scsi: target: iscsi: Fix hang in iscsit_access_np() when getting tpg->np_login_sem b03e704b29a1 scsi: lpfc: Fix setting IRQ affinity with an empty CPU mask 731435aa8105 scsi: target: iscsi: Fix data digest calculation 87f0ffddae01 misc: eeprom: at24: register nvmem only after eeprom is ready to use 94abb06dc753 regulator: core: Fix slab-out-of-bounds in regulator_unlock_recursive() e6724a64b942 regulator: plug of_node leak in regulator_register()'s error path 6828c2aae0b7 regulator: push allocation in set_consumer_device_supply() out of lock 557bc4f1f78e regulator: push allocations in create_regulator() outside of lock 96ccd5a5bc06 regulator: push allocation in regulator_init_coupling() outside of lock 47052502f040 kobject: Restore old behaviour of kobject_del(NULL) a36133cc9cf2 thunderbolt: Disable ports that are not implemented 171169d8254b btrfs: fix wrong address when faulting in pages in the search ioctl ac049e1bd9eb btrfs: free data reloc tree on failed mount 6368e27c5edb btrfs: fix lockdep splat in add_missing_dev 731cef38b55e btrfs: require only sector size alignment for parent eb bytenr 75ee09f3b745 staging: wlan-ng: fix out of bounds read in prism2sta_probe_usb() ac0698332870 iio:accel:mma8452: Fix timestamp alignment and prevent data leak. e8e7cba15d61 iio:accel:mma7455: Fix timestamp alignment and prevent data leak. 87efc85d53d7 iio: accel: kxsd9: Fix alignment of local buffer. 58f091e131d1 iio:chemical:ccs811: Fix timestamp alignment and prevent data leak. be0bc3cf9e60 iio:light:max44000 Fix timestamp alignment and prevent data leak. 6ae35c1825e8 iio:magnetometer:ak8975 Fix alignment and data leak issues. 1f2b6037d4ff iio:adc:ti-adc081c Fix alignment and data leak issues 456fd60c5803 iio:adc:max1118 Fix alignment of timestamp and data leak issues 743c6bc208d9 iio:adc:ina2xx Fix timestamp alignment issue. 98bd6a0d4237 iio:adc:ti-adc084s021 Fix alignment and data leak issues. 3df5a17f9c36 iio:accel:bmc150-accel: Fix timestamp alignment and prevent data leak. 35304bc22976 iio:proximity:mb1232: Fix timestamp alignment and prevent data leak. c56598930b1c iio:light:ltr501 Fix timestamp alignment issue. 678f54268269 iio: cros_ec: Set Gyroscope default frequency to 25Hz 79d1a06c5940 iio: adc: ti-ads1015: fix conversion when CONFIG_PM is not set bd9b60be76ef iio: adc: mcp3422: fix locking on error path 5deb6f82653d iio: adc: mcp3422: fix locking scope d9f376187cb1 gcov: Disable gcov build with GCC 10 790303eb397d iommu/amd: Do not use IOMMUv2 functionality when SME is active 5aa21abcedd2 iommu/amd: Do not force direct mapping when SME is active 4898d0e064b9 drm/amdgpu: Fix bug in reporting voltage for CIK e688f4fbb37e drivers/net/wan/hdlc: Change the default of hard_header_len to 0 3b4c12838a4f ALSA: hda: use consistent HDAudio spelling in comments/docs dd8ffea695c8 ALSA: hda: fix a runtime pm issue in SOF when integrated GPU is disabled ac9f804a8e5a ALSA: hda: hdmi - add Rocketlake support 5e091ceb5084 arm64/module: set trampoline section flags regardless of CONFIG_DYNAMIC_FTRACE d1df83979d57 cpufreq: intel_pstate: Fix intel_pstate_get_hwp_max() for turbo disabled 4b65cda38fc8 cpufreq: intel_pstate: Refuse to turn off with HWP enabled 5412a6f03aca ARC: [plat-hsdk]: Switch ethernet phy-mode to rgmii-id eb525e6a5499 HID: elan: Fix memleak in elan_input_configured dac76fe22da5 drivers/net/wan/hdlc_cisco: Add hard_header_len 80b7267b3127 HID: microsoft: Add rumble support for the 8bitdo SN30 Pro+ controller 38ce1ae8e2c8 HID: quirks: Set INCREMENT_USAGE_ON_DUPLICATE for all Saitek X52 devices d3a6cfff8e6a nvme-pci: cancel nvme device request before disabling e625888ac2aa nvme-rdma: fix reset hang if controller died in the middle of a reset ca46ff644ab0 nvme-rdma: fix timeout handler 3341cac774c1 nvme-rdma: serialize controller teardown sequences ed67604770cd nvme-tcp: fix reset hang if controller died in the middle of a reset 18aca936e2ff nvme-tcp: fix timeout handler c0e1cf0f6ac2 nvme-tcp: serialize controller teardown sequences c244c493f079 nvme: have nvme_wait_freeze_timeout return if it timed out 6c63e56986d3 nvme-fabrics: don't check state NVME_CTRL_NEW for request acceptance 0a12c794513c nvmet-tcp: Fix NULL dereference when a connect data comes in h2cdata pdu 76101def0120 media: gpio-ir-tx: spinlock is not needed to disable interrupts 92fb4a758e05 irqchip/eznps: Fix build error for !ARC700 builds 4422ef388645 ARC: show_regs: fix r12 printing and simplify 74e4b9ae64a2 xfs: initialize the shortform attr header padding entry 01199dce4d44 cfg80211: Adjust 6 GHz frequency to channel conversion 3a8fcf73cbf1 mac80211: reduce packet loss event false positives 55de6d85df5d wireless: fix wrong 160/80+80 MHz setting 3fd5156d7fbd drivers/net/wan/lapbether: Set network_header before transmitting d910490078ac xfs: fix off-by-one in inode alloc block reservation calculation c63f823048a7 net: hns3: Fix for geneve tx checksum bug 79a1d6470026 drivers/dma/dma-jz4780: Fix race condition between probe and irq handler 7a08699028e4 ALSA: hda/tegra: Program WAKEEN register for Tegra 92c93dacd804 ALSA: hda: Fix 2 channel swapping for Tegra 3e7682611f07 scsi: qedf: Fix null ptr reference in qedf_stag_change_work 6ee6851f8704 firestream: Fix memleak in fs_open 74bbd3069881 NFC: st95hf: Fix memleak in st95hf_in_send_cmd ca9e7f16d783 drivers/net/wan/lapbether: Added needed_tailroom 1f5a4b08aec3 netfilter: nft_set_rbtree: Detect partial overlap with start endpoint match a0a91436d588 netfilter: conntrack: allow sctp hearbeat after connection re-use 83cadef120e6 MIPS: Loongson64: Do not override watch and ejtag feature 36120307971e dmaengine: acpi: Put the CSRT table after using it a588a27d36f2 ARC: HSDK: wireup perf irq c0823ab23d47 KVM: x86: always allow writing '0' to MSR_KVM_ASYNC_PF_EN 485d953c997e KVM: nVMX: Fix the update value of nested load IA32_PERF_GLOBAL_CTRL control 2115ddfc96c0 arm64: dts: ns2: Fixed QSPI compatible string be8d961d3d4e ARM: dts: BCM5301X: Fixed QSPI compatible string 9fd9bb1bd6cc ARM: dts: NSP: Fixed QSPI compatible string dc4145dfdc6b ARM: dts: bcm: HR2: Fixed QSPI compatible string f360dbeb301f IB/isert: Fix unaligned immediate-data handling 9f6550695d25 RDMA/rtrs-srv: Set .release function for rtrs srv device during device init 5bcd37b6bf21 block: Set same_page to false in __bio_try_merge_page if ret is false bc1d374adc82 spi: stm32: fix pm_runtime_get_sync() error checking e3364a81254b nvme-fabrics: allow to queue requests for live queues e8555b6d1dd8 seccomp: don't leak memory when filter install races b730cc810f71 block: restore a specific error code in bdev_del_partition 7ded6f75c325 i2c: npcm7xx: Fix timeout calculation 70d1f2b7ec59 btrfs: fix NULL pointer dereference after failure to create snapshot b6894531a925 spi: stm32: Rate-limit the 'Communication suspended' message 0a409e1a47ff mmc: sdhci-msm: Add retries when all tuning phases are found valid 02a5514209ae mmc: sdhci-acpi: Clear amd_sdhci_host on reset e341aeac14f1 ARM: dts: imx6sx: fix the pad QSPI1B_SCLK mux mode for uart3 c01fd1453981 KVM: arm64: Update page shift if stage 2 block mapping not supported 95de64bc498e drm/sun4i: backend: Disable alpha on the lowest plane on the A20 272e10fbf4d0 drm/sun4i: backend: Support alpha property on lowest plane e856612eed7e drm/sun4i: Fix DE2 YVU handling 412bbf8b9a22 padata: fix possible padata_works_lock deadlock 03ad17724b7a interconnect: qcom: Fix small BW votes being truncated to zero fdbbeae2b076 Revert "kbuild: use -flive-patching when CONFIG_LIVEPATCH is enabled" 61591cd38cdf soundwire: fix double free of dangling pointer 6d1f49ae494d scsi: mpt3sas: Don't call disable_irq from IRQ poll handler 40158298158d scsi: megaraid_sas: Don't call disable_irq from process IRQ poll 1398cf27e62f RDMA/core: Fix reported speed and width c5452d1e9143 RDMA/core: Fix unsafe linked list traversal after failing to allocate CQ f420254168c0 drm/virtio: fix unblank 8817b6fe0f22 scsi: libsas: Set data_dir as DMA_NONE if libata marks qc as NODATA 34a5bbcd814c scsi: qla2xxx: Fix regression on sparc64 cc8785cc8fd4 drm/sun4i: Fix dsi dcs long write function a2e7a8bff0ff arm64: dts: imx8mq: Fix TMU interrupt property 9abd480dbf3b drm/sun4i: add missing put_device() call in sun8i_r40_tcon_tv_set_mux() 6716ed0d4e11 RDMA/bnxt_re: Remove the qp from list only if the qp destroy succeeds f51174da6e51 RDMA/bnxt_re: Fix driver crash on unaligned PSN entry address d71b3a81c0ac RDMA/bnxt_re: Static NQ depth allocation 1e608f9308aa RDMA/bnxt_re: Fix the qp table indexing 6bcab9b51bab RDMA/bnxt_re: Do not report transparent vlan from QP1 9a65a5142af4 RDMA/rxe: Fix panic when calling kmem_cache_create() 2b993e2073a7 RDMA/rxe: Drop pointless checks in rxe_init_ports bc7a51ca9cef RDMA/rxe: Fix memleak in rxe_mem_init_user 81aaf0645c81 RDMA/rtrs-srv: Replace device_register with device_initialize and device_add 8edf8c890ee2 ARM: dts: imx7d-zii-rmu2: fix rgmii phy-mode for ksz9031 phy 86047782e0f9 arm64: dts: imx: Add missing imx8mm-beacon-kit.dtb to build c29e3108c40c ARM: dts: imx7ulp: Correct gpio ranges 23057a8452f6 ARM: dts: ls1021a: fix QuadSPI-memory reg range 82649acf840d selftests/timers: Turn off timeout setting 2e173929f1d4 ARM: dts: omap5: Fix DSI base address and clocks 91dff93e5584 ARM: dts: socfpga: fix register entry for timer3 on Arria10 1dc746dfc129 regulator: remove superfluous lock in regulator_resolve_coupling() 8dc8bed9be37 regulator: push allocation in regulator_ena_gpio_request() out of lock 421d06d46437 ARM: dts: logicpd-som-lv-baseboard: Fix missing video 2a0b7124e5a1 ARM: dts: logicpd-som-lv-baseboard: Fix broken audio c486743abc1b ARM: dts: logicpd-torpedo-baseboard: Fix broken audio aab25ff4643e ARM: OMAP2+: Fix an IS_ERR() vs NULL check in _get_pwrdm()
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bruce Ashfield [Tue, 6 Oct 2020 19:04:29 +0000 (15:04 -0400)]
linux-yocto/5.4: update to v5.4.67
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
a4bea6a4f1e0 Linux 5.4.67 ef6458fdbb5c dax: Fix compilation for CONFIG_DAX && !CONFIG_FS_DAX d6712eefc77e dm: Call proper helper to determine dax support 6b02d0598554 mm/memory_hotplug: drain per-cpu pages again during memory offline 908272a5e9e4 dm/dax: Fix table reference counts 0df6aeac967f selftests/vm: fix display of page size in map_hugetlb 5ed6a7e1a7e1 powerpc/dma: Fix dma_map_ops::get_required_mask 264ae08bb774 ehci-hcd: Move include to keep CRC stable fceeea8b35cb s390/zcrypt: fix kmalloc 256k failure 463a0d4c1b94 x86/boot/compressed: Disable relocation relaxation b703bd1e9285 serial: 8250_pci: Add Realtek 816a and 816b 96e6de09097b Input: i8042 - add Entroware Proteus EL07R4 to nomux and reset lists c0190d14b9a8 Input: trackpoint - add new trackpoint variant IDs e44bd84cd2ab percpu: fix first chunk size calculation for populated bitmap 32f60ecbb9b8 ALSA: hda/realtek - The Mic on a RedmiBook doesn't work dda1362d6bce ALSA: hda: fixup headset for ASUS GX502 laptop 87e1dbe6c6c5 Revert "ALSA: hda - Fix silent audio output and corrupted input on MSI X570-A PRO" b0b68bfe729a i2c: i801: Fix resume bug 7c96edc6e719 usb: typec: ucsi: Prevent mode overrun 6c56942bd2e6 usblp: fix race between disconnect() and read() 56ad2cab0845 USB: UAS: fix disconnect by unplugging a hub d8c0a033d9ce USB: quirks: Add USB_QUIRK_IGNORE_REMOTE_WAKEUP quirk for BYD zhaoxin notebook a0fec594b0a5 drm/i915: Filter wake_flags passed to default_wake_function daf646fd3247 riscv: Add sfence.vma after early page table changes 8a568d7fc295 i2c: mxs: use MXS_DMA_CTRL_WAIT4END instead of DMA_CTRL_ACK a55eec14a4e1 iommu/amd: Fix potential @entry null deref ecd219c72945 arm64: bpf: Fix branch offset in JIT c6fa55a3130d drm/mediatek: Add missing put_device() call in mtk_hdmi_dt_parse_pdata() 566e86327754 drm/mediatek: Add exception handing in mtk_drm_probe() if component init fail 549efeaa96d8 MIPS: SNI: Fix spurious interrupts 73d58890be30 fbcon: Fix user font detection test at fbcon_resize(). b7b136191170 perf test: Free formats for perf pmu parse test b116e2d37b03 perf parse-event: Fix memory leak in evsel->unit 43d9473e7cd9 perf evlist: Fix cpu/thread map leak 751930560ea4 MIPS: SNI: Fix MIPS_L1_CACHE_SHIFT b86434c072d4 perf test: Fix the "signal" test inline assembly e03e0498b453 Drivers: hv: vmbus: Add timeout to vmbus_wait_for_unload cdf990e2b24e arm64: Allow CPUs unffected by ARM erratum 1418040 to come in late 09aadf403225 scsi: libsas: Fix error path in sas_notify_lldd_dev_found() 9afe75149419 Drivers: hv: vmbus: hibernation: do not hang forever in vmbus_bus_resume() b12029411b25 ASoC: meson: axg-toddr: fix channel order on g12 platforms 600cafd55bfd powerpc/book3s64/radix: Fix boot failure with large amount of guest memory f6d4afd008a6 ASoC: qcom: common: Fix refcount imbalance on error 911c69245a27 ASoC: qcom: Set card->owner to avoid warnings cf111e31eae6 clk: rockchip: Fix initialization of mux_pll_src_4plls_p af8f780eee47 clk: davinci: Use the correct size when allocating memory d81d1306d6c9 KVM: MIPS: Change the definition of kvm type 88a637d56567 spi: Fix memory leak on splited transfers 9f09e86200fd i2c: algo: pca: Reapply i2c bus settings after reset 78d48322dd54 f2fs: Return EOF on unaligned end of file DIO read e34313d1b7e9 f2fs: fix indefinite loop scanning for free nid 7f07bbf9bc16 block: only call sched requeue_request() for scheduled requests 373312e8513c nvme-tcp: cancel async events before freeing event struct 89669cae6de8 nvme-rdma: cancel async events before freeing event struct 103e82d5e82b nvme-fc: cancel async events before freeing event struct 4951def1e258 openrisc: Fix cache API compile issue when not inlining 5dda8b9b6ad7 cifs: fix DFS mount with cifsacl/modefromsid 72efc1488dad rapidio: Replace 'select' DMAENGINES 'with depends on' b85406bf1bd7 SUNRPC: stop printk reading past end of string 7b8fb2a4d373 NFS: Zero-stateid SETATTR should first return delegation 7fa3ef52032e spi: spi-loopback-test: Fix out-of-bounds read 8aeb6173e87f regulator: pwm: Fix machine constraints application 618fcfb5e3f3 scsi: lpfc: Fix FLOGI/PLOGI receive race condition in pt2pt discovery f8f1eea08820 scsi: libfc: Fix for double free() 4a9e028f6db0 scsi: pm8001: Fix memleak in pm8001_exec_internal_task_abort db081ee4d8c0 NFSv4.1 handle ERR_DELAY error reclaiming locking state on delegation recall 9b6caf4ccb44 firmware_loader: fix memory leak for paged buffer 51fe5c82c759 hv_netvsc: Remove "unlikely" from netvsc_select_queue 78607d494c92 net: handle the return value of pskb_carve_frag_list() correctly b3dacce5025c dsa: Allow forwarding of redirected IGMP traffic cd171c18d3d5 e1000e: Add support for Comet Lake a73e9ea38d5d RDMA/bnxt_re: Restrict the max_gids to 256 29dd419f56fc gfs2: initialize transaction tr_ailX_lists earlier bdc3a8f6a8e8 Linux 5.4.66 d3c2b7d2856c gcov: add support for GCC 10.1 fe79f1cf177a drm/msm: Disable the RPTR shadow 8cbe9b765487 drm/msm/gpu: make ringbuffer readonly ebd9aff7b62a usb: typec: ucsi: acpi: Check the _DEP dependencies 848eeb75c81d usb: Fix out of sync data toggle if a configured device is reconfigured 224fa057d72a USB: serial: option: add support for SIM7070/SIM7080/SIM7090 modules dbbb21384fe6 USB: serial: option: support dynamic Quectel USB compositions 38e75a99b486 USB: serial: ftdi_sio: add IDs for Xsens Mti USB converter 70a9c0352e21 usb: core: fix slab-out-of-bounds Read in read_descriptors 83db8dd32b1d phy: qcom-qmp: Use correct values for ipq8074 PCIe Gen2 PHY init 524e525fa73e staging: greybus: audio: fix uninitialized value issue 3aa4c49c8d41 video: fbdev: fix OOB read in vga_8planes_imageblit() 9dd48c399a81 ARM: dts: vfxxx: Add syscon compatible with OCOTP 323159acb2b5 debugfs: Fix module state check condition 41b2ea7a6a11 KVM: fix memory leak in kvm_io_bus_unregister_dev() d334a67d3ed0 KVM: arm64: Do not try to map PUDs when they are folded into PMD a86743ebe680 KVM: VMX: Don't freeze guest when event delivery causes an APIC-access exit 087b6cb17df5 vgacon: remove software scrollback support 0d123a8c64fd fbcon: remove now unusued 'softback_lines' cursor() argument cf5a7ded5365 fbcon: remove soft scrollback code a0f6bdafaa4c RDMA/mlx4: Read pkey table length instead of hardcoded value 616a0c13e432 RDMA/rxe: Fix the parent sysfs read when the interface has 15 chars ea3d3bf85669 rbd: require global CAP_SYS_ADMIN for mapping and unmapping c2fb443bde82 mmc: sdhci-of-esdhc: Don't walk device-tree on every interrupt c724eb78c1ec mmc: sdio: Use mmc_pre_req() / mmc_post_req() becb3bbb2911 drm/msm: Disable preemption on all 5xx targets 404ab35baae4 drm/tve200: Stabilize enable/disable 701b385f6877 drm/i915/gvt: do not check len & max_len for lri a5bfcf2455d4 scsi: target: iscsi: Fix hang in iscsit_access_np() when getting tpg->np_login_sem fa4372668f58 scsi: target: iscsi: Fix data digest calculation a467624aef02 regulator: core: Fix slab-out-of-bounds in regulator_unlock_recursive() dfbb9cea5a4b regulator: plug of_node leak in regulator_register()'s error path 047a71ff5e9d regulator: push allocation in set_consumer_device_supply() out of lock 31d89652c384 regulator: push allocations in create_regulator() outside of lock e7249ceb7ff8 regulator: push allocation in regulator_init_coupling() outside of lock b9fb631f6b03 kobject: Restore old behaviour of kobject_del(NULL) b85c64a7161f btrfs: fix wrong address when faulting in pages in the search ioctl 524f3f303079 btrfs: fix lockdep splat in add_missing_dev 1aaceffa5ace btrfs: require only sector size alignment for parent eb bytenr c570a3d660a2 staging: wlan-ng: fix out of bounds read in prism2sta_probe_usb() e9f7332b0040 iio:accel:mma8452: Fix timestamp alignment and prevent data leak. a6dc50f30129 iio:accel:mma7455: Fix timestamp alignment and prevent data leak. e94ec7f512cf iio: accel: kxsd9: Fix alignment of local buffer. b040ac56b264 iio:chemical:ccs811: Fix timestamp alignment and prevent data leak. cd1a2517b35e iio:light:max44000 Fix timestamp alignment and prevent data leak. 176fb9423ab8 iio:magnetometer:ak8975 Fix alignment and data leak issues. c4b67a1dcba0 iio:adc:ti-adc081c Fix alignment and data leak issues e691d264ddf9 iio:adc:max1118 Fix alignment of timestamp and data leak issues 24c4430c9b18 iio:adc:ina2xx Fix timestamp alignment issue. de2fa1f48a52 iio:adc:ti-adc084s021 Fix alignment and data leak issues. 13a76aae01c7 iio:accel:bmc150-accel: Fix timestamp alignment and prevent data leak. 66b8b8f75e35 iio:proximity:mb1232: Fix timestamp alignment and prevent data leak. 0616d908aef5 iio:light:ltr501 Fix timestamp alignment issue. c80210735f31 iio: cros_ec: Set Gyroscope default frequency to 25Hz c71e70a85b4b iio: adc: ti-ads1015: fix conversion when CONFIG_PM is not set d4bdcf4f1154 gcov: Disable gcov build with GCC 10 104bc6027b27 iommu/amd: Do not use IOMMUv2 functionality when SME is active cab731c6c873 drm/amdgpu: Fix bug in reporting voltage for CIK d6ccea92b1e1 ALSA: hda: fix a runtime pm issue in SOF when integrated GPU is disabled 56117aa69301 ALSA: hda: hdmi - add Rocketlake support ff37a2636464 arm64/module: set trampoline section flags regardless of CONFIG_DYNAMIC_FTRACE 2423f3a7ef52 cpufreq: intel_pstate: Fix intel_pstate_get_hwp_max() for turbo disabled 1f1169474803 cpufreq: intel_pstate: Refuse to turn off with HWP enabled b011e41a8e48 ARC: [plat-hsdk]: Switch ethernet phy-mode to rgmii-id 82d4cfa185a9 HID: elan: Fix memleak in elan_input_configured bc818ce2d51e drivers/net/wan/hdlc_cisco: Add hard_header_len 052750976d03 HID: microsoft: Add rumble support for the 8bitdo SN30 Pro+ controller 52fa4a63ab14 HID: quirks: Set INCREMENT_USAGE_ON_DUPLICATE for all Saitek X52 devices 9eef311eb524 nvme-pci: cancel nvme device request before disabling 068f73f767a1 nvme-rdma: fix reset hang if controller died in the middle of a reset d409ed019236 nvme-rdma: fix timeout handler 9cf1ee492f23 nvme-rdma: serialize controller teardown sequences bb018c73500b nvme-tcp: fix reset hang if controller died in the middle of a reset 34b1b26b2d8f nvme-tcp: fix timeout handler 7abff44756fe nvme-tcp: serialize controller teardown sequences 7598a9d0a756 nvme: have nvme_wait_freeze_timeout return if it timed out 35d841908c0b nvme-fabrics: don't check state NVME_CTRL_NEW for request acceptance f9af5758b19b nvmet-tcp: Fix NULL dereference when a connect data comes in h2cdata pdu 6ce06caf6b44 irqchip/eznps: Fix build error for !ARC700 builds 41ac2e8a6a1f xfs: initialize the shortform attr header padding entry a33cab0fbd2f cfg80211: Adjust 6 GHz frequency to channel conversion 0aa356dde967 drivers/net/wan/lapbether: Set network_header before transmitting e91f2ec0bfbd xfs: fix off-by-one in inode alloc block reservation calculation 983efe173e37 net: hns3: Fix for geneve tx checksum bug cb54984b7989 drivers/dma/dma-jz4780: Fix race condition between probe and irq handler bcdbb7c8c7f9 ALSA: hda/tegra: Program WAKEEN register for Tegra ad360686fcd2 ALSA: hda: Fix 2 channel swapping for Tegra 1518c24b3265 firestream: Fix memleak in fs_open 818c725c1241 NFC: st95hf: Fix memleak in st95hf_in_send_cmd 0faee7f8c236 drivers/net/wan/lapbether: Added needed_tailroom 59d2b1e5cb05 netfilter: conntrack: allow sctp hearbeat after connection re-use 444bf09f2be4 dmaengine: acpi: Put the CSRT table after using it 89c4339c4d35 ARC: HSDK: wireup perf irq 75a81be8fb3e arm64: dts: ns2: Fixed QSPI compatible string cd0ffeb0b879 ARM: dts: BCM5301X: Fixed QSPI compatible string 8a9383e277e4 ARM: dts: NSP: Fixed QSPI compatible string 7a1e2c816acc ARM: dts: bcm: HR2: Fixed QSPI compatible string 0f632bc48355 IB/isert: Fix unaligned immediate-data handling 6736317f350a block: Set same_page to false in __bio_try_merge_page if ret is false 45ffad151bae spi: stm32: fix pm_runtime_get_sync() error checking 9ed3ab0c62d4 nvme-fabrics: allow to queue requests for live queues 43b3d09c5142 spi: stm32: Rate-limit the 'Communication suspended' message 15dc0695a3b0 mmc: sdhci-msm: Add retries when all tuning phases are found valid 5bead6811610 mmc: sdhci-acpi: Clear amd_sdhci_host on reset c46eabd1e6cc drm/sun4i: backend: Disable alpha on the lowest plane on the A20 f3c982d8e60a drm/sun4i: backend: Support alpha property on lowest plane fe0278843b64 soundwire: fix double free of dangling pointer 122cdbd5019f scsi: mpt3sas: Don't call disable_irq from IRQ poll handler aa204e20f4d4 scsi: megaraid_sas: Don't call disable_irq from process IRQ poll 0b4662709ced RDMA/core: Fix reported speed and width b3f6c2ca326b scsi: libsas: Set data_dir as DMA_NONE if libata marks qc as NODATA 5571056a5805 iio: adc: mcp3422: fix locking scope f7db02316a00 iio: adc: mcp3422: fix locking on error path 376bc3643eeb drm/sun4i: Fix dsi dcs long write function af0d98184575 arm64: dts: imx8mq: Fix TMU interrupt property ddd3698271da drm/sun4i: add missing put_device() call in sun8i_r40_tcon_tv_set_mux() 1a2d6e722b49 RDMA/bnxt_re: Do not report transparent vlan from QP1 aaca68671376 RDMA/rxe: Fix panic when calling kmem_cache_create() d1878b298fc6 RDMA/rxe: Drop pointless checks in rxe_init_ports ca337b53fff3 RDMA/rxe: Fix memleak in rxe_mem_init_user af2e06b02575 ARM: dts: imx7ulp: Correct gpio ranges ab56ed56f8c8 ARM: dts: ls1021a: fix QuadSPI-memory reg range d5763bbf8664 selftests/timers: Turn off timeout setting 6a2be713c78f ARM: dts: socfpga: fix register entry for timer3 on Arria10 25915590865c regulator: remove superfluous lock in regulator_resolve_coupling() 69163464bcd3 regulator: push allocation in regulator_ena_gpio_request() out of lock e9019af9b0cc ARM: dts: logicpd-som-lv-baseboard: Fix missing video 678cde6f4e2b ARM: dts: logicpd-som-lv-baseboard: Fix broken audio 06fb37a1725d ARM: dts: logicpd-torpedo-baseboard: Fix broken audio
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Wed, 30 Sep 2020 15:34:08 +0000 (16:34 +0100)]
glibc: do_stash_locale must not delete files from ${D}
do_stash_locale doesn't run in fakeroot context, do_install does. We therefore
shouldn't delete files that do_install has added or it leaves potentially
problemtic entries in the fakeroot database. Leaving the files around
doesn't change or break anything else.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ross Burton [Thu, 1 Oct 2020 16:11:10 +0000 (17:11 +0100)]
coreutils: improve coreutils-ptest RDEPENDS
Add perl-modules to the RDEPENDS to avoid having to list all perl
modules that are required, as this package isn't going to be installed
outside of testing builds.
Remove libmodule-build-perl from RDEPENDS, it appears that this isn't
needed anymore. With and without this package the test results on my
image are the same: 619 tests, 462 pass, 154 skip, 3 fail. This
*drastically* reduces the build impact of enabling ptest as
packagegroup-core-build-essential (thus target gcc) is in the dependency
chain.
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ross Burton [Tue, 29 Sep 2020 22:16:37 +0000 (23:16 +0100)]
bjam-native: don't do debug builds
Previously this recipe was changed to do debug builds because otherwise insane
warns that the binary is already stripped.
However, debug builds for boost.build also pass -O0. It turns out that given
how large Boost is (or, how bad boost.build is) doing a release build with -O3
knocks a third off the walltime for a Boost package in my test, mainly by reducing
how long it spends deciding that nothing needs to be rebuilt in do_install:
Usama Arif [Wed, 30 Sep 2020 10:48:00 +0000 (11:48 +0100)]
kernel-fitimage: generate openssl RSA keys for signing fitimage
The keys are only generated if they dont exist. The key
generation can be turned off by setting FIT_GENERATE_KEYS to "0".
The default key length for private keys is 2048 and the default
format for public key certificate is x.509.
Signed-off-by: Usama Arif <usama.arif@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Tue, 29 Sep 2020 16:56:49 +0000 (17:56 +0100)]
oeqa/selftest/devtool: Add sync call to test teardown
Devtool tests are heavy on IO and if bitbake can't write out its caches, we see
timeouts. Call "sync" around the tests to ensure the IO queue doesn't get too
large, taking any IO hit here rather than in bitbake shutdown.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add ESDK_MANIFEST_EXCLUDES to enable excluding items in sdk-conf-manifest.
By default, files under conf/ are all added to sdk-conf-manifest, as the
manifest file is set to 'conf/*'.
However, there are situations where some configuration files under conf/
directory are not intended to be added to sdk-conf-manifest, thus adding
ESDK_MANIFEST_EXCLUDES to enable users to do this.
This variable takes the form of glob matching.
e.g.
ESDK_MANIFEST_EXCLUDES = "conf/autogen*"
This would exclude all files under conf/ starting with 'autogen' from
sdk-conf-manifest.
Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Tim Orling [Tue, 29 Sep 2020 04:49:05 +0000 (21:49 -0700)]
oeqa/selftest/cases/devtool.py: avoid .pyc race
In certain conditions, most likely under heavy load on the
AutoBuilder, the prebuilt .pyc files are attempting to be
executed before they have been completely copied. Avoid
this by not copying the .pyc files (nor the __pycache__
directory). The impact of python3-native recreating the .pyc
files should hopefully be negligible.
YOCTO#13421
YOCTO#13803
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ross Burton [Tue, 29 Sep 2020 22:16:38 +0000 (23:16 +0100)]
boost: move the build directory outside of S
Instead of manually creating and deleting build directories, follow the idioms
by setting B to WORKDIR/build, setting do_configure[cleandirs], and using ${B}
where appropriate.
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Mark Jonas [Tue, 29 Sep 2020 18:06:59 +0000 (20:06 +0200)]
Map license names PSF and PSFv2 to PSF-2.0
According to SDPX.org "Python License 2.0" is the overall Python
license, which is comprised of several licenses. "Python Software
Foundation License 2.0" is part of the complete Python license, but is
also used independently by some projects.
So far the license names PSF and PSFv2 found in LICENSE are mapped to
to Python-2.0. This patch maps PSF and PSFv2 to PSF-2.0 und thus
corrects the impression that Python-2.0 and PSF-2.0 are synonymous.
Signed-off-by: Mark Jonas <toertel@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This adds the dump_target support when the ssh command fails with
a 'No route to host'. This is will provide additional data when a
Qemu target fails to respond during autobuilder testing. This does
not fix 14002 [0], but may help track down why qemu looses networking
This passes the list of commands to run on the OEQemuTarget when
the TargetDumper needs to run in a test context due to a failure
on the target.
This is added here as a kwargs because the 'd' dictionary is not
available in the staticmethod getTarget in the
OERuntimeTestContextExecutor class. The OEQemuTarget is different
from the QemuTarget which already uses the list of commands from
testimage_dump_target from 'd'. The create_dir() is needed to
initialize the TargetDumper's dump_dir variable.
Signed-off-by: Saul Wold <saul.wold@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ross Burton [Mon, 28 Sep 2020 18:43:28 +0000 (19:43 +0100)]
rpm: add PACKAGECONFIG for the systemd inhibit plugin
RPM ships a systemd inhibit plugin, that will tell systemd to inhibit a
reboot or sleep during a package upgrades.
For native RPM this is entirely useless, and for target it's only useful
if you're using systemd+logind+rpm.
This plugin uses DBus which means it depends on expat -> cmake-native ->
libarchive-native curl-native, which is quite a dependency tree to need
in early build (required to build packages via rpm-native).
It was previously forcibly disabled for native packages but the build
dependency on DBus remained. Add a PACKAGECONFIG for the plugin that is
only enabled for target builds with systemd and explicitly disabled for
native/nativesdk builds, but also keep the explicit disabling of all
plugins as the prioreset plugin also behaves badly inside a build.
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changqing Li [Mon, 28 Sep 2020 05:25:17 +0000 (13:25 +0800)]
sysklogd: fix parallel build issue
fix below errors which caused by race condition:
do_package:
ERROR: dwarfsrcfiles failed with exit code 1 (cmd was ['dwarfsrcfiles', 'TOPDIR/tmp-glibc/work/ppc7400-oe-linux/sysklogd/2.1.2-r0/package/usr/lib/libsyslog.a']):
dwarfsrcfiles: TOPDIR/tmp-glibc/work/ppc7400-oe-linux/sysklogd/2.1.2-r0/package/usr/lib/libsyslog.a: not a valid ELF file
do_compile:
arm-oe-linux-gnueabi-libtool: link: (cd ".libs" && rm -f "libsyslog.so.0" && ln -s "libsyslog.so.0.0.0" "libsyslog.so.0")
arm-oe-linux-gnueabi-libtool: link: (cd ".libs" && rm -f "libsyslog.so" && ln -s "libsyslog.so.0.0.0" "libsyslog.so")
arm-oe-linux-gnueabi-libtool: link: arm-oe-linux-gnueabi-gcc-ar cru .libs/libsyslog.a libsyslog_la-syslog.o ../lib/pidfile.o ../lib/strlcpy.o ../lib/strlcat.o
TOPDIR/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/sysklogd/2.1.2-r0/recipe-sysroot-native/usr/bin/arm-oe-linux-gnueabi/../../libexec/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/10.1.0/ar: `u' modifier ignored since `D' is the default (see `U')
TOPDIR/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/sysklogd/2.1.2-r0/recipe-sysroot-native/usr/bin/arm-oe-linux-gnueabi/../../libexec/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/10.1.0/ar: ../lib/strlcat.o: No such file or directory
Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ross Burton [Mon, 28 Sep 2020 16:19:00 +0000 (17:19 +0100)]
sstate: set mode explicitly when creating directories in sstate-cache
When creating directories in the sstate-cache, explicitly set the mode
passed to mkdir to 0775 so that the directories are group writable, as
otherwise they cannot be shared with other users.
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ross Burton [Mon, 28 Sep 2020 16:18:56 +0000 (17:18 +0100)]
rpm: disable libarchive use
libarchive is only needed for the rpm2archive tool, as this is of
limited use and libarchive is a non-trivial build dependency make this
optional and disabled by default.
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ross Burton [Mon, 28 Sep 2020 16:18:55 +0000 (17:18 +0100)]
utils: respect scheduler affinity in cpu_count()
cpu_count() returns multiprocessing.cpu_count() but that is simply returns
os.cpu_count() so we could use that directly.
However this returns the number of CPUs on the host, not the number of
usable CPUs on the host. If the user is using scheduler affinity then
the number of usable CPUs may be less, so when determining how many cores
we can use check the affinity instead.
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ross Burton [Mon, 28 Sep 2020 16:18:54 +0000 (17:18 +0100)]
glibc: make nscd optional
NSCD itself is already packaged into its own package, but if it is never
going to be needed then it can be disabled and it won't be called from
glibc at all. Add a PACKAGECONFIG for NSCD that is enabled by default.
As a side effect if NSCD is disable, glibc with and without systemd is
binary identical, which helps sstate reuse.
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Sat, 26 Sep 2020 11:00:49 +0000 (12:00 +0100)]
staging: Ensure cleaned dependencies are added
Most recipe-sysroot dependencies are handled by these prefuncs. "configure"
is special with a decidated task, prepare_recipe_sysroot which runs
beforehand.
do_prepare_recipe_sysroot does not have to be run before/after
fetch/unpack/patch, they're independent tasks. If fetch/unpack/patch
have sysroot dependencies and those tasks rerun, stale items from the
sysroot could be uninstalled and since prepare_recipe_sysroot doesn't
re-run, they could be missing by the time configure runs.
Fix this by adding the prefunc for do_configure which would ensure
the sysroot is in a good state.
This issue can be reproduced by modifying do_unpack and watching
binutils-native and vulkan-headers failing due to missing makeinfo
or ninja.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This test is checking the functionality of the RTC(Real Time Clock). The Check_if_RTC_(Real_Time_Clock)_can_work_correctly manual test case from oeqa/manual/bsp-hw can be replace by this runtime test.
Signed-off-by: Teoh Jay Shen <jay.shen.teoh@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Peter A. Bigot [Sat, 26 Sep 2020 10:53:09 +0000 (05:53 -0500)]
go-mod.bbclass: use append to add `modcacherw`
This class provided default build flags but includes the base go class
which also provides default flags. Use a different mechanism to
extend the default flags without discarding `-trimpath` from the base
class.
Signed-off-by: Peter A. Bigot <pab@pabigot.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
kernel.bbclass: ensure symlink_kernsrc task gets run even with externalsrc
Commit c5dfc2586b41 (kernel.bbclass: run do_symlink_kernsrc before
do_patch) fixed a race between do_symlink_kernsrc and
do_populate_lic. However, I missed the fact that when
externalsrc.bbclass is in use, the do_patch task doesn't exist,
meaning that do_symlink_kernsrc now doesn't get run at all, breaking
the build.
We need this task to run regardless of whether do_patch exists or not,
so reinstate the configure->symlink_kernsrc dependency explicitly.
Fixes: c5dfc2586b41 (kernel.bbclass: run do_symlink_kernsrc before
do_patch) Reported-by: Chanho Park <parkch98@gmail.com> Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Norman Stetter [Fri, 25 Sep 2020 11:49:43 +0000 (13:49 +0200)]
sstate.bbclass: Check file ownership before doing 'touch -a'
In contrast to 'touching' a file without parameters 'touch -a' can only be
performed by the file owner. In case of a shared sstate-cache served
locally (e.g. over NFS), where the user running bitbake is not the
owner of sstate-cache files, even if he has write access on group level,
the sstate_unpack_package task will fail.
Checking if the file is owned by the user before attempting to run
'touch -a' on it solves this.
Signed-off-by: Norman Stetter <norman.stetter@garz-fricke.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Otavio Salvador [Thu, 24 Sep 2020 19:58:00 +0000 (16:58 -0300)]
openssh: Allow enable/disable of rng-tools recommendation on sshd
We are adding a new PACKAGECONFIG option ('rng-tools') to control if we
wish the openssh-sshd to RRECOMMENDS the 'rng-tools' package. We are
enabling it by default so there is no behavior change.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Yi Zhao [Thu, 24 Sep 2020 02:41:14 +0000 (10:41 +0800)]
dhcpcd: set service to conflict with connman
As the default network manager, connman has its own internal DHCP
implement. If run dhcpcd and connman simultaneously, they may conflict
with each other.
Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Andrew Geissler [Wed, 23 Sep 2020 18:14:47 +0000 (13:14 -0500)]
systemd: Upgrade v246.2 -> v246.6
0001-Use-PREFIX-ROOTPREFIX-correctly.patch was fixed fix the following:
https://github.com/systemd/systemd/pull/17009
2ee1c57c4f (tag: v246.6) kernel-install/90-loaderentry: fix when /boot is not mountpoint a2a8802abe homed: make clean that --storage=directory --image-path=/dev/some-block-device is not supported e1df274a76 homed: make sure our worker processes finish before we exit f2763ff6cd nspawn: fix fd leak on failure path 6f9c8af500 nspawn: check return of setsid() 31875b3cb0 dissect: is_loop_device() returns negative on error, don't mistake that is true 418cf0e78c dissect: always invalidate secondary arch partitions if we found primary arch 1d17c00260 util: wireguard is merged into upstream kernel 48a308b76a repart: don't mark image files generated with --empty=create executable 9353607ef3 man: substitute path to rc.local in the man page f2b9345cd2 meson: RC_LOCAL_SCRIPT_PATH_START to RC_LOCAL_PATH b0fff9012a socket-proxy: allow localhost addresses 5e8bf33de1 sd-bus: allow localhost addresses ad77a988f2 fstab-generator: add 'nofail' when NFS 'bg' option is used d08f6fddc0 busctl: add missing shortopt -l 64d58480ac socket-util: reset length argument for second getsockopt call in fd_[gs]et_rcvbuf 0046c58334 test: use pclose() for popen() 689d2e061b core: propagate unit start limit hit state to triggering path unit 2f53d690ea core: propagate triggered unit in more load states a06cf9a5ba bootctl: handle if LoaderSystemToken is invalid for some reason e2c0023dd2 test-fileio: test test strings with shell, too 251b96c9b5 test-env-file: add test that tests our env file read + writer + shell against each other 4d1922d8bb env-file: bring our decoding of double-quoted strings in env files in line with shell 281581cd74 test-fileio: use test strings that are actually valid in shell 366d38d8ed man: document that RemainAfterElapse=no means that also the triggered unit needs to deactivate d0f0f048ec (tag: v246.5) sd-path: use ROOTPREFIX without suffixed slash e662cf6d51 hashmap: make sure to initialize shared hash key atomically da310c6b45 socket: downgrade log warnings about inability to set socket buffer sizes ab6fcd9135 core: fix securebits setting 4f6925484d capability-util: add new function for raising setpcap 771436884d network: do not add prefix to RA if radv is not configured fb2afc5f30 man: document the random delay of persistent timers b2006ddc8f test-network: add test for ENOBUFS issue #17012 8758580ef5 backlight: do not claim that ID_BACKLIGHT_CLAMP= property is not set 57fc184a6c fs-util,tmpfiles: fix error handling of fchmod_opath() db0f031e70 bootctl: don't accidentally propagate errors in "bootctl status" 3e2c806681 ethtool-util: don't pass error value that isn't used to log_syntax b671730edb network: don't fail on various config parse errors 0ad86030c5 man: document that sd_bus_message_close_container() may only be called at end of container f3da018017 cryptsetup: Fix null pointer dereference (#16987) 6f65eaf9c2 core: fix set keep caps for ambient capabilities 08338a234e core: fix comments on ambient capabilities f0e6d9876d network: make log_link_error() or friends return void 35766dc61b core: make log_unit_error() or friends return void 3ed10b2ee8 core/slice: explicitly specify return value 2f6406914b udev: do not discard const qualifier 07671aa4cc sd-device: make log_device_error() or friends return void d4bea73972 udev: explicitly specify return value 7db399be1e udev: return negative errno for invalid EVDEV_ABS_XXX= property 8c8d188e85 udev: make log_rule_error() or friends return void 4921375fd3 socket: fix copy/paste error 0f7fd97749 udev: warn if failed to set buffer size for device monitor fc763d38d8 network: increase receive buffer size for device monitor 3bf7797f1f network: do not start device monitor if /sys is read-only ebc0729c6a network: honor the buffer size specified in networkd.socket ef3d2e178b core/socket: use fd_set_{rcv,snd}buf() 5dd4cc4b10 sd-device-monitor: use fd_set_rcvbuf() fe9b92e566 util: introduce fd_set_{snd,rcv}buf() 4dcae66688 util: try to set with SO_{RCV,SND}BUFFORCE when requested size is larger than the kernel limit 4b6b523946 util: refuse to set too large value for socket buffer size b4be8edb45 network: ignore error on increasing netlink receive buffer size 5ce47fb491 tree-wide: if get_block_device() returns zero devno, check for it in all cases 8ea6ec18e7 btrfs: if BTRFS_IOC_DEV_INFO returns /dev/root generate a friendly error message e1ff4947d2 basic/log: make log_{info,warning,...} return void 8019995e9a tree-wide: correct cases where return log_{error,warning} is used without value 932f4c3e8b test-execute/exec-dynamicuser-statedir.service: fix quoting 16b9426f70 man: fix quickhelp listing in sysusers.d(5) bde903d9e9 network: fix NDisc handling for the case when multiple routers exist c965063b64 network: expose route_{hash,compare}_func() 6d24a40669 network: expose address_{hash,compare}_func() 054838a2e0 util: expose in6_addr_{hash,compare}_func() 58bd4a70de network: fixes gateway assignment through DHCPv4 8ad5382fe3 bash-completion: resolvectl: support 'log-level' command a98bd75072 resolvectl: add 'log-level' to help message 78262fe807 core/socket: we may get ENOTCONN from socket_instantiate_service() fecb3f00c4 homed: remember the secret even when the for_state is FIXATING_FOR_ACQUIRE dc2e82af33 (tag: v246.4) core: create per-user inaccessible node from the service manager 0b3c497347 nspawn,pid1: pass "inaccessible" nodes from cntr mgr to pid1 payload via /run/host 2239965c29 coredump: don't convert s → µs twice 61d29b7f8c firstboot: fill empty color if ansi_color unavailable from os-release 9678a3daf6 varlink: do not parse invalid messages twice 4e516dcbc1 userdbctl: add forgotten --output mode in help aee20dfbd8 shared/{user,group}-record-nss: adjust filtering of "valid" passwords 5933d77afe doc: cross link sd_listen_fd() docs a bit 97fdde3239 Rework how we cache mtime to figure out if units changed 0500968241 core: always try to reload not-found unit 8ae22f0d64 pid1: use the cache mtime not clock to "mark" load attempts 715507c277 core: rename manager_unit_file_maybe_loadable_from_cache() 20ad76d0a7 man: document fd ownership for sd-bus fd marshalling 38ae73fafd resolved: make sure we initialize t->answer_errno before completing the transaction a1ba0fbef6 homed: fix log message to honor real homework path d6b1e659b3 src/shared/dissect-image.c: fix build without blkdid (#16901) e42f9add21 analyze: fix error handling in one case 4804ce1488 units: add missing usb-gadget.target 5ad4e68c37 man: extend on the usec/sec discrepancy 2fb612371d login/logind: Include sys/stat.h for struct stat usage 5e884e7ee0 partition/makefs: Include missing sys/file.h header 7bbc3807da network: dhcp6: logs only new address 2056429e0f Don't run test-repart when loop devices are not available dcbea51c5a man: clarify that several networkctl commands takes device names 16e4cfcc82 networkctl: label command does not take any argument 2352921244 missing: Add new Linux capability 8b29c4a4f9 tty-ask-pw-agent: properly propagate error f7ce2e9839 tty-ask-pw-agent: the message string might not be set 29cba5c9ef tty-ask-pw-agent: make sure "--list" works correctly e1ce367d73 add "list" verb to autocompleted commands 1f4cb5da1e shell-completion/zsh: add missing verbs for networkctl a4236a2764 path: Improve $PATH search directory case b7cef386bd (tag: v246.3) path: Skip directories when finalising $PATH search 122945f315 rules: don't install 80-drivers.rules when kmod is disabled 42fab2d454 zsh: correct journalctl command completion parsing ed3f97f962 basic/missing_syscall: fix syscall numbers for arm64 :( ba6e7f7c46 shared/install: fix preset operations for non-service instantiated units d39f139348 nss-resolve: treat BUS_ERROR_NO_SUCH_UNIT the same as SD_BUS_ERROR_SERVICE_UNKNOWN too 9bb3e64d71 various: treat BUS_ERROR_NO_SUCH_UNIT the same as SD_BUS_ERROR_SERVICE_UNKNOWN 6d802dd596 man: drop reference to long gone .busname unit type a29656804b man: fix a fix of a typo in systemd.service example 21ce0f5b33 network: can: Fix CAN initialization cab5cde8c9 man: update autogenerated dbus api lists 0d8000522b man: fix invalid tag place ea94f218be man: add conditionals to more man pages ef91325349 meson: add ENABLE_ANALYZE conditional 83f7c0a7ec core: add missing conditions/asserts to unit file parsing 716718155d analyze: rework condition testing 5c4c7581bc sd-bus: fix error handling on readv() 6cd058f305 user-runtime-dir: deal gracefully with missing logind properties 6a2d73638d shared/seccomp: do not use ifdef guards around textual syscall names 7355ac9689 machine-id-setup: don't use KVM or container manager supplied uuid if in chroot env 496a71f444 man: Fix typo in systemd-tmpfiles 6c5d216ad8 homework: downgrade chattr failure log message 1708f06a00 homework: explicitly close cryptsetup context, to not keep loopback device busy a21eaa2a3a homework: correct error passed into log message 3a2d169f36 homework: sync everything to disk before we rename LUKS loopback file into place 84e1ab74d2 homed: downgrade quota message in containers 8b62cadf36 analyze-security: do not assign badness to filtered-out syscalls 29854a5437 NEWS: clarify two points 4cb4fb82f7 meson: add min version for libfdisk 76331f86f6 load-fragment: fix grammar in error messages 1e53c2d70f Fix function description in logind man page 669066564d network: do not fail if UseMTU=yes on DHCP lease lost a2a3f16cdc missing_syscall: do not use function name that may conflict with glibc 4091dcd469 missing_syscall: fix pidfd_{send_signal,open} numbers for alpha 7875daf52b network: wait for previous address removal before configuring static addresses 120064b4a1 network: only process non-error message f44ec1de15 test: accept that char device 0/0 can now be created witout privileges
Signed-off-by: Andrew Geissler <geissonator@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
De Huo [Thu, 24 Sep 2020 02:39:44 +0000 (10:39 +0800)]
bash: fix CVE-2019-18276
An issue was discovered in disable_priv_mode in shell.c in GNU Bash
through 5.0 patch 11. By default, if Bash is run with its effective UID
not equal to its real UID, it will drop privileges by setting its
effective UID to its real UID. However, it does so incorrectly. On Linux
and other systems that support "saved UID" functionality, the saved UID
is not dropped. An attacker with command execution in the shell can use
"enable -f" for runtime loading of a new builtin, which can be a shared
object that calls setuid() and therefore regains privileges. However,
binaries running with an effective UID of 0 are unaffected.
Signed-off-by: De Huo <De.Huo@windriver.com> Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
RNG passthru has been enabled on all qemu machines but its being added
to each one of them, with this patch its turned into QB variables which
defaults to host passthru, yet it can be overridden if needed via
machine or config metadata if needed.
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Christian Eggers [Thu, 24 Sep 2020 09:32:17 +0000 (11:32 +0200)]
packagegroup: rrecommend perf also for musl on ARM
The perf recipe builds fine for musl on ARM.
Fixes: d758a4445a ("packagegroup: Disable packages not available on musl") Signed-off-by: Christian Eggers <ceggers@arri.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Wang Mingyu [Thu, 24 Sep 2020 14:15:50 +0000 (22:15 +0800)]
maintainers.inc: Add Zang Ruochen and Wang Mingyu for several recipes
Zang Ruochen is responsible for the maintenance as follows:
elfutils
libvorbis
ell
python3-dbus
python3-pbr
python3-pip
python3-pycairo
python3-pygobject
python3-six
Wang Mingyu is responsible for the maintenance as follows:
btrfs-tools
dtc
iso-codes
libpciaccess
libpipeline
librepo
liburcu
libyaml
msmtp
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Wed, 23 Sep 2020 11:53:12 +0000 (12:53 +0100)]
ssh-pregen-hostkeys: Add a recipe with pregenerated ssh host keys
Host keys are getting bigger and taking an ever increasing amount of time
to generate. Whilst we do need to test that works, we don't need to test
it in every image. Add a recipe which can be added to images with
pre-generated keys, allowing us to speed up tests on the autobuilder
where it makes sense to.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Wed, 23 Sep 2020 17:12:42 +0000 (18:12 +0100)]
oeqa/selftest/containerimage: Update to match assumptions in configuration
Assumptions in the test mean it doesn't work with ssh-pregen-hostkeys.
It also doesn't work with systemd. Update the configuration to make
sure neither of these effect the test.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Tue, 22 Sep 2020 22:23:10 +0000 (23:23 +0100)]
buildtools-tarball: Fix conflicts with oe-selftest and other tooling
OECORE_NATIVE_SYSROOT is used by tools like oe-run-native and hence
we were seeing selftest failures when newer buildtools-tarballs that
use this were run on the autobuilder.
Unset the variable after use to avoid these issues.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Kai Kang [Tue, 22 Sep 2020 07:02:33 +0000 (15:02 +0800)]
kea: fix conflict between multilibs
There are conflict of config files between kea and lib32-kea:
| Error: Transaction test error:
| file /etc/kea/kea-ctrl-agent.conf conflicts between attempted installs of
lib32-kea-1.7.10-r0.core2_32 and kea-1.7.10-r0.core2_64
| file /etc/kea/kea-dhcp4.conf conflicts between attempted installs of
lib32-kea-1.7.10-r0.core2_32 and kea-1.7.10-r0.core2_64
Because they are all commented out, replace the expanded libdir path with
'$libdir' in the config files to avoid conflict.
Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The generator outputs unexpect log info on terminal when log in a image
which includes an X desktop such as Xfce. So add an package config and
disable it by default.
Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Randy MacLeod [Mon, 21 Sep 2020 18:24:25 +0000 (14:24 -0400)]
curl: Change SRC_URI from http to https
The official links on:
https://curl.haxx.se/download.html
use https now and we're seeing this warning:
WARNING: curl-native-7.72.0-r0 do_fetch: Failed to fetch URL http://curl.haxx.se/download/curl-7.72.0.tar.bz2, attempting MIRRORS if available
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Konrad Weihmann [Mon, 21 Sep 2020 14:29:44 +0000 (16:29 +0200)]
testexport: rename create_tarball method
as otherwise when using it in combination with archiver.bbclass we would
have 2 methods of the same name but with different signatures
leading to various hard to understand exceptions
Signed-off-by: Konrad Weihmann <kweihmann@outlook.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The named service fail to start as below:
# systemctl status named.service
named.service - Berkeley Internet Name Domain (DNS)
Loaded: loaded (/lib/systemd/system/named.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2020-09-16 06:07:49 UTC; 9s ago
Process: 134206 ExecStartPre=/usr/sbin/generate-rndc-key.sh (code=exited, status=1/FAILURE)
Sep 16 06:07:49 intel-x86-64 systemd[1]: Starting Berkeley Internet Name Domain (DNS)...
Sep 16 06:07:49 intel-x86-64 generate-rndc-key.sh[134206]: Generating /etc/bind/rndc.key:
Sep 16 06:07:49 intel-x86-64 generate-rndc-key.sh[134207]: rndc-confgen: The -r option has been deprecated.
Sep 16 06:07:49 intel-x86-64 generate-rndc-key.sh[134208]: chown: cannot access '/etc/bind/rndc.key': No such file or directory
Sep 16 06:07:49 intel-x86-64 generate-rndc-key.sh[134209]: chmod: cannot access '/etc/bind/rndc.key': No such file or directory
Sep 16 06:07:49 intel-x86-64 systemd[1]: named.service: Control process exited, code=exited, status=1/FAILURE
Sep 16 06:07:49 intel-x86-64 systemd[1]: named.service: Failed with result 'exit-code'.
Sep 16 06:07:49 intel-x86-64 systemd[1]: Failed to start Berkeley Internet Name Domain (DNS).
It is because fail to execute "/usr/sbin/generate-rndc-key.sh" as
-r is deprecated since bind 9.13.x and the random function changes
in [1], so remove -r option to fix the above issue.
DNSSEC validation is now active by default after bind upgrade to 9.16.x,
but it is not in 9.11.x. So disable DNSSEC validation explicitly to
silence below message.
Sep 18 03:21:37 intel-x86-64 named[23272]: managed-keys-zone: Unable to fetch DNSKEY set '.': timed out
Create /var/lib/kea and /var/run/kea folder if they don't
exist to fix below error:
# keactrl start
INFO/keactrl: Starting /usr/sbin/kea-dhcp4 -c /etc/kea/kea-dhcp4.conf
INFO/keactrl: Starting /usr/sbin/kea-dhcp6 -c /etc/kea/kea-dhcp6.conf
INFO/keactrl: Starting /usr/sbin/kea-ctrl-agent -c /etc/kea/kea-ctrl-agent.conf
Unable to use interprocess sync lockfile (No such file or directory): /var/run/kea/logger_lockfile
Service failed: Launch failed: Unable to open PID file '/var/run/kea/kea-ctrl-agent.kea-ctrl-agent.pid' for write
[snip]
ERROR [kea-dhcp4.dhcp4/615.140641792751488] DHCP4_CONFIG_LOAD_FAIL configuration error using file: /etc/kea/kea-dhcp4.conf, reason: Unable to open database: unable to open '/var/lib/kea/kea-leases4.csv'
[snip]
Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Chee Yang Lee [Fri, 18 Sep 2020 14:37:21 +0000 (22:37 +0800)]
bash : include patch 17 & 18
patch 17 :-
https://ftp.gnu.org/gnu/bash/bash-5.0-patches/bash50-017
There were cases where patch 16 reaped process substitution file
descriptors (or FIFOs) and processes to early. This is a better
fix for the problem that bash50-016 attempted to solve.
path 18 :-
https://ftp.gnu.org/gnu/bash/bash-5.0-patches/bash50-018
In certain cases, bash does not perform quoted null removal on
patterns that are used as part of word expansions such as
${parameter##pattern}, so empty patterns are treated as non-empty.
Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Mon, 21 Sep 2020 11:56:53 +0000 (12:56 +0100)]
buildtools-tarball: Add python3-jinja2
This is used by various pieces of the result handling code, particularly the
performance testing and we're seeing autobuilder failures that are
easiest resolved using this.
Acked-by: Tim Orling <ticotimo@gmail.com> Signed-off-by: Tim Orling <ticotimo@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Mon, 21 Sep 2020 11:55:28 +0000 (12:55 +0100)]
python3-jinja2: Import from meta-oe/meta-python
This is used by some of the results handling code and needed as part of
buildtools tarball on various autobuilder worker for testing.
ptest is disabled for OE-Core, at least for now since it depends on
python3-pytest which in turn has may other dependencies.
Acked-by: Tim Orling <ticotimo@gmail.com> Signed-off-by: Tim Orling <ticotimo@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Mon, 21 Sep 2020 11:54:12 +0000 (12:54 +0100)]
python3-markupsafe: Import from meta-oe/meta-python
Needed as a dependency of python3-jinja2. ptest is disabled for OE-Core, at
least for now since it depends on python3-pytest which in turn has may other
dependencies.
Acked-by: Tim Orling <ticotimo@gmail.com> Signed-off-by: Tim Orling <ticotimo@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Fri, 18 Sep 2020 05:57:10 +0000 (06:57 +0100)]
oeqa/qemurunner: Increase serial timeout
Increase the serial login timeout from 60 to 120s. This seems like a
long time, however for a qemumips image with systemd+PAM and openssh,
(e.g. core-image-sato-sdk + DISTRO=poky-altcfg), the getty connects
to systemd's pam module which waits on logind and 45s for all this
to happen at the same time as things like ssh key generation happens
is not unknown.
Increase the timeout to match the longer times we know these things
can take in the worst case scenarios since we're tired of intermittent
issues related to the serial login affecting the autobuilder.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Fri, 18 Sep 2020 05:52:57 +0000 (06:52 +0100)]
dropbear/openssh: Lower priority of key generation
Where we have images with PAM+systemd, serial login can be extremely
slow. The load generated by key generation does slow down the rest
of the boot process.
Lower the priority level of these systemd services, since we'd
prefer to have the rest of the system boot more effectively.
This doesn't "solve" the slow systemd boot issues but does help.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since the newly introduced image-artifact-names class is inherited at later
processing stage, individual IMAGE_NAME settings are overridden (hopefully
by accident instead on purpose).
Allow derived distributions define their own name schema by setting defaults
iwth question mark.
Signed-off-by: Jens Rehsack <sno@netbsd.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Martin Jansa [Wed, 16 Sep 2020 13:28:52 +0000 (15:28 +0200)]
bitbake.conf: use ${TCMODE}-${TCLIBC} directory for CACHE
* move TCMODE and TCLIBC from defaultsetup.conf to bitbake.conf
* set CACHE as it was in defaultsetup.conf and drop it from defaultsetup.conf
* most if not all DISTROs are now including defaultsetup.conf and
TCLIBC is pretty much expected to be always set correctly, e.g.:
meta/recipes-core/systemd/systemd_243.2.bb: if d.getVar('TCLIBC') == "musl":
meta/recipes-devtools/gcc/gcc-runtime.inc: if [ "${TCLIBC}" != "glibc" ]; then
meta/recipes-devtools/gcc/libgcc.inc: if [ "${TCLIBC}" != "glibc" ]; then
meta/recipes-devtools/icecc-toolchain/nativesdk-icecc-toolchain_0.1.bb:ENV_NAME="${DISTRO}-${TCLIBC}-${SDK_ARCH}-@TARGET_PREFIX@${DISTRO_VERSION}.tar.gz"
meta/recipes-devtools/valgrind/valgrind_3.15.0.bb:RRECOMMENDS_${PN} += "${TCLIBC}-dbg"
meta/recipes-kernel/linux/kernel-devsrc.bb:RDEPENDS_${PN} = "bc python3 flex bison ${TCLIBC}-utils"
meta/classes/buildhistory.bbclass:BUILDHISTORY_DIR_IMAGE = "${BUILDHISTORY_DIR}/images/${MACHINE_ARCH}/${TCLIBC}/${IMAGE_BASENAME}"
meta/classes/cross-canadian.bbclass: if d.getVar("TCLIBC") in [ 'baremetal', 'newlib' ]:
meta/classes/kernel.bbclass: tclibc = d.getVar('TCLIBC')
meta/classes/toaster.bbclass: BUILDHISTORY_DIR_IMAGE_BASE = e.data.expand("%s/images/${MACHINE_ARCH}/${TCLIBC}/"% BUILDHISTORY_DIR)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Steve Sakoman [Wed, 16 Sep 2020 16:17:31 +0000 (06:17 -1000)]
xinput-calibrator: change SRC_URI to branch with libinput support
Since "conf: Use xf86-input-libinput by default" [1] there are
reports [2] of xinput-calibrator failing because it expects
xf86-input-evdev and with the above patch xf86-input-libinput
takes precedence.
Fix this issue by using a branch of xinput calibrator which supports
xf86-input-libinput.
Previously in: f75792b28e valgrind: make a few more ptests pass
the vagrind test runner was adjusted to suppress part
of a path that only exists when run in the yocto ptest
environment. Unfortunately this change includes the
valgrind version and when valgrind was last updated,
the patch was not changed. Rather than continually updating
the patch or even generating the version dynamically,
we can simply change the expected output for two tests.
The reason the option: --fullpath-after=foo was
introduced into the effected valgrind ptests was to
deal with builds where ccache is used. Compiling with
ccache enabled sometimes causes the source file absolute
name to be found in a full path that is not the same as $PWD.
Ross Burton [Tue, 15 Sep 2020 12:55:48 +0000 (13:55 +0100)]
buildhistory-diff: use BUILDDIR to know where buildhistory is
Instead of assuming that the buildhistory is stored in ./buildhistory
unless told otherwise, use the environment variable BUILDDIR if present
(which is set by oe-init-build-env) to locate the buildhistory
directory.
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove the parallel build patch and related fix for parallel
build as the issue have already been fixed in bison 3.7.2
(f7b642cf build: fix incorrect dependencies).
Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Peter Bergin [Tue, 15 Sep 2020 19:33:05 +0000 (21:33 +0200)]
systemd: avoid failing if no udev rules provided
In the case when no udev rules are provided by the recipe the do_install
step of systemd is failing with:
install: cannot stat '<WORKDIR>/*.rules': No such file or directory
By default the systemd recipe provides touchscreen.rules but in the
case this is unwanted on target the install step fails. This solution
is dynamic and search for *.rules files in $WORKDIR. If found they are
installed.
Signed-off-by: Peter Bergin <peter@berginkonsult.se> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Martin Jansa [Wed, 16 Sep 2020 12:54:49 +0000 (14:54 +0200)]
*-initramfs: don't use .rootfs IMAGE_NAME_SUFFIX
* fixes the issue when image-live.bbclass expects the image
ending with just INITRAMFS_FSTYPES:
image-live.bbclass:INITRD_LIVE ?= "${DEPLOY_DIR_IMAGE}/${INITRD_IMAGE_LIVE}-${MACHINE}.${INITRAMFS_FSTYPES}"
while by default it now was with .rootfs suffix:
-rw-r--r-- 2 bitbake bitbake 1.5K Oct 25 16:12 /OE/build/oe-core/tmp/deploy/images/genericx86-64/core-image-minimal-initramfs.env
-rw-r--r-- 4 bitbake bitbake 11M Oct 25 16:13 /OE/build/oe-core/tmp/deploy/images/genericx86-64/core-image-minimal-initramfs-genericx86-64-1.0-r0-20191025154349.cpio.gz
-rw-r--r-- 4 bitbake bitbake 1.2K Oct 25 16:11 /OE/build/oe-core/tmp/deploy/images/genericx86-64/core-image-minimal-initramfs-genericx86-64-1.0-r0-20191025154349.manifest
-rw-r--r-- 4 bitbake bitbake 1.3K Oct 25 16:12 /OE/build/oe-core/tmp/deploy/images/genericx86-64/core-image-minimal-initramfs-genericx86-64-1.0-r0-20191025154349.qemuboot.conf
-rw-r--r-- 4 bitbake bitbake 196K Oct 25 16:11 /OE/build/oe-core/tmp/deploy/images/genericx86-64/core-image-minimal-initramfs-genericx86-64-1.0-r0-20191025154349.testdata.json
-rw-r--r-- 4 bitbake bitbake 118M Oct 25 16:13 /OE/build/oe-core/tmp/deploy/images/genericx86-64/core-image-minimal-initramfs-genericx86-64-1.0-r0-20191025154349.wic
-rw-r--r-- 4 bitbake bitbake 3.1K Oct 25 16:13 /OE/build/oe-core/tmp/deploy/images/genericx86-64/core-image-minimal-initramfs-genericx86-64-1.0-r0-20191025154349.wic.bmap
-rw-r--r-- 4 bitbake bitbake 1.3K Oct 25 16:12 /OE/build/oe-core/tmp/deploy/images/genericx86-64/core-image-minimal-initramfs-genericx86-64.qemuboot.conf
-rw-r--r-- 4 bitbake bitbake 11M Oct 25 16:13 /OE/build/oe-core/tmp/deploy/images/genericx86-64/core-image-minimal-initramfs-genericx86-64.rootfs.cpio.gz
-rw-r--r-- 4 bitbake bitbake 1.2K Oct 25 16:11 /OE/build/oe-core/tmp/deploy/images/genericx86-64/core-image-minimal-initramfs-genericx86-64.rootfs.manifest
-rw-r--r-- 4 bitbake bitbake 118M Oct 25 16:13 /OE/build/oe-core/tmp/deploy/images/genericx86-64/core-image-minimal-initramfs-genericx86-64.rootfs.wic
-rw-r--r-- 4 bitbake bitbake 3.1K Oct 25 16:13 /OE/build/oe-core/tmp/deploy/images/genericx86-64/core-image-minimal-initramfs-genericx86-64.rootfs.wic.bmap
-rw-r--r-- 4 bitbake bitbake 196K Oct 25 16:11 /OE/build/oe-core/tmp/deploy/images/genericx86-64/core-image-minimal-initramfs-genericx86-64.testdata.json
initramfs images aren't normally used for rootfs, so just set
the suffix to empty, people using different artifact names might
still need to set INITRD_LIVE (e.g. when their images don't end
with "-${MACHINE}" as well)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* currently IMAGE_NAME_SUFFIX is used only by image.bbclass,
image_types.bbclass and meta/recipes-core/images/build-appliance-image_15.0.0.bb
but if it's needed by some recipe which isn't itself an image, then
it's useful in bitbake.conf, e.g. we have a recipe for creating
VirtualBox appliances which combines .wic.vmdk with .ovf file to
create .zip with appliance, but for that we need the filename of
.wic.vmdk which now contains IMAGE_NAME_SUFFIX
https://github.com/webOS-ports/meta-webos-ports/blob/4980ce52a43ac6897657602810313af359f0b839/meta-luneos/recipes-core/images/luneos-emulator-appliance.inc#L24
* we were hardcoding .rootfs suffix where needed, but for quite long
time it's configurable with IMAGE_NAME_SUFFIX since:
Override DEBUG_BUILD for qemu as the qemu upstream states it
doesn't work without optimization [1] to fix below build failure
when debug build enabled.
| /usr/lib/gcc/x86_64-wrs-linux/10.1.0/../../../../x86_64-wrs-linux/bin/ld.bfd: /mnt/build/tmp/work/x86_64-linux/qemu-system-native/5.1.0-r0/qemu-5.1.0/fsdev/qemu-fsdev-throttle.c:25: undefined reference to `unknown_lock_type'
| /usr/lib/gcc/x86_64-wrs-linux/10.1.0/../../../../x86_64-wrs-linux/bin/ld.bfd: ../fsdev/qemu-fsdev-throttle.o: in function `fsdev_co_throttle_request':
| /mnt/build/tmp/work/x86_64-linux/qemu-system-native/5.1.0-r0/qemu-5.1.0/fsdev/qemu-fsdev-throttle.c:103: undefined reference to `unknown_lock_type'
| /usr/lib/gcc/x86_64-wrs-linux/10.1.0/../../../../x86_64-wrs-linux/bin/ld.bfd: ../fsdev/qemu-fsdev-throttle.o:/mnt/build/tmp/work/x86_64-linux/qemu-system-native/5.1.0-r0/qemu-5.1.0/fsdev/qemu-fsdev-throttle.c:103: more undefined references to `unknown_lock_type' follow
| collect2: error: ld returned 1 exit status
insane: check for missing update-alternatives inherit
Add a package QA check to test if the recipe sets ALTERNATIVE variable
for any of its packages, and does not inherit update-alternatives class.
This causes the do_rootfs to fail since a proper alternative cannot be
created.
Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>